This commit is contained in:
2026-09-24 15:30:45 -03:00
commit a5af824c91
306 changed files with 58603 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef KAFSPEEDBOX_H
#define KAFSPEEDBOX_H
#include "../States.h"
bool kafbox_init(Server* server, Entity* entity);
bool kafbox_tick(Server* server, Entity* entity);
typedef struct
{
ENTITY_BODY
uint8_t nid;
double timer;
bool activated;
} KafBox;
#define MakeKafBox(nid) ((KafBox) { MakeEntity("kafbox", 0, 0) kafbox_init, kafbox_tick, NULL, nid, 0, 0, })
bool kafbox_activate(Server* server, KafBox* box, uint16_t pid, uint8_t is_proj);
#endif