mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-22 06:20:02 -04:00
Misc small cleanup
This commit is contained in:
@@ -626,6 +626,7 @@ struct J3DFog : public J3DFogInfo {
|
||||
// J3DFog() { *getFogInfo() = j3dDefaultFogInfo; } // Produces the wrong codegen for mDoExt_backupMatBlock_c's constructor
|
||||
J3DFog() { J3DFogInfo::operator=(j3dDefaultFogInfo); }
|
||||
explicit J3DFog(const J3DFogInfo& info) { J3DFogInfo::operator=(info); }
|
||||
~J3DFog() {}
|
||||
J3DFogInfo* getFogInfo() { return (J3DFogInfo*)this; }
|
||||
|
||||
void load() const {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define D_A_TBOX_H
|
||||
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "d/d_bg_w.h"
|
||||
@@ -41,7 +42,12 @@ public:
|
||||
request_of_phase_process_class* getPhase() { return &mPhase; }
|
||||
bool action() { return (this->*mActionFunc)(); }
|
||||
void setAction(ActionFunc func) { mActionFunc = func; }
|
||||
void deleteProc() {} // Maybe only used in the demo
|
||||
void deleteProc() {
|
||||
if (mpBgWCurrent != NULL) {
|
||||
dComIfG_Bgsp()->Release(mpBgWCurrent);
|
||||
}
|
||||
mSmokeCB.remove();
|
||||
}
|
||||
|
||||
inline BOOL draw();
|
||||
BOOL execute();
|
||||
|
||||
@@ -238,7 +238,7 @@ public:
|
||||
void setScissor(f32, f32, f32, f32);
|
||||
|
||||
view_port_class* getViewPort() { return &mViewport; }
|
||||
s8 getCameraID() { return mCameraID; }
|
||||
int getCameraID() { return mCameraID; }
|
||||
void setCameraID(int id) { mCameraID = id; }
|
||||
void setMode(int mode) { mMode = mode; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user