Fixed level saving and loading

This commit is contained in:
2025-10-06 19:36:41 +01:00
parent c4cf8f532b
commit c1fb705f68
3 changed files with 132 additions and 83 deletions

View File

@@ -52,8 +52,8 @@ struct World {
//// Loaded from world file
World_Tile *tileTypes;
World_PropType *propTypes;
World_Prop *props;
AABB *hitboxes;
World_Prop *props;
AABB *hitboxes;
U32 *map;
U32 propCount;
@@ -82,6 +82,6 @@ function void UpdateNPC(F32 delta, NPC *npc, World *world);
function void UpdateBandit(F32 delta, Bandit *bandit, World *world);
function void LoadWorld(M_Arena *arena, World *world);
function void SaveWorld(M_Arena *arena, World *world);
function void SaveWorld(World *world);
#endif // LD_GAME_WORLD_H_