mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
ULTIMA: ULTIMA4: Fix warnings
This commit is contained in:
parent
f2a6b34182
commit
b6945a834b
@ -81,7 +81,7 @@ void Armors::loadConf() {
|
||||
/*-------------------------------------------------------------------*/
|
||||
|
||||
Armor::Armor(ArmorType armorType, const ConfigElement &conf) :
|
||||
_type(armorType), _canUse(0xff), _mask(0) {
|
||||
_type(armorType), _canUse(0xff) /*, _mask(0) */ {
|
||||
_name = conf.getString("name");
|
||||
_defense = conf.getInt("defense");
|
||||
|
||||
|
@ -58,7 +58,7 @@ private:
|
||||
Common::String _name;
|
||||
byte _canUse;
|
||||
int _defense;
|
||||
unsigned short _mask;
|
||||
//unsigned short _mask;
|
||||
};
|
||||
|
||||
class Armors : public Std::vector<Armor *> {
|
||||
|
@ -58,8 +58,8 @@ Screen *g_screen;
|
||||
Screen::Screen() : _filterScaler(nullptr), _currentMouseCursor(-1),
|
||||
_gemLayout(nullptr), _tileAnims(nullptr), _charSetInfo(nullptr),
|
||||
_gemTilesInfo(nullptr), _needPrompt(1), _currentCycle(0),
|
||||
_cursorStatus(0), _cursorEnabled(1), _priorFrameTime(0),
|
||||
_continueScreenRefresh(true) {
|
||||
_cursorStatus(0), _cursorEnabled(1), _priorFrameTime(0)
|
||||
/* , _continueScreenRefresh(true) */ {
|
||||
g_screen = this;
|
||||
Common::fill(&_mouseCursors[0], &_mouseCursors[5], (MouseCursorSurface *)nullptr);
|
||||
Common::fill(&_los[0][0], &_los[0][0] + (VIEWPORT_W * VIEWPORT_H), 0);
|
||||
|
@ -118,7 +118,7 @@ private:
|
||||
int _cursorStatus;
|
||||
int _cursorEnabled;
|
||||
int _los[VIEWPORT_W][VIEWPORT_H];
|
||||
bool _continueScreenRefresh;
|
||||
//bool _continueScreenRefresh;
|
||||
uint32 _priorFrameTime;
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user