This commit is contained in:
2026-09-24 15:30:45 -03:00
commit a5af824c91
306 changed files with 58603 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef WDLATERN_H
#define WDLATERN_H
#include <stdlib.h>
#include "../States.h"
bool latern_tick(Server* server, Entity* entity);
typedef struct
{
ENTITY_BODY
bool side;
double timer;
uint8_t lid;
uint16_t time;
} Latern;
#define MakeLatern() ((Latern) { MakeEntity("latrn", 0, 0) NULL, latern_tick, NULL, false, 0.0, 0, (7 + rand() % 2) })
#endif