Misc. tweaks

This commit is contained in:
intns 2022-10-26 01:12:41 +01:00
parent 2ffd5efdd1
commit ef1ccfafbc
305 changed files with 1173 additions and 1108 deletions

View File

@ -1,19 +1,30 @@
BasedOnStyle: WebKit
Language: Cpp
BasedOnStyle: WebKit
ColumnLimit: 140
SortIncludes: false
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
NamespaceIndentation: None
FixNamespaceComments: true
CompactNamespaces: false
AlignTrailingComments: true
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: true
AllowShortFunctionsOnASingleLine: true
FixNamespaceComments: true
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
SortIncludes: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignOperands: true
AlignOperands: AlignAfterOperator
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: Never
Cpp11BracedListStyle: false
Language: Cpp
CompactNamespaces: false
NamespaceIndentation: None
AlwaysBreakTemplateDeclarations: true
BreakStringLiterals: true
ReflowComments: true

View File

@ -7,8 +7,10 @@
"files.encoding": "shiftjis",
"editor.defaultFormatter": "xaver.clang-format"
},
"clang-format.executable": "C:/Users/dsp/OneDrive/Desktop/pikmin2/clang-format.exe",
"editor.tabSize": 2,
"files.associations": {
"source_location": "cpp"
"source_location": "cpp",
"types.h": "c"
}
}

View File

@ -95,15 +95,15 @@
| File | Size (bytes) | File | Size (bytes) |
| ---- | ---- | ---- | ---- |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiUtility.cpp">ebiUtility.cpp</a> | 3803 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiGeometry.cpp">ebiGeometry.cpp</a> | 5850 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleLight.cpp">ebiP2TitleLight.cpp</a> | 6209 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleCoordMgr.cpp">ebiP2TitleCoordMgr.cpp</a> | 9334 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiCardEReader.cpp">ebiCardEReader.cpp</a> | 15979 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenPushStart.cpp">ebiScreenPushStart.cpp</a> | 18291 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleLight.cpp">ebiP2TitleLight.cpp</a> | 6205 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleCoordMgr.cpp">ebiP2TitleCoordMgr.cpp</a> | 9330 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiCardEReader.cpp">ebiCardEReader.cpp</a> | 15979 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenPushStart.cpp">ebiScreenPushStart.cpp</a> | 18289 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/particle2dMgr.cpp">particle2dMgr.cpp</a> | 18593 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebi2DGraph.cpp">ebi2DGraph.cpp</a> | 19240 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmakeCardE.cpp">ebiScreenOmakeCardE.cpp</a> | 21684 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebi2DCallBack.cpp">ebi2DCallBack.cpp</a> | 21896 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmakeGame.cpp">ebiScreenOmakeGame.cpp</a> | 27032 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleUnit.cpp">ebiP2TitleUnit.cpp</a> | 28498 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmakeCardE.cpp">ebiScreenOmakeCardE.cpp</a> | 21682 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebi2DCallBack.cpp">ebi2DCallBack.cpp</a> | 21896 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmakeGame.cpp">ebiScreenOmakeGame.cpp</a> | 27030 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleUnit.cpp">ebiP2TitleUnit.cpp</a> | 28490 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenProgre.cpp">ebiScreenProgre.cpp</a> | 31730 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/efxObject.cpp">efxObject.cpp</a> | 32168 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/efx2dEffect.cpp">efx2dEffect.cpp</a> | 33329 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiMainTitleMgr.cpp">ebiMainTitleMgr.cpp</a> | 35109 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenSaveMenu.cpp">ebiScreenSaveMenu.cpp</a> | 35380 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleKogane.cpp">ebiP2TitleKogane.cpp</a> | 39621 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenTitleMenu.cpp">ebiScreenTitleMenu.cpp</a> | 40250 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmake.cpp">ebiScreenOmake.cpp</a> | 45771 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenSaveMenu.cpp">ebiScreenSaveMenu.cpp</a> | 35378 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiP2TitleKogane.cpp">ebiP2TitleKogane.cpp</a> | 39617 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenTitleMenu.cpp">ebiScreenTitleMenu.cpp</a> | 40248 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectEbisawaU/ebiScreenOmake.cpp">ebiScreenOmake.cpp</a> | 45771 |
### <section id="plugProjectHikinoU">plugProjectHikinoU</section>
| File | Size (bytes) | File | Size (bytes) |
@ -117,7 +117,7 @@
| File | Size (bytes) | File | Size (bytes) |
| ---- | ---- | ---- | ---- |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameTekiStat.cpp">gameTekiStat.cpp</a> | 3302 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameFootmark.cpp">gameFootmark.cpp</a> | 6723 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/cellMgrParms.cpp">cellMgrParms.cpp</a> | 6740 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Load.cpp">singleGS_Load.cpp</a> | 10004 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/cellMgrParms.cpp">cellMgrParms.cpp</a> | 6740 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Load.cpp">singleGS_Load.cpp</a> | 10000 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/mapMgrTraceMove.cpp">mapMgrTraceMove.cpp</a> | 10344 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/efxModelObjects.cpp">efxModelObjects.cpp</a> | 11463 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameDeathCount.cpp">gameDeathCount.cpp</a> | 12494 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gamePelletList.cpp">gamePelletList.cpp</a> | 12594 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/baseHIOSection.cpp">baseHIOSection.cpp</a> | 13040 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/cellIterator.cpp">cellIterator.cpp</a> | 13172 |
@ -135,11 +135,11 @@
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/radarInfo.cpp">radarInfo.cpp</a> | 23452 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiTeki.cpp">aiTeki.cpp</a> | 23944 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/pathfinder.cpp">pathfinder.cpp</a> | 26780 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiCrop.cpp">aiCrop.cpp</a> | 26980 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiTransport.cpp">aiTransport.cpp</a> | 27313 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiBattle.cpp">aiBattle.cpp</a> | 29687 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_MainResult.cpp">singleGS_MainResult.cpp</a> | 29769 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/creatureStick.cpp">creatureStick.cpp</a> | 29885 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiEnter.cpp">aiEnter.cpp</a> | 30419 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Ending.cpp">singleGS_Ending.cpp</a> | 31142 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_MainResult.cpp">singleGS_MainResult.cpp</a> | 29765 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/creatureStick.cpp">creatureStick.cpp</a> | 29885 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiEnter.cpp">aiEnter.cpp</a> | 30419 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_Ending.cpp">singleGS_Ending.cpp</a> | 31138 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_WorldMap.cpp">singleGS_WorldMap.cpp</a> | 32791 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_CaveResult.cpp">singleGS_CaveResult.cpp</a> | 33104 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameDynamics.cpp">gameDynamics.cpp</a> | 34058 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiBore.cpp">aiBore.cpp</a> | 34925 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/baseGameSectionKantei.cpp">baseGameSectionKantei.cpp</a> | 35295 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/vsGS_Title.cpp">vsGS_Title.cpp</a> | 37212 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/baseGameSectionKantei.cpp">baseGameSectionKantei.cpp</a> | 35291 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/vsGS_Title.cpp">vsGS_Title.cpp</a> | 37212 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/singleGS_DayEnd.cpp">singleGS_DayEnd.cpp</a> | 37384 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiWeed.cpp">aiWeed.cpp</a> | 38092 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/aiAttack.cpp">aiAttack.cpp</a> | 38728 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/collinfo.cpp">collinfo.cpp</a> | 42536 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/gameCPlate.cpp">gameCPlate.cpp</a> | 43839 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKandoU/creature.cpp">creature.cpp</a> | 45782 |
@ -147,9 +147,9 @@
### <section id="plugProjectKonoU">plugProjectKonoU</section>
| File | Size (bytes) | File | Size (bytes) |
| ---- | ---- | ---- | ---- |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khSceneLoader.cpp">khSceneLoader.cpp</a> | 16161 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khWinLoseReason.cpp">khWinLoseReason.cpp</a> | 21750 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khWinLose.cpp">khWinLose.cpp</a> | 22513 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khReadyGo.cpp">khReadyGo.cpp</a> | 25831 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khFinalFloor.cpp">khFinalFloor.cpp</a> | 26047 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khUtil.cpp">khUtil.cpp</a> | 26994 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khSceneLoader.cpp">khSceneLoader.cpp</a> | 16159 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khWinLoseReason.cpp">khWinLoseReason.cpp</a> | 21744 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khWinLose.cpp">khWinLose.cpp</a> | 22507 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khReadyGo.cpp">khReadyGo.cpp</a> | 25825 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khFinalFloor.cpp">khFinalFloor.cpp</a> | 26041 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectKonoU/khUtil.cpp">khUtil.cpp</a> | 26990 |
### <section id="plugProjectMorimuraU">plugProjectMorimuraU</section>
| File | Size (bytes) | File | Size (bytes) |
@ -159,7 +159,7 @@
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/miulinMgr.cpp">miulinMgr.cpp</a> | 19740 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/jigumoMgr.cpp">jigumoMgr.cpp</a> | 21621 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/enemyNestMgr.cpp">enemyNestMgr.cpp</a> | 30001 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/umiMushiMgr.cpp">umiMushiMgr.cpp</a> | 30677 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/blackManMgr.cpp">blackManMgr.cpp</a> | 30901 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/shijimiChouState.cpp">shijimiChouState.cpp</a> | 31896 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/kingChappyMgr.cpp">kingChappyMgr.cpp</a> | 33504 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/mrUtil.cpp">mrUtil.cpp</a> | 38086 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/kingChappyMgr.cpp">kingChappyMgr.cpp</a> | 33504 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/mrUtil.cpp">mrUtil.cpp</a> | 38082 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/scrollList.cpp">scrollList.cpp</a> | 41235 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/shijimiChouMgr.cpp">shijimiChouMgr.cpp</a> | 43556 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/tamagoMushiMgr.cpp">tamagoMushiMgr.cpp</a> | 45207 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/bomb.cpp">bomb.cpp</a> | 46434 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/panModokiMgr.cpp">panModokiMgr.cpp</a> | 51576 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectMorimuraU/miulinState.cpp">miulinState.cpp</a> | 53516 |
@ -197,23 +197,23 @@
### <section id="plugProjectOgawaU">plugProjectOgawaU</section>
| File | Size (bytes) | File | Size (bytes) |
| ---- | ---- | ---- | ---- |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogTotalPokoScreen.cpp">ogTotalPokoScreen.cpp</a> | 3332 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuCont.cpp">ogSceneSMenuCont.cpp</a> | 3661 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCallBackScreen.cpp">ogCallBackScreen.cpp</a> | 4006 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogDrawAfter.cpp">ogDrawAfter.cpp</a> | 5004 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneUfo.cpp">ogSceneUfo.cpp</a> | 5053 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneFinalMsg.cpp">ogSceneFinalMsg.cpp</a> | 5109 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSave.cpp">ogSceneSave.cpp</a> | 5151 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneContena.cpp">ogSceneContena.cpp</a> | 5306 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/testObj.cpp">testObj.cpp</a> | 6245 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuItem.cpp">ogSceneSMenuItem.cpp</a> | 6274 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneChallenge1P.cpp">ogSceneChallenge1P.cpp</a> | 6459 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogContenaCounter.cpp">ogContenaCounter.cpp</a> | 6643 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneWorldMapInfoWindow1.cpp">ogSceneWorldMapInfoWindow1.cpp</a> | 6932 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuPause.cpp">ogSceneSMenuPause.cpp</a> | 6982 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCatchPiki.cpp">ogCatchPiki.cpp</a> | 7014 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCounterDay.cpp">ogCounterDay.cpp</a> | 7058 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneChallenge2P.cpp">ogSceneChallenge2P.cpp</a> | 7326 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogBloGroup.cpp">ogBloGroup.cpp</a> | 8079 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuPauseDoukutu.cpp">ogSceneSMenuPauseDoukutu.cpp</a> | 8373 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneFloor.cpp">ogSceneFloor.cpp</a> | 8736 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjSave.cpp">ogObjSave.cpp</a> | 9527 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneGround.cpp">ogSceneGround.cpp</a> | 9846 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjWorldMapInfoWindow0.cpp">ogObjWorldMapInfoWindow0.cpp</a> | 10161 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneCourseName.cpp">ogSceneCourseName.cpp</a> | 10261 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCopyPane.cpp">ogCopyPane.cpp</a> | 10968 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjChallengeBase.cpp">ogObjChallengeBase.cpp</a> | 12161 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogTotalPokoScreen.cpp">ogTotalPokoScreen.cpp</a> | 3330 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuCont.cpp">ogSceneSMenuCont.cpp</a> | 3659 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCallBackScreen.cpp">ogCallBackScreen.cpp</a> | 4004 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogDrawAfter.cpp">ogDrawAfter.cpp</a> | 5002 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneUfo.cpp">ogSceneUfo.cpp</a> | 5051 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneFinalMsg.cpp">ogSceneFinalMsg.cpp</a> | 5107 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSave.cpp">ogSceneSave.cpp</a> | 5149 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneContena.cpp">ogSceneContena.cpp</a> | 5304 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/testObj.cpp">testObj.cpp</a> | 6245 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuItem.cpp">ogSceneSMenuItem.cpp</a> | 6272 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneChallenge1P.cpp">ogSceneChallenge1P.cpp</a> | 6457 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogContenaCounter.cpp">ogContenaCounter.cpp</a> | 6641 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneWorldMapInfoWindow1.cpp">ogSceneWorldMapInfoWindow1.cpp</a> | 6928 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuPause.cpp">ogSceneSMenuPause.cpp</a> | 6978 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCatchPiki.cpp">ogCatchPiki.cpp</a> | 7012 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCounterDay.cpp">ogCounterDay.cpp</a> | 7056 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneChallenge2P.cpp">ogSceneChallenge2P.cpp</a> | 7324 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogBloGroup.cpp">ogBloGroup.cpp</a> | 8075 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuPauseDoukutu.cpp">ogSceneSMenuPauseDoukutu.cpp</a> | 8369 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneFloor.cpp">ogSceneFloor.cpp</a> | 8734 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjSave.cpp">ogObjSave.cpp</a> | 9525 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneGround.cpp">ogSceneGround.cpp</a> | 9844 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjWorldMapInfoWindow0.cpp">ogObjWorldMapInfoWindow0.cpp</a> | 10159 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneCourseName.cpp">ogSceneCourseName.cpp</a> | 10259 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCopyPane.cpp">ogCopyPane.cpp</a> | 10962 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjChallengeBase.cpp">ogObjChallengeBase.cpp</a> | 12161 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSE.cpp">ogSE.cpp</a> | 12799 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSceneSMenuMap.cpp">ogSceneSMenuMap.cpp</a> | 13186 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSunMeter.cpp">ogSunMeter.cpp</a> | 13856 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCallBackMessage.cpp">ogCallBackMessage.cpp</a> | 14036 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjSpecialItem.cpp">ogObjSpecialItem.cpp</a> | 14601 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjWorldMapInfoWindow1.cpp">ogObjWorldMapInfoWindow1.cpp</a> | 15518 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogFuriko.cpp">ogFuriko.cpp</a> | 16003 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogSunMeter.cpp">ogSunMeter.cpp</a> | 13854 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogCallBackMessage.cpp">ogCallBackMessage.cpp</a> | 14032 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjSpecialItem.cpp">ogObjSpecialItem.cpp</a> | 14599 | <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogObjWorldMapInfoWindow1.cpp">ogObjWorldMapInfoWindow1.cpp</a> | 15516 |
| <a href="https://github.com/projectPiki/pikmin2/tree/main/src/plugProjectOgawaU/ogFuriko.cpp">ogFuriko.cpp</a> | 16001 |
### <section id="plugProjectYamashitaU">plugProjectYamashitaU</section>
| File | Size (bytes) | File | Size (bytes) |

View File

@ -17,7 +17,8 @@ struct BaseParm {
char* m_name; // _14
};
template <typename T> struct Parm : public BaseParm {
template <typename T>
struct Parm : public BaseParm {
inline Parm(Parameters* parameters, u32 id, char* comment, T value, T min, T max)
: BaseParm(parameters, id, comment)
, m_value(value)

View File

@ -4,7 +4,8 @@
#include "types.h"
#include "stream.h"
template <typename T> struct BitFlag {
template <typename T>
struct BitFlag {
BitFlag()
{
for (int i = 0; i < sizeof(T); i++) {
@ -32,7 +33,8 @@ template <typename T> struct BitFlag {
};
};
template <typename T, int I> struct BitFlagArray {
template <typename T, int I>
struct BitFlagArray {
inline BitFlagArray()
{
for (int i = 0; i < I; i++) {

View File

@ -5,7 +5,8 @@
#include "Game/BaseHIOSection.h"
struct Graphics;
template <typename T> struct IDelegate1;
template <typename T>
struct IDelegate1;
struct JKRHeap;
struct JUTTexture;
struct TinyPikmin;

View File

@ -12,7 +12,7 @@
namespace Game {
namespace P2JST {
struct ObjectCamera;
} // namespace P2JST
}
} // namespace Game
namespace Sys {

View File

@ -8,7 +8,7 @@ struct Stream;
namespace P2JME {
namespace Caption {
struct TControl;
} // namespace Caption
}
} // namespace P2JME
namespace Caption {

View File

@ -33,14 +33,14 @@ struct CollPart : public CNode {
{
return false;
}
virtual void draw(Graphics&); // _14
virtual void constructor() { } // _18 (weak)
virtual void doAnimation() { } // _1C (weak)
virtual void doEntry() { } // _20 (weak)
virtual void doSetView(u32) { } // _24 (weak)
virtual void doViewCalc() { } // _28 (weak)
virtual void doSimulation(float) { } // _2C (weak)
virtual void doDirectDraw(Graphics&) { } // _30 (weak)
virtual void draw(Graphics&); // _14
virtual void constructor() { } // _18 (weak)
virtual void doAnimation() { } // _1C (weak)
virtual void doEntry() { } // _20 (weak)
virtual void doSetView(u32) { } // _24 (weak)
virtual void doViewCalc() { } // _28 (weak)
virtual void doSimulation(float) { } // _2C (weak)
virtual void doDirectDraw(Graphics& gfx) { } // _30 (weak)
////////////// END VTABLE
void init(SysShape::MtxObject*);

View File

@ -1,7 +1,8 @@
#ifndef _CONDITION_H
#define _CONDITION_H
template <typename T> struct Condition {
template <typename T>
struct Condition {
virtual bool satisfy(T*) = 0; // _08
// VTBL _00

View File

@ -16,7 +16,8 @@ struct GenericContainer : public CNode {
virtual void* getEnd() = 0; // _1C
};
template <typename T> struct Container : public GenericContainer {
template <typename T>
struct Container : public GenericContainer {
inline Container() { _18 = 0; }
/////////////////// VTABLE
@ -49,7 +50,8 @@ template <typename T> struct Container : public GenericContainer {
u8 _18; // _18
};
template <typename T> struct ArrayContainer : public Container<T> {
template <typename T>
struct ArrayContainer : public Container<T> {
inline ArrayContainer()
{
_18 = 1;

View File

@ -3,32 +3,28 @@
#include "types.h"
#define AILOD_FLAG_NONE (0x0)
#define AILOD_FLAG_IS_MID (0x01)
#define AILOD_FLAG_IS_FAR (0x02)
#define AILOD_FLAG_NEED_SHADOW (0x04)
#define AILOD_FLAG_UNKNOWN4 (0x08)
#define AILOD_FLAG_VISIBLE_VP0 (0x10) // Is it visible on viewport 0? etc.
#define AILOD_FLAG_VISIBLE_VP1 (0x20)
#define AILOD_FLAG_VISIBLE_VP2 (0x40)
#define AILOD_FLAG_VISIBLE_VP3 (0x80)
namespace Game {
struct AILODParm {
AILODParm();
f32 m_far; // _00
f32 m_close; // _04
bool m_isCylinder; // _08
};
struct AILOD {
enum Flags {
FLAG_NONE = 0x0,
IsMid = 0x01,
IsFar = 0x02,
FLAG_NEED_SHADOW = 0x04,
FLAG_UNKNOWN4 = 0x08,
VisibleOnViewport0 = 0x10,
VisibleOnViewport1 = 0x20,
VisibleOnViewport2 = 0x40,
VisibleOnViewport3 = 0x80,
};
AILOD();
// union {
// // Use with Flags.
// Flags byteView;
// // For hacks only.
// // Vanilla didn't use a bitfield.
// u8 padding : 4,
// m_unknown4 : 1,
// m_needShadow : 1,
// m_unknown2 : 1,
// m_unknown1 : 1;
// } m_flags; // _00
u8 m_flags; // _00
s8 m_sndVpId; // _01, sound viewport ID

View File

@ -1,16 +0,0 @@
#ifndef _GAME_AILODPARM_H
#define _GAME_AILODPARM_H
#include "types.h"
namespace Game {
struct AILODParm {
AILODParm();
f32 m_far; // _00
f32 m_close; // _04
bool m_isCylinder; // _08
};
} // namespace Game
#endif

View File

@ -30,14 +30,14 @@ struct BaseItem : public Creature, public SysShape::MotionListener {
BaseItem(int);
// vtable 1 (Creature)
virtual Vector3f getPosition(); // _08 (weak)
virtual void getBoundingSphere(Sys::Sphere&); // _10 (weak)
virtual void constructor(); // _2C
virtual void doAnimation(); // _3C (weak)
virtual void doEntry(); // _40
virtual void doSimulation(float); // _4C
virtual float getFaceDir(); // _64 (weak)
virtual void setVelocity(Vector3f& velocity) // _60 (weak)
virtual Vector3f getPosition(); // _08 (weak)
virtual void getBoundingSphere(Sys::Sphere& boundSphere); // _10 (weak)
virtual void constructor(); // _2C
virtual void doAnimation(); // _3C (weak)
virtual void doEntry(); // _40
virtual void doSimulation(float); // _4C
virtual float getFaceDir(); // _64 (weak)
virtual void setVelocity(Vector3f& velocity) // _60 (weak)
{
m_velocity = velocity;
}
@ -134,7 +134,8 @@ struct CFSMItem : public BaseItem {
struct CItemFSM : public StateMachine<CFSMItem> {
};
template <typename T> struct ItemFSM : public StateMachine<T> {
template <typename T>
struct ItemFSM : public StateMachine<T> {
};
struct CItemState : public FSMState<CFSMItem> {
@ -169,7 +170,8 @@ struct CItemState : public FSMState<CFSMItem> {
virtual void onCollision(CFSMItem*, CollEvent&) {}; // _28
};
template <typename T> struct ItemState : public FSMState<T> {
template <typename T>
struct ItemState : public FSMState<T> {
inline ItemState(int id)
: FSMState<T>(id)
{
@ -182,7 +184,8 @@ template <typename T> struct ItemState : public FSMState<T> {
virtual void onCollision(T*, CollEvent&) {}; // _28
};
template <typename ItemClass, typename FSMClass, typename StateClass> struct FSMItem : public BaseItem {
template <typename ItemClass, typename FSMClass, typename StateClass>
struct FSMItem : public BaseItem {
inline FSMItem(int objTypeID)
: BaseItem(objTypeID)
, m_stateMachine(nullptr)
@ -235,7 +238,8 @@ template <typename ItemClass, typename FSMClass, typename StateClass> struct FSM
StateClass* m_currentState; // _1DC
};
template <typename ItemClass, typename FSMClass, typename StateClass> struct WorkItem : public FSMItem<ItemClass, FSMClass, StateClass> {
template <typename ItemClass, typename FSMClass, typename StateClass>
struct WorkItem : public FSMItem<ItemClass, FSMClass, StateClass> {
inline WorkItem(int objTypeID)
: FSMItem<ItemClass, FSMClass, StateClass>(objTypeID)
, m_soundEvent()

View File

@ -28,7 +28,7 @@ struct BasePelletMgr : public GenericObjectMgr, virtual public _BasePelletMgrPar
virtual void doSetView(int) { } // _10 (weak)
virtual void doViewCalc() { } // _14 (weak)
virtual void doSimulation(float) { } // _18 (weak)
virtual void doDirectDraw(Graphics&) { } // _1C (weak)
virtual void doDirectDraw(Graphics& gfx) { } // _1C (weak)
virtual void resetMgrAndResources() = 0; // _38
virtual Pellet* birth() = 0; // _3C
virtual void kill(Pellet*) = 0; // _40
@ -68,7 +68,7 @@ struct BasePelletMgr : public GenericObjectMgr, virtual public _BasePelletMgrPar
void createModelCallback(SysShape::Model* model) { onCreateModel(model); }
void setCollTree(Pellet*, int);
// _00 = VTBL
// _00 VTBL
// _04 = ptr to NotSure/vtable for NotSure?
PelletConfigList* m_configList; // _08
J3DModelData** m_modelData; // _0C
@ -81,16 +81,17 @@ struct BasePelletMgr : public GenericObjectMgr, virtual public _BasePelletMgrPar
// _54 - virtual NotSure
};
template <typename T> struct FixedSizePelletMgr : public BasePelletMgr, public Container<T> {
template <typename T>
struct FixedSizePelletMgr : public BasePelletMgr, public Container<T> {
////////// VTABLE
virtual void doAnimation(); // _08
virtual void doEntry(); // _0C
virtual void doSetView(int); // _10
virtual void doViewCalc(); // _14
virtual void doSimulation(float); // _18
virtual void doDirectDraw(Graphics&); // _1C
virtual void resetMgr() // _28 (weak)
virtual void doAnimation(); // _08
virtual void doEntry(); // _0C
virtual void doSetView(int viewportNumber); // _10
virtual void doViewCalc(); // _14
virtual void doSimulation(float); // _18
virtual void doDirectDraw(Graphics& gfx); // _1C
virtual void resetMgr() // _28 (weak)
{
m_monoObjectMgr.resetMgr();
m_collPartMgr.resetMgr();

View File

@ -10,7 +10,7 @@ struct Pellet;
struct ConditionNotStickClient : public Condition<Piki> {
virtual bool satisfy(Piki*); // _08 (weak)
// _00 = VTBL
// _00 VTBL
};
struct ConditionNotStickClientAndItem : public Condition<Piki> {
@ -28,7 +28,7 @@ struct ConditionNotStickClientAndItem : public Condition<Piki> {
return false;
}
// _00 = VTBL
// _00 VTBL
Creature* m_client; // _04, otakara
Creature* m_item; // _08, treasure
};
@ -36,7 +36,7 @@ struct ConditionNotStickClientAndItem : public Condition<Piki> {
struct ConditionNotStickSlot : public Condition<Piki> {
virtual bool satisfy(Piki*); // _08 (weak)
// _00 = VTBL
// _00 VTBL
};
} // namespace Game

View File

@ -1,15 +1,20 @@
#ifndef _GAME_CREATURE_H
#define _GAME_CREATURE_H
#include "types.h"
#include "Game/AILOD.h"
#include "Game/cellPyramid.h"
#include "Game/EnemyAnimatorBase.h"
#include "Game/updateMgr.h"
#include "Rect.h"
#include "SysShape/Animator.h"
#include "Vector3.h"
#include "BitFlag.h"
// Shorthand cast to obj-specific 'parms'
#define CG_PARMS(x) (static_cast<Parms*>(x->m_parms))
#define C_PARMS (CG_PARMS(this))
// Shorthand cast to obj-specific 'parms->properParms'
#define CG_PROPERPARMS(x) (CG_PARMS(x)->m_properParms)
#define C_PROPERPARMS (CG_PROPERPARMS(this))
struct Graphics;
struct Matrixf;
struct CollPart;
@ -69,7 +74,7 @@ enum CreatureFlags {
struct CreatureInitArg {
virtual const char* getName() = 0; // _08
// _00 = VTBL
// _00 VTBL
};
struct CreatureKillArg {
@ -83,18 +88,10 @@ struct CreatureKillArg {
return "CreatureKillArg";
}
// _00 = VTBL
// _00 VTBL
int _04; // _04
};
// Shorthand (cast and get) parms
#define CG_PARMS(x) (static_cast<Parms*>(x->m_parms))
#define C_PARMS (CG_PARMS(this))
// Shorthand parms casting + proper parms
#define CG_PROPERPARMS(x) (CG_PARMS(x)->m_properParms)
#define C_PROPERPARMS (CG_PROPERPARMS(this))
struct Creature : public CellObject {
struct CheckHellArg {
inline CheckHellArg()
@ -107,10 +104,10 @@ struct Creature : public CellObject {
Creature();
virtual Vector3f getPosition() = 0; // _08
virtual void checkCollision(CellObject*); // _0C
virtual void getBoundingSphere(Sys::Sphere&) = 0; // _10
virtual bool collisionUpdatable() // _14 (weak)
virtual Vector3f getPosition() = 0; // _08
virtual void checkCollision(CellObject* other); // _0C
virtual void getBoundingSphere(Sys::Sphere& boundSphere) = 0; // _10
virtual bool collisionUpdatable() // _14 (weak)
{
return m_updateContext.updatable();
}
@ -119,15 +116,15 @@ struct Creature : public CellObject {
virtual char* getTypeName(); // _24
virtual u16 getObjType() { return m_objectTypeID; } // _28 (weak)
virtual void constructor() { } // _2C (weak)
virtual void onInit(CreatureInitArg* arg) { } // _30 (weak)
virtual void onKill(CreatureKillArg* arg) { } // _34 (weak)
virtual void onInitPost(CreatureInitArg* arg) { } // _38 (weak)
virtual void onInit(CreatureInitArg* settings) { } // _30 (weak)
virtual void onKill(CreatureKillArg* settings) { } // _34 (weak)
virtual void onInitPost(CreatureInitArg* settings) { } // _38 (weak)
virtual void doAnimation(); // _3C
virtual void doEntry(); // _40
virtual void doSetView(int); // _44
virtual void doSetView(int viewportNumber); // _44
virtual void doViewCalc(); // _48
virtual void doSimulation(float) { } // _4C (weak)
virtual void doDirectDraw(Graphics&) { } // _50 (weak)
virtual void doDirectDraw(Graphics& gfx) { } // _50 (weak)
virtual float getBodyRadius(); // _54
virtual float getCellRadius(); // _58
virtual void initPosition(Vector3f&); // _5C

View File

@ -26,13 +26,13 @@ struct _DynParticleParent {
struct DynParticle : _DynParticleParent {
DynParticle();
virtual void constructor(); // _00
virtual void doAnimation(); // _04
virtual void doEntry(); // _08
virtual void doSetView(u32); // _0C
virtual void doViewCalc(); // _10
virtual void doSimulation(float); // _14
virtual void doDirectDraw(Graphics&); // _18
virtual void constructor(); // _00
virtual void doAnimation(); // _04
virtual void doEntry(); // _08
virtual void doSetView(u32); // _0C
virtual void doViewCalc(); // _10
virtual void doSimulation(float); // _14
virtual void doDirectDraw(Graphics& gfx); // _18
DynParticle* getAt(int);

View File

@ -21,8 +21,8 @@ struct EnemyAnimatorBase {
* @brief Runs the animate function of an inherited animator based on the frame count. The progress will reverse if it reaches the end
* and will playback forwards if it reaches the start.
*/
virtual void animate(f32 currentFrame); // _18
virtual void animate(int animatorIndex, f32 currentFrame); // _1C (weak)
virtual void animate(f32 speed); // _18
virtual void animate(int animatorIndex, f32 speed); // _1C (weak)
virtual void resetAnimSpeed() { m_animSpeed = defaultAnimSpeed; } // _20 (weak)
virtual u32 getTypeID() { return 'base'; } // _24 (weak)
@ -46,18 +46,19 @@ struct EnemyAnimatorBase {
struct EnemyBlendAnimatorBase : public EnemyAnimatorBase {
EnemyBlendAnimatorBase();
virtual ~EnemyBlendAnimatorBase() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual SysShape::Animator& getAnimator(); // _10
virtual SysShape::Animator& getAnimator(int); // _14
virtual void animate(f32); // _18
virtual ~EnemyBlendAnimatorBase() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator(); // _10
virtual SysShape::Animator& getAnimator(int idx);
; // _14
virtual void animate(f32); // _18
/**
* @reifiedAddress{8010AA4C}
* @reifiedFile{plugProjectYamashitaU/pelplant.cpp}
*/
virtual void animate(int p1, f32 p2) // _1C (weak)
virtual void animate(int animatorIndex, f32 speed) // _1C (weak)
{
EnemyAnimatorBase::animate(p1, p2);
EnemyAnimatorBase::animate(animatorIndex, speed);
}
// virtual void resetAnimSpeed(); // _20
/**
@ -66,9 +67,9 @@ struct EnemyBlendAnimatorBase : public EnemyAnimatorBase {
*/
virtual u32 getTypeID() { return 'blnd'; } // _24 (weak)
void startBlend(int, int, SysShape::BlendFunction*, f32, SysShape::MotionListener*);
void startBlend(int startAnim, int endAnim, SysShape::BlendFunction* function, f32 framerate, SysShape::MotionListener* listener);
void endBlend();
void animate(SysShape::BlendFunction*, f32, f32, f32);
void animate(SysShape::BlendFunction* function, f32, f32, f32);
SysShape::BlendAnimator m_animator; // _10

View File

@ -1,35 +1,21 @@
#ifndef _GAME_ENEMYBASE_H
#define _GAME_ENEMYBASE_H
#include "BitFlag.h"
#include "Game/AILODParm.h"
#include "Game/CollEvent.h"
#include "Game/Creature.h"
#include "Game/CurrTriInfo.h"
#include "Game/EnemyPelletInfo.h"
#include "Game/CollEvent.h"
#include "Game/EnemyStateMachine.h"
#include "Game/EnemyAnimatorBase.h"
#include "Game/EnemyParmsBase.h"
#include "Game/PelletView.h"
#include "Game/pelletMgr.h"
#include "Game/WalkSmokeEffect.h"
#include "Dolphin/rand.h"
#include "Game/enemyInfo.h"
#include "JSystem/JAI/JAInter/Object.h"
#include "Matrix3f.h"
#include "Sys/Sphere.h"
#include "SysShape/MotionListener.h"
#include "SysShape/AnimMgr.h"
#include "Vector3.h"
#include "efx/TEnemyPiyo.h"
#include "efx/TEnemyWalkSmoke.h"
#include "types.h"
#include "Game/MoveInfo.h"
#include "Game/EnemyStone.h"
#include "Game/EnemyEffectNode.h"
#include "trig.h"
#include "Vector2.h"
#include "Game/PelletView.h"
#include "Game/EnemyPelletInfo.h"
#include "Game/pelletMgr.h"
#include "SysShape/MotionListener.h"
#include "PSM/EnemyBase.h"
#include "efx/TEnemyPiyo.h"
#include "trig.h"
#define EMOTE_None (0)
#define EMOTE_Caution (1)
@ -48,12 +34,21 @@ namespace EnemyBaseFSM {
struct StateMachine;
} // namespace EnemyBaseFSM
namespace EnemyStone {
struct Obj;
} // namespace EnemyStone
namespace WalkSmokeEffect {
struct Mgr;
} // namespace WalkSmokeEffect
struct EnemyAnimatorBase;
struct EnemyAnimKeyEvent;
struct EnemyMgrBase;
struct WaterBox;
struct LifeGaugeParam;
struct Interaction;
struct EnemyEffectNodeHamon;
enum EnemyEvent {
EB_Vulnerable = 0x1, // can take damage or not
@ -130,7 +125,7 @@ struct EnemyBase : public Creature, public SysShape::MotionListener, virtual pub
virtual void onInitPost(CreatureInitArg* settings); // _38
virtual void doAnimation(); // _3C
virtual void doEntry(); // _40
virtual void doSetView(int); // _44
virtual void doSetView(int viewportNumber); // _44
virtual void doViewCalc(); // _48
virtual void doSimulation(f32 simSpeed); // _4C
virtual f32 getBodyRadius() // _54 (weak)
@ -187,7 +182,7 @@ struct EnemyBase : public Creature, public SysShape::MotionListener, virtual pub
{
bool culling = false;
if (m_events.m_flags[0].typeView & 0x2000) {
if (!(m_lod.m_flags & AILOD::FLAG_NEED_SHADOW) && !(m_lod.m_flags & AILOD::FLAG_UNKNOWN4)) {
if (!(m_lod.m_flags & AILOD_FLAG_NEED_SHADOW) && !(m_lod.m_flags & AILOD_FLAG_UNKNOWN4)) {
culling = true;
}
}

View File

@ -11,7 +11,8 @@ struct Piki;
struct Navi;
} // namespace Game
template <typename T> struct Condition;
template <typename T>
struct Condition;
namespace Game {
namespace EnemyFunc {

View File

@ -77,12 +77,12 @@ struct EnemyMgrBase : public IEnemyMgrBase {
EnemyMgrBase(int objLimit, u8 modelType);
// vtable 1 (GenericObjectMgr, _00, _08-_38)
virtual void doAnimation(); // _08
virtual void doEntry(); // _0C
virtual void doSetView(int); // _10
virtual void doViewCalc(); // _14
virtual void doSimulation(float); // _18
virtual void doDirectDraw(Graphics&); // _1C
virtual void doAnimation(); // _08
virtual void doEntry(); // _0C
virtual void doSetView(int viewportNumber); // _10
virtual void doViewCalc(); // _14
virtual void doSimulation(float); // _18
virtual void doDirectDraw(Graphics& gfx); // _1C
// vtable 2 (GenericContainer + IEnemyMgrBase + self, _00, _40-_E0)
// GenericContainer thunks _40-_58
// virtual ~EnemyMgrBase() { } // _58 (weak)

View File

@ -8,12 +8,13 @@ namespace Game {
struct EnemyPelletInfo {
EnemyPelletInfo();
u8 m_color; // _00, Pellet Color 0 - Blue, 1 - Red, 2 - Yellow
u8 m_size; // _01, Size of Pellet 1,5,10,20
u8 m_minPellets; // _02, Minimum number of pellets
u8 m_maxPellets; // _03, Maximum number of pellets
float m_spawnThreshold; // _04, Chance to drop pellet
// _08 vtbl
u8 m_color; // _00, Pellet Color 0 - Blue, 1 - Red, 2 - Yellow
u8 m_size; // _01, Size of Pellet 1,5,10,20
u8 m_minPellets; // _02, Minimum number of pellets
u8 m_maxPellets; // _03, Maximum number of pellets
float m_spawnChance; // _04, Chance to drop pellet
// _08 vtbl
virtual void write(Stream&);
virtual void read(Stream&);
};

View File

@ -28,8 +28,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
@ -92,7 +92,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Armor;
@ -133,9 +133,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -24,8 +24,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -73,7 +73,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Baby;
@ -114,7 +114,8 @@ struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int idx); // _14
virtual SysShape::Animator& getAnimator(int idx);
; // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -57,9 +57,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void collisionCallback(CollEvent&); // _EC
@ -172,7 +172,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr() {}; // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -247,9 +247,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() {}; // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -69,9 +69,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -238,7 +238,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual SysShape::Model* createModel(); // _B0

View File

@ -7,6 +7,8 @@
#include "Game/EnemyMgrBase.h"
#include "Game/JointFuncs.h"
#include "Game/EnemyBase.h"
#include "Game/WalkSmokeEffect.h"
#include "SysShape/Animator.h"
#include "efx/TKage.h"
/**
@ -34,11 +36,11 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doEntry(); // _40
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
@ -160,7 +162,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual SysShape::Model* createModel(); // _B0
@ -219,9 +221,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
SysShape::Animator m_animator; // _10
};

View File

@ -28,11 +28,11 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doEntry(); // _40
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void onStartCapture(); // _94
virtual void onEndCapture(); // _9C
virtual bool isUnderground(); // _D0 (weak)
@ -82,7 +82,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
//////////////// VTABLE END
@ -111,9 +111,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -42,7 +42,7 @@ struct Mgr : public OtakaraBase::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -25,9 +25,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -81,7 +81,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual void doAlloc(); // _A8
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -139,9 +139,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -17,7 +17,7 @@ struct Obj : public KochappyBase::Obj {
//////////////// VTABLE
// weak function generation in Catfish.cpp requires this ordering
virtual void changeMaterial() { } // _200 (weak)
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void inWaterCallback(WaterBox*) { } // _84 (weak)
virtual void outWaterCallback() { } // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -45,7 +45,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -6,6 +6,7 @@
#include "Game/EnemyParmsBase.h"
#include "Game/EnemyMgrBase.h"
#include "Game/EnemyBase.h"
#include "Game/WalkSmokeEffect.h"
#include "Collinfo.h"
/**
@ -36,8 +37,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE - Note: this order is needed for correct weak function ordering
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -148,9 +149,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -57,8 +57,8 @@ struct Obj : public EnemyBase {
//////////////// VTABLE
virtual void constructor(); // _2C
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void collisionCallback(CollEvent&); // _EC
@ -159,7 +159,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -217,9 +217,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -3,13 +3,14 @@
#include "Game/EnemyStateMachine.h"
#include "Game/EnemyAnimatorBase.h"
#include "Game/WalkSmokeEffect.h"
#include "Game/EnemyParmsBase.h"
#include "Game/EnemyMgrBase.h"
#include "Game/EnemyBase.h"
#include "Game/JointFuncs.h"
#include "efx/TDango.h"
#include "Game/EnemyBase.h"
#include "Sys/MatBaseAnimation.h"
#include "Sys/MatBaseAnimator.h"
#include "efx/TDango.h"
/**
* --Header for Segmented Crawbster (DangoMushi)--
@ -23,9 +24,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
virtual bool needShadow(); // _138
@ -117,7 +118,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual void loadModelData(); // _C8

View File

@ -31,7 +31,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -26,11 +26,11 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE - Note: order necessary for weak function ordering
virtual void onInit(CreatureInitArg*); // _30
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void onStartCapture(); // _94
virtual void onEndCapture(); // _9C
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void onStartCapture(); // _94
virtual void onEndCapture(); // _9C
virtual void bounceCallback(Sys::Triangle*); // _E8
virtual void collisionCallback(CollEvent&); // _EC
@ -73,7 +73,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
@ -105,9 +105,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -23,9 +23,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -79,7 +79,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_ElecBug;
@ -120,9 +120,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -34,9 +34,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C (weak)
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool isLivingThing(); // _D4 (weak)
@ -100,7 +100,7 @@ struct Mgr : public EnemyMgrBaseAlwaysMovieActor {
// virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -168,9 +168,9 @@ struct Generator : public EnemyGeneratorBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -40,7 +40,7 @@ struct Mgr : public OtakaraBase::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -48,7 +48,7 @@ struct Mgr : public Kogane::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -17,9 +17,9 @@ struct Obj : public ChappyBase::Obj {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -69,7 +69,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual void loadModelData(); // _C8

View File

@ -40,7 +40,7 @@ struct Mgr : public OtakaraBase::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -25,9 +25,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void collisionCallback(CollEvent&); // _EC
@ -87,7 +87,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Frog;
@ -130,9 +130,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -21,9 +21,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -92,7 +92,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Fuefuki;
@ -145,9 +145,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -29,9 +29,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C (weak)
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool isLivingThing(); // _D4 (weak)
@ -81,7 +81,7 @@ struct Mgr : public EnemyMgrBaseAlwaysMovieActor {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_GasHiba;
@ -128,9 +128,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -40,7 +40,7 @@ struct Mgr : public OtakaraBase::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -15,8 +15,8 @@ struct Obj : public ChappyBase::Obj {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -53,7 +53,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -28,9 +28,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -103,7 +103,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual void loadTexData(); // _D0
@ -159,9 +159,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -22,12 +22,12 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doSimulation(f32) { } // _4C (weak)
virtual void doDirectDraw(Graphics&); // _50
virtual void inWaterCallback(WaterBox*) { } // _84 (weak)
virtual void outWaterCallback() { } // _88 (weak)
virtual bool isLivingThing() // _D4 (weak)
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32) { } // _4C (weak)
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*) { } // _84 (weak)
virtual void outWaterCallback() { } // _88 (weak)
virtual bool isLivingThing() // _D4 (weak)
{
return m_isAlive;
}
@ -71,7 +71,7 @@ struct Mgr : public EnemyMgrBaseAlwaysMovieActor {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Hiba;
@ -116,9 +116,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -57,9 +57,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -192,7 +192,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -256,9 +256,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() {}; // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -39,9 +39,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -108,7 +108,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Imomushi;
@ -153,9 +153,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -30,16 +30,16 @@ struct FSM;
struct ConditionHeightCheckPiki : public Condition<Piki> {
virtual bool satisfy(Piki*); // _08 (weak)
// _00 = VTBL
// _00 VTBL
};
struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual f32 getBodyRadius(); // _54 (weak)
virtual f32 getCellRadius(); // _58 (weak)
virtual void inWaterCallback(WaterBox*); // _84
@ -123,7 +123,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual void loadModelData(); // _C8
@ -176,9 +176,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -29,8 +29,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -124,9 +124,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
SysShape::Animator m_animator; // _10
};
@ -276,7 +276,7 @@ struct Mgr : public Kabuto::Mgr {
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -316,7 +316,7 @@ struct Mgr : public Kabuto::Mgr {
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -340,7 +340,7 @@ namespace FixKabuto {
struct Obj : public Kabuto::Obj {
Obj();
virtual void onKill(CreatureKillArg*); // _34
virtual void onKill(CreatureKillArg* settings); // _34
virtual ~Obj() { } // _1BC (weak)
virtual void changeMaterial(); // _200
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _258 (weak)
@ -367,7 +367,7 @@ struct Mgr : public Kabuto::Mgr {
// virtual ~Mgr() { } // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -36,10 +36,10 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual f32 getBodyRadius(); // _54 (weak)
virtual f32 getCellRadius(); // _58 (weak)
virtual void inWaterCallback(WaterBox*); // _84
@ -153,7 +153,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual SysShape::Model* createModel(); // _B0

View File

@ -35,8 +35,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE - Note: this order is needed for correct weak function ordering
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void bounceCallback(Sys::Triangle*); // _E8
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -128,9 +128,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -23,9 +23,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -142,9 +142,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -27,7 +27,7 @@ struct Mgr : public Kogane::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -25,8 +25,8 @@ struct Obj : public EnemyBase {
Obj();
////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
@ -79,7 +79,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_KumaChappy;
@ -120,9 +120,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -28,9 +28,9 @@ struct Obj : public EnemyBase {
Obj();
////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
@ -77,7 +77,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_KumaKochappy;
@ -114,9 +114,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -36,9 +36,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -108,7 +108,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -165,9 +165,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -13,7 +13,7 @@ struct Obj : public KumaChappy::Obj {
Obj();
//////////////// VTABLE
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual Footmarks* getFootmarks(); // _154 (weak)
virtual ~Obj() { } // _1BC (weak)
@ -47,7 +47,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr() { } // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -22,9 +22,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -104,7 +104,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual void loadTexData(); // _D0
@ -160,9 +160,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -27,7 +27,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -43,9 +43,9 @@ struct Obj : public EnemyBase {
Obj();
////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
@ -173,9 +173,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase
@ -363,7 +363,7 @@ struct Mgr : public MiniHoudai::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -397,7 +397,7 @@ struct Mgr : public MiniHoudai::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_MiniHoudai;

View File

@ -21,9 +21,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual void applyImpulse(Vector3f&, Vector3f&); // _18C (weak)
virtual Vector3f getGoalPos(); // _198 (weak)
@ -78,7 +78,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
@ -110,9 +110,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -19,7 +19,7 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void setInitialSetting(EnemyInitialParamBase*) { } // _1C4 (weak)
virtual void update() { } // _1C8 (weak)
virtual void doUpdate() { } // _1CC (weak)
@ -58,7 +58,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual void initObjects(); // _BC

View File

@ -37,9 +37,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -115,7 +115,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -172,9 +172,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -34,7 +34,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual void loadModelData(); // _C8

View File

@ -44,9 +44,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual f32 getCellRadius() { return m_cellRadius; } // _58 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -175,9 +175,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -27,7 +27,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)

View File

@ -35,11 +35,11 @@ struct FSM;
struct Obj : public EnemyBase {
Obj();
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doAnimation(); // _3C
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84
virtual void outWaterCallback(); // _88
virtual bool isUnderground(); // _D0 (weak)
@ -179,9 +179,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -182,7 +182,7 @@ struct Obj : public EnemyBase {
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
virtual void doAnimation(); // _03C
virtual void doSimulation(f32); // _04C
virtual void doDirectDraw(Graphics&); // _050
virtual void doDirectDraw(Graphics& gfx); // _050
virtual bool isLivingThing() // _0D4 (weak)
{
return (m_flags >> 1 & 1);
@ -201,7 +201,7 @@ struct Obj : public EnemyBase {
return EnemyTypeID::EnemyID_Pelplant;
}
virtual void doGetLifeGaugeParam(LifeGaugeParam&); // _260
virtual void onInit(CreatureInitArg*); // _030
virtual void onInit(CreatureInitArg* settings); // _030
virtual bool damageCallBack(Creature*, f32, CollPart*); // _278
virtual bool farmCallBack(Creature*, f32); // _290
virtual void setFSM(FSM* fsm) // _2F8 (weak)

View File

@ -20,8 +20,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool isLivingThing(); // _D4 (weak)
@ -70,7 +70,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -119,9 +119,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -38,9 +38,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -134,7 +134,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual SysShape::Model* createModel(); // _B0
virtual void loadModelData(); // _C8
@ -189,9 +189,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -25,9 +25,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -89,7 +89,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void createObj(int); // _A0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -160,9 +160,9 @@ struct Generator : public EnemyGeneratorBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -22,9 +22,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84
virtual void outWaterCallback(); // _88
virtual bool isLivingThing(); // _D4 (weak)
@ -83,7 +83,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
@ -143,9 +143,9 @@ struct Generator : public EnemyGeneratorBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -22,8 +22,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -70,7 +70,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Sarai;
@ -133,9 +133,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -29,12 +29,12 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doAnimation(); // _3C
virtual void doEntry(); // _40
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
virtual bool ignoreAtari(Creature*); // _190 (weak)
@ -122,7 +122,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual SysShape::Model* createModel(); // _B0
@ -180,9 +180,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -46,9 +46,9 @@ struct Obj : public EnemyBase {
//////////////// VTABLE
virtual void constructor(); // _2C
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool isUnderground(); // _D0 (weak)
@ -144,7 +144,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -196,9 +196,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -63,8 +63,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool isUnderground(); // _D0 (weak)
@ -163,7 +163,7 @@ struct Mgr : public EnemyMgrBase {
//////////////// VTABLE
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -213,9 +213,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -34,8 +34,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -80,7 +80,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadModelData(); // _C8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -141,9 +141,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -20,8 +20,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual void getShadowParam(ShadowParam&); // _134
@ -55,7 +55,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Tadpole;
@ -92,9 +92,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -20,8 +20,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isLivingThing(); // _D4 (weak)
virtual void bounceCallback(Sys::Triangle*); // _E8
virtual void collisionCallback(CollEvent&); // _EC
@ -88,7 +88,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0 (weak)
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
//////////////// VTABLE END
@ -129,9 +129,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -29,9 +29,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
virtual void setInitialSetting(EnemyInitialParamBase*); // _1C4
@ -129,9 +129,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; } // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase
@ -250,7 +250,7 @@ struct Mgr : public Tank::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
@ -302,7 +302,7 @@ struct Mgr : public Tank::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -24,8 +24,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -90,7 +90,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_Tobi;
@ -135,9 +135,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -38,9 +38,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void inWaterCallback(WaterBox*); // _84
virtual void outWaterCallback(); // _88
virtual bool isUnderground(); // _D0 (weak)
@ -183,9 +183,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -24,8 +24,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -77,7 +77,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_UjiA;
@ -114,9 +114,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -24,8 +24,8 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void doDirectDraw(Graphics&); // _50
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doDirectDraw(Graphics& gfx); // _50
virtual bool isUnderground(); // _D0 (weak)
virtual void getShadowParam(ShadowParam&); // _134
virtual ~Obj() { } // _1BC (weak)
@ -81,7 +81,7 @@ struct Mgr : public EnemyMgrBase {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{
return EnemyTypeID::EnemyID_UjiB;
@ -120,9 +120,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -59,9 +59,9 @@ struct Obj : public EnemyBase {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(f32); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void doDirectDraw(Graphics& gfx); // _50
virtual f32 getBodyRadius(); // _54
virtual void collisionCallback(CollEvent&); // _EC
virtual void getShadowParam(ShadowParam&); // _134
@ -174,7 +174,7 @@ struct Mgr : public EnemyMgrBase {
virtual ~Mgr(); // _58 (weak)
virtual EnemyBase* birth(EnemyBirthArg&); // _70
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4 (weak)
virtual EnemyBase* getEnemy(int idx); // _A4 (weak)
virtual void doAlloc(); // _A8
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID(); // _AC (weak)
virtual SysShape::Model* createModel(); // _B0
@ -230,9 +230,9 @@ struct Parms : public EnemyParmsBase {
struct ProperAnimator : public EnemyAnimatorBase {
virtual ~ProperAnimator() { } // _08 (weak)
virtual void setAnimMgr(SysShape::AnimMgr*); // _0C
virtual void setAnimMgr(SysShape::AnimMgr* mgr); // _0C
virtual SysShape::Animator& getAnimator() { return m_animator; }; // _10 (weak)
virtual SysShape::Animator& getAnimator(int); // _14
virtual SysShape::Animator& getAnimator(int idx); // _14
// _00 = VTBL
// _00-_10 = EnemyAnimatorBase

View File

@ -43,7 +43,7 @@ struct Mgr : public OtakaraBase::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void doAlloc(); // _A8
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)

View File

@ -38,7 +38,7 @@ struct Mgr : public Kogane::Mgr {
// virtual ~Mgr(); // _58 (weak)
virtual void doAlloc(); // _A8
virtual void createObj(int); // _A0
virtual EnemyBase* getEnemy(int); // _A4
virtual EnemyBase* getEnemy(int idx); // _A4
virtual void loadTexData(); // _D0
virtual EnemyTypeID::EEnemyTypeID getEnemyTypeID() // _AC (weak)
{

View File

@ -17,8 +17,8 @@ struct Obj : public ChappyBase::Obj {
Obj();
//////////////// VTABLE
virtual void onInit(CreatureInitArg*); // _30
virtual void onKill(CreatureKillArg*); // _34
virtual void onInit(CreatureInitArg* settings); // _30
virtual void onKill(CreatureKillArg* settings); // _34
virtual ~Obj() { } // _1BC (weak)
virtual void doUpdateCommon(); // _1D0
virtual void changeMaterial(); // _200

View File

@ -89,22 +89,22 @@ struct FakePiki : public Creature, public SysShape::MotionListener {
FakePiki();
// vtable 1 (Creature)
virtual Vector3f getPosition(); // _08
virtual void getBoundingSphere(Sys::Sphere&); // _10 (weak)
virtual void doAnimation(); // _3C
virtual void doEntry(); // _40
virtual void doSimulation(f32); // _4C
virtual f32 getFaceDir(); // _64 (weak)
virtual void setVelocity(Vector3f&); // _68 (weak)
virtual Vector3f getVelocity(); // _6C (weak)
virtual void onSetPosition(Vector3f&); // _70 (weak)
virtual void updateTrMatrix(); // _78
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool inWater(); // _8C (weak)
virtual Vector3f* getSound_PosPtr(); // _100 (weak)
virtual void movieSetFaceDir(f32); // _128
virtual void getVelocityAt(Vector3f&, Vector3f&); // _184 (weak)
virtual Vector3f getPosition(); // _08
virtual void getBoundingSphere(Sys::Sphere& boundSphere); // _10 (weak)
virtual void doAnimation(); // _3C
virtual void doEntry(); // _40
virtual void doSimulation(f32); // _4C
virtual f32 getFaceDir(); // _64 (weak)
virtual void setVelocity(Vector3f&); // _68 (weak)
virtual Vector3f getVelocity(); // _6C (weak)
virtual void onSetPosition(Vector3f&); // _70 (weak)
virtual void updateTrMatrix(); // _78
virtual void inWaterCallback(WaterBox*); // _84 (weak)
virtual void outWaterCallback(); // _88 (weak)
virtual bool inWater(); // _8C (weak)
virtual Vector3f* getSound_PosPtr(); // _100 (weak)
virtual void movieSetFaceDir(f32); // _128
virtual void getVelocityAt(Vector3f&, Vector3f&); // _184 (weak)
// vtable 2 (MotionListener + self)
// virtual void onKeyEvent(const SysShape::KeyEvent&); thunk // 1B8
virtual int getDownfloorMass(); // _1BC (weak)

View File

@ -99,12 +99,12 @@ struct FarmMgr : public GenericObjectMgr, public CNode {
FarmMgr(unsigned long);
// vtable 1 (GenericObjectMgr)
virtual void doAnimation(); // _00
virtual void doEntry(); // _04
virtual void doSetView(int); // _08
virtual void doViewCalc(); // _0C
virtual void doSimulation(float); // _10
virtual void doDirectDraw(Graphics&); // _14
virtual void doAnimation(); // _00
virtual void doEntry(); // _04
virtual void doSetView(int viewportNumber); // _08
virtual void doViewCalc(); // _0C
virtual void doSimulation(float); // _10
virtual void doDirectDraw(Graphics& gfx); // _14
// vtable 2 (CNode+self)
virtual void doDebugDraw(Graphics&); // _08

View File

@ -20,26 +20,26 @@ struct GameSystem : public NodeObjectMgr<GenericObjectMgr> {
// vtable 1
virtual ~GameSystem(); // _00
// vtable 2
virtual void doAnimation(); // _00
virtual void doEntry(); // _04
virtual void doSetView(int); // _08
virtual void doViewCalc(); // _0C
virtual void doSimulation(float); // _10
virtual void doDirectDraw(Graphics&); // _14
virtual void doSimpleDraw(Viewport*); // _18
virtual void loadResources(); // _1C
virtual void resetMgr(); // _20
virtual bool pausable(); // _24
virtual bool frozenable(); // _28
virtual u32 getMatrixLoadType(); // _2C
virtual void startFrame(); // _78
virtual void endFrame(); // _7C
virtual void directDraw(Graphics&); // _84
virtual void startFadeout(float); // _88
virtual void startFadein(float); // _8C
virtual void startFadeoutin(float); // _90
virtual void startFadeblack(); // _94
virtual void startFadewhite(); // _98
virtual void doAnimation(); // _00
virtual void doEntry(); // _04
virtual void doSetView(int viewportNumber); // _08
virtual void doViewCalc(); // _0C
virtual void doSimulation(float); // _10
virtual void doDirectDraw(Graphics& gfx); // _14
virtual void doSimpleDraw(Viewport*); // _18
virtual void loadResources(); // _1C
virtual void resetMgr(); // _20
virtual bool pausable(); // _24
virtual bool frozenable(); // _28
virtual u32 getMatrixLoadType(); // _2C
virtual void startFrame(); // _78
virtual void endFrame(); // _7C
virtual void directDraw(Graphics&); // _84
virtual void startFadeout(float); // _88
virtual void startFadein(float); // _8C
virtual void startFadeoutin(float); // _90
virtual void startFadeblack(); // _94
virtual void startFadewhite(); // _98
void addObjectMgr_reuse(TObjectNode<GenericObjectMgr>*);
void addObjectMgr(GenericObjectMgr*);

View File

@ -10,7 +10,6 @@
#include "Parameters.h"
namespace Game {
namespace ItemBarrel {
struct Item;
@ -137,10 +136,10 @@ struct Item : public WorkItem<Item, FSM, State> {
}
// vtable 1
virtual void constructor(); // _24
virtual void onInit(CreatureInitArg*); // _28
virtual void doSave(Stream&); // _D8
virtual void doLoad(Stream&); // _DC
virtual void constructor(); // _24
virtual void onInit(CreatureInitArg* settings); // _28
virtual void doSave(Stream&); // _D8
virtual void doLoad(Stream&); // _DC
/**
* @reifiedAddress{801F8D68}
* @reifiedFile{plugProjectKandoU/itemBarrel.cpp}

View File

@ -7,10 +7,10 @@ namespace Game {
struct ItemGateMgr : public BaseItemMgr {
virtual void doAnimation(); // _08
virtual void doEntry(); // _0C
virtual void doSetView(int); // _10
virtual void doSetView(int viewportNumber); // _10
virtual void doViewCalc(); // _14
virtual void doSimulation(float); // _18
virtual void doDirectDraw(Graphics&); // _1C
virtual void doDirectDraw(Graphics& gfx); // _1C
virtual void initDependency(); // _38
virtual u32 generatorGetID() = 0; // _58
virtual BaseItem* generatorBirth(Vector3f&, Vector3f&, GenItemParm*) = 0; // _5C

View File

@ -48,8 +48,8 @@ struct Item : public CFSMItem {
}
// vtable 1
virtual void onInit(CreatureInitArg*); // _28
virtual void doDirectDraw(Graphics&); // _48
virtual void onInit(CreatureInitArg* settings); // _28
virtual void doDirectDraw(Graphics& gfx); // _48
virtual float getFaceDir(); // _5C
virtual bool sound_culling(); // _FC
virtual void movieUserCommand(u32, MoviePlayer*); // _128

View File

@ -33,15 +33,15 @@ struct Item : public CFSMItem {
Item();
// vtable 1 (Creature)
virtual void onInit(CreatureInitArg*); // _30
virtual void doSimulation(float); // _4C
virtual void doDirectDraw(Graphics&); // _50
virtual void onStartCapture(); // _94
virtual void onUpdateCapture(Matrixf&); // _98
virtual void onEndCapture(); // _9C
virtual void collisionCallback(CollEvent&); // _EC
virtual void on_movie_end(bool); // _114
virtual char* getCreatureName(); // _1A8 (weak)
virtual void onInit(CreatureInitArg* settings); // _30
virtual void doSimulation(float); // _4C
virtual void doDirectDraw(Graphics& gfx); // _50
virtual void onStartCapture(); // _94
virtual void onUpdateCapture(Matrixf&); // _98
virtual void onEndCapture(); // _9C
virtual void collisionCallback(CollEvent&); // _EC
virtual void on_movie_end(bool); // _114
virtual char* getCreatureName(); // _1A8 (weak)
// vtable 2 (MotionListener + BaseItem + self)
virtual void makeTrMatrix(); // _1C4

Some files were not shown because too many files have changed in this diff Show More