Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-09 | Finish painter, refactor game logic & keys handling | Oxore | |
Add dependencies in Makefile: now it tracks headers too! Introduce texts in painter. Delegate all the window painting to the painter. Refactor texts from yaml parsing. Remove overcomplicated keymaps and lists of keymaps of... Whatever! Just let em go! Simple idlist with foreach is more than enough. Make displayable values be separate text objects which consists only of a number value that rendered every tick and then displayed. Refactor game logic: make state machine look much obvious with transition functions. Refactor long if-else and switch-case statement chains: replace them with arrays of values (it actually takes more lines of code :P) Refactor keys handling: shorten and separate shape moving code to functions. | |||
2018-07-03 | Refactor field, refactor next shape drawing | Oxore | |
Refactor field functions names. Transfer next shape drawing to painter. Introduce idlist struct with foreach function. Refactor config. Introduce color map array instead of "switch case" statement bloating while coloring rectangles. Decouple field and shape structs from SFML sfVector2 structs by introducing own vector2i and vector2ui structs. Also remove sfRectangleShape members form field an shape structs. | |||
2018-07-02 | Introduce draw manager, refactor main | Oxore | |
Move timers to struct game. Partially move field painting to draw manager. | |||
2018-06-30 | Move all field&shape related funcs to field class | Oxore | |
2018-06-25 | Major refactoring | Oxore | |
Fix memleak in KeyMap, fix memleak caused by loading a yaml file in main.c. Change Copyright information. Rename functions.c and .h to engine.c and .h. Take field and shape related functions to separate file (still not all of them) and refactor them a lot. Refactor collision detection. Add more warnings. Add sanitizer option commented out. | |||
2018-06-22 | Set frame rate limit | Oxore | |
2017-12-09 | Implement NES Tetris scoring system | Oxore | |
2017-12-09 | Level up condition removed lines count | Oxore | |
2017-12-09 | Extend playfield to 22, change game over condition, shrink fld from 25 to 22 | Oxore | |
2017-12-09 | Little refactoring | Oxore | |
2017-12-03 | Change color scheme; add screenshots | Oxore | |
2017-12-02 | Rearrange includes; replace uint8_t by char | Oxore | |
2017-12-02 | Rename yaml text resource file | Oxore | |
2017-12-02 | Add PUT_LATENCY threshold and some fixes | Oxore | |
2017-12-02 | Make all text resources load from yaml file | Oxore | |
2017-12-02 | Apply loading from yaml file for texts in menu | Oxore | |
2017-12-02 | Fix bug with over 15 levels | Oxore | |
2017-12-02 | Yaml loader for text resources added, need to be involved | Oxore | |
2017-12-01 | Implement levels! :star2: And refactoring a bit | Oxore | |
2017-12-01 | More structure wrapping, more refactoring | Oxore | |
2017-12-01 | Wrap global variables into structures | Oxore | |
2017-11-30 | Move includes to root dir | Oxore | |
2017-11-30 | Redefine structures with typedef; A bit of code movement | Oxore | |
2017-11-29 | Change coding style | Oxore | |
2017-11-29 | Extract some functions in main | Oxore | |
2017-08-02 | Memleak found&pwned | Oxore | |
2017-06-29 | Nest shape depiction added | Oxore | |
2017-06-23 | Code style refactoring | Oxore | |
2017-06-23 | codestyle.pl - code style checker added; *.[c|h]: trailing whitespaces are ↵ | Oxore | |
removed | |||
2017-06-20 | gmeover procedure added; minor refactoring | Oxore | |
2017-06-20 | Refactoring 3 | Oxore | |
2017-06-20 | Major refactoring! | Oxore | |
2017-06-18 | Refactoring 1 | Oxore | |
2017-06-07 | minor refactor | Oxore | |
2017-06-06 | possible macos fail reason have been removed | Oxore | |
2017-06-06 | added ifndef into headers | Oxore | |
2017-05-25 | Makefile added, README.md updated | Oxore | |
2016-09-04 | Structurized. README.md updated. | oxore | |