2010-11-03 04:28:19 +00:00
|
|
|
/* 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.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* $URL$
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ASYLUM_SHARED_H
|
|
|
|
#define ASYLUM_SHARED_H
|
|
|
|
|
|
|
|
namespace Asylum {
|
|
|
|
|
|
|
|
enum GameFlag {
|
|
|
|
kGameFlag4 = 4,
|
|
|
|
kGameFlag12 = 12,
|
|
|
|
kGameFlagScriptProcessing = 183,
|
|
|
|
kGameFlagCommentLeavingCell = 214,
|
|
|
|
kGameFlag219 = 219,
|
|
|
|
kGameFlagSolveVCRBlowUpPuzzle = 220,
|
|
|
|
kGameFlag279 = 279,
|
|
|
|
kGameFlagFinishGame = 901
|
|
|
|
};
|
|
|
|
|
2010-11-03 04:28:42 +00:00
|
|
|
typedef int ResourceId;
|
2010-11-03 04:28:35 +00:00
|
|
|
|
|
|
|
enum ResourceIdEnum {
|
|
|
|
kResourceSound_80120001 = 0x80120001,
|
|
|
|
kResourceSound_80120006 = 0x80120006
|
|
|
|
};
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
// Helpers
|
|
|
|
#define CLEAR_ARRAY(type, name) { \
|
|
|
|
for (Common::Array<type *>::iterator it = name.begin(); it != name.end(); it++) {\
|
|
|
|
delete *it; \
|
|
|
|
*it = NULL; \
|
|
|
|
} \
|
|
|
|
name.clear(); \
|
|
|
|
}
|
|
|
|
|
2010-11-03 04:28:19 +00:00
|
|
|
} // End of namespace Asylum
|
|
|
|
|
|
|
|
#endif // ASYLUM_SHARED_H
|