X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fminigames%2Fminigame%2Fall.qh;h=74df391de2cc7091c518ebe7c39a9551c1f711af;hb=f6dd336135aa93ee4617df2389c3bfb28f0e1c58;hp=afcc93d4821bb69c0c8b60e9d7783118301617a9;hpb=8da45596c76bb645e864b4ec8ff5a3ee13bbf27c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/minigames/minigame/all.qh b/qcsrc/common/minigames/minigame/all.qh index afcc93d48..74df391de 100644 --- a/qcsrc/common/minigames/minigame/all.qh +++ b/qcsrc/common/minigames/minigame/all.qh @@ -1,7 +1,9 @@ +#pragma once + #if defined(SVQC) -#include "../sv_minigames.qh" +#include #elif defined(CSQC) -#include "../cl_minigames.qh" +#include #endif /** @@ -65,25 +67,10 @@ that .owner is set to the minigame session entity and .minigame_autoclean is tru #include "ttt.qc" #include "c4.qc" #include "pong.qc" -#include "qto.qc" #include "ps.qc" #include "pp.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(qto, "Quinto") \ - MINIGAME(ps, "Peg Solitaire") \ - MINIGAME(pp, "Push-Pull") \ - /*empty line*/ +#include "snake.qc" +#include "bd.qc" /** * Set up automatic entity read/write functionality