aboutsummaryrefslogtreecommitdiff
path: root/src/terrain
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate memset(3) for zero-initXavier Del Campo Romero2022-06-271-1/+1
|
* terrain: fix wrong renderingXavier Del Campo Romero2022-06-261-2/+2
| | | | | The older implementation would leave empty areas on the right side of the screen.
* Implement sub-tile collboxesXavier Del Campo Romero2022-03-303-3/+63
| | | | These will be later used by the pathfinding algorithm.
* Rename MAP_{X|Y} to MAP_{W|H}Xavier Del Campo Romero2022-03-301-2/+2
|
* terrain.c: use long for map coordinatesXavier Del Campo Romero2022-03-301-1/+1
|
* Replace x_get functions with macrosXavier Del Campo Romero2022-03-301-4/+1
| | | | | | The PS1 port relies on a heap for primitives since the GPU renders the scene asynchronously. However, SDL-based platforms render primitives synchronously, so structures can be allocated on the stack instead.
* Refresh camera and terrain rendering on screen resizeXavier Del Campo Romero2022-03-302-5/+21
|
* Add project source codeXavier Del Campo Romero2022-03-303-0/+111