aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/hdb.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-02 00:48:38 +0200
committerEugene Sandulenko2019-09-03 17:17:07 +0200
commit362cb060f3a70bf21218c17c148a84abbd685989 (patch)
treecca194fad462b0624a997e1ac1bd529a3a89a3ff /engines/hdb/hdb.cpp
parente31e9dbae17ab707fd50b7a29bdbdf0889fe1811 (diff)
downloadscummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.tar.gz
scummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.tar.bz2
scummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.zip
HDB: Rename _drawMan -> _gfx
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r--engines/hdb/hdb.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 3da71974a4..0eb1da5c2d 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -43,7 +43,7 @@ HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst
_systemInit = false;
g_hdb = this;
_fileMan = new FileMan;
- _drawMan = new DrawMan;
+ _gfx = new DrawMan;
_lua = new LuaScript;
_map = new Map;
_ai = new AI;
@@ -58,7 +58,7 @@ HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst
HDBGame::~HDBGame() {
delete _console;
delete _fileMan;
- delete _drawMan;
+ delete _gfx;
delete _lua;
delete _map;
delete _ai;
@@ -79,7 +79,7 @@ bool HDBGame::init() {
if (!_fileMan->openMPC(getGameFile())) {
error("FileMan::openMPC: Cannot find the hyperspace.mpc data file.");
}
- if (!_drawMan->init()) {
+ if (!_gfx->init()) {
error("DrawMan::init: Couldn't initialize DrawMan");
}
if (!_input->init()) {
@@ -147,14 +147,14 @@ void HDBGame::paint() {
warning("STUB: MENU::DrawMenu required");
break;
case GAME_PLAY:
- _drawMan->drawPointer();
+ _gfx->drawPointer();
break;
case GAME_LOADING:
warning("STUB: DrawMan::DrawLoadingScreen required");
break;
}
- _drawMan->updateVideo();
+ _gfx->updateVideo();
}
// builds a waypoint list if an entity is not next to player,
@@ -485,7 +485,7 @@ Common::Error HDBGame::run() {
}
if (_gameState == GAME_PLAY) {
- _drawMan->drawSky();
+ _gfx->drawSky();
if (!_pauseFlag) {
_ai->moveEnts();