summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2022-03-29Return a reference instead of a pointer in addVehicle()cflip
2022-03-24Create new trains on right click instead of moving the existing traincflip
2022-03-24Add acceleration/deceleration to the traincflip
2022-03-24Add camera panning with arrow keyscflip
2022-03-23Automatically copy resources to build directorycflip
2022-03-21Implement simple level saving and loadingcflip
For now, it just reads and writes the width, height, and tile data to 'level.non'
2022-03-03Keep list of all vehicles in Level classcflip
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-02-28Quick and simple multi-car train implementationcflip
2022-02-27Add highlight on hovered tilescflip
2022-02-27Automatically set train direction on right-clickcflip
2022-02-27Miscellaneous code cleanupcflip
2022-02-27Add ClangFormat configurationcflip
2022-02-27Rename TrainCar to Traincflip
Although the name isn't entirely accurate, it looks nicer.
2022-02-27Make train movement smoothercflip
2022-01-29refactor: 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>