Age | Commit message (Collapse) | Author |
|
* Ensure event callbacks are not null before calling them
* Mark shouldClose() as const
* Use nullptr instead of NULL
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Although the name isn't entirely accurate, it looks nicer.
|
|
|
|
|
|
|
|
* 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>
|