diff options
author | Strangerke | 2013-09-22 22:47:12 +0200 |
---|---|---|
committer | Strangerke | 2013-09-22 22:47:12 +0200 |
commit | 61eb94e5c8a7502563d5720a9db71ba1646b49bb (patch) | |
tree | 0377375e6516474e548c4921a35bce6162d5bb10 | |
parent | 061c06c1286ba20b58412e494cf39a40eabb35b6 (diff) | |
download | scummvm-rg350-61eb94e5c8a7502563d5720a9db71ba1646b49bb.tar.gz scummvm-rg350-61eb94e5c8a7502563d5720a9db71ba1646b49bb.tar.bz2 scummvm-rg350-61eb94e5c8a7502563d5720a9db71ba1646b49bb.zip |
AVALANCHE: Use struct for consistency in Avalot
-rw-r--r-- | engines/avalanche/avalot.cpp | 1 | ||||
-rw-r--r-- | engines/avalanche/avalot.h | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 86bd7fef1b..8feec3f03e 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -137,7 +137,6 @@ const QuasipedType Avalot::kQuasipeds[16] = { }; const uint16 Avalot::kNotes[12] = {196, 220, 247, 262, 294, 330, 350, 392, 440, 494, 523, 587}; - const TuneType Avalot::kTune = { kPitchHigher, kPitchHigher, kPitchLower, kPitchSame, kPitchHigher, kPitchHigher, kPitchLower, kPitchHigher, kPitchHigher, kPitchHigher, kPitchLower, kPitchHigher, kPitchHigher, kPitchSame, kPitchHigher, kPitchLower, kPitchLower, kPitchLower, kPitchLower, kPitchHigher, diff --git a/engines/avalanche/avalot.h b/engines/avalanche/avalot.h index efd04ff35a..29433ee831 100644 --- a/engines/avalanche/avalot.h +++ b/engines/avalanche/avalot.h @@ -101,8 +101,7 @@ struct MagicType { uint16 _data; // data for them }; -class FieldType { -public: +struct FieldType { int16 _x1, _y1, _x2, _y2; }; @@ -110,8 +109,7 @@ struct ByteField { byte _x1, _y1, _x2, _y2; }; -class LineType : public FieldType { -public: +struct LineType : public FieldType { byte _color; }; |