aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* sdl-1.2/sound.c: use SDL_WasInitXavier Del Campo Romero2022-06-111-4/+2
|
* sdl-1.2: return to original dimensions on fullscreen exitXavier Del Campo Romero2022-06-111-3/+8
|
* Implement button componentXavier Del Campo Romero2022-06-115-1/+169
|
* pad/CMakeLists.txt: add missing call to target_link_libraries()Xavier Del Campo Romero2022-06-081-0/+1
|
* Make gfx_draw return intXavier Del Campo Romero2022-05-244-4/+11
|
* Use realloc(3) directlyXavier Del Campo Romero2022-05-241-7/+1
| | | | It is simply not true realloc(3) cannot be used with NULL pointers.
* font.c: avoid several va_list in favor of large bufferXavier Del Campo Romero2022-05-241-32/+6
|
* Allow systems without sound supportXavier Del Campo Romero2022-05-244-11/+32
|
* Remove unused minor stuffXavier Del Campo Romero2022-03-312-2/+1
|
* resource.c: decouple collbox from sprite dimensionsXavier Del Campo Romero2022-03-311-6/+26
|
* Fix exit conditionXavier Del Campo Romero2022-03-311-1/+1
|
* Implement touch controlsXavier Del Campo Romero2022-03-319-18/+177
|
* Implement sub-tile collboxesXavier Del Campo Romero2022-03-309-7/+104
| | | | These will be later used by the pathfinding algorithm.
* Rename MAP_{X|Y} to MAP_{W|H}Xavier Del Campo Romero2022-03-303-8/+8
|
* camera: implement mouse supportXavier Del Campo Romero2022-03-301-2/+27
|
* Move CURSOR_{WIDTH|HEIGHT} to library scopeXavier Del Campo Romero2022-03-302-13/+13
|
* sdl-1.2/mouse.c: fix right click eventsXavier Del Campo Romero2022-03-301-1/+8
|
* sdl-1.2: implement rect_init and semitrans_rect_initXavier Del Campo Romero2022-03-301-2/+7
|
* sdl-1.2: implement env.cXavier Del Campo Romero2022-03-301-7/+82
|
* gfx: separate port-specific interfacesXavier Del Campo Romero2022-03-3016-32/+105
|
* game.c: remove #if 0Xavier Del Campo Romero2022-03-301-2/+2
|
* Add support for keyboard and mouseXavier Del Campo Romero2022-03-3026-237/+836
|
* Add metadata header to media filesXavier Del Campo Romero2022-03-308-5/+172
| | | | | | | | | | The following properties are supported: - Sound: "loop". Must be either 0 or 1 - Images: "transparent". Must be either 0 or 1 These headers are only used for non-PS1 builds, since .TIM and .VAG files do already implement such information.
* container.c: distinguish ferror/feof from other errorsXavier Del Campo Romero2022-03-301-2/+8
|
* terrain.c: use long for map coordinatesXavier Del Campo Romero2022-03-301-1/+1
|
* sdl-1.2: hide system cursorXavier Del Campo Romero2022-03-301-0/+1
|
* Replace x_get functions with macrosXavier Del Campo Romero2022-03-3017-179/+85
| | | | | | 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-305-5/+32
|
* Add project source codeXavier Del Campo Romero2022-03-3092-0/+5863