Commit Graph

89 Commits

Author SHA1 Message Date
Ulysse Cura 44a3cec957 Changed texture transparent color to 0x0001 for future compatibility with fxsdk and gint. Added error handling for display update and other functions. 2026-08-17 19:47:04 +02:00
Ulysse Cura 434cc4fd4e Modified topics creation and deletion location. 2026-08-16 23:51:49 +02:00
Ulysse Cura c44f6b9842 Corrected makefile options. 2026-08-16 23:31:40 +02:00
Ulysse Cura 93c76a992c Fixed managers exit order. 2026-08-16 20:48:27 +02:00
Ulysse Cura 8f547d6e37 Corrected topic management. 2026-08-16 20:48:07 +02:00
Ulysse Cura 67ca898bcd Loading entities from maps. 2026-08-16 14:47:07 +02:00
Ulysse Cura 73a3133547 Loading and destroying maps. 2026-08-16 01:05:20 +02:00
Ulysse Cura e73b34e87d Building maps into asset file ! 2026-08-15 20:42:26 +02:00
Ulysse Cura bcdff91d09 Globalized components ref in components. 2026-08-14 20:44:59 +02:00
Ulysse Cura 7db6164deb Removed variadic arguments from looping linked list functions. 2026-08-14 19:06:49 +02:00
Ulysse Cura d5ccaee457 Refactorised files for better lisibility. 2026-08-14 17:25:50 +02:00
Ulysse Cura b4cb4634cf Using global game instance instead of passing it as an argument. 2026-08-14 17:25:32 +02:00
Ulysse Cura c6cb48d539 Removed sprite component set texture for more flexibility. 2026-08-14 16:52:52 +02:00
Ulysse Cura 9c728f6992 Reactions to core changes. 2026-08-14 16:42:29 +02:00
Ulysse Cura c7afabd4c4 Moved initialisation of values of components outside their init function. 2026-08-13 19:06:29 +02:00
Ulysse Cura 02b87270bb Updated ccls and make options. 2026-08-13 19:04:16 +02:00
Ulysse Cura b74b0e357b Added trace for errors. 2026-08-13 19:02:25 +02:00
Ulysse Cura 53194e3fc7 Adding wodden door. 2026-08-11 15:16:06 +02:00
Ulysse Cura 21428dbe29 Fix some hitbox values and makefile messages. 2026-08-11 11:38:22 +02:00
Ulysse Cura 0cf8b424b2 Working entity draw priority. 2026-08-11 11:22:52 +02:00
Ulysse Cura 8a087f64fa Moved components initialisation outside of other components. 2026-08-11 11:22:28 +02:00
Ulysse Cura a805daf573 Working lever and door ! 2026-08-10 20:59:14 +02:00
Ulysse Cura 4668d4dbe4 Making funcitonnal lever component. 2026-08-10 18:23:37 +02:00
Ulysse Cura 27d5a151d1 Lisibility. 2026-08-10 12:39:04 +02:00
Ulysse Cura 3548ef456f Working event bus, and implemented in interact component. 2026-08-10 12:38:55 +02:00
Ulysse Cura f084d3b406 Renamed inputs structs. 2026-08-10 00:11:39 +02:00
Ulysse Cura ba3eaf999e Working interaction from player. 2026-08-09 14:11:56 +02:00
Ulysse Cura 5bf66ddd7b Fixing some values and error handling. 2026-08-09 14:10:57 +02:00
Ulysse Cura f27eff9731 Starting to add interact component. 2026-08-08 21:06:09 +02:00
Ulysse Cura a636553e39 Removed useless comments and moved includes in right place. 2026-08-08 20:49:29 +02:00
Ulysse Cura c1e09fb450 Fixed self hitbox deactivation. 2026-08-08 20:19:01 +02:00
Ulysse Cura 260c092a69 Generalized assets data. 2026-08-08 20:15:32 +02:00
Ulysse Cura 6c77f2155e Added lever and door entities. 2026-08-08 12:37:32 +02:00
Ulysse Cura 544e623e25 Typos and loading tileset in sprite. 2026-08-08 12:16:10 +02:00
Ulysse Cura 2e03f91596 Corrected possible segmentatino fault in component querying in components initialisation. 2026-08-06 13:52:30 +02:00
Ulysse Cura 98dd1bbdcb Adding const identifiers. 2026-08-06 13:51:42 +02:00
Ulysse Cura 46682c00e2 Reorganised headers to match design choices and component creation order for correct update order. 2026-08-05 23:53:25 +02:00
Ulysse Cura 78cfb78a5a Renamed collision function. 2026-08-04 23:37:21 +02:00
Ulysse Cura edbedae703 Hitboxes between entities are handled by the physics component. 2026-08-04 21:53:37 +02:00
Ulysse Cura 56cede5015 Remove excesive explicity. 2026-08-04 20:34:46 +02:00
Ulysse Cura e177798bd7 Adding physics system lerp function. 2026-08-04 19:49:21 +02:00
Ulysse Cura f13c278bd2 Changing texture display dst rect to frect. 2026-08-04 19:49:03 +02:00
Ulysse Cura 6202a20f72 Moved movement to new physics component. 2026-08-04 01:57:26 +02:00
Ulysse Cura 85c2777b90 Fixed some typos, set components functions to inline and added "hitbox activated" param to hitbox component. 2026-08-04 01:57:01 +02:00
Ulysse Cura 357839cc71 Adding hitbox component and test entity. 2026-08-04 01:35:31 +02:00
Ulysse Cura 598784c249 Disabled display resizability and typos. 2026-08-03 23:42:59 +02:00
Ulysse Cura a5e9046632 Adding blend mode to renderer. 2026-08-03 23:34:42 +02:00
Ulysse Cura ee137abf63 Moved display functions to display.h/.c. 2026-08-03 23:29:42 +02:00
Ulysse Cura 02b8c4aa06 Added more debug options. 2026-08-03 20:46:02 +02:00
Ulysse Cura e370ea5b31 Added a linked list exit function for reserved elements and documented unsafe functions. 2026-08-03 19:20:09 +02:00