working on adding a entity workflow
This commit is contained in:
26
source/game_source/entities/Centery.c
Normal file
26
source/game_source/entities/Centery.c
Normal 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;
|
||||
}
|
||||
27
source/game_source/entities/Centery.h
Normal file
27
source/game_source/entities/Centery.h
Normal 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
|
||||
0
source/game_source/entities/Cypher.c
Normal file
0
source/game_source/entities/Cypher.c
Normal file
6
source/game_source/entities/Cypher.h
Normal file
6
source/game_source/entities/Cypher.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef CYPHER_H
|
||||
#define CYPHER_H
|
||||
#include "../entity.h"
|
||||
|
||||
#endif
|
||||
|
||||
0
source/game_source/entities/RAT.c
Normal file
0
source/game_source/entities/RAT.c
Normal file
0
source/game_source/entities/RAT.h
Normal file
0
source/game_source/entities/RAT.h
Normal file
0
source/game_source/entities/Rebuilder.c
Normal file
0
source/game_source/entities/Rebuilder.c
Normal file
0
source/game_source/entities/Rebuilder.h
Normal file
0
source/game_source/entities/Rebuilder.h
Normal file
0
source/game_source/entities/Reclamed.c
Normal file
0
source/game_source/entities/Reclamed.c
Normal file
0
source/game_source/entities/Reclamed.h
Normal file
0
source/game_source/entities/Reclamed.h
Normal file
0
source/game_source/entities/Reclamer.c
Normal file
0
source/game_source/entities/Reclamer.c
Normal file
0
source/game_source/entities/Reclamer.h
Normal file
0
source/game_source/entities/Reclamer.h
Normal file
0
source/game_source/entities/Servitor.c
Normal file
0
source/game_source/entities/Servitor.c
Normal file
0
source/game_source/entities/Servitor.h
Normal file
0
source/game_source/entities/Servitor.h
Normal file
0
source/game_source/entities/Walker.c
Normal file
0
source/game_source/entities/Walker.c
Normal file
0
source/game_source/entities/Walker.h
Normal file
0
source/game_source/entities/Walker.h
Normal file
Reference in New Issue
Block a user