Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-21 | Implement simple level saving and loading | cflip | |
For now, it just reads and writes the width, height, and tile data to 'level.non' | |||
2022-03-21 | Add support for keyboard events in the Window | cflip | |
2022-03-21 | Minor improvements in Window class | cflip | |
* Ensure event callbacks are not null before calling them * Mark shouldClose() as const * Use nullptr instead of NULL | |||
2022-03-21 | Add a basic wall tile | cflip | |
2022-03-06 | Create new tile byte format | cflip | |
Track tiles now have their direction information stored in the high 4 bits of the tile byte, creating a clearer separation between the type of tile and other persistent data. This will make the code more managable for adding new tile types and with the new macros and enums the code is much easier to read and understand. | |||
2022-03-03 | Keep list of all vehicles in Level class | cflip | |
Newly created vehicles are now to be added to the Level, which automatically updates and renders them. This infrastructure will be needed for depth sorting and eventually level saving. | |||
2022-03-03 | Remove unnecessary method parameter in Train class | cflip | |
2022-02-28 | Quick and simple multi-car train implementation | cflip | |
2022-02-27 | Fix typo in window.cpp | cflip | |
2022-02-27 | Remove unnecessary <cmath> include in util.h | cflip | |
2022-02-27 | Add sprite for east-west moving train car | cflip | |
2022-02-27 | Add highlight on hovered tiles | cflip | |
2022-02-27 | Automatically set train direction on right-click | cflip | |
2022-02-27 | Miscellaneous code cleanup | cflip | |
2022-02-27 | Add ClangFormat configuration | cflip | |
2022-02-27 | Rename TrainCar to Train | cflip | |
Although the name isn't entirely accurate, it looks nicer. | |||
2022-02-27 | Make train movement smoother | cflip | |
2022-01-29 | Initialize member variables | cflip | |
2022-01-29 | Close program on image read failure | cflip | |
2022-01-29 | refactor: adjust the project infra. (#1) | Jun Zhang | |
* refactor: adjust the project infra. This patch adds cmake build system to the project, and adjust infrastructure stuff. Signed-off-by: Jun Zhang <jun@junz.org> * fix: remove compiler flags that only exist in GCC. Signed-off-by: Jun Zhang <jun@junz.org> |