aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJoost Peters2003-05-14 21:25:03 +0000
committerJoost Peters2003-05-14 21:25:03 +0000
commit5f7e8231ca0cadfb8da93dd75f7ac7665092dee7 (patch)
treee7ed2e3826932c7e26996886e9a90a264a529149 /sky
parente9d5de3a7e7cd4c5bfb05100d5675d84c0b4c387 (diff)
downloadscummvm-rg350-5f7e8231ca0cadfb8da93dd75f7ac7665092dee7.tar.gz
scummvm-rg350-5f7e8231ca0cadfb8da93dd75f7ac7665092dee7.tar.bz2
scummvm-rg350-5f7e8231ca0cadfb8da93dd75f7ac7665092dee7.zip
some renaming (consistency)
svn-id: r7515
Diffstat (limited to 'sky')
-rw-r--r--sky/grid.cpp4
-rw-r--r--sky/grid.h8
-rw-r--r--sky/mouse.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/sky/grid.cpp b/sky/grid.cpp
index c4e1a8918e..5cf8d8ef0e 100644
--- a/sky/grid.cpp
+++ b/sky/grid.cpp
@@ -132,7 +132,7 @@ int8 SkyGrid::_gridConvertTable[] = {
SkyGrid::SkyGrid(SkyDisk *pDisk) {
_gameGrids = (uint8 *)malloc(TOT_NO_GRIDS * GRID_SIZE);
- _disk = pDisk;
+ _skyDisk = pDisk;
}
SkyGrid::~SkyGrid(void) {
@@ -144,7 +144,7 @@ void SkyGrid::loadGrids(void) {
// no endian conversion necessary as I'm using uint8* instead of uint32*
for (uint8 cnt = 0; cnt < TOT_NO_GRIDS; cnt++)
- _disk->loadFile(GRID_FILE_START + cnt, _gameGrids + (cnt * GRID_SIZE));
+ _skyDisk->loadFile(GRID_FILE_START + cnt, _gameGrids + (cnt * GRID_SIZE));
// todo: add BASS hack for Reich's door (grid.asm, load_grids proc)
}
diff --git a/sky/grid.h b/sky/grid.h
index ed5ef44e35..e214415aca 100644
--- a/sky/grid.h
+++ b/sky/grid.h
@@ -19,8 +19,8 @@
*
*/
-#ifndef __SkyGrid__
-#define __SkyGrid__
+#ifndef SKYGRID_H
+#define SKYGRID_H
#include "stdafx.h"
#include "disk.h"
@@ -53,7 +53,7 @@ public:
private:
static int8 _gridConvertTable[];
uint8 *_gameGrids;
- SkyDisk *_disk;
+ SkyDisk *_skyDisk;
};
-#endif //__SkyGrid__
+#endif //SKYGRID_H
diff --git a/sky/mouse.h b/sky/mouse.h
index 3f136ffc36..5d971942c8 100644
--- a/sky/mouse.h
+++ b/sky/mouse.h
@@ -19,8 +19,8 @@
*
*/
-#ifndef __SkyMouse__
-#define __SkyMouse__
+#ifndef SKYMOUSE_H
+#define SKYMOUSE_H
#include "stdafx.h"
#include "sky/disk.h"
@@ -81,4 +81,4 @@ protected:
};
-#endif //__SkyMouse__
+#endif //SKYMOUSE_H