Commit Graph

75 Commits

Author SHA1 Message Date
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
Ulysse Cura 771aa18f80 Moving initialisation values where they should be. 2026-08-03 18:40:40 +02:00
Ulysse Cura 4959a01ac6 Added error handling for sprite component set texture. 2026-08-01 16:00:04 +02:00
Ulysse Cura 12dc97bc82 Cleaned some vars. 2026-07-30 19:44:51 +02:00
Ulysse Cura b9805aaeb1 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 18:02:46 +02:00
Ulysse Cura cf366ee21a Linked lists error handling and consequences 💀 2026-07-26 14:37:58 +02:00
Ulysse Cura d3f3ec21e0 Added running animation for player. 2026-07-26 14:00:55 +02:00
Ulysse Cura 70513b0b15 Updating core to SDL3. 2026-07-26 01:45:08 +02:00
Ulysse Cura 75ff9bec77 Moved the time update function into core main. 2026-07-24 16:42:27 +02:00
Ulysse Cura 011e960cfc Moved ecs.c into core and added much better error and debug handling. 2026-07-24 03:23:53 +02:00
Ulysse Cura 067a3ec2c9 Added RELEASE var and task. 2026-07-22 18:18:24 +02:00
Ulysse Cura 64e356bb83 Fixed debug issues. 2026-07-22 18:04:47 +02:00
Ulysse Cura 9e56720122 Simpler event handling in src side. 2026-07-22 15:36:40 +02:00
Ulysse Cura 6ecde5192e Rearanged animation system change animation function. 2026-07-22 13:41:39 +02:00
Ulysse Cura 3060f2910c Adjust player idle animation frame time. 2026-07-22 13:22:49 +02:00