ASYLUM: Comment out unused variables

This commit is contained in:
Eugene Sandulenko 2021-05-17 16:19:13 +02:00
parent 6938b3995d
commit 22e949035b
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
5 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;
};
/**

View File

@ -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),

View File

@ -170,7 +170,7 @@ public:
private:
AsylumEngine *_vm;
int32 _index; ///< our index
//int32 _index; ///< our index
//////////////////////////////////////////////////////////////////////////
// Data