mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
ACCESS: Initialize some variables
This commit is contained in:
parent
d58f250918
commit
77302c406f
@ -94,6 +94,9 @@ AccessEngine::AccessEngine(OSystem *syst, const AccessGameDescription *gameDesc)
|
||||
_cheatFl = false;
|
||||
_restartFl = false;
|
||||
_printEnd = 0;
|
||||
for (int i = 0; i < 100; i++)
|
||||
_objectsTable[i] = nullptr;
|
||||
_clearSummaryFlag = false;
|
||||
}
|
||||
|
||||
AccessEngine::~AccessEngine() {
|
||||
|
@ -40,6 +40,10 @@ void FileIdent::load(Common::SeekableReadStream &s) {
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
CellIdent:: CellIdent() {
|
||||
_cell = 0;
|
||||
}
|
||||
|
||||
CellIdent::CellIdent(int cell, int fileNum, int subfile) {
|
||||
_cell = cell;
|
||||
_fileNum = fileNum;
|
||||
|
@ -46,7 +46,7 @@ struct FileIdent {
|
||||
struct CellIdent : FileIdent {
|
||||
byte _cell;
|
||||
|
||||
CellIdent() {}
|
||||
CellIdent();
|
||||
CellIdent(int cell, int fileNum, int subfile);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user