[Scummvm-cvs-logs] SF.net SVN: scummvm: [30344] scummvm/trunk/engines/parallaction
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Tue Jan 8 21:37:31 CET 2008
Revision: 30344
http://scummvm.svn.sourceforge.net/scummvm/?rev=30344&view=rev
Author: peres001
Date: 2008-01-08 12:37:31 -0800 (Tue, 08 Jan 2008)
Log Message:
-----------
Removed useless members.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/exec_br.cpp
scummvm/trunk/engines/parallaction/objects.cpp
scummvm/trunk/engines/parallaction/objects.h
Modified: scummvm/trunk/engines/parallaction/exec_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/exec_br.cpp 2008-01-08 20:32:29 UTC (rev 30343)
+++ scummvm/trunk/engines/parallaction/exec_br.cpp 2008-01-08 20:37:31 UTC (rev 30344)
@@ -70,6 +70,7 @@
#define DECLARE_INSTRUCTION_OPCODE(op) void Parallaction_br::instOp_##op()
void Parallaction_br::setupSubtitles(char *s, char *s2, int y) {
+#if 0
debugC(5, kDebugExec, "setupSubtitles(%s, %s, %i)", s, s2, y);
if (!scumm_stricmp("clear", s)) {
@@ -109,6 +110,7 @@
_jDisplaySubtitle = addJob(kJobDisplaySubtitle, 0, 1);
_jEraseSubtitle = addJob(kJobEraseSubtitle, 0, 20);
}
+#endif
}
Modified: scummvm/trunk/engines/parallaction/objects.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/objects.cpp 2008-01-08 20:32:29 UTC (rev 30343)
+++ scummvm/trunk/engines/parallaction/objects.cpp 2008-01-08 20:37:31 UTC (rev 30344)
@@ -192,7 +192,6 @@
Label::Label() {
resetPosition();
- _text = 0;
}
Label::~Label() {
@@ -201,9 +200,6 @@
void Label::free() {
_cnv.free();
- ::free(_text);
- _text = 0;
-
resetPosition();
}
@@ -212,12 +208,6 @@
_pos.y = -1000;
}
-void Label::getRect(Common::Rect &r) {
- r.setWidth(_cnv.w);
- r.setHeight(_cnv.h);
- r.moveTo(_pos);
-}
-
Answer::Answer() {
_text = NULL;
_mood = 0;
Modified: scummvm/trunk/engines/parallaction/objects.h
===================================================================
--- scummvm/trunk/engines/parallaction/objects.h 2008-01-08 20:32:29 UTC (rev 30343)
+++ scummvm/trunk/engines/parallaction/objects.h 2008-01-08 20:37:31 UTC (rev 30344)
@@ -258,7 +258,6 @@
};
struct Label {
- char* _text;
Graphics::Surface _cnv;
Common::Point _pos;
@@ -268,7 +267,6 @@
void free();
void resetPosition();
- void getRect(Common::Rect &r);
};
#define ZONENAME_LENGTH 32
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list