aboutsummaryrefslogtreecommitdiff
path: root/src/gfx
Commit message (Collapse)AuthorAgeFilesLines
* gfx: Add return value to *_sort functionsXavier Del Campo Romero2024-01-277-17/+38
|
* Replace "unsigned int" with "unsigned"Xavier Del Campo Romero2024-01-272-2/+2
|
* Avoid memory leak on failed realloc(3)Xavier Del Campo Romero2023-04-303-6/+19
|
* WIPXavier Del Campo Romero2022-11-014-7/+30
|
* gfx: Provide functions for fullscreen handlingXavier Del Campo Romero2022-09-233-0/+22
|
* Use find_package for SDL librariesXavier Del Campo Romero2022-07-236-8/+8
| | | | | | | | | | CMake already distributes FindSDL*.cmake files for SDL and SDL_mixer, which support custom prefixes via environment variables, removing the need for ad-hoc logic in Win9x builds. Also, according to FindSDL.cmake, #include <SDL.h> is the preferred way for portability reasons, instead of #include <SDL/SDL.h>, which is the option that has been used so far.
* ps1: Use exported target PSXSDK::PSXSDKXavier Del Campo Romero2022-07-231-1/+1
|
* SDL-1.2: Implement X mirroring for quadsXavier Del Campo Romero2022-07-153-20/+48
|
* Import SDL_gfxXavier Del Campo Romero2022-07-151-1/+1
|
* Deprecate memset(3) in favour of C99 compound literalsXavier Del Campo Romero2022-07-152-7/+3
|
* ps1/heap.c: bump heap sizeXavier Del Campo Romero2022-06-261-1/+1
|
* 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