diff options
author | Nicola Mettifogo | 2010-05-19 17:16:15 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2010-05-19 17:16:15 +0000 |
commit | f84b23244322f440e9503eb3519688a6a255be40 (patch) | |
tree | fed285abcc89c06f0a32ca4be337548dbd13a768 /engines/parallaction/objects.h | |
parent | 92c1f4625d7a8e7b119dc005539145f59ce6c49b (diff) | |
download | scummvm-rg350-f84b23244322f440e9503eb3519688a6a255be40.tar.gz scummvm-rg350-f84b23244322f440e9503eb3519688a6a255be40.tar.bz2 scummvm-rg350-f84b23244322f440e9503eb3519688a6a255be40.zip |
Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. Patch 3003382 by fuzzie, with enhancements.
svn-id: r49105
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r-- | engines/parallaction/objects.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h index f84c930241..50a789247f 100644 --- a/engines/parallaction/objects.h +++ b/engines/parallaction/objects.h @@ -186,7 +186,9 @@ struct Dialogue { ~Dialogue(); }; -#define MAX_WALKPOINT_LISTS 20 +#define MAX_WALKPOINT_LISTS 20 +#define FREE_HEAR_CHANNEL -1 +#define MUSIC_HEAR_CHANNEL -2 struct TypeData { // common @@ -232,7 +234,7 @@ struct TypeData { _doorStartFrame2_br = 0; _doorStartPos2_br.x = -1000; _doorStartPos2_br.y = -1000; - _hearChannel = -1; + _hearChannel = FREE_HEAR_CHANNEL; _hearFreq = -1; _mergeObj1 = 0; _mergeObj2 = 0; |