aboutsummaryrefslogtreecommitdiff
path: root/src/gfx/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Use find_package for SDL librariesXavier Del Campo Romero2022-07-231-2/+2
| | | | | | | | | | 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
|
* Import SDL_gfxXavier Del Campo Romero2022-07-151-1/+1
|
* Add metadata header to media filesXavier Del Campo Romero2022-03-301-0/+1
| | | | | | | | | | 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-301-3/+0
| | | | | | 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-301-0/+54