summaryrefslogtreecommitdiffstats
path: root/src/skel
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-23 11:34:22 +0200
committeraap <aap@papnet.eu>2020-05-23 11:34:48 +0200
commit9313bfa15531cb0254e7b8276e4d26a943bbfeec (patch)
treef7d9d5ee264aa898c8befb6a1c15658afe93c115 /src/skel
parentfixed script (diff)
downloadre3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar.gz
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar.bz2
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar.lz
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar.xz
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.tar.zst
re3-9313bfa15531cb0254e7b8276e4d26a943bbfeec.zip
Diffstat (limited to '')
-rw-r--r--src/skel/glfw/glfw.cpp8
-rw-r--r--src/skel/platform.h2
-rw-r--r--src/skel/skeleton.cpp16
-rw-r--r--src/skel/skeleton.h8
-rw-r--r--src/skel/win/win.cpp8
5 files changed, 21 insertions, 21 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 2c46374d..407418c7 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -274,7 +274,7 @@ psNativeTextureSupport(void)
*****************************************************************************
*/
RwBool
-psInitialise(void)
+psInitialize(void)
{
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
@@ -789,7 +789,7 @@ RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode)
useDefault = TRUE;
- if ( RsEventHandler(rsRWINITIALISE, &openParams) == rsEVENTERROR )
+ if ( RsEventHandler(rsRWINITIALIZE, &openParams) == rsEVENTERROR )
return FALSE;
RwInitialised = TRUE;
@@ -1312,7 +1312,7 @@ main(int argc, char *argv[])
* Initialize the platform independent data.
* This will in turn initialize the platform specific data...
*/
- if( RsEventHandler(rsINITIALISE, nil) == rsEVENTERROR )
+ if( RsEventHandler(rsINITIALIZE, nil) == rsEVENTERROR )
{
return FALSE;
}
@@ -1355,7 +1355,7 @@ main(int argc, char *argv[])
/*
* Initialize the 3D (RenderWare) components of the app...
*/
- if( rsEVENTERROR == RsEventHandler(rsRWINITIALISE, &openParams) )
+ if( rsEVENTERROR == RsEventHandler(rsRWINITIALIZE, &openParams) )
{
RsEventHandler(rsTERMINATE, nil);
diff --git a/src/skel/platform.h b/src/skel/platform.h
index 65e20673..cbb1be28 100644
--- a/src/skel/platform.h
+++ b/src/skel/platform.h
@@ -15,7 +15,7 @@ extern RwUInt32 psTimer(void);
extern double psTimer(void);
#endif
-extern RwBool psInitialise(void);
+extern RwBool psInitialize(void);
extern void psTerminate(void);
extern void psCameraShowRaster(RwCamera *camera);
diff --git a/src/skel/skeleton.cpp b/src/skel/skeleton.cpp
index 5191eda7..073155d6 100644
--- a/src/skel/skeleton.cpp
+++ b/src/skel/skeleton.cpp
@@ -246,8 +246,8 @@ RsEventHandler(RsEvent event, void *param)
result = (rsEVENTPROCESSED);
break;
- case rsRWINITIALISE:
- result = (RsRwInitialise(param) ?
+ case rsRWINITIALIZE:
+ result = (RsRwInitialize(param) ?
rsEVENTPROCESSED : rsEVENTERROR);
break;
@@ -256,9 +256,9 @@ RsEventHandler(RsEvent event, void *param)
result = (rsEVENTPROCESSED);
break;
- case rsINITIALISE:
+ case rsINITIALIZE:
result =
- (RsInitialise()? rsEVENTPROCESSED : rsEVENTERROR);
+ (RsInitialize()? rsEVENTPROCESSED : rsEVENTERROR);
break;
default:
@@ -294,7 +294,7 @@ RsRwTerminate(void)
*****************************************************************************
*/
RwBool
-RsRwInitialise(void *displayID)
+RsRwInitialize(void *displayID)
{
RwEngineOpenParams openParams;
@@ -383,14 +383,14 @@ RsTerminate(void)
*****************************************************************************
*/
RwBool
-RsInitialise(void)
+RsInitialize(void)
{
/*
* Initialize Platform independent data...
*/
RwBool result;
- RsGlobal.appName = RWSTRING("GTA3");
+ RsGlobal.appName = RWSTRING("GTA: Vice City");
RsGlobal.maximumWidth = DEFAULT_SCREEN_WIDTH;
RsGlobal.maximumHeight = DEFAULT_SCREEN_HEIGHT;
RsGlobal.width = DEFAULT_SCREEN_WIDTH;
@@ -415,7 +415,7 @@ RsInitialise(void)
RsGlobal.pad.inputEventHandler = nil;
RsGlobal.pad.used = FALSE;
- result = psInitialise();
+ result = psInitialize();
return result;
}
diff --git a/src/skel/skeleton.h b/src/skel/skeleton.h
index 8303bd9a..9826f919 100644
--- a/src/skel/skeleton.h
+++ b/src/skel/skeleton.h
@@ -61,10 +61,10 @@ enum RsEvent
_rs_18,
_rs_19,
_rs_20,
- rsRWINITIALISE,
+ rsRWINITIALIZE,
rsRWTERMINATE,
rsSELECTDEVICE,
- rsINITIALISE,
+ rsINITIALIZE,
rsTERMINATE,
rsIDLE,
rsFRONTENDIDLE,
@@ -242,13 +242,13 @@ extern RsEventStatus RsKeyboardEventHandler(RsEvent event, void *param);
extern RsEventStatus RsPadEventHandler(RsEvent event, void *param);
extern RwBool
-RsInitialise(void);
+RsInitialize(void);
extern RwBool
RsRegisterImageLoader(void);
extern RwBool
-RsRwInitialise(void *param);
+RsRwInitialize(void *param);
extern RwBool
RsSelectDevice(void);
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 415f665a..7de58d87 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -584,7 +584,7 @@ void _psPrintCpuInfo()
*****************************************************************************
*/
RwBool
-psInitialise(void)
+psInitialize(void)
{
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0f;
@@ -1535,7 +1535,7 @@ RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode)
useDefault = TRUE;
- if ( RsEventHandler(rsRWINITIALISE, PSGLOBAL(window)) == rsEVENTERROR )
+ if ( RsEventHandler(rsRWINITIALIZE, PSGLOBAL(window)) == rsEVENTERROR )
return FALSE;
RwInitialised = TRUE;
@@ -1904,7 +1904,7 @@ WinMain(HINSTANCE instance,
* Initialize the platform independent data.
* This will in turn initialize the platform specific data...
*/
- if( RsEventHandler(rsINITIALISE, nil) == rsEVENTERROR )
+ if( RsEventHandler(rsINITIALIZE, nil) == rsEVENTERROR )
{
return FALSE;
}
@@ -1970,7 +1970,7 @@ WinMain(HINSTANCE instance,
/*
* Initialize the 3D (RenderWare) components of the app...
*/
- if( rsEVENTERROR == RsEventHandler(rsRWINITIALISE, PSGLOBAL(window)) )
+ if( rsEVENTERROR == RsEventHandler(rsRWINITIALIZE, PSGLOBAL(window)) )
{
DestroyWindow(PSGLOBAL(window));