mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
Add dComIfGp_particle_addModelEmitter wrapper
This commit is contained in:
@@ -3163,6 +3163,10 @@ inline void dComIfGp_particle_calcMenu() {
|
||||
g_dComIfG_gameInfo.play.getParticle()->calcMenu();
|
||||
}
|
||||
|
||||
inline int dComIfGp_particle_addModelEmitter(dPa_modelEmitter_c* emitter){
|
||||
return g_dComIfG_gameInfo.play.getParticle()->addModelEmitter(emitter);
|
||||
}
|
||||
|
||||
inline void dComIfGp_particle_drawModelParticle() {
|
||||
g_dComIfG_gameInfo.play.getParticle()->drawModelParticle();
|
||||
}
|
||||
|
||||
@@ -363,6 +363,7 @@ public:
|
||||
|
||||
static J3DModel * newModel(J3DModelData*);
|
||||
void draw();
|
||||
int add(dPa_modelEmitter_c *emitter) { return cLs_Addition(this, emitter); }
|
||||
|
||||
static dPa_J3Dmodel_c * mModel;
|
||||
};
|
||||
@@ -469,6 +470,7 @@ public:
|
||||
u32 getParticleNum() { return mEmitterMng->getParticleNumber(); }
|
||||
u32 getEmitterNum() { return mEmitterMng->getEmitterNumber(); }
|
||||
|
||||
int addModelEmitter(dPa_modelEmitter_c *emitter) { return mModelControl->add(emitter); }
|
||||
void drawModelParticle() { mModelControl->draw(); }
|
||||
JKRHeap * getHeap() { return mHeap; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user