2024-05-12 17:44:36 +00:00
|
|
|
#include "trig.h"
|
2024-05-22 14:49:57 +00:00
|
|
|
#include "validate.h"
|
|
|
|
|
2024-05-12 17:44:36 +00:00
|
|
|
|
|
|
|
// @TODO
|
|
|
|
int Trig_GetLevelId(void)
|
|
|
|
{
|
|
|
|
return 0x686868;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @TODO
|
|
|
|
void Trig_GetPosition(CVector*, int)
|
|
|
|
{}
|
|
|
|
|
|
|
|
// @TODO
|
|
|
|
void* Trig_GetLinksPointer(int)
|
|
|
|
{
|
|
|
|
return reinterpret_cast<void*>(0x686849);
|
|
|
|
}
|
2024-05-14 18:19:05 +00:00
|
|
|
|
|
|
|
// @TODO
|
|
|
|
void Trig_SendPulse(unsigned __int16*)
|
|
|
|
{}
|
2024-05-22 14:49:57 +00:00
|
|
|
|
2024-05-25 17:19:27 +00:00
|
|
|
// @TODO
|
|
|
|
void Trig_SendSignalToLinks(unsigned __int16*)
|
|
|
|
{}
|
|
|
|
|
2024-05-26 14:32:38 +00:00
|
|
|
static int gTrigMenu[40];
|
|
|
|
static int gRestartPoints;
|
|
|
|
// @NotOk
|
|
|
|
// Globals
|
|
|
|
void Trig_ClearTrigMenu(void)
|
|
|
|
{
|
|
|
|
for (int i = 0; i<40; i++)
|
|
|
|
{
|
|
|
|
gTrigMenu[i] = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
gRestartPoints = 0;
|
|
|
|
}
|
|
|
|
|
2024-05-22 14:49:57 +00:00
|
|
|
void validate_SLinkInfo(void)
|
|
|
|
{
|
|
|
|
VALIDATE_SIZE(SLinkInfo, 0xC);
|
|
|
|
|
|
|
|
VALIDATE(SLinkInfo, field_0, 0x0);
|
|
|
|
VALIDATE(SLinkInfo, field_4, 0x4);
|
|
|
|
VALIDATE(SLinkInfo, field_8, 0x8);
|
|
|
|
}
|
2024-05-26 14:32:38 +00:00
|
|
|
|