Trig TODOS

CThug TODOs

CSuperOck TODOs

Spool TODOs

CPlayer TODOs

SpClone TODOs

Simby TODOs

CScorpion TODOs

Redbook TODOs

Baddy TODOs

M3dColij TODOs

M3dUtils TODOs

CLizMan TODOs

FontTools TODOs

AI TODOs

Bit TODOs

BlackCat TODOs

Camera TODOs

Carnage TODOs

DCShell TODOs

DocOck TODOs

Effects TODOs

Jonah TODOs

ManipOb TODOs

Mess TODOs

Mysterio TODOs

Panel TODOs

Platform TODOs

Ps2Funcs TODOs

LowSfx TODOs

M3D TODOs

Pad TODOs

PShell TODOs

Reloc TODOs
This commit is contained in:
krystalgamer 2024-07-12 18:22:59 +02:00
parent 1bdb2733ba
commit 60acd49729
37 changed files with 109 additions and 116 deletions

View File

@ -41,7 +41,7 @@ void __inline Font::SetCharMap(int a2)
}
}
// @TODO
// @BIGTODO
char Font::getCharIndex(char)
{
return (char)0xFF;
@ -95,11 +95,11 @@ void FontManager::AllShadowOn(void)
}
}
// @TODO
// @SMALLTODO
void FontManager::UnloadFont(Font*)
{}
// @TODO
// @SMALLTODO
int Font::height(char*)
{
return 0x29052024;

6
ai.cpp
View File

@ -98,7 +98,7 @@ CAIProc_LookAt::CAIProc_LookAt(CBaddy* pBaddy, int a3, int a4, int a5, int a6)
this->SetUpVariables(a6, a5);
}
// @TODO
// @BIGTODO
// barely started, wait doesnt' seem to match ffs
void CAIProc_LookAt::Execute(void)
{
@ -129,7 +129,7 @@ CAIProc_Fall::CAIProc_Fall(CBaddy *pBaddy, int a3)
this->AttachProc(PROC_FALL_TYPE, pBaddy, a3);
}
// @TODO
// @Ok
void CAIProc_Fall::Execute(void)
{
if (this->pBaddy->field_2A8 & 0x400)
@ -198,7 +198,7 @@ CAIProc_MonitorAttack::CAIProc_MonitorAttack(CBaddy* pBaddy, int a3, int a4, int
this->field_30 = reinterpret_cast<CVector*>(DCMem_New(12 * setBits, 0, 1, 0, 1));
}
// @TODO
// @Ok
void CAIProc_MonitorAttack::Execute(void)
{
if (this->pBaddy->field_12A != this->field_20)

View File

@ -10,17 +10,17 @@
CBaddy* ControlBaddyList;
// @TODO
// @SMALLTODO
i32 CBaddy::GetNextWaypoint(void)
{
return 0x18062024;
}
// @TODO
// @SMALLTODO
void CBaddy::RunAppropriateAnim(void)
{}
// @TODO
// @MEDIUMTODO
int CBaddy::SmackSpidey(int, CVector*, int, int)
{
return 0x06062024;
@ -146,7 +146,7 @@ int CBaddy::RunTimer(int *a2)
return *a2;
}
// @TODO
// @BIGTODO
int CBaddy::PathCheckGuts(CVector*, CVector*, CVector*, int)
{
return 0x14141414;
@ -594,7 +594,7 @@ int CBaddy::CheckSightCone(int a2, int a3, int a4, int a5, CBody *a6)
return abs(v14) <= (a2 >> 1);
}
// @TODO
// @MEDIUMTODO
void CBaddy::ParseScript(unsigned __int16*)
{}
@ -658,7 +658,7 @@ void CBaddy::CreateCombatImpactEffect(CVector*, int)
{
}
// @TODO
// @SMALLTODO
unsigned char CBaddy::TugImpulse(CVector*, CVector*, CVector*)
{
return (unsigned char)0x21052024;
@ -719,25 +719,25 @@ CBaddy* CBaddy::GetClosest(i32 baddyType, i32 inSight)
return result;
}
// @TODO
// @BIGTODO
int CBaddy::ExecuteCommand(unsigned __int16)
{
return 0x21052025;
}
// @TODO
// @MEDIUMTODO
void CBaddy::SetVariable(unsigned __int16)
{
printf("test");
}
// @TODO
// @MEDIUMTODO
unsigned __int16 CBaddy::GetVariable(unsigned __int16)
{
return 0x696940;
}
// @TODO
// @BIGTODO
void CBaddy::DoPhysics(int)
{
}

View File

@ -311,7 +311,7 @@ int CFT4Bit::Fade(int a2)
return 0;
}
// @TODO
// @MEDIUMTODO
int Bit_MakeSpriteRing(CVector*, int, int, int, int, int, int, int)
{
return 0x420690;
@ -413,7 +413,7 @@ void CRibbonBit::Move(void)
this->IncFrameWithWrap();
}
// @TODO
// @MEDIUMTODO
void CFT4Bit::IncFrameWithWrap(void)
{
}
@ -457,7 +457,7 @@ void CGlow::SetRGB(unsigned char r, unsigned char g, unsigned char b)
}
}
// @TODO
// @MEDIUMTODO
void Bit_ReduceRGB(unsigned int*, int)
{}

View File

@ -50,11 +50,11 @@ void CBlackCat::Shouldnt_DoPhysics_Be_Virtual(void)
this->DoPhysics();
}
// @TODO
// @BIGTODO
void CBlackCat::DoPhysics(void)
{}
// @TODO
// @BIGTODO
int* CBlackCat::KillCommandBlock(int*)
{
return (int*)0x01062024;

View File

@ -258,11 +258,11 @@ void CCamera::CM_FixedPos(void){
}
// @TODO
// @BIGTODO
void CCamera::SetCamYDistance(__int16, unsigned __int16)
{}
// @TODO
// @BIGTODO
void CCamera::SetCamAngle(__int16, unsigned __int16)
{}
@ -287,7 +287,7 @@ void CCamera::GetPosition(CVector * dst)
}
// @TODO
// @MEDIUMTODO
void CCamera::Shake(CVector*, EShakeType)
{}

View File

@ -40,7 +40,7 @@ CCarnage::CCarnage(int* a2, int a3)
CreateSonicBubbleVertexWobbler();
}
// @TODO
// @MEDIUMTODO
void CreateSonicBubbleVertexWobbler(void)
{}
@ -101,7 +101,7 @@ INLINE CCarnageElectrified::CCarnageElectrified(CSuper* pSuper)
this->field_3C = Mem_MakeHandle(pSuper);
}
// @TODO
// @BIGTODO
void CCarnage::DoPhysics(void)
{}

View File

@ -1,5 +1,5 @@
#include "dcshellutils.h"
// @TODO
// @BIGTODO
void Load8BitBMP2(char *a1, char **a2, int *a3, int *a4, unsigned __int16 *a5, bool a6)
{}

View File

@ -89,7 +89,7 @@ void INLINE CDocOc::PlaySingleAnim(unsigned int a2, int a3, int a4)
this->RunAnim(a2, a3, a4);
}
// @TODO
// @SMALLTODO
void CDocOc::PlayIdleOrGloatAnim(void)
{}
@ -104,7 +104,7 @@ void __inline CDocOc::Gloat(void)
}
}
// @TODO
// @BIGTODO
__inline int* CDocOc::KillCommandBlock(int*)
{
return (int*)0x02062024;

View File

@ -1,7 +1,7 @@
#include "effects.h"
#include "validate.h"
// @TODO
// @MEDIUMTODO
CElectrify::CElectrify(CSuper*, int)
{
}

View File

@ -105,7 +105,7 @@ void __inline CJonah::GraspWaypoint(SLinkInfo* a2)
this->field_1F4 = a2->field_8;
}
// @TODO
// @SMALLTODO
int CJonah::LinkedHidingPlaceStillExists(int)
{
return 0x69694040;
@ -165,7 +165,7 @@ void CJonah::TakeHit(void)
}
}
// @TODO
// @SMALLTODO
CBaddy* CJonah::FindScorp(void)
{
return (CBaddy*)0x22052024;

View File

@ -8,11 +8,11 @@
#include "utils.h"
#include "trig.h"
// @TODO
// @MEDIUMTODO
void CLizMan::CalculateJumpPositionArray(CVector*)
{}
// @TODO
// @BIGTODO
i32 CLizMan::ScanNearbyNodesForJumpTarget(void)
{
return 0x17062024;
@ -130,7 +130,7 @@ void CLizMan::SwitchFromEulerToMatrix(void)
}
}
// @TODO
// @BIGTODO
void CLizMan::RunToWhereActionIs(CVector*)
{}
@ -174,7 +174,7 @@ void __inline CLizMan::StandStill(void)
}
}
// @TODO
// @SMALLTODO
void CLizMan::SwitchFromMatrixToEuler(void)
{}
@ -185,7 +185,7 @@ void CLizMan::StopClimbing(void)
this->field_390 = 0;
}
// @TODO
// @MEDIUMTODO
void CLizMan::FlyAcrossRoom(void)
{
switch(this->dumbAssPad)

View File

@ -5,18 +5,18 @@
u32 gLineToItemRelated;
// @TODO
// @MEDIUMTODO
void M3dColij_InitLineInfo(SLineInfo *)
{
}
// @TODO
// @BIGTODO
i32 M3dColij_LineToSphere(CVector*, CVector*, CVector*, CBody*, CBody*, i32)
{
return 0x03072024;
}
// @TODO
// @SMALLTODO
void M3dColij_LineToItem(CItem*, SLineInfo*)
{}

View File

@ -1,7 +1,7 @@
#include "m3dutils.h"
#include "validate.h"
// @TODO
// @SMALLTODO
void M3dUtils_ReadLinksPacket(CSuper*, void*)
{}
@ -32,24 +32,24 @@ void M3dUtils_InBetween(CSuper *a1)
}
}
// @TODO
// @BIGTODO
void M3dUtils_BuildPose(CSuper*)
{}
// @TODO
// @BIGTODO
void M3dUtils_InterpolateVectors(int, int, unsigned int*, CItem*, int, int)
{}
// @TODO
// @BIGTODO
void M3dUtils_GetHookPosition(VECTOR*, CSuper*, int)
{}
// @TODO
// @BIGTODO
void M3dUtils_GetDynamicHookPosition(VECTOR*, CSuper*, SHook*)
{}
// @TODO
// @SMALLTODO
void M3dUtils_ReadHooksPacket(CSuper*, void*)
{}

View File

@ -105,11 +105,11 @@ void CManipOb::Smash(void)
this->Die();
}
// @TODO
// @BIGTODO
void CManipOb::Chunk(SLineInfo*, CVector*)
{}
// @TODO
// @SMALLTODO
void CManipOb::TurnOffShadow(void)
{}

View File

@ -63,16 +63,16 @@ void Mess_ClearSimpleMessageList(void)
}
}
// @TODO
// @BIGTODO
void DeleteSimpleMessage(SimpleMessage*)
{}
// @TODO
// @SMALLTODO
void Mess_SetRGB(unsigned char, unsigned char, unsigned char, int)
{}
// @TODO
// @MEDIUMTODO
void Mess_SetCurrentFont(char *)
{}

View File

@ -103,7 +103,7 @@ CMysterio::~CMysterio(void)
}
// @TODO
// @MEDIUMTODO
CMysterio::CMysterio(int*, int)
{
}

2
ob.cpp
View File

@ -69,7 +69,7 @@ int CBody::Hit(SHitInfo*)
return 1;
}
// @TODO
// @UNKTODO
void CBody::UnknownVirtualFuction(void)
{
}

View File

@ -2,7 +2,7 @@
#include "validate.h"
// @TODO
// @SMALLTODO
void Panel_CreateHealthBar(const CBody*, int)
{}
@ -30,7 +30,7 @@ int Panel_DrawTexturedPoly(SAnimFrame* pFrame, int a2)
return Panel_DrawTexturedPoly(pFrame->pTexture, a2);
}
// @TODO
// @SMALLTODO
int Panel_DrawTexturedPoly(Texture*, int)
{
return 0x28052024;

View File

@ -7,7 +7,7 @@ void CPlatform::Shouldnt_DoPhysics_Be_Virtual(void)
this->DoPhysics();
}
// @TODO
// @BIGTODO
void CPlatform::DoPhysics(void)
{}

View File

@ -496,7 +496,7 @@ void M3dAsm_SetTransVector(VECTOR* a1)
}
// @TODO
// @BIGTODO
MATRIX* RotMatrixYXZ(SVECTOR *a1, MATRIX *a2)
{
return reinterpret_cast<MATRIX*>(0x69696969);

View File

@ -1,7 +1,7 @@
#include "ps2lowsfx.h"
// @TODO
// @BIGTODO
void SFX_PlayPos(unsigned int, CVector*, int)
{}
@ -25,10 +25,10 @@ void SFX_ReverbOff(void)
SFX_SetReverbType(0);
}
// @TODO
// @BIGTODO
void SFX_Stop(unsigned int)
{}
// @TODO
// @BIGTODO
void SFX_Play(u32, i16, i32)
{}

View File

@ -1,11 +1,11 @@
#include "ps2m3d.h"
// @TODO
// @SMALLTODO
void M3d_BuildTransform(CSuper* a){
a->actualcsuperend = (__int16*)69;
}
// @TODO
// @BIGTODO
void M3d_Render(void*)
{}

View File

@ -18,13 +18,13 @@ void Pad_SetDigitalMapping(SControl *pControl, i32 a2, i32 a3, i32 a4, i32 a5)
pControl->field_14C = a5;
}
// @TODO
// @MEDIUMTODO
u16 Pad_GetActuatorTime(u8, u8)
{
return 0x020702024;
}
// @TODO
// @SMALLTODO
void Pad_ActuatorOn(u8, u16, u8, u8)
{}

View File

@ -1,18 +1,18 @@
#include "ps2redbook.h"
// @TODO
// @SMALLTODO
u8 Redbook_XAPlayPos(int, int, CVector*, int)
{
return static_cast<u8>(0x10062024);
}
// @TODO
// @SMALLTODO
void Redbook_XAStop(void)
{
}
// @TODO
// @BIGTODO
u8 Redbook_XAPlay(int, int, int)
{
return 0x1235959;
@ -27,12 +27,12 @@ void Redbook_XAAllow(bool allowed)
gXAAllowed = allowed;
}
// @TODO
// @MEDIUMTODO
void Redbook_XAReset(void)
{
}
// @TODO
// @BIGTODO
void Redbook_XAInit(void)
{}

View File

@ -7,7 +7,7 @@ EXPORT int PShell_DrawMenuBox(int, int, int, int, int, int, int, int){
}
// @TODO
// @SMALLTODO
CExpandingBox::CExpandingBox(int a2,int a3,int a4,int a5,int a6,int a7,int a8,int a9,int a10){
this->unk_7 = a2;
this->unk_8 = a3;
@ -23,7 +23,7 @@ CExpandingBox::CExpandingBox(int a2,int a3,int a4,int a5,int a6,int a7,int a8,in
// @TODO
// @MEDIUMTODO
int CExpandingBox::Display(){
int unk_3; // ebx

View File

@ -1,7 +1,7 @@
#include "reloc.h"
#include "utils.h"
// @TODO
// @BIGTODO
void Reloc_Unload(unsigned int)
{}

View File

@ -6,7 +6,7 @@
#include "web.h"
#include "ps2redbook.h"
// @TODO
// @SMALLTODO
i32 CScorpion::ScorpPathCheck(CVector*, CVector*, CVector*, i32)
{
return 0x17062024;
@ -246,7 +246,7 @@ void CScorpion::DoIntroSequence(void)
}
}
// @TODO
// @SMALLTODO
void CScorpion::DetermineTarget(void)
{}

View File

@ -10,11 +10,11 @@
static SStateFlags gSimbyFlags;
extern CBody* MechList[1];
// @TODO
// @BIGTODO
CSimbyShot::CSimbyShot(CVector*)
{}
// @TODO
// @SMALLTODO
void CSimby::SetUpHandPos(void)
{}
@ -201,7 +201,7 @@ void __inline CSimby::SetAlertModeTimer(int timer)
this->field_348 = timer;
}
// @TODO
// @MEDIUMTODO
CSimby::CSimby(int* a2, int a3)
{
}
@ -267,7 +267,7 @@ void Simby_CreateSimby(const unsigned int *stack, unsigned int *result)
}
}
// @TODO
// @MEDIUMTODO
void MakeVertexWibbler(void)
{}
@ -362,7 +362,7 @@ void __inline CSimby::SetUpUnitFromDirection(CVector* a2, int a3)
}
// @TODO
// @SMALLTODO
CEmber::CEmber(const CVector*, int)
{}

View File

@ -8,11 +8,11 @@ void CSpClone::Shouldnt_DoPhysics_Be_Virtual(void)
this->DoPhysics();
}
// @TODO
// @BIGTODO
void CSpClone::DoPhysics(void)
{}
// @TODO
// @BIGTODO
__inline int* CSpClone::KillCommandBlock(int*)
{
return (int*)0x02062024;

View File

@ -244,7 +244,7 @@ __int16 CPlayer::GetEffectiveHeading(void)
return (ratan2(third.vz, third.vx) + 1024) & 0xFFF;
}
// @TODO
// @MEDIUMTODO
void CPlayer::SetTargetTorsoAngle(__int16, int)
{
}
@ -351,7 +351,7 @@ void CPlayer::RenderLookaroundReticle(void)
}
}
// @TODO
// @BIGTODO
void CPlayer::DrawRecticle(unsigned __int16, unsigned __int16, unsigned int)
{}
@ -511,15 +511,15 @@ void CPlayer::PlaySingleAnim(int a2, int a3, int a4)
this->RunAnim(a2, a3, a4);
}
// @TODO
// @BIGTODO
void CPlayer::OrientToNormal(bool, CVector*)
{}
// @TODO
// @BIGTODO
void CPlayer::PriorToVenomDistanceAttack(CVector)
{}
// @TODO
// @BIGTODO
void CPlayer::SwitchToStandMode(void)
{}
@ -739,7 +739,7 @@ void CPlayer::StopAlertMusic(void)
}
}
// @TODO
// @BIGTODO
__inline int* CPlayer::KillCommandBlock(int*)
{
return (int*)0x02062024;

View File

@ -51,7 +51,7 @@ int Spool_FindRegion(const char *a1)
return -1;
}
// @TODO
// @MEDIUMTODO
unsigned int Spool_GetModel(unsigned int Checksum, int Region)
{
return 0x26052024;
@ -67,18 +67,18 @@ unsigned int *Spool_SkipPackets(unsigned int *a1)
return i + 1;
}
// @TODO
// @MEDIUMTODO
Texture* Spool_FindTextureEntry(unsigned int)
{
return (Texture*)0x03062024;
}
// @TODO
// @BIGTODO
void ClearRegion(int, int)
{
}
// @TODO
// @BIGTODO
void Spool_RemoveUnusedTextures(void)
{}

View File

@ -57,7 +57,7 @@ void CSuperDocOck::Shouldnt_DoPhysics_Be_Virtual(void)
this->DoPhysics();
}
// @TODO
// @BIGTODO
void CSuperDocOck::DoPhysics(void)
{}
@ -67,7 +67,7 @@ void CSuperDocOck::RenderClaws(void)
M3d_Render(this->field_3F4);
}
// @TODO
// @BIGTODO
__inline int* CSuperDocOck::KillCommandBlock(int*)
{
return (int*)0x02062024;

View File

@ -91,13 +91,13 @@ void CThug::PlaySounds(void)
}
// @TODO
// @MEDIUMTODO
i32 CThug::MonitorSpitPlease(void)
{
return 0x11062024;
}
// @TODO
// @SMALLTODO
void CThug::CycleOrContinueAnim(i32, i32, i32, i32)
{
}
@ -183,19 +183,13 @@ void CThug::Guard(void)
}
}
// @TODO
// @SMALLTODO
u32 CThug::CheckStateFlags(SStateFlags*, int)
{
return 0x11062024;
}
// @TODO
CBaddy* CThug::GetClosest(i32, i32)
{
return reinterpret_cast<CBaddy*>(0x11062024);
}
// @TODO
// @SMALLTODO
i32 CThug::DistanceToPlayer(i32)
{
return 0x11062024;
@ -400,7 +394,7 @@ void CThug::LookConfused(void)
}
}
// @TODO
// @SMALLTODO
i32 CThug::GetLaunched(CVector*, i32, i32, i32)
{
return 0x10062024;
@ -711,7 +705,7 @@ void CThug::SetThugType(int type)
}
// @TODO
// @BIGTODO
void CThug::RunToWhereTheActionIs(CVector*)
{}
@ -760,7 +754,7 @@ void __inline CThug::StandStill(void)
}
}
// @TODO
// @SMALLTODO
i32 CThug::ShouldFall(i32, i32)
{
return 0x09062024;
@ -826,7 +820,7 @@ void __inline CThug::StopShooting(void)
}
}
// @TODO
// @SMALLTODO
i32 CThug::AddPointToPath(CVector*, i32)
{
return 0x09062024;

1
thug.h
View File

@ -33,7 +33,6 @@ public:
EXPORT void StrikeUpConversation(void);
EXPORT i32 DistanceToPlayer(i32);
EXPORT u32 CheckStateFlags(SStateFlags*, int);
EXPORT CBaddy* GetClosest(i32, i32);
EXPORT void Guard(void);
EXPORT void CycleOrContinueAnim(i32, i32, i32, i32);
EXPORT i32 MonitorSpitPlease(void);

View File

@ -2,27 +2,27 @@
#include "validate.h"
// @TODO
// @MEDIUMTODO
int Trig_GetLevelId(void)
{
return 0x686868;
}
// @TODO
// @BIGTODO
void Trig_GetPosition(CVector*, int)
{}
// @TODO
// @SMALLTODO
void* Trig_GetLinksPointer(int)
{
return reinterpret_cast<void*>(0x686849);
}
// @TODO
// @MEDIUMTODO
void Trig_SendPulse(unsigned __int16*)
{}
// @TODO
// @SMALLTODO
void Trig_SendSignalToLinks(unsigned __int16*)
{}
@ -77,7 +77,7 @@ int __inline GetFlag(unsigned char flag, unsigned char *pData)
return 0;
}
// @TODO
// @BIGTODO
void Trig_SendPulseToNode(int)
{}

View File

@ -403,7 +403,7 @@ int Utils_LinearFilter(
}
// @TODO
// @MEDIUMTODO
void Utils_GetVecFromMagDir(CVector*, int, CSVector*)
{}
@ -435,6 +435,6 @@ int Utils_XZDist(const CVector* a1, const CVector *a2)
return M3dMaths_SquareRoot0(v2 + v3);
}
// @TODO
// @MEDIUMTODO
void Utils_RotateY(CVector*, CVector*, int)
{}