- replaced the homegrown integer types in all p* sources and headers.
This commit is contained in:
parent
3a0e29dab9
commit
ad41b23506
37 changed files with 487 additions and 487 deletions
|
|
@ -65,12 +65,12 @@ public:
|
|||
void Tick ();
|
||||
|
||||
side_t *m_Side;
|
||||
SBYTE m_Part;
|
||||
int8_t m_Part;
|
||||
bool bFlippable;
|
||||
bool bReturning;
|
||||
FSwitchDef *m_SwitchDef;
|
||||
int32_t m_Frame;
|
||||
DWORD m_Timer;
|
||||
uint32_t m_Timer;
|
||||
DVector2 m_Pos;
|
||||
|
||||
protected:
|
||||
|
|
@ -245,7 +245,7 @@ bool P_CheckSwitchRange(AActor *user, line_t *line, int sideno, const DVector3 *
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
bool P_ChangeSwitchTexture (side_t *side, int useAgain, BYTE special, bool *quest)
|
||||
bool P_ChangeSwitchTexture (side_t *side, int useAgain, uint8_t special, bool *quest)
|
||||
{
|
||||
int texture;
|
||||
int sound;
|
||||
|
|
@ -338,7 +338,7 @@ DActiveButton::DActiveButton (side_t *side, int Where, FSwitchDef *Switch,
|
|||
const DVector2 &pos, bool useagain)
|
||||
{
|
||||
m_Side = side;
|
||||
m_Part = SBYTE(Where);
|
||||
m_Part = int8_t(Where);
|
||||
m_Pos = pos;
|
||||
bFlippable = useagain;
|
||||
bReturning = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue