Commit Graph

78 Commits

Author SHA1 Message Date
Ulysse Cura 3605aeee27 Added a non-variadic version of linked_list_for_each. 2026-08-10 18:21:52 +02:00
Ulysse Cura 2e180b6832 Working event bus. 2026-08-10 12:38:15 +02:00
Ulysse Cura 571bb9699d Implemented event bus. 2026-08-10 00:47:21 +02:00
Ulysse Cura c57cfea7f7 Removed useless code. 2026-08-10 00:47:04 +02:00
Ulysse Cura abf1231aac Renamed inputs structs. 2026-08-10 00:11:29 +02:00
Ulysse Cura 2179c7eb94 Remaping keys and adding interaction key. 2026-08-09 14:10:19 +02:00
Ulysse Cura a8aacc04ef Generalized assets data. 2026-08-08 20:15:22 +02:00
Ulysse Cura d0e2dc99d2 Done working on asset corruption. 2026-08-08 19:10:59 +02:00
Ulysse Cura de1f66374b Testing asset loading. 2026-08-08 13:49:42 +02:00
Ulysse Cura 06e7426701 Limiting frame tiome to 100ms so lag don't brake physics. 2026-08-08 12:15:37 +02:00
Ulysse Cura 24d2ac6564 Adding const identifiers. 2026-08-06 13:49:33 +02:00
Ulysse Cura 778a9ecbfd Corrected app metadata. 2026-08-04 23:41:26 +02:00
Ulysse Cura 1f3a17a465 Corrected other sdl function names. 2026-08-04 21:53:08 +02:00
Ulysse Cura d648bcbb9b Adding const to entity get component. 2026-08-04 21:02:13 +02:00
Ulysse Cura a4b970636b Fixed SDL3 functions names. 2026-08-04 21:01:55 +02:00
Ulysse Cura 34ee7e2a57 Remove excesive explicity. 2026-08-04 20:34:01 +02:00
Ulysse Cura b63a67eb84 Add lerp function. 2026-08-04 19:48:11 +02:00
Ulysse Cura 344664f537 Re fixing components update order :'). 2026-08-04 19:47:59 +02:00
Ulysse Cura e6d363c0b2 Changing texture display dst rect to frect. 2026-08-04 19:47:42 +02:00
Ulysse Cura af46238076 Fixed get component error handling. 2026-08-04 01:54:54 +02:00
Ulysse Cura dc0a1f3656 Activating adaptative vsync to limit rare frames stutter. 2026-08-04 01:21:53 +02:00
Ulysse Cura dd1aeae9f5 Fixing components update order. 2026-08-04 01:02:09 +02:00
Ulysse Cura 9619843cbe Changed time from ms to ns and showing fps to header bar when debug. 2026-08-04 01:01:55 +02:00
Ulysse Cura ccc40e8d15 Disabled display resizability. 2026-08-03 23:42:47 +02:00
Ulysse Cura 3e341a0cf4 Adding blend mode to renderer. 2026-08-03 23:34:37 +02:00
Ulysse Cura 449bf60160 Moved display functions to display.h/.c. 2026-08-03 23:29:27 +02:00
Ulysse Cura 7f66cb4172 Added more debug options. 2026-08-03 20:45:42 +02:00
Ulysse Cura 4dbee83e8d Added a linked list exit function for reserved elements and documented unsafe functions. 2026-08-03 19:20:01 +02:00
Ulysse Cura 60dbab0fd5 Made drivers warning not show if DRIVERS is NULL. 2026-08-03 19:00:25 +02:00
Ulysse Cura 98fac079c6 Renaming inputs sources. 2026-08-03 18:59:55 +02:00
Ulysse Cura 7778fb4aa5 Changing asset file location. 2026-08-02 21:15:12 +02:00
Ulysse Cura a0b3216564 Removed useless temporary var in asset header loading. 2026-07-30 19:37:46 +02:00
Ulysse Cura b1dd9baf98 Added a reserve function to linked lists. This came along an allocator function and better memory management. Elements and error handling has exploded everywere, that's why there is so much changes. 2026-07-30 17:59:14 +02:00
Ulysse Cura 4b5babd9b9 Moved DRIVERS variable into display.h. 2026-07-30 17:49:12 +02:00
Ulysse Cura 457de07ecb Linked lists error handling and consequences 💀 2026-07-26 14:37:38 +02:00
Ulysse Cura 8b37fc78fa Added MOD key modifier. 2026-07-26 14:00:40 +02:00
Ulysse Cura b2eabff7b1 Modified load_texture private func to line up with programming style. 2026-07-26 12:28:22 +02:00
Ulysse Cura d60953e1e2 Added assertions. 2026-07-26 12:25:08 +02:00
Ulysse Cura f7e596024b Updated README. 2026-07-26 12:24:24 +02:00
Ulysse Cura ad5c3a8d44 Removed memory leak due to nvidia drivers... 2026-07-26 01:45:53 +02:00
Ulysse Cura 54b15900b2 Updated to SDL3. 2026-07-25 02:00:44 +02:00
Ulysse Cura 0524f6ada9 Removed C99 iso warning. 2026-07-25 00:39:53 +02:00
Ulysse Cura e11f9bea73 Added more debug messages and moved the time update function into main. 2026-07-24 16:42:06 +02:00
Ulysse Cura 2e1eaf4c1c Moved ecs.c into core and added much better error and debug handling. 2026-07-24 03:23:03 +02:00
Ulysse Cura d193aa5fd4 Added RELEASE var. 2026-07-22 18:16:21 +02:00
Ulysse Cura 2f10b3c1bc Fixed debug issues. 2026-07-22 18:04:36 +02:00
Ulysse Cura 9b6ac3c145 Displaying background in white for better lisibility. 2026-07-22 16:10:40 +02:00
Ulysse Cura af6ae7ae22 Set renderer scale. 2026-07-22 15:43:01 +02:00
Ulysse Cura 91709bfacc Inlined display functions. 2026-07-22 15:37:43 +02:00
Ulysse Cura c1a3dea560 Adding flip support. 2026-07-22 13:42:14 +02:00