diff options
author | Strangerke | 2013-01-30 08:31:32 +0100 |
---|---|---|
committer | Strangerke | 2013-01-30 08:31:32 +0100 |
commit | 15de07ff74e610510f724cca9c6d155ef376d68a (patch) | |
tree | bd4cd62fa68ec590666fbe09b54913c2ac0609ca /engines/hopkins/hopkins.h | |
parent | e68e3c91ebb089cf31f305f18199bb3a9ccca612 (diff) | |
download | scummvm-rg350-15de07ff74e610510f724cca9c6d155ef376d68a.tar.gz scummvm-rg350-15de07ff74e610510f724cca9c6d155ef376d68a.tar.bz2 scummvm-rg350-15de07ff74e610510f724cca9c6d155ef376d68a.zip |
HOPKINS: Introduce MKTAG24. Make use of MKTAG16 and MKTAG24
Diffstat (limited to 'engines/hopkins/hopkins.h')
-rw-r--r-- | engines/hopkins/hopkins.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h index 4ab356be9a..04b3558963 100644 --- a/engines/hopkins/hopkins.h +++ b/engines/hopkins/hopkins.h @@ -75,6 +75,12 @@ enum { #define MAX_LINES 400 +/** + * A wrapper macro used around three character constants, like 'END', to + * ensure portability. Typical usage: MKTAG24('E','N','D'). + */ +#define MKTAG24(a0,a1,a2) ((uint32)((a2) | (a1) << 8 | ((a0) << 16))) + struct HopkinsGameDescription; class HopkinsEngine : public Engine { |