mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
ACCESS: Fix more gcc compiler warnings
This commit is contained in:
parent
d6404a10ad
commit
79e743ba82
@ -140,7 +140,7 @@ void AmazonEngine::doTitle() {
|
||||
_sound->playSound(1);
|
||||
|
||||
const int COUNTDOWN[6] = { 2, 0x80, 1, 0x7d, 0, 0x87 };
|
||||
for (int _pCount = 0; _pCount < 3; ++_pCount) {
|
||||
for (_pCount = 0; _pCount < 3; ++_pCount) {
|
||||
_buffer2.copyFrom(_buffer1);
|
||||
int id = READ_LE_UINT16(COUNTDOWN + _pCount * 4);
|
||||
int xp = READ_LE_UINT16(COUNTDOWN + _pCount * 4 + 2);
|
||||
|
@ -977,7 +977,7 @@ const byte LETTER[] = {
|
||||
0x0, 0x0, 0x0, 0x30, 0x0, 0x5, 0x0, 0xFF, 0xFF
|
||||
};
|
||||
|
||||
extern const byte *CHARTBL[] = {
|
||||
const byte *CHARTBL[] = {
|
||||
ELAINE, LIB, FLASHBACK, ALLENDIE, OVERBOARD, PILOT2, TIKAGENT,
|
||||
BARTENDER, PILOT1, COOK, BEXPLODE, THORNICK, MAYA, CAPTAIN,
|
||||
ALLEN, ARCH, GUARD1, MCANOE, CAMPFIRE, COLONEL, SOLDIERS,
|
||||
|
@ -57,9 +57,9 @@ SpriteResource::~SpriteResource() {
|
||||
}
|
||||
|
||||
SpriteFrame::SpriteFrame(AccessEngine *vm, Common::MemoryReadStream &stream, int frameSize) {
|
||||
int w = stream.readUint16LE();
|
||||
int h = stream.readUint16LE();
|
||||
create(w, h, Graphics::PixelFormat::createFormatCLUT8());
|
||||
int xSize = stream.readUint16LE();
|
||||
int ySize = stream.readUint16LE();
|
||||
create(xSize, ySize, Graphics::PixelFormat::createFormatCLUT8());
|
||||
|
||||
// Empty surface
|
||||
byte *data = (byte *)getPixels();
|
||||
|
@ -1,8 +1,3 @@
|
||||
/* ScummVM - Graphic Adventure Engine
|
||||
*
|
||||
* ScummVM is the legal property of its developers, whose names
|
||||
* are too numerous to list here. Please refer to the COPYRIGHT
|
||||
* file distributed with this source distribution.
|
||||
/* ScummVM - Graphic Adventure Engine
|
||||
*
|
||||
* ScummVM is the legal property of its developers, whose names
|
||||
|
@ -17,10 +17,10 @@ MODULE_OBJS := \
|
||||
screen.o \
|
||||
scripts.o \
|
||||
sound.o \
|
||||
amazon\amazon_game.o \
|
||||
amazon\amazon_resources.o \
|
||||
amazon\amazon_room.o \
|
||||
amazon\amazon_scripts.o
|
||||
amazon/amazon_game.o \
|
||||
amazon/amazon_resources.o \
|
||||
amazon/amazon_room.o \
|
||||
amazon/amazon_scripts.o
|
||||
|
||||
# This module can be built as a plugin
|
||||
ifeq ($(ENABLE_ACCESS), DYNAMIC_PLUGIN)
|
||||
|
@ -445,6 +445,6 @@ RoomInfo::RoomInfo(const byte *data) {
|
||||
|
||||
_sounds.push_back(fi);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
} // End of namespace Access
|
||||
|
Loading…
x
Reference in New Issue
Block a user