aboutsummaryrefslogtreecommitdiff
path: root/src/gfx
Commit message (Collapse)AuthorAgeFilesLines
* sdl-1.2: return to original dimensions on fullscreen exitXavier Del Campo Romero2022-06-111-3/+8
|
* Make gfx_draw return intXavier Del Campo Romero2022-05-243-3/+8
|
* Use realloc(3) directlyXavier Del Campo Romero2022-05-241-7/+1
| | | | It is simply not true realloc(3) cannot be used with NULL pointers.
* 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
|
* Add support for keyboard and mouseXavier Del Campo Romero2022-03-301-0/+4
|
* Add metadata header to media filesXavier Del Campo Romero2022-03-302-2/+53
| | | | | | | | | | 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.
* Replace x_get functions with macrosXavier Del Campo Romero2022-03-309-105/+45
| | | | | | 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.
* Add project source codeXavier Del Campo Romero2022-03-3023-0/+1119