NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_last_actor.cpp
1#include <game/bases/d_last_actor.hpp>
2#include <game/bases/d_game_com.hpp>
3#include <game/bases/d_actor.hpp>
4#include <game/bases/d_scene.hpp>
5#include <game/bases/d_movie.hpp>
6#include <game/bases/d_effectmanager.hpp>
8#include <lib/egg/util/eggEffectManager.hpp>
9
10BASE_PROFILE(LASTACTOR, dLastActor_c);
11
13 return SUCCEEDED;
14}
15
17 return SUCCEEDED;
18}
19
21 if (EGG::EffectManager::sEffectManager != nullptr) {
22 if (dScene_c::m_nowScene == fProfile::WORLD_MAP) {
23 EffectManager_c::calcGroupForWm();
24 } else if (dScene_c::m_nowScene == fProfile::MOVIE) {
25 if (!dScMovie_c::m_instance->mMovieEnded || dScMovie_c::m_instance->mEffectCreated) {
26 EffectManager_c::calcGroup();
27 }
28 } else {
29 EffectManager_c::calcGroup();
30 }
31 }
32
33 dGameCom::setGameStop();
36
37 return SUCCEEDED;
38}
39
41 return SUCCEEDED;
42}
43
static u8 mExecStopReq
The actors for which the execute operation is requested to be disabled.
Definition d_actor.hpp:400
static u8 mExecStop
The actors for which the execute operation is currently disabled.
Definition d_actor.hpp:402
static u8 mDrawStopReq
The actor kinds for which the draw operation is requested to be disabled.
Definition d_actor.hpp:401
static u8 mDrawStop
The actor kinds for which the draw operation is currently disabled.
Definition d_actor.hpp:403
An actor that is always placed last in the actor list.
virtual int draw()
do method for the draw operation.
virtual int doDelete()
do method for the delete operation.
virtual ~dLastActor_c()
Destroys the base.
virtual int create()
do method for the create operation.
virtual int execute()
do method for the execute operation.
static ProfileName m_nowScene
The profile name of the current scene.
Definition d_scene.hpp:56
@ SUCCEEDED
The step was completed successfully.
Definition f_base.hpp:43
#define BASE_PROFILE(profName, className)
Creates a basic profile, using the profile number as the execute and draw order value.
Definition f_profile.hpp:23