Commit Graph

118 Commits

Author SHA1 Message Date
Ulysse Cura 6bfa68db05 Removed useless debug message. 2026-08-22 12:30:24 +02:00
Ulysse Cura 1d2a6da977 Created display struct to encapsulate windo and renderer structs. 2026-08-21 23:40:53 +02:00
Ulysse Cura 45a7323213 Centering camera on map. 2026-08-21 23:13:20 +02:00
Ulysse Cura 6ef77524ac Optimized a little map display... 2026-08-21 23:13:07 +02:00
Ulysse Cura 2a0803d4c4 Changed map and texture formats. 2026-08-21 22:54:28 +02:00
Ulysse Cura a2420cb277 Removed trace in release mode. 2026-08-21 22:52:47 +02:00
Ulysse Cura 8d021e517a Working map diplaying. 2026-08-20 01:06:26 +02:00
Ulysse Cura 49c158e463 Moved display functions from frects to rects. 2026-08-20 01:05:34 +02:00
Ulysse Cura 5eb065b1cf Added camera and started to add map drawing. 2026-08-19 14:12:46 +02:00
Ulysse Cura 519ae78ada Added error handling in display update. 2026-08-17 19:45:53 +02:00
Ulysse Cura 8f63135415 Changed texture transparent color to 0x0001 for future compatibility with fxsdk and gint. 2026-08-17 19:45:25 +02:00
Ulysse Cura 5ba0ff9be3 Modified topics creation and deletion location. 2026-08-16 23:51:43 +02:00
Ulysse Cura 513b8d1f37 Corrected makefile options and added a debug message for removal of topics. 2026-08-16 23:29:28 +02:00
Ulysse Cura fc410c11ab Fixed obsolete code for type compatibility. 2026-08-16 23:28:22 +02:00
Ulysse Cura a8ca1d30fa Fixed memory leak of maps. 2026-08-16 22:41:06 +02:00
Ulysse Cura 009d463a65 Added a map remove entities function and renamed component type to type in map_entity_component_def_t. 2026-08-16 20:47:19 +02:00
Ulysse Cura 71ae4eb05f Removed change topic id function. 2026-08-16 20:46:41 +02:00
Ulysse Cura 6eaea68233 Corrected remove elem func for special case where elem is first or last. 2026-08-16 20:46:16 +02:00
Ulysse Cura 152be5f888 Corrected some issues with entity loading from maps. 2026-08-16 16:03:03 +02:00
Ulysse Cura a9d88e50e7 Loading entities from maps ! 2026-08-16 14:25:19 +02:00
Ulysse Cura 11258031c2 Added error message in event bus subcription func. 2026-08-16 14:25:08 +02:00
Ulysse Cura 4995e0757b Loading and destroying maps. 2026-08-16 01:04:58 +02:00
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