This commit is contained in:
2026-09-24 15:30:45 -03:00
commit a5af824c91
306 changed files with 58603 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef SPIKES_H
#define SPIKES_H
#include "../States.h"
bool spike_tick(Server* server, Entity* entity);
typedef struct
{
ENTITY_BODY
uint8_t frame;
double timer;
} SpikeController;
#define MakeSpike() ((SpikeController) { MakeEntity("spikectrl", 0, 0) NULL, spike_tick, NULL, 0, 2 * TICKSPERSEC })
#endif