/* ScummVM - Scumm Interpreter * Copyright (C) 2001/2002 The ScummVM project * * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Header$ * */ #ifndef SIMON_H #define SIMON_H #include #include "engine.h" #include "simon/midi.h" #include "sound/mixer.h" /* Various other settings */ //#define DUMP_CONTINOUS_MAINSCRIPT //#define DUMP_START_MAINSCRIPT //#define DUMP_CONTINOUS_VGASCRIPT //#define USE_TEXT_HACK //#define DRAW_IMAGES_DEBUG //#define DRAW_THREE_STARS //#define DUMP_START_VGASCRIPT //#define DUMP_FILE_NR 8 //#define DUMP_BITMAPS_FILE_NR 8 //#define DUMP_DRAWN_BITMAPS uint fileReadByte(FILE *in); uint fileReadBE16(FILE *in); uint fileReadLE16(FILE *in); uint32 fileReadBE32(FILE *in); uint32 fileReadLE32(FILE *in); void fileWriteBE32(FILE *in, uint32 value); void fileWriteBE16(FILE *in, uint16 value); uint fileReadItemID(FILE *in); #define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0])) #define CHECK_BOUNDS(x,y) assert((uint)(x)