Xavier Del Campo Romero
6d5aa57e6d
Deprecate memset(3) for zero-init
2022-06-27 21:56:43 +02:00
Xavier Del Campo Romero
70bc98f96c
terrain: fix wrong rendering
...
The older implementation would leave empty areas on the right side of
the screen.
2022-06-26 20:00:27 +02:00
Xavier Del Campo Romero
82c61e3d1d
Implement sub-tile collboxes
...
These will be later used by the pathfinding algorithm.
2022-03-30 08:28:47 +02:00
Xavier Del Campo Romero
638dbd0af1
Rename MAP_{X|Y} to MAP_{W|H}
2022-03-30 08:23:15 +02:00
Xavier Del Campo Romero
c6ac388f86
terrain.c: use long for map coordinates
2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero
3d90015c62
Replace x_get functions with macros
...
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.
2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero
68383dad33
Refresh camera and terrain rendering on screen resize
2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero
8c10334252
Add project source code
2022-03-30 08:20:20 +02:00