Merged develop for todo

This commit is contained in:
Ulysse Cura 2026-09-03 14:32:24 +02:00
parent 58375d720e
commit 858fe1d38d
7 changed files with 70 additions and 59 deletions

@ -1 +1 @@
Subproject commit 60b58036a98698ddf63bb2b2baa384d780c1b3d3 Subproject commit bc3f9b4726b7a5cb9522bc959f6086095d5f4301

116
TODO.md
View File

@ -1,57 +1,59 @@
# What to do for the 2D Engine # What to do for the 2D Engine
### Todo ### Todo
###### Features ###### Features
- [ ] Change linked list for each implementation to a macro (iykyk) - [ ] Change linked list for each implementation to a macro (iykyk)
- [ ] Add compression into asset builder and asset manager - [ ] Add compression into asset builder and asset manager
- [ ] Make functionnal hitboxes between entities and map - [ ] Make functionnal hitboxes between entities and map
- [ ] Make triggers - [ ] Make triggers
- [ ] Add triggers into map loading - [ ] Add triggers into map loading
- [ ] Make physics component use acceleration - [ ] Make physics component use acceleration
- [ ] Make camera use acceleration - [ ] Make camera use acceleration
###### Bugs ###### Bugs
- [ ] Fix transparency issues - [ ] Fix transparency issues
- [ ] Rethink export properties and platforms ? - [ ] Rethink export properties and platforms ?
- [ ] Fix door component and other components (?) loading from map - [ ] Fix door component and other components (?) loading from map
### In progress ### In progress
### Done - [ ] Create lua component
- [x] Make camera center on map ### Done
- [x] Create camera - [x] Make camera center on map
- [x] Optimize asset builder file analize - [x] Create camera
- [x] Create tilemap management and display - [x] Optimize asset builder file analize
- [x] Find tilemap building format
- [x] Add building support for tilemaps in asset builder - [x] Create tilemap management and display
- [x] Add loading support in asset manager - [x] Find tilemap building format
- [x] Display tilemaps - [x] Add building support for tilemaps in asset builder
- [ ] Work on optimizations ! - [x] Add loading support in asset manager
- [x] Display tilemaps
- [x] Work on entities draw order - [ ] Work on optimizations !
- [x] Make entities react to events - [x] Work on entities draw order
- [x] Work on events (publish / subscribe) - [x] Make entities react to events
- [x] Work on asset corruption - [x] Work on events (publish / subscribe)
- [x] Make functionnal hitboxes between entities - [x] Work on asset corruption
- [x] Change the way default values are defined across components and systems - [x] Make functionnal hitboxes between entities
- [x] Remove the need of a dummy texture
- [x] Change the way default values are defined across components and systems
- [x] Work on linked lists optimizations - [x] Remove the need of a dummy texture
- [x] Work on linked lists optimizations

View File

@ -9,7 +9,8 @@ SOURCES := \
components/animation_system.c \ components/animation_system.c \
components/player_system.c \ components/player_system.c \
components/lever_component.c \ components/lever_component.c \
components/door_component.c components/door_component.c \
components/lua_component.c
# Compiler and flags # Compiler and flags
SRC_CC = gcc SRC_CC = gcc

View File

@ -18,6 +18,7 @@ COMPONENT(ANIMATION_SYSTEM, animation_system, NO_DRAW)
COMPONENT(PLAYER_SYSTEM, player_system, NO_DRAW) COMPONENT(PLAYER_SYSTEM, player_system, NO_DRAW)
COMPONENT(LEVER_COMPONENT, lever_component, NO_DRAW) COMPONENT(LEVER_COMPONENT, lever_component, NO_DRAW)
COMPONENT(DOOR_COMPONENT, door_component, NO_DRAW) COMPONENT(DOOR_COMPONENT, door_component, NO_DRAW)
COMPONENT(LUA_COMPONENT, lua_component, NO_DRAW)
// Add new components definition here // Add new components definition here
#undef COMPONENT #undef COMPONENT

View File

@ -10,6 +10,7 @@
#include "player_system.h" #include "player_system.h"
#include "lever_component.h" #include "lever_component.h"
#include "door_component.h" #include "door_component.h"
#include "lua_component.h"
// Add new components header file here // Add new components header file here
#endif // COMPONENTS_H #endif // COMPONENTS_H

View File

View File

@ -0,0 +1,6 @@
#ifndef LUA_COMPONENT_H
#define LUA_COMPONENT_H
#endif // LUA_COMPONENT_H