feat: save world written
This commit is contained in:
@@ -16,6 +16,8 @@ typedef struct World World;
|
||||
#include "bandit.h"
|
||||
|
||||
struct World {
|
||||
//// Utils
|
||||
M_Arena *arena;
|
||||
//// Static stuff
|
||||
NavMesh *navMesh;
|
||||
Random random;
|
||||
@@ -43,4 +45,7 @@ function void UpdateNPCs(F32 delta, World *world);
|
||||
function void UpdateNPC(F32 delta, NPC *npc, World *world);
|
||||
function void UpdateBandit(F32 delta, Bandit *bandit, World *world);
|
||||
|
||||
function World *LoadWorld(Str8 levelData);
|
||||
function void SaveWorld(M_Arena *arena, World *world);
|
||||
|
||||
#endif // LD_GAME_WORLD_H_
|
||||
|
||||
Reference in New Issue
Block a user