This commit is contained in:
2026-09-24 15:30:45 -03:00
commit a5af824c91
306 changed files with 58603 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef MJJUDGER_H
#define MJJUDGER_H
#include "../States.h"
bool mjew_tick(Server* server, Entity* entity);
typedef struct
{
ENTITY_BODY
double next_time;
double timer;
enum
{
MJJ_WAIT,
MJJ_PREPARE,
MJJ_FIRE
} state;
} MJew;
#define MakeMJew() ((MJew) { MakeEntity("mjud", 0, 0) NULL, mjew_tick, NULL, (10 + rand() % 5) * TICKSPERSEC, 0.0, MJJ_WAIT })
#endif