Commit Graph

96 Commits

Author SHA1 Message Date
Ulysse Cura 405ed84cae Removed cflag and removed useless macro parameters. 2026-08-15 20:41:50 +02:00
Ulysse Cura 946cc2e495 Switching asset file values to uint32. 2026-08-15 14:17:02 +02:00
Ulysse Cura eb01fd4d2b Adding comment. 2026-08-14 20:44:40 +02:00
Ulysse Cura a7e3c16ad9 Removed variadic arguments from looping linked list functions. 2026-08-14 19:06:25 +02:00
Ulysse Cura 95167c91e8 Changed color of debug infos to green. 2026-08-14 17:23:48 +02:00
Ulysse Cura e0e0587a16 Using global game instance instead of passing as an arg. 2026-08-14 17:23:32 +02:00
Ulysse Cura 827b52dcb8 Moved texture destroy func into texture.c. 2026-08-14 17:22:34 +02:00
Ulysse Cura 4a93ca2a9d Renamed asset manager get asset function. 2026-08-14 16:52:45 +02:00
Ulysse Cura 1fa9d1cb87 Separated texture type from asset manager for other asset types. 2026-08-14 16:41:45 +02:00
Ulysse Cura 46f13015d5 Remove useless includes. 2026-08-14 16:41:15 +02:00
Ulysse Cura 9d06fa7877 Fixing .ccls for components.def. 2026-08-13 22:12:43 +02:00
Ulysse Cura c71af2e803 Added event bus unsubscribe function. 2026-08-13 19:02:55 +02:00
Ulysse Cura 60946e130b Modifed compilation options and ccls config. 2026-08-13 19:02:38 +02:00
Ulysse Cura 2860380395 Added error trace. 2026-08-13 17:55:40 +02:00
Ulysse Cura ea7f745313 Adding linked list insertion sort and sorting entities by draw priority. 2026-08-11 11:13:03 +02:00
Ulysse Cura 50dc383e2d Added more debug messages. 2026-08-10 21:03:15 +02:00
Ulysse Cura 67c5c18fa2 Added subscription data to event bus. 2026-08-10 20:58:02 +02:00
Ulysse Cura 5d902de564 Corrected event bus event handling : removed events history. 2026-08-10 18:22:45 +02:00
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