mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-24 05:49:48 +00:00
49 lines
808 B
C++
49 lines
808 B
C++
#include "panel.h"
|
|
#include "validate.h"
|
|
|
|
|
|
// @TODO
|
|
void Panel_CreateHealthBar(const CBody*, int)
|
|
{}
|
|
|
|
static int gHealthBarOne;
|
|
static int gHealthBarTwo;
|
|
// @NotOk
|
|
// globals
|
|
void Panel_DestroyHealthbar(void)
|
|
{
|
|
gHealthBarOne = 0;
|
|
gHealthBarTwo = 0;
|
|
}
|
|
|
|
static unsigned char gPanelStatus;
|
|
// @NotOk
|
|
// Global
|
|
void Panel_DestroyCompass(void)
|
|
{
|
|
gPanelStatus = 0;
|
|
}
|
|
|
|
// @Ok
|
|
int Panel_DrawTexturedPoly(SAnimFrame* pFrame, int a2)
|
|
{
|
|
return Panel_DrawTexturedPoly(pFrame->pTexture, a2);
|
|
}
|
|
|
|
// @TODO
|
|
int Panel_DrawTexturedPoly(Texture*, int)
|
|
{
|
|
return 0x28052024;
|
|
}
|
|
|
|
void validate_SAnimFrame(void)
|
|
{
|
|
VALIDATE_SIZE(SAnimFrame, 0x8);
|
|
|
|
VALIDATE(SAnimFrame, OffX, 0x0);
|
|
VALIDATE(SAnimFrame, OffY, 0x1);
|
|
VALIDATE(SAnimFrame, Width, 0x2);
|
|
VALIDATE(SAnimFrame, Height, 0x3);
|
|
VALIDATE(SAnimFrame, pTexture, 0x4);
|
|
}
|