stages: add empty templates for custom entity types
This commit is contained in:
parent
edac2dfe57
commit
1840c85273
8 changed files with 127 additions and 0 deletions
|
@ -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
29
src/stages/entities.h
Normal 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
|
16
src/stages/stage1/entities.h
Normal file
16
src/stages/stage1/entities.h
Normal 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
|
16
src/stages/stage2/entities.h
Normal file
16
src/stages/stage2/entities.h
Normal 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
|
16
src/stages/stage3/entities.h
Normal file
16
src/stages/stage3/entities.h
Normal 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
|
16
src/stages/stage4/entities.h
Normal file
16
src/stages/stage4/entities.h
Normal 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
|
16
src/stages/stage5/entities.h
Normal file
16
src/stages/stage5/entities.h
Normal 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
|
16
src/stages/stage6/entities.h
Normal file
16
src/stages/stage6/entities.h
Normal 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
|
Loading…
Reference in a new issue