stages: add empty templates for custom entity types

This commit is contained in:
Andrei Alexeyev 2021-07-18 17:52:45 +03:00
parent edac2dfe57
commit 1840c85273
No known key found for this signature in database
GPG key ID: 72D26128040B9690
8 changed files with 127 additions and 0 deletions

View file

@ -21,9 +21,11 @@
X(Projectile, __VA_ARGS__) \
#include "plrmodes/entities.h"
#include "stages/entities.h"
#define ENTITIES(X, ...) \
ENTITIES_CORE(X, __VA_ARGS__) \
ENTITIES_PLAYERMODES(X, __VA_ARGS__) \
ENTITIES_STAGES(X, __VA_ARGS__) \
#endif // IGUARD_known_entities_h

29
src/stages/entities.h Normal file
View file

@ -0,0 +1,29 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_entities_h
#define IGUARD_stages_entities_h
#include "taisei.h"
#include "stage1/entities.h"
#include "stage2/entities.h"
#include "stage3/entities.h"
#include "stage4/entities.h"
#include "stage5/entities.h"
#include "stage6/entities.h"
#define ENTITIES_STAGES(X, ...) \
ENTITIES_STAGE1(X, __VA_ARGS__) \
ENTITIES_STAGE2(X, __VA_ARGS__) \
ENTITIES_STAGE3(X, __VA_ARGS__) \
ENTITIES_STAGE4(X, __VA_ARGS__) \
ENTITIES_STAGE5(X, __VA_ARGS__) \
ENTITIES_STAGE6(X, __VA_ARGS__) \
#endif // IGUARD_stages_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage1_entities_h
#define IGUARD_stages_stage1_entities_h
#include "taisei.h"
#define ENTITIES_STAGE1(X, ...) \
#endif // IGUARD_stages_stage1_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage2_entities_h
#define IGUARD_stages_stage2_entities_h
#include "taisei.h"
#define ENTITIES_STAGE2(X, ...) \
#endif // IGUARD_stages_stage2_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage3_entities_h
#define IGUARD_stages_stage3_entities_h
#include "taisei.h"
#define ENTITIES_STAGE3(X, ...) \
#endif // IGUARD_stages_stage3_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage4_entities_h
#define IGUARD_stages_stage4_entities_h
#include "taisei.h"
#define ENTITIES_STAGE4(X, ...) \
#endif // IGUARD_stages_stage4_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage5_entities_h
#define IGUARD_stages_stage5_entities_h
#include "taisei.h"
#define ENTITIES_STAGE5(X, ...) \
#endif // IGUARD_stages_stage5_entities_h

View file

@ -0,0 +1,16 @@
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage6_entities_h
#define IGUARD_stages_stage6_entities_h
#include "taisei.h"
#define ENTITIES_STAGE6(X, ...) \
#endif // IGUARD_stages_stage6_entities_h