mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 11:45:21 +00:00
XEEN: Compilation fixes for create_xeen tool
This commit is contained in:
parent
cd6e5eef48
commit
d99905f76d
@ -64,11 +64,17 @@ void writeCloudsData(CCArchive &cc, const char *darkName) {
|
||||
if (darkFile.open(darkName, Common::kFileReadMode)) {
|
||||
CCArchive darkCc(darkFile, kRead);
|
||||
|
||||
cc.add("mae.cld", darkCc.getMember("mae.xen"));
|
||||
cc.add("spells.cld", darkCc.getMember("spells.xen"));
|
||||
cc.add("animinfo.cld", darkCc.getMember("clouds.dat"));
|
||||
cc.add("monsters.cld", darkCc.getMember("xeen.mon"));
|
||||
cc.add("wallpics.cld", darkCc.getMember("xeenpic.dat"));
|
||||
Common::MemFile mae = darkCc.getMember("mae.xen");
|
||||
Common::MemFile spells = darkCc.getMember("spells.xen");
|
||||
Common::MemFile animInfo = darkCc.getMember("clouds.dat");
|
||||
Common::MemFile monsters = darkCc.getMember("xeen.mon");
|
||||
Common::MemFile wallPics = darkCc.getMember("xeenpic.dat");
|
||||
|
||||
cc.add("mae.cld", mae);
|
||||
cc.add("spells.cld", spells);
|
||||
cc.add("animinfo.cld", animInfo);
|
||||
cc.add("monsters.cld", monsters);
|
||||
cc.add("wallpics.cld", wallPics);
|
||||
|
||||
Common::MemFile mapNames;
|
||||
for (int idx = 0; idx < 86; ++idx)
|
||||
|
@ -186,6 +186,7 @@ public:
|
||||
bool open() {
|
||||
memset(_data, 0, MAX_MEM_SIZE);
|
||||
_size = _offset = 0;
|
||||
return true;
|
||||
}
|
||||
void close() {
|
||||
}
|
||||
|
@ -208,8 +208,8 @@ void writeMonstersObjects(CCArchive &cc) {
|
||||
f.writeShort(0);
|
||||
break;
|
||||
case 4:
|
||||
f.writeShort(0x80);
|
||||
f.writeShort(0x80);
|
||||
f.writeByte(0x80);
|
||||
f.writeByte(0x80);
|
||||
f.writeByte(0);
|
||||
f.writeShort(0);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user