working on adding a entity workflow

This commit is contained in:
2026-03-16 13:22:59 -07:00
parent d18e4cea55
commit 76d2e27879
50 changed files with 988 additions and 389 deletions

View File

@@ -0,0 +1,26 @@
#include "Centery.h"
#include "entity_utils.h"
int CreateCentery(int tear, int classification) {
return 0;
}
int ServerUpdate(void * ent) {
entity* e = (entity*)ent;
centery* cen = (centery*)e->userdata;
if(
return 0;
}
int ClientUpdate(int action, void * centery) {
return 0;
}
int Init(void * ent){
return 0;
}
int Free(void* ent) {
return 0;
}

View File

@@ -0,0 +1,27 @@
#ifndef CENTERY_H
#define CENTERY_H
#include "../entity.h"
typedef struct {
entity* target;
int weapon;
int classification;
int tear;
int alert;
int mode;
int health;
int ac;
int str;
int wis;
int dex;
} centery;
int CreateCentery(int tear, int classification);
int ServerUpdate(void*);
int ClientUpdate(int, void*);
int Init(void*);
int Free(void*);
#endif // !CENTERY_H

View File

View File

@@ -0,0 +1,6 @@
#ifndef CYPHER_H
#define CYPHER_H
#include "../entity.h"
#endif

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File