diff options
author | Robert Göffringmann | 2004-12-10 17:55:03 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-12-10 17:55:03 +0000 |
commit | 5dc8b51b27dabe766afc9d1b15ea63a721dc0eb4 (patch) | |
tree | 3c82e8474cc23304456f40240115141282e45286 /sword1/sworddefs.h | |
parent | d15d3bf97d85bde3bce0d9ecf80508417dab1690 (diff) | |
download | scummvm-rg350-5dc8b51b27dabe766afc9d1b15ea63a721dc0eb4.tar.gz scummvm-rg350-5dc8b51b27dabe766afc9d1b15ea63a721dc0eb4.tar.bz2 scummvm-rg350-5dc8b51b27dabe766afc9d1b15ea63a721dc0eb4.zip |
changed cd checking code, gives warnings about everything now.
svn-id: r16024
Diffstat (limited to 'sword1/sworddefs.h')
-rw-r--r-- | sword1/sworddefs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sword1/sworddefs.h b/sword1/sworddefs.h index d4b27466e3..3233d9b1f8 100644 --- a/sword1/sworddefs.h +++ b/sword1/sworddefs.h @@ -116,6 +116,29 @@ struct WalkGridHeader { #pragma END_PACK_STRUCTS #endif +enum fileTypes { + TYPE_CD1 = 0, + TYPE_CD2, + TYPE_DEMO, + TYPE_IMMED, + TYPE_SPEECH1, + TYPE_SPEECH2 +}; + +enum fileFlags { + FLAG_CD1 = (1 << TYPE_CD1), // this file is on cd1 + FLAG_CD2 = (1 << TYPE_CD2), // this file is on cd2 + FLAG_DEMO = (1 << TYPE_DEMO), // file for the demo version + FLAG_IMMED = (1 << TYPE_IMMED), // this file is needed immediately, game won't start without it + FLAG_SPEECH1 = (1 << TYPE_SPEECH1), + FLAG_SPEECH2 = (1 << TYPE_SPEECH2) +}; + +struct CdFile { + char *name; + uint8 flags; +}; + enum Language { BS1_ENGLISH = 0, BS1_FRENCH, |