adding multiplayer

This commit is contained in:
2026-04-15 06:57:15 -07:00
parent af639e62c3
commit 3a91db6321
32 changed files with 938 additions and 174 deletions

View File

@@ -34,12 +34,13 @@ typedef struct {
entity_callbacks callback;
entity_transaction ta;
unsigned char cleanup;
int server;
} entity;
entity* CreateEntity(const char* name, const char* description);
int EntityAddCallbacks(entity* e, entity_callbacks cb);
int EntitySetUserdat(entity* e, void* userdata);
int EntityMove(entity* e, vec2 pos);
int EntityMove(entity* e, vec2* pos);
// Gets
const char* GetEntityDescription(entity* e);