diff options
Diffstat (limited to 'scumm/player_v2.h')
-rw-r--r-- | scumm/player_v2.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/scumm/player_v2.h b/scumm/player_v2.h index b532f8c7b6..32ec8345f9 100644 --- a/scumm/player_v2.h +++ b/scumm/player_v2.h @@ -24,8 +24,10 @@ #define PLAYER_V2_H #include "common/scummsys.h" -#include "sound/mixer.h" -class Scumm; + +#if !defined(__GNUC__) + #pragma START_PACK_STRUCTS +#endif struct channel_data { uint16 time_left; // 00 @@ -52,12 +54,20 @@ struct channel_data { uint16 music_script_nr; // 48 } GCC_PACK; +#if !defined(__GNUC__) + #pragma END_PACK_STRUCTS +#endif + + union ChannelInfo { channel_data d; uint16 array[sizeof(channel_data)/2]; }; +class Scumm; +class SoundMixer; + class Player_V2 { public: |