mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 20:01:25 +00:00
TRECISION: Remove the unused _actionLen array
This commit is contained in:
parent
31f51e0a8f
commit
0f3bc23d82
@ -2321,8 +2321,6 @@ Game Structure
|
||||
#define MAXOBJINROOM 128 // Objects per room
|
||||
#define MAXSOUNDSINROOM 15 // Sounds per room
|
||||
#define MAXACTIONINROOM 32 // Number of actions per room
|
||||
#define MAXACTION 620 // Number of actions in the game
|
||||
#define MAXACTIONFRAMESINROOM 1200 // Number of action frames per room
|
||||
|
||||
#define MAXSENTENCE 4000 // Max Examine phrases
|
||||
#define MAXOBJNAME 1400
|
||||
|
@ -129,8 +129,7 @@ void TrecisionEngine::loadAll() {
|
||||
_animMgr->loadAnimTab(&dataNl);
|
||||
_dialogMgr->loadData(&dataNl);
|
||||
|
||||
for (int i = 0; i < MAXACTION; ++i)
|
||||
_actionLen[i] = dataNl.readByte();
|
||||
dataNl.skip(620); // actions (unused)
|
||||
|
||||
int numFileRef = dataNl.readSint32LE();
|
||||
dataNl.skip(numFileRef * (12 + 4)); // fileRef name + offset
|
||||
|
@ -133,7 +133,6 @@ class TrecisionEngine : public Engine {
|
||||
|
||||
char *_textArea;
|
||||
uint16 _curScriptFrame[10];
|
||||
uint8 _actionLen[MAXACTION];
|
||||
char *_textPtr;
|
||||
|
||||
uint16 _curAscii;
|
||||
|
Loading…
Reference in New Issue
Block a user