/****************************************                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /*********************************
**        DragonBlade   Ver 1.0.0      **
**        Programmed by Ryan Best      **
**      © Copyright by  Ryan Best 1992 **
*****************************************/
#include "QDOffscreen.h"

#define BASE_RES_ID			400
#define	GAME_WINDOW			401				
#define	DUNGEON_WINDOW		402				
#define WELCOME_ALERT		1000
#define	GOAWAY_ALERT		1005

#define	SWORD				1
#define	DAGGER				2
#define	FLAIL				3
#define	GAUNTLETS			4
#define	CLOAK				5
#define	ARMOR				6
#define	SHIELD				7
#define	HELMET				8
#define	RING				9
#define	TORCH				10
#define	SPHERE				11
#define	BURNEDITEM			12			 
#define	OPENSLOT			101
#define	CURSED				-1

#define	FIREBALLS			2
#define	LIGHTNINGBOLTS		3
#define	EYEOFDEATH			4
#define	WOUND				5
#define	ICESTORM			6
#define	INVIS				7
#define	EVADE				8
#define	DISARM				9
#define	LOCATE				10
#define	FIRESHIELD			11
#define	ICESHIELD			12
#define HEAVYWOUND			15
#define	MAGICVIAL			100
#define	TELE1				112
#define	TELE2				111
#define	TELE3				110
#define	TELE4				109
#define	TELE5				108
#define	TELE6				107
#define	TELE7				106
#define	TELE8				105
#define	TELE9				104
#define	TELE10				103
#define	TELE11				102
#define	TELE12				101
#define	LIGHTHEAL			200
#define	FULLHEAL			201
#define	HEAVYHEAL			202
#define	RAISEDEAD			205
#define	HOME				210
#define	LIGHT				225
#define	DEXTERITY			230
#define	DEAD				1
#define	PERMDEAD			0
#define	POISONED			3

#define	ON					1
#define	OFF					0
#define	YES					1
#define	NO					0

#define	OKAY_ITEM			1
#define	CANCEL_ITEM			2
#define	ROLLER_ITEM			5
#define	TEXT_ITEM			4
	
#define NIL_POINTER			0L
#define MOVE_TO_FRONT		(WindowPtr)-1L
#define REMOVE_ALL_EVENTS	0
#define ADD_CHECKMARK		TRUE
#define REMOVE_CHECKMARK	FALSE
#define DRAG_THRESHOLD		30
#define	NIL_STRING			"\p"
#define	IGNORED_STRING		NIL_STRING
#define	NIL_FILE_FILTER		NIL_POINTER
#define	NIL_TITLE			NIL_STRING
#define	VISIBLE				TRUE
#define	NO_GO_AWAY			FALSE
#define	NIL_REF_CON			NIL_POINTER
#define	NIL_DIALOG_HOOK		NIL_POINTER
#define	NIL_SOUND_CHANNEL	NIL_POINTER
#define	SYNCHRONOUS			FALSE
#define MIN_SLEEP			0L
#define NIL_MOUSE_REGION	0L
#define WNE_TRAP_NUM		0x60
#define UNIMPL_TRAP_NUM		0x9F

#define	OPEN_ITEM			1			/* File Menu	*/
#define	CLOSE_ITEM			2
#define SAVE_ITEM			3
#define QUIT_ITEM			5
#define ABOUT_ITEM			1			/* Apple Menu	*/
#define UNDO_ITEM			1			/* Edit Menu	*/
#define	CUT_ITEM			2
#define	COPY_ITEM			3
#define PASTE_ITEM			4
#define CLEAR_ITEM			5
#define	SOUND_ON_ID			1			/* Options Menu	*/
#define	SLOWER_ON_ID		3
#define	FASTER_ON_ID		4
#define	PANIC_ON_ID			6

#define RE_ORDER_ITEM		1			/* Special Menu  */
#define	TRANSFER_ITEM		2
 
#define APPLE_MENU_ID		BASE_RES_ID
#define FILE_MENU_ID		BASE_RES_ID+1
#define	EDIT_MENU_ID		BASE_RES_ID+2
#define	OPTIONS_MENU_ID		BASE_RES_ID+3
#define SPECIAL_MENU_ID		BASE_RES_ID+4
#define ABOUT_ALERT_ID		400
#define NO_ROLL_ID			403

#define	FIRST			1
#define	SECOND			0

