Commit Graph

174 Commits

Author SHA1 Message Date
Xavier Del Campo Romero aa355c0c0a sdl-1.2/mouse.c: fix right click events 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero c3a33ebe3e Import fixmath 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 2649f32cdd Add CONTRIBUTING.md 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 3507ab949e sdl-1.2: implement rect_init and semitrans_rect_init 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero ab09e5f2cc sdl-1.2: implement env.c 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero b925e5e156 gfx: separate port-specific interfaces 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 669045df00 game.c: remove #if 0 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 78b1104584 Add comments on win9x builds 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 8f8c5df4f2 Add support for keyboard and mouse 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 4765653cb3 Add metadata header to media files
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.
2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero c9754ac430 container.c: distinguish ferror/feof from other errors 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 751fa7deba terrain.c: use long for map coordinates 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero a79329dbf6 sdl-1.2: hide system cursor 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero a3fec3dbb6 Copy src/system.cnf to cdroot on PS1 builds 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 44e0fa401d Strip debug info for Win9x builds 2022-03-30 08:20:21 +02:00
Xavier Del Campo Romero 98f0d3e026 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 56286a0a96 Set common cdroot path to all platforms 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 9f9c0226d0 Refresh camera and terrain rendering on screen resize 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 6fe03359d8 Add build instructions for Win9x 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 6786333fea Add project README.md and demo 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 09301065ac Add tools 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 6b9f686913 Add project source code 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero c9e6ae44a9 Add project resources 2022-03-30 08:20:20 +02:00
Xavier Del Campo Romero 3c6bf289c7 Set source code license 2022-03-30 08:20:20 +02:00