mirror of
https://github.com/projectPiki/pikmin2.git
synced 2024-11-23 21:39:44 +00:00
generate ItemWeed::Mgr dtor
This commit is contained in:
parent
49ebd40bc1
commit
4270ccdddc
@ -92,10 +92,10 @@
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/cellPyramid.cpp">cellPyramid.cpp</a> | 52719 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_CaveGame.cpp">singleGS_CaveGame.cpp</a> | 52841 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiFormation.cpp">aiFormation.cpp</a> | 53253 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/navi_demoCheck.cpp">navi_demoCheck.cpp</a> | 57727 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/pelletState.cpp">pelletState.cpp</a> | 63200 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/itemUjamushi.cpp">itemUjamushi.cpp</a> | 63554 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/itemPlant.cpp">itemPlant.cpp</a> | 73149 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/baseGameSection.cpp">baseGameSection.cpp</a> | 92346 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiPrimitives.cpp">aiPrimitives.cpp</a> | 117085 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/pelletMgr.cpp">pelletMgr.cpp</a> | 143372 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/itemPlant.cpp">itemPlant.cpp</a> | 73149 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/baseGameSection.cpp">baseGameSection.cpp</a> | 92608 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiPrimitives.cpp">aiPrimitives.cpp</a> | 117085 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/pelletMgr.cpp">pelletMgr.cpp</a> | 141213 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/navi.cpp">navi.cpp</a> | 152216 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/pikiState.cpp">pikiState.cpp</a> | 155487 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Zukan.cpp">singleGS_Zukan.cpp</a> | 163685 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameMapParts.cpp">gameMapParts.cpp</a> | 167440 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Zukan.cpp">singleGS_Zukan.cpp</a> | 163685 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameMapParts.cpp">gameMapParts.cpp</a> | 164131 |
|
||||
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/naviState.cpp">naviState.cpp</a> | 182249 | | |
|
||||
|
||||
### <section id="plugProjectKonoU">plugProjectKonoU</section>
|
||||
|
@ -160,12 +160,12 @@ struct Mgr : public TNodeItemMgr {
|
||||
virtual void generatorWrite(Stream& output, GenItemParm* genItemParm); // _60
|
||||
virtual void generatorRead(Stream& input, GenItemParm* genItemParm, u32 version); // _64
|
||||
virtual GenItemParm* generatorNewItemParm(); // _70
|
||||
virtual ~Mgr(); // _B8 (weak)
|
||||
virtual char* getCaveName(int); // _BC
|
||||
virtual int getCaveID(char*); // _C0
|
||||
virtual BaseItem* doNew() { return new Item; } // _A0 (weak)
|
||||
virtual u32 generatorGetID() { return 'weed'; } // _58 (weak)
|
||||
virtual u32 generatorLocalVersion() { return '0001'; } // _68 (weak)
|
||||
// virtual ~Mgr(); // _B8 (weak)
|
||||
virtual char* getCaveName(int); // _BC
|
||||
virtual int getCaveID(char*); // _C0
|
||||
virtual BaseItem* doNew() { return new Item; } // _A0 (weak)
|
||||
virtual u32 generatorGetID() { return 'weed'; } // _58 (weak)
|
||||
virtual u32 generatorLocalVersion() { return '0001'; } // _68 (weak)
|
||||
|
||||
// unused/inlined:
|
||||
Item* birth();
|
||||
|
@ -732,7 +732,6 @@ void BaseGameSection::initGenerators()
|
||||
|
||||
limitGeneratorMgr->addMgr(currentNonloopMgr);
|
||||
playData->mLimitGen[courseInfo->mCourseIndex].mNonLoops.setFlag(i);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -745,10 +744,10 @@ void BaseGameSection::initGenerators()
|
||||
int intervalDay = today % 30;
|
||||
|
||||
int intervalIterations = day / 30;
|
||||
|
||||
|
||||
// effectively day > 30
|
||||
if (intervalIterations >= 1) {
|
||||
|
||||
|
||||
int floorDay = intervalIterations * 30;
|
||||
|
||||
for (int i = 0; i < courseInfo->mLoopGenInfo.mCount; i++) {
|
||||
@ -758,7 +757,7 @@ void BaseGameSection::initGenerators()
|
||||
int intervalMax = currentGen->mMaximumDay % 30;
|
||||
|
||||
if (intervalMin > intervalDay || intervalDay > intervalMax)
|
||||
continue;
|
||||
continue;
|
||||
|
||||
bool loopLoaded = playData->mLimitGen[courseInfo->mCourseIndex].mLoops.isFlag(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user