mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
ASYLUM: Comment out unused variables
This commit is contained in:
parent
6938b3995d
commit
22e949035b
@ -50,8 +50,8 @@ private:
|
||||
|
||||
// Unused puzzle variables
|
||||
int8 _state[5];
|
||||
bool _data_4572BC;
|
||||
bool _data_4572CC;
|
||||
//bool _data_4572BC;
|
||||
//bool _data_4572CC;
|
||||
uint32 _data_45AAA8;
|
||||
uint32 _data_45AAAC;
|
||||
uint32 _currentFrameIndex;
|
||||
|
@ -131,7 +131,7 @@ void SharedData::reset() {
|
||||
_chapter2FrameIndexOffset = 1;
|
||||
}
|
||||
|
||||
static const uint32 chapter2DataSizes[5] = {5, 9, 23, 18, 9};
|
||||
//static const uint32 chapter2DataSizes[5] = {5, 9, 23, 18, 9};
|
||||
int32 &CrowsData::operator[](uint32 index) {
|
||||
if (index >= ARRAYSIZE(_data))
|
||||
error("[CrowsData::operator[]] Invalid index (was: %d, valid: [0;%d])", index, ARRAYSIZE(_data) - 1);
|
||||
|
@ -51,11 +51,11 @@ class SharedData;
|
||||
|
||||
class CrowsData {
|
||||
public:
|
||||
CrowsData(SharedData *sharedData) : _sharedData(sharedData), _data() {}
|
||||
CrowsData(SharedData *sharedData) : /* _sharedData(sharedData), */_data() { memset(_data, 0, sizeof(_data)); }
|
||||
int32 &operator [](uint32 index);
|
||||
private:
|
||||
int32 _data[84];
|
||||
SharedData *_sharedData;
|
||||
//SharedData *_sharedData;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -37,7 +37,7 @@
|
||||
namespace Asylum {
|
||||
|
||||
Object::Object(AsylumEngine *engine) : x(0), y(0), flags(0), actionType(0),
|
||||
_vm(engine), _index(0),
|
||||
_vm(engine), /* _index(0), */
|
||||
_id(kObjectNone), _resourceId(kResourceNone), _field_20(0), _frameIndex(0), _frameCount(0),
|
||||
_field_2C(0), _field_30(0), _field_34(0), _field_3C(0), _polygonIndex(0), _field_B4(0),
|
||||
_tickCount(0), _tickCount2(0), _field_C0(0), _priority(0), _scriptIndex(0), _transparency(0),
|
||||
|
@ -170,7 +170,7 @@ public:
|
||||
private:
|
||||
AsylumEngine *_vm;
|
||||
|
||||
int32 _index; ///< our index
|
||||
//int32 _index; ///< our index
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Data
|
||||
|
Loading…
Reference in New Issue
Block a user