Commit Graph

68 Commits

Author SHA1 Message Date
Anonymous Maarten 9826f73230 cmake: fix copying of resource files on uwp 2024-07-25 16:01:57 +02:00
Anonymous Maarten 9f9ebcd40a cmake: fix copying of example resource files on desktop, ps2 and psp 2024-07-25 14:54:20 +02:00
Ryan C. Gordon 195c26a50a
examples: Add a way to add datafiles to an example, and add audio/load-wav 2024-07-24 17:30:55 -04:00
Ryan C. Gordon bd65d154d5
examples: Added audio/simple-playback-callback. 2024-07-23 17:52:42 -04:00
Ryan C. Gordon ea137cfbaf
examples: Fix window titles. 2024-07-23 17:52:24 -04:00
Ryan C. Gordon 35a1cf910a
examples/audio/simple-playback: Add a description to the example. 2024-07-23 17:33:33 -04:00
Ryan C. Gordon f5f44de155
examples: Add audio/01-simple-playback. 2024-07-23 14:52:31 -04:00
Ryan C. Gordon 5216aea31d
examples: Explicitly call SDL_Init(). 2024-07-23 14:52:30 -04:00
Sam Lantinga ff7a60db85 Minor fixes to the primitive example
* The random number generator is automatically seeded, no need for SDL_srand()
* Draw the points first, so they don't overlap the other primitives and look like broken line drawing
2024-07-23 08:34:15 -07:00
Ryan C. Gordon 4d8b938969
examples: Added renderer/primitives example. 2024-07-23 10:37:14 -04:00
Ryan C. Gordon 266744af03
examples: Number examples, so they are presented in a specific order. 2024-07-23 10:12:53 -04:00
Ryan C. Gordon 23cf09163e
examples: More n3ds build fixes. 2024-07-23 01:35:15 -04:00
Ryan C. Gordon 3671497ea1
examples: Maybe fix n3ds builds. 2024-07-23 01:28:19 -04:00
Ryan C. Gordon d2e2b9bdc9
examples: Maybe fix Android builds. 2024-07-23 01:25:29 -04:00
Ryan C. Gordon d8d7212efd
examples: Maybe fix UWP builds. 2024-07-23 01:22:19 -04:00
Ryan C. Gordon 16535b7ee2
examples: Add CMake glue to optionally build examples, as we do for the tests.
In fact, most of the CMake code was stolen from the test directory.
2024-07-23 00:58:57 -04:00
Ryan C. Gordon 2038620717
examples/README: fixed typo. 2024-07-22 23:41:16 -04:00
Ryan C. Gordon 5339b4458d
examples: Added initial examples infrastructure. 2024-07-22 22:39:09 -04:00