-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more Kando, Yamashita diffable, link 2 small files
- Loading branch information
1 parent
810801f
commit 0640134
Showing
137 changed files
with
1,874 additions
and
5,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#ifndef _AIPERF_H | ||
#define _AIPERF_H | ||
|
||
#include "types.h" | ||
|
||
struct Menu; | ||
|
||
/* | ||
* @brief TODO | ||
*/ | ||
struct AIPerf { | ||
void clearCounts(); | ||
void addMenu(Menu*); | ||
void toggleMoveType(Menu&); | ||
void toggleGeneratorMode(Menu&); | ||
void toggleBridge(Menu&); | ||
void toggleShowRoute(Menu&); | ||
void toggleKando(Menu&); | ||
void toggleLOD(Menu&); | ||
void toggleColls(Menu&); | ||
void toggleASync(Menu&); | ||
void toggleInsQuick(Menu&); | ||
void toggleSoundDebug(Menu&); | ||
void toggleCollSort(Menu&); | ||
void incOptLevel(Menu&); | ||
void decOptLevel(Menu&); | ||
void incUfoLevel(Menu&); | ||
void decUfoLevel(Menu&); | ||
void collectPikis(Menu&); | ||
void fullfillPiki(Menu&); | ||
void flowerPiki(Menu&); | ||
void breakSluice(Menu&); | ||
|
||
// unused/inlined: | ||
void toggleAIGrid(Menu&); | ||
void toggleUpdateMgr(Menu&); | ||
void togglePikiMabiki(Menu&); | ||
void togglePsOptimise(Menu&); | ||
void toggleIteratorCull(Menu&); | ||
void toggleUseGrid(Menu&); | ||
void incGridShift(Menu&); | ||
void decGridShift(Menu&); | ||
void toggleUpdateSearchBuffer(Menu&); | ||
|
||
// TODO: members | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#ifndef _BUILDINGITEM_H | ||
#define _BUILDINGITEM_H | ||
|
||
#include "types.h" | ||
#include "ItemMgr.h" | ||
#include "CreatureProp.h" | ||
|
||
struct ItemShapeObject; | ||
struct SimpleAI; | ||
|
||
/** | ||
* @brief TODO | ||
*/ | ||
struct BuildingItemProp : public CreatureProp { | ||
|
||
// _54 = VTBL | ||
// _00-_58 = CreatureProp | ||
// TODO: members | ||
}; | ||
|
||
/** | ||
* @brief TODO. | ||
*/ | ||
struct BuildingItem : public ItemCreature { | ||
BuildingItem(int, CreatureProp*, ItemShapeObject*, SimpleAI*); | ||
|
||
virtual bool insideSafeArea(Vector3f&); // _10 | ||
virtual void startAI(int); // _34 | ||
virtual f32 getiMass(); // _38 (weak) | ||
virtual void doStore(CreatureInf*); // _48 | ||
virtual void doRestore(CreatureInf*); // _4C | ||
virtual void doSave(RandomAccessStream&); // _50 | ||
virtual void doLoad(RandomAccessStream&); // _54 | ||
virtual void getBoundingSphereRadius(); // _64 | ||
virtual bool isAlive(); // _88 | ||
virtual bool needShadow(); // _90 (weak) | ||
virtual void update(); // _E0 | ||
virtual void refresh(Graphics&); // _EC | ||
virtual void refresh2d(Graphics&); // _F0 | ||
virtual void doKill(); // _10C | ||
virtual void playEffect(int); // _12C | ||
virtual void isCompleted(); // _15C | ||
|
||
void startBreakEffect(); | ||
void stopBreakEffect(); | ||
|
||
// _00 = VTBL | ||
// _00-_304 = ItemCreature? | ||
// TODO: members | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef _COURSEDEBUG_H | ||
#define _COURSEDEBUG_H | ||
|
||
#include "types.h" | ||
|
||
namespace CourseDebug { | ||
// Global debug objects - these are all size 0x4, maybe BOOL? or u32? | ||
extern int collision; | ||
extern int pikiNoAttack; | ||
extern int noCarryover; | ||
extern int pelletDebug; | ||
|
||
} // namespace CourseDebug | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
|
||
/** | ||
* @brief TODO | ||
* | ||
* @note Size: 0x58. | ||
*/ | ||
struct CreatureProp { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#ifndef _DUALCREATURE_H | ||
#define _DUALCREATURE_H | ||
|
||
#include "types.h" | ||
#include "DynCreature.h" | ||
|
||
struct ItemShapeObject; | ||
struct MapMgr; | ||
|
||
/** | ||
* @brief TODO | ||
*/ | ||
struct DualCreature : public DynCreature { | ||
DualCreature(); | ||
|
||
virtual void update(); // _E0 | ||
virtual void refresh(Graphics&); // _EC | ||
virtual void doKill(); // _10C | ||
virtual void onGround(); // _114 | ||
|
||
void isFrontFace(); | ||
void getY(); | ||
void useRealDynamics(); | ||
void useSimpleDynamics(); | ||
void rotateY(f32); | ||
|
||
// unused/inlined: | ||
void createCollisions(Graphics&); | ||
|
||
// _00 = VTBL | ||
// _00-_43C = DynCreature? | ||
// TODO: members | ||
}; | ||
|
||
/** | ||
* @brief TODO | ||
*/ | ||
struct PelCreature : public DualCreature { | ||
PelCreature(int, ItemShapeObject*, CreatureProp*, MapMgr*); | ||
|
||
virtual void init(Vector3f&); // _28 | ||
virtual void startAI(int); // _34 | ||
virtual f32 getiMass(); // _38 | ||
virtual bool isAlive(); // _88 | ||
virtual void doRender(Graphics&, Matrix4f&); // _118 | ||
virtual void doCreateColls(Graphics&); // _11C | ||
|
||
// _00 = VTBL | ||
// _00-_43C = DualCreature? | ||
// TODO: members | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef _GAMECREDITSSECTION_H | ||
#define _GAMECREDITSSECTION_H | ||
|
||
#include "types.h" | ||
#include "Section.h" | ||
|
||
/* | ||
* @brief TODO | ||
*/ | ||
struct GameCreditsSection : public Section { | ||
GameCreditsSection(); | ||
|
||
virtual void init() { } // _30 (weak) | ||
|
||
// _00 = VTBL | ||
// _00-_20 = Section? | ||
// TODO: members | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef _GAMESTAGECLEARSECTION_H | ||
#define _GAMESTAGECLEARSECTION_H | ||
|
||
#include "types.h" | ||
#include "Section.h" | ||
|
||
/* | ||
* @brief TODO | ||
*/ | ||
struct GameStageClearSection : public Section { | ||
GameStageClearSection(); | ||
|
||
virtual void init() { } // _30 (weak) | ||
|
||
// _00 = VTBL | ||
// _00-_20 = Section? | ||
// TODO: members | ||
}; | ||
|
||
#endif |
Oops, something went wrong.