+#pragma once
+
#if defined(SVQC)
-#include "../sv_minigames.qh"
+#include <common/minigames/sv_minigames.qh>
#elif defined(CSQC)
-#include "../cl_minigames.qh"
+#include <common/minigames/cl_minigames.qh>
#endif
/**
#include "ps.qc"
#include "pp.qc"
#include "snake.qc"
-
-/**
- * Registration:
- * MINIGAME(id,"Name")
- * id (QuakeC symbol) Game identifier, used to find the functions explained above
- * "Name"(String) Human readable name for the game, shown in the UI
- */
-#define REGISTERED_MINIGAMES \
- MINIGAME(nmm, "Nine Men's Morris") \
- MINIGAME(ttt, "Tic Tac Toe") \
- MINIGAME(pong,"Pong") \
- MINIGAME(c4, "Connect Four") \
- MINIGAME(ps, "Peg Solitaire") \
- MINIGAME(pp, "Push-Pull") \
- MINIGAME(snake,"Snake") \
- /*empty line*/
+#include "bd.qc"
/**
* Set up automatic entity read/write functionality