Commit Graph

29 Commits

Author SHA1 Message Date
Ulysse Cura 946cc2e495 Switching asset file values to uint32. 2026-08-15 14:17:02 +02:00
Ulysse Cura a7e3c16ad9 Removed variadic arguments from looping linked list functions. 2026-08-14 19:06:25 +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 2860380395 Added error trace. 2026-08-13 17:55:40 +02:00
Ulysse Cura c57cfea7f7 Removed useless code. 2026-08-10 00:47:04 +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 449bf60160 Moved display functions to display.h/.c. 2026-08-03 23:29:27 +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 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 457de07ecb Linked lists error handling and consequences 💀 2026-07-26 14:37:38 +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 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 2e1eaf4c1c Moved ecs.c into core and added much better error and debug handling. 2026-07-24 03:23:03 +02:00
Ulysse Cura c1a3dea560 Adding flip support. 2026-07-22 13:42:14 +02:00
Ulysse Cura 58f16dfcae Asset manager can load and display images. 2026-07-22 02:43:43 +02:00
Ulysse Cura 40ce153123 Started to implement asset manager for textures. 2026-07-21 01:44:24 +02:00
Ulysse Cura 520a846892 Using the asset manager to load and store all types of assets. 2026-07-20 21:23:54 +02:00
Ulysse Cura 0eff35ebac Removed libtar and changed default background color to black. 2026-06-12 17:20:05 +02:00
Ulysse Cura d7913dcc9f Changed the Makefile structure and tested if libtar is found. 2026-05-06 20:41:01 +02:00
Ulysse Cura 37057014f2 Adding libtar librairy 2026-05-05 09:43:54 +02:00
Ulysse Cura a498acb4d9 Implementing asset manager. 2026-05-04 21:39:01 +02:00