|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
The most basic form of an object. More...
#include <NameObj.hpp>
Public Member Functions | |
| NameObj (const char *pName) | |
| Constructs a new NameObj instance. | |
| virtual void | init (const JMapInfoIter &rIter) |
| Intializes the NameObj and can set various settings and construct necessary classes. | |
| virtual void | initAfterPlacement () |
| virtual void | movement () |
| virtual void | draw () const |
| Draws the object. Does nothing until overridden. | |
| virtual void | calcAnim () |
| virtual void | calcViewAndEntry () |
| void | initWithoutIter () |
| Initializes a NameObj without a JMapInfoIter instance. | |
| void | setName (const char *pName) |
| Sets the NameObj's mName. | |
| void | executeMovement () |
| void | requestSuspend () |
| void | requestResume () |
| void | syncWithFlags () |
Public Attributes | |
| const char * | mName |
| A string to identify the NameObj. | |
| volatile u16 | mFlags |
| Flags in relation to movement. | |
| s16 | mExecutorIdx |
| The index into the NameObjExecuteInfo array. | |
The most basic form of an object.
Definition at line 11 of file NameObj.hpp.
| NameObj::NameObj | ( | const char * | pName | ) |
Constructs a new NameObj instance.
| pName | The new name assigned to the NameObj. |
Definition at line 6 of file NameObj.cpp.
|
virtual |
Definition at line 13 of file NameObj.cpp.
|
virtual |
Intializes the NameObj and can set various settings and construct necessary classes.
| rIter | A reference to the JMapInfoIter that supplies BCSV information. |
Reimplemented in AreaObj, AreaObjContainer, AstroChangeStageCube, AudioEffectArea, BgmProhibitArea, BigBubbleGoalArea, BloomArea, ChangeBgmCube, AreaPolygon, CollisionArea, CubeCameraArea, DeathArea, DepthOfFieldArea, GlaringLightArea, HazeCube, LightArea, MercatorTransformCube, MessageArea, PlayerSeArea, RestartCube, ScreenBlurArea, SimpleBloomArea, SoundEmitterCube, SoundEmitterSphere, SpinGuidanceArea, SwitchArea, WarpCube, WaterArea, SkeletalFishBabyRail, SkeletalFishBoss, SkeletalFishBossScarFlash, SkeletalFishBossInfo, SkeletalFishBossRail, SkeletalFishGuard, CameraDirector, CameraMan, CameraManEvent, CameraManGame, CameraManPause, CameraManSubjective, CameraTargetObj, DemoCastGroup, PackunPetit, ClippingJudge, MsgSharedGroup, LiveActorGroupArray, MessageSensorHolder, MirrorActor, MirrorCamera, MirrorReflectionModel, ModelObj, ModelObjNpc, PartsModel, SensorHitChecker, Air, CollisionDirector, FileSelectEffect, Halo, PowerStarHalo, LightDirector, OceanRing, OceanRingBloomDrawer, PlayerRacer, RaceRail, ScenarioSelectStar, SeaGull, SeaGullGroup, Sky, SpaceInner, SphereSelector, TimerSwitch, AirBubble, AirBubbleGenerator, AirBubbleHolder, AnmModelObj, ArrowSwitch, ArrowSwitchTarget, ArrowSwitchMulti, AssemblyBlock, BallRail, BeeFlowerHover, BenefitItemInvincible, BenefitItemLifeUp, BenefitItemObj, BigBubbleMoveLimitter, BigFan, BlackHole, BreakableCage, CapsuleCage, ChipBase, ChipCounter, ChooChooTrain, CocoNut, CoconutTree, Coin, CoinBox, CoinGroup, CoinHolder, CoinReplica, CoinSpot, CollapsePlane, CollectCounter, CollisionBlocker, CrystalCage, CrystalCageMoving, CrystalSwitch, CutBushModelObj, DashRing, DeadLeaves, DynamicCollisionObj, FireBarBall, FireBar, FirePressure, FirePressureBullet, FirePressureBulletHolder, FlipPanel, FlipPanelObserver, FloaterFloatingForce, FloaterFloatingForceTypeNormal, Fountain, FountainBig, GeneralMapParts, GreenCaterpillarBigBody, GreenCaterpillarBig, HatchWaterPlanet, HipDropMoveObj, IceStep, ItemAppearStone, ItemBlock, KeySwitch, KillerGunnerSingle, LargeChain, LavaBallRisingPlanetLava, MagicBell, ManholeCover, MapObjActor, MapParts, MapPartsAppearController, MapPartsFloatingForce, MapPartsFunction, MapPartsRailGuideDrawer, MapPartsRailGuideHolder, MapPartsRailGuidePoint, MapPartsRailMover, MapPartsRailPosture, MapPartsRailRotator, MapPartsRotator, MarblePlanet, MarblePlanetElectron, MarblePlanetElectronShadow, MechaKoopaPartsArm, MechaKoopaPartsHead, NoteGroup, Note, NoteFairy, PowerStar, PowerStarAppearPoint, PowerStarHolder, PressureMessenger, PressureBase, PunchingKinoko, PurpleCoinStarter, RailMoveObj, RailMoveObjPress, RailMoveObjSwitchShadow, RailDemoMoveObj, ReverseGravityRoomPlanet, RotateMoveObj, SandCapsuleInsidePlanet, ShootingStar, SimpleMapObj, SimpleEnvironmentObj, SimpleMapObjFarMax, SimpleSeesawObj, SimpleMirrorObj, SimpleMirrorReflectionObj, UFOKinokoUnderConstruction, SimpleTimerObj, SnowplowSwitch, SpaceMine, SphereRailDash, SpinDriver, SpinDriverOperateRing, SpinDriverPathDrawer, SubmarineVolcanoBigColumn, Sun, SuperSpinDriver, TimeAppearObj, TreasureBoxCracked, TreasureSpot, UFOKinoko, WatchTowerRotateStep, WaterPressureBullet, WaterPressureBulletHolder, WoodBox, NPCActor, TalkDirector, MarioActor, MultiSceneActor, StageDataHolder, BackButton, CoinCounter, GalaxyNamePlate, IconAButton, IconComet, PlayerActionGuidance, ScenarioSelectLayout, StarPieceCounter, SubMeterLayout, SurfingGuidance, Poihana, GlobalGravityObj, PlanetGravityManager, MarioLauncherAttractor, PTimerSwitch, SwitchBox, and LiveActor.
Definition at line 17 of file NameObj.cpp.
|
virtual |
Definition at line 21 of file NameObj.cpp.
|
virtual |
Definition at line 25 of file NameObj.cpp.
|
virtual |
Draws the object. Does nothing until overridden.
Reimplemented in BigBubbleGoalArea, WarpCube, CameraCover, ShadowVolumeBox, ShadowVolumeDrawer, VolumeModelDrawer, OceanRing, OceanRingBloomDrawer, DashRing, NormalMapBase, SpinDriverPathDrawer, NameObjAdaptor, CaptureScreenActor, LayoutActor, ScenarioSelectLayout, and ScreenPreserver.
Definition at line 29 of file NameObj.cpp.
|
virtual |
Definition at line 33 of file NameObj.cpp.
|
virtual |
Definition at line 37 of file NameObj.cpp.
| void NameObj::initWithoutIter | ( | ) |
Initializes a NameObj without a JMapInfoIter instance.
Definition at line 41 of file NameObj.cpp.
| void NameObj::setName | ( | const char * | pName | ) |
Sets the NameObj's mName.
| pName | The new name assigned to the NameObj. |
Definition at line 48 of file NameObj.cpp.
| void NameObj::executeMovement | ( | ) |
Definition at line 52 of file NameObj.cpp.
| void NameObj::requestSuspend | ( | ) |
Definition at line 58 of file NameObj.cpp.
| void NameObj::requestResume | ( | ) |
Definition at line 66 of file NameObj.cpp.
| void NameObj::syncWithFlags | ( | ) |
Definition at line 74 of file NameObj.cpp.
| const char* NameObj::mName |
A string to identify the NameObj.
Definition at line 38 of file NameObj.hpp.
| volatile u16 NameObj::mFlags |
Flags in relation to movement.
Definition at line 39 of file NameObj.hpp.
| s16 NameObj::mExecutorIdx |
The index into the NameObjExecuteInfo array.
Definition at line 40 of file NameObj.hpp.