summaryrefslogtreecommitdiff
path: root/src/manager.c
blob: 338d2d7d66fb2a4cef83a75c522cc31c9eced9ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#include "manager.h"

// TODO: change all manager arguments to be Entity* and cast to specific type later.
void (*const gMiscManagerunctions[])() = { NULL,
                                           LightRayManager_Main,
                                           VerticalMinishPathBackgroundManager_Main,
                                           MinishPortalManager_Main,
                                           DiggingCaveEntranceManager_Main,
                                           BridgeManager_Main,
                                           SpecialWarpManager_Main,
                                           MinishVillageTilesetManager_Main,
                                           HorizontalMinishPathBackgroundManager_Main,
                                           MinishRaftersBackgroundManager_Main,
                                           EzloHintManager_Main,
                                           FightManager_Main,
                                           RollingBarrelManager_Main,
                                           TileChangeObserveManager_Main,
                                           EntitySpawnManager_Main,
                                           MiscManager_Main,
                                           WeatherChangeManager_Main,
                                           FlagAndOperatorManager_Main,
                                           HyruleTownTilesetManager_Main,
                                           HouseSignManager_Main,
                                           SteamOverlayManager_Main,
                                           TempleOfDropletsManager_Main,
                                           DelayedEntityLoadManager_Main,
                                           FallingItemManager_Main,
                                           CloudOverlayManager_Main,
                                           PowBackgroundManager_Main,
                                           HoleManager_Main,
                                           StaticBackgroundManager_Main,
                                           RainfallManager_Main,
                                           AnimatedBackgroundManager_Main,
                                           RegionTriggerManager_Main,
                                           RailIntersectionManager_Main,
                                           MoveableObjectManager_Main,
                                           MinishSizedEntranceManager_Main,
                                           LightManager_Main,
                                           LightLevelSetManager_Main,
                                           BombableWallManager_Main,
                                           FlameManager_Main,
                                           PushableFurnitureManager_Main,
                                           ArmosInteriorManager_Main,
                                           EnemyInteractionManager_Main,
                                           Manager29_Main,
                                           DestructibleTileObserveManager_Main,
                                           AngryStatueManager_Main,
                                           CloudStaircaseTransitionManager_Main,
                                           WaterfallBottomManager_Main,
                                           SecretManager_Main,
                                           Vaati3BackgroundManager_Main,
                                           TilePuzzleManager_Main,
                                           GoronMerchantShopManager_Main,
                                           VaatiAppearingManager_Main,
                                           HyruleTownBellManager_Main,
                                           Vaati3InsideArmManager_Main,
                                           CameraTargetManager_Main,
                                           RepeatedSoundManager_Main,
                                           Vaati3StartManager_Main,
                                           FloatingPlatformManager_Main,
                                           EnterRoomTextboxManager_Main };

void ManagerUpdate(Entity* this) {
    if (!EntityIsDeleted(this))
        gMiscManagerunctions[this->id](this);
}