STARK: fixed compilation warnings
This commit is contained in:
parent
5993f6ba68
commit
6d598c7eaf
3 changed files with 9 additions and 9 deletions
|
@ -180,7 +180,7 @@ static const ADGameDescription gameDescriptions[] = {
|
||||||
|
|
||||||
AD_TABLE_END_MARKER
|
AD_TABLE_END_MARKER
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
// File based fallback game description
|
// File based fallback game description
|
||||||
static const ADGameDescription fallbackDescription = {
|
static const ADGameDescription fallbackDescription = {
|
||||||
"tlj", "Unknown", {
|
"tlj", "Unknown", {
|
||||||
|
@ -197,7 +197,7 @@ static const ADGameDescription fallbackDescription = {
|
||||||
static const ADFileBasedFallback fileBasedFallback[] = {
|
static const ADFileBasedFallback fileBasedFallback[] = {
|
||||||
{&fallbackDescription, {"x.xarc", "chapters.ini", "w_world.ini", NULL}},
|
{&fallbackDescription, {"x.xarc", "chapters.ini", "w_world.ini", NULL}},
|
||||||
{NULL, {NULL}}
|
{NULL, {NULL}}
|
||||||
};
|
};*/
|
||||||
|
|
||||||
class StarkMetaEngine : public AdvancedMetaEngine {
|
class StarkMetaEngine : public AdvancedMetaEngine {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -45,10 +45,10 @@ TextureSetReader::~TextureSetReader() {
|
||||||
Gfx::TextureSet *TextureSetReader::read(Common::ReadStream *stream) {
|
Gfx::TextureSet *TextureSetReader::read(Common::ReadStream *stream) {
|
||||||
Gfx::TextureSet *textureSet = new Gfx::TextureSet();
|
Gfx::TextureSet *textureSet = new Gfx::TextureSet();
|
||||||
|
|
||||||
uint32 id = stream->readUint32LE();
|
/*uint32 id = */stream->readUint32LE();
|
||||||
uint32 format = stream->readUint32LE();
|
uint32 format = stream->readUint32LE();
|
||||||
uint32 u1 = stream->readUint32LE();
|
/*uint32 u1 = */stream->readUint32LE();
|
||||||
uint32 u2 = stream->readUint32LE();
|
/*uint32 u2 = */stream->readUint32LE();
|
||||||
|
|
||||||
uint32 len = stream->readUint32LE();
|
uint32 len = stream->readUint32LE();
|
||||||
for (uint32 i = 0; i < len; ++i) {
|
for (uint32 i = 0; i < len; ++i) {
|
||||||
|
@ -65,12 +65,12 @@ void TextureSetReader::readChunk(Common::ReadStream *stream, uint32 format, Gfx:
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 type = stream->readUint32LE();
|
uint32 type = stream->readUint32LE();
|
||||||
uint32 u3 = stream->readUint32LE();
|
/*uint32 u3 = */stream->readUint32LE();
|
||||||
|
|
||||||
uint32 size = stream->readUint32LE();
|
uint32 size = stream->readUint32LE();
|
||||||
|
|
||||||
if (format == 2)
|
if (format == 2)
|
||||||
uint u4 = stream->readUint32LE();
|
/*uint u4 = */stream->readUint32LE();
|
||||||
|
|
||||||
if (type == 0x02faf082) {
|
if (type == 0x02faf082) {
|
||||||
// Palette
|
// Palette
|
||||||
|
@ -91,7 +91,7 @@ void TextureSetReader::readChunk(Common::ReadStream *stream, uint32 format, Gfx:
|
||||||
stream->read(name, nameLength);
|
stream->read(name, nameLength);
|
||||||
Common::String nameStr = Common::String(name, nameLength);
|
Common::String nameStr = Common::String(name, nameLength);
|
||||||
delete[] name;
|
delete[] name;
|
||||||
byte u = stream->readByte();
|
/*byte u = */stream->readByte();
|
||||||
|
|
||||||
Gfx::Texture *texture = _driver->createTexture();
|
Gfx::Texture *texture = _driver->createTexture();
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,7 @@ void Object::print(uint depth) {
|
||||||
description += Common::String::format(" %s - %s - (sub=%d, order=%d)", type.c_str(), _name.c_str(), _subType, _index);
|
description += Common::String::format(" %s - %s - (sub=%d, order=%d)", type.c_str(), _name.c_str(), _subType, _index);
|
||||||
|
|
||||||
// Print the resource description
|
// Print the resource description
|
||||||
debug(description.c_str());
|
debug("%s ", description.c_str());
|
||||||
|
|
||||||
// Print the resource data
|
// Print the resource data
|
||||||
printData();
|
printData();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue