Brunot
Loading...
Searching...
No Matches
FOR_ALL_COMPONENTS.h
Go to the documentation of this file.
1
10// ____ __ __ __
11// /\__ _\/\ \ /\ \/\ \
12// \/_/\ \/\ \ \___ __ \ \ \_\ \ ___ __ __ ____ __
13// \ \ \ \ \ _ `\ /'__`\ \ \ _ \ / __`\/\ \/\ \ /',__\ /'__`\
14// \ \ \ \ \ \ \ \/\ __/ \ \ \ \ \/\ \L\ \ \ \_\ \/\__, `\/\ __/
15// \ \_\ \ \_\ \_\ \____\ \ \_\ \_\ \____/\ \____/\/\____/\ \____\
16// \/_/ \/_/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/___/ \/____/
17
18
19#pragma once
20
21#ifndef I_DONT_NEED_COMPONENT_INCLUDES
22#error "You must include Utility/ALL_COMPONENTS_INCLUDE.h or #define I_DONT_NEED_COMPONENT_INCLUDES before using FOR_ALL_COMPONENTS"
23#endif
24
33#define FOR_ALL_COMPONENTS(DO) \
34DO(ScriptHolder, 50) \
35DO(Physics,100) \
36DO(Transform, 300) \
37DO(Collider, 400) \
38DO(Sprite, 500) \
39DO(Card, 700) \
40DO(Deck, 750) \
41DO(Player, 800) \
42DO(Board, 850) \
43DO(Scene, 900) \
44DO(PauseScene, 915) \
45DO(MainScene, 920) \
46DO(MainMenuScene, 925) \
47DO(ConfirmDestructiveActionScene, 930) \
48DO(OptionsScene, 935) \
49DO(CreditsScene, 940) \
50DO(TutorialScene, 945) \
51DO(Background, 950) \
52DO(Backdrop, 951) \
53DO(SplashScreenScene, 955) \
54DO(WinScreenScene, 960) \
55DO(PlayerCountScene, 965) \
56DO(PlayerJoinScene, 970) \
57DO(Menu, 1200) \
58DO(ActionList, 1300) \
59DO(MenuPosition, 1525) \
60DO(Selector, 1600) \
61DO(Button, 1700) \
62DO(ParticleGenerator, 2500) // keep after anything that would trigger particles