aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorMax Horn2004-03-15 03:09:48 +0000
committerMax Horn2004-03-15 03:09:48 +0000
commitba5aa37dccbb466f70984c8e7c51fbebf757457a (patch)
tree3aa3ba50bd863645eafe5e0aa20978f01aff1fe5 /scumm/scumm.h
parent759c05f936ab9a0317d28343a799d7c6857c3e27 (diff)
downloadscummvm-rg350-ba5aa37dccbb466f70984c8e7c51fbebf757457a.tar.gz
scummvm-rg350-ba5aa37dccbb466f70984c8e7c51fbebf757457a.tar.bz2
scummvm-rg350-ba5aa37dccbb466f70984c8e7c51fbebf757457a.zip
refactor use of _messagePtr -> instead of using it as an implicit parameter for various methods, pass its value explicitly to those methods. Note: this *should* be just a code transformation, with no change to the program logic - unless I messed up once again <sigh>
svn-id: r13298
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 6a6facc48f..aeee376cbe 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -775,7 +775,7 @@ public:
SentenceTab _sentence[NUM_SENTENCE];
StringTab _string[6];
int16 _talkDelay;
- void actorTalk();
+ void actorTalk(const byte *msg);
void stopTalk();
int talkingActor(); // Wrapper around VAR_TALK_ACTOR for V1 Maniac
void talkingActor(int variable);
@@ -1063,14 +1063,14 @@ protected:
void initCharset(int charset);
void CHARSET_1();
- void drawString(int a);
+ void drawString(int a, const byte *msg);
const byte *addMessageToStack(const byte *msg, byte *dstBuffer, int dstBufferSize);
void addIntToStack(int var);
void addVerbToStack(int var);
void addNameToStack(int var);
void addStringToStack(int var);
- void unkMessage1();
- void unkMessage2();
+ void unkMessage1(const byte *msg);
+ void unkMessage2(const byte *msg);
public:
void clearMsgQueue(); // Used by Actor::putActor
protected: