aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-10 09:57:19 +1000
committerPaul Gilbert2011-07-10 09:57:19 +1000
commit817a52ed56abc172b158d794501f2bff0ab70e94 (patch)
tree2f89a38323f2f99a303a51de03b7ddbc6ff9fc01 /engines/cge/cge.cpp
parent1e83e27925e121ee50b3ee66f5fb007e2d6b338f (diff)
downloadscummvm-rg350-817a52ed56abc172b158d794501f2bff0ab70e94.tar.gz
scummvm-rg350-817a52ed56abc172b158d794501f2bff0ab70e94.tar.bz2
scummvm-rg350-817a52ed56abc172b158d794501f2bff0ab70e94.zip
CGE: Created a HorizLine stub class to hold the HL sprite array
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r--engines/cge/cge.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index 4fca901873..1fba9dfdc2 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -69,8 +69,6 @@ void CGEEngine::setup() {
Talk::init();
// Initialise sprite arrays used by game objects
- HL[0] = new Bitmap("HLINE", true);
- HL[1] = NULL;
MC[0] = new Bitmap("MOUSE", true);
MC[1] = new Bitmap("DUMMY", true);
MC[2] = NULL;
@@ -96,7 +94,7 @@ void CGEEngine::setup() {
_sprite = new Sprite(this, NULL);
_miniCave = new Sprite(this, NULL);
_shadow = new Sprite(this, NULL);
- _horzLine = new Sprite(this, HL);
+ _horzLine = new HorizLine(this);
_infoLine = new InfoLine(this, INFO_W);
_cavLight = new Sprite(this, PR);
_debugLine = new InfoLine(this, SCR_WID);
@@ -160,7 +158,6 @@ CGEEngine::~CGEEngine() {
delete _infoLine;
delete _cavLight;
delete _debugLine;
- delete HL[0];
delete MC[0];
delete MC[1];
delete PR[0];