got rid of upper case types

This commit is contained in:
aap
2019-06-17 00:16:38 +02:00
parent e8c5f7da52
commit 0add48abf5
49 changed files with 701 additions and 708 deletions

View File

@ -1,4 +1,4 @@
#include "common.h"
#include "Population.h"
Bool &CPopulation::ms_bGivePedsWeapons = *(Bool*)0x95CCF6;
bool &CPopulation::ms_bGivePedsWeapons = *(bool*)0x95CCF6;

View File

@ -3,5 +3,5 @@
class CPopulation
{
public:
static Bool &ms_bGivePedsWeapons;
static bool &ms_bGivePedsWeapons;
};

View File

@ -1,6 +1,6 @@
#include "common.h"
#include "Record.h"
UInt16 &CRecordDataForGame::RecordingState = *(UInt16*)0x95CC24;
uint16 &CRecordDataForGame::RecordingState = *(uint16*)0x95CC24;
UInt8 &CRecordDataForChase::Status = *(UInt8*)0x95CDCE;
uint8 &CRecordDataForChase::Status = *(uint8*)0x95CDCE;

View File

@ -3,11 +3,11 @@
class CRecordDataForGame
{
public:
static UInt16 &RecordingState;
static uint16 &RecordingState;
};
class CRecordDataForChase
{
public:
static UInt8 &Status;
static uint8 &Status;
};

View File

@ -3,6 +3,6 @@
#include "Replay.h"
uint8 &CReplay::Mode = *(uint8*)0x95CD5B;
Bool &CReplay::bPlayingBackFromFile = *(Bool*)0x95CD58;
bool &CReplay::bPlayingBackFromFile = *(bool*)0x95CD58;
WRAPPER void CReplay::Display(void) { EAXJMP(0x595EE0); }

View File

@ -8,7 +8,7 @@ public:
};
static uint8 &Mode;
static Bool &bPlayingBackFromFile;
static bool &bPlayingBackFromFile;
static void Display(void);
};

View File

@ -3,8 +3,8 @@
struct CScriptRectangle
{
Bool m_bIsUsed;
Bool m_bIsAntialiased;
bool m_bIsUsed;
bool m_bIsAntialiased;
uint16 m_wTextureId;
CRect m_sRect;
CRGBA m_sColor;
@ -12,23 +12,23 @@ struct CScriptRectangle
struct CTextLine
{
Float m_fScaleX;
Float m_fScaleY;
float m_fScaleX;
float m_fScaleY;
CRGBA m_sColor;
Bool m_bJustify;
Bool m_bCentered;
Bool m_bBackground;
Bool m_bBackgroundOnly;
Float m_fWrapX;
Float m_fCenterSize;
bool m_bJustify;
bool m_bCentered;
bool m_bBackground;
bool m_bBackgroundOnly;
float m_fWrapX;
float m_fCenterSize;
CRGBA m_sBackgroundColor;
Bool m_bTextProportional;
bool m_bTextProportional;
int32 field_29;
Bool m_bRightJustify;
bool m_bRightJustify;
int32 field_31;
int32 m_nFont;
Float field_36;
Float field_40;
float field_36;
float field_40;
wchar m_awText[500];
};