mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 20:00:01 +00:00
skeleton typos
This commit is contained in:
parent
9c6046455e
commit
9313bfa155
|
@ -328,7 +328,7 @@ PluginAttach(void)
|
||||||
static RwBool
|
static RwBool
|
||||||
Initialise3D(void *param)
|
Initialise3D(void *param)
|
||||||
{
|
{
|
||||||
if (RsRwInitialise(param))
|
if (RsRwInitialize(param))
|
||||||
{
|
{
|
||||||
#ifdef DEBUGMENU
|
#ifdef DEBUGMENU
|
||||||
DebugMenuInit();
|
DebugMenuInit();
|
||||||
|
@ -1149,10 +1149,10 @@ AppEventHandler(RsEvent event, void *param)
|
||||||
{
|
{
|
||||||
switch( event )
|
switch( event )
|
||||||
{
|
{
|
||||||
case rsINITIALISE:
|
case rsINITIALIZE:
|
||||||
{
|
{
|
||||||
CGame::InitialiseOnceBeforeRW();
|
CGame::InitialiseOnceBeforeRW();
|
||||||
return RsInitialise() ? rsEVENTPROCESSED : rsEVENTERROR;
|
return RsInitialize() ? rsEVENTPROCESSED : rsEVENTERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
case rsCAMERASIZE:
|
case rsCAMERASIZE:
|
||||||
|
@ -1164,7 +1164,7 @@ AppEventHandler(RsEvent event, void *param)
|
||||||
return rsEVENTPROCESSED;
|
return rsEVENTPROCESSED;
|
||||||
}
|
}
|
||||||
|
|
||||||
case rsRWINITIALISE:
|
case rsRWINITIALIZE:
|
||||||
{
|
{
|
||||||
return Initialise3D(param) ? rsEVENTPROCESSED : rsEVENTERROR;
|
return Initialise3D(param) ? rsEVENTPROCESSED : rsEVENTERROR;
|
||||||
}
|
}
|
||||||
|
|
|
@ -274,7 +274,7 @@ psNativeTextureSupport(void)
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
RwBool
|
RwBool
|
||||||
psInitialise(void)
|
psInitialize(void)
|
||||||
{
|
{
|
||||||
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
|
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
|
||||||
|
|
||||||
|
@ -789,7 +789,7 @@ RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode)
|
||||||
|
|
||||||
useDefault = TRUE;
|
useDefault = TRUE;
|
||||||
|
|
||||||
if ( RsEventHandler(rsRWINITIALISE, &openParams) == rsEVENTERROR )
|
if ( RsEventHandler(rsRWINITIALIZE, &openParams) == rsEVENTERROR )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
RwInitialised = TRUE;
|
RwInitialised = TRUE;
|
||||||
|
@ -1312,7 +1312,7 @@ main(int argc, char *argv[])
|
||||||
* Initialize the platform independent data.
|
* Initialize the platform independent data.
|
||||||
* This will in turn initialize the platform specific data...
|
* This will in turn initialize the platform specific data...
|
||||||
*/
|
*/
|
||||||
if( RsEventHandler(rsINITIALISE, nil) == rsEVENTERROR )
|
if( RsEventHandler(rsINITIALIZE, nil) == rsEVENTERROR )
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -1355,7 +1355,7 @@ main(int argc, char *argv[])
|
||||||
/*
|
/*
|
||||||
* Initialize the 3D (RenderWare) components of the app...
|
* Initialize the 3D (RenderWare) components of the app...
|
||||||
*/
|
*/
|
||||||
if( rsEVENTERROR == RsEventHandler(rsRWINITIALISE, &openParams) )
|
if( rsEVENTERROR == RsEventHandler(rsRWINITIALIZE, &openParams) )
|
||||||
{
|
{
|
||||||
RsEventHandler(rsTERMINATE, nil);
|
RsEventHandler(rsTERMINATE, nil);
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ extern RwUInt32 psTimer(void);
|
||||||
extern double psTimer(void);
|
extern double psTimer(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern RwBool psInitialise(void);
|
extern RwBool psInitialize(void);
|
||||||
extern void psTerminate(void);
|
extern void psTerminate(void);
|
||||||
|
|
||||||
extern void psCameraShowRaster(RwCamera *camera);
|
extern void psCameraShowRaster(RwCamera *camera);
|
||||||
|
|
|
@ -246,8 +246,8 @@ RsEventHandler(RsEvent event, void *param)
|
||||||
result = (rsEVENTPROCESSED);
|
result = (rsEVENTPROCESSED);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case rsRWINITIALISE:
|
case rsRWINITIALIZE:
|
||||||
result = (RsRwInitialise(param) ?
|
result = (RsRwInitialize(param) ?
|
||||||
rsEVENTPROCESSED : rsEVENTERROR);
|
rsEVENTPROCESSED : rsEVENTERROR);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -256,9 +256,9 @@ RsEventHandler(RsEvent event, void *param)
|
||||||
result = (rsEVENTPROCESSED);
|
result = (rsEVENTPROCESSED);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case rsINITIALISE:
|
case rsINITIALIZE:
|
||||||
result =
|
result =
|
||||||
(RsInitialise()? rsEVENTPROCESSED : rsEVENTERROR);
|
(RsInitialize()? rsEVENTPROCESSED : rsEVENTERROR);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -294,7 +294,7 @@ RsRwTerminate(void)
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
RwBool
|
RwBool
|
||||||
RsRwInitialise(void *displayID)
|
RsRwInitialize(void *displayID)
|
||||||
{
|
{
|
||||||
RwEngineOpenParams openParams;
|
RwEngineOpenParams openParams;
|
||||||
|
|
||||||
|
@ -383,14 +383,14 @@ RsTerminate(void)
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
RwBool
|
RwBool
|
||||||
RsInitialise(void)
|
RsInitialize(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Initialize Platform independent data...
|
* Initialize Platform independent data...
|
||||||
*/
|
*/
|
||||||
RwBool result;
|
RwBool result;
|
||||||
|
|
||||||
RsGlobal.appName = RWSTRING("GTA3");
|
RsGlobal.appName = RWSTRING("GTA: Vice City");
|
||||||
RsGlobal.maximumWidth = DEFAULT_SCREEN_WIDTH;
|
RsGlobal.maximumWidth = DEFAULT_SCREEN_WIDTH;
|
||||||
RsGlobal.maximumHeight = DEFAULT_SCREEN_HEIGHT;
|
RsGlobal.maximumHeight = DEFAULT_SCREEN_HEIGHT;
|
||||||
RsGlobal.width = DEFAULT_SCREEN_WIDTH;
|
RsGlobal.width = DEFAULT_SCREEN_WIDTH;
|
||||||
|
@ -415,7 +415,7 @@ RsInitialise(void)
|
||||||
RsGlobal.pad.inputEventHandler = nil;
|
RsGlobal.pad.inputEventHandler = nil;
|
||||||
RsGlobal.pad.used = FALSE;
|
RsGlobal.pad.used = FALSE;
|
||||||
|
|
||||||
result = psInitialise();
|
result = psInitialize();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,10 +61,10 @@ enum RsEvent
|
||||||
_rs_18,
|
_rs_18,
|
||||||
_rs_19,
|
_rs_19,
|
||||||
_rs_20,
|
_rs_20,
|
||||||
rsRWINITIALISE,
|
rsRWINITIALIZE,
|
||||||
rsRWTERMINATE,
|
rsRWTERMINATE,
|
||||||
rsSELECTDEVICE,
|
rsSELECTDEVICE,
|
||||||
rsINITIALISE,
|
rsINITIALIZE,
|
||||||
rsTERMINATE,
|
rsTERMINATE,
|
||||||
rsIDLE,
|
rsIDLE,
|
||||||
rsFRONTENDIDLE,
|
rsFRONTENDIDLE,
|
||||||
|
@ -242,13 +242,13 @@ extern RsEventStatus RsKeyboardEventHandler(RsEvent event, void *param);
|
||||||
extern RsEventStatus RsPadEventHandler(RsEvent event, void *param);
|
extern RsEventStatus RsPadEventHandler(RsEvent event, void *param);
|
||||||
|
|
||||||
extern RwBool
|
extern RwBool
|
||||||
RsInitialise(void);
|
RsInitialize(void);
|
||||||
|
|
||||||
extern RwBool
|
extern RwBool
|
||||||
RsRegisterImageLoader(void);
|
RsRegisterImageLoader(void);
|
||||||
|
|
||||||
extern RwBool
|
extern RwBool
|
||||||
RsRwInitialise(void *param);
|
RsRwInitialize(void *param);
|
||||||
|
|
||||||
extern RwBool
|
extern RwBool
|
||||||
RsSelectDevice(void);
|
RsSelectDevice(void);
|
||||||
|
|
|
@ -584,7 +584,7 @@ void _psPrintCpuInfo()
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
RwBool
|
RwBool
|
||||||
psInitialise(void)
|
psInitialize(void)
|
||||||
{
|
{
|
||||||
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
|
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
|
||||||
|
|
||||||
|
@ -1535,7 +1535,7 @@ RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode)
|
||||||
|
|
||||||
useDefault = TRUE;
|
useDefault = TRUE;
|
||||||
|
|
||||||
if ( RsEventHandler(rsRWINITIALISE, PSGLOBAL(window)) == rsEVENTERROR )
|
if ( RsEventHandler(rsRWINITIALIZE, PSGLOBAL(window)) == rsEVENTERROR )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
RwInitialised = TRUE;
|
RwInitialised = TRUE;
|
||||||
|
@ -1904,7 +1904,7 @@ WinMain(HINSTANCE instance,
|
||||||
* Initialize the platform independent data.
|
* Initialize the platform independent data.
|
||||||
* This will in turn initialize the platform specific data...
|
* This will in turn initialize the platform specific data...
|
||||||
*/
|
*/
|
||||||
if( RsEventHandler(rsINITIALISE, nil) == rsEVENTERROR )
|
if( RsEventHandler(rsINITIALIZE, nil) == rsEVENTERROR )
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -1970,7 +1970,7 @@ WinMain(HINSTANCE instance,
|
||||||
/*
|
/*
|
||||||
* Initialize the 3D (RenderWare) components of the app...
|
* Initialize the 3D (RenderWare) components of the app...
|
||||||
*/
|
*/
|
||||||
if( rsEVENTERROR == RsEventHandler(rsRWINITIALISE, PSGLOBAL(window)) )
|
if( rsEVENTERROR == RsEventHandler(rsRWINITIALIZE, PSGLOBAL(window)) )
|
||||||
{
|
{
|
||||||
DestroyWindow(PSGLOBAL(window));
|
DestroyWindow(PSGLOBAL(window));
|
||||||
|
|
||||||
|
|
|
@ -120,13 +120,9 @@ enum eVehicleAppearance
|
||||||
VEHICLE_APPEARANCE_PLANE,
|
VEHICLE_APPEARANCE_PLANE,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Or Weapon.h?
|
|
||||||
void FireOneInstantHitRound(CVector *shotSource, CVector *shotTarget, int32 damage);
|
|
||||||
|
|
||||||
class CVehicle : public CPhysical
|
class CVehicle : public CPhysical
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// 0x128
|
|
||||||
tHandlingData *pHandling;
|
tHandlingData *pHandling;
|
||||||
CAutoPilot AutoPilot;
|
CAutoPilot AutoPilot;
|
||||||
uint8 m_currentColour1;
|
uint8 m_currentColour1;
|
||||||
|
|
Loading…
Reference in a new issue