home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d591
/
monopolysrc.lha
/
MonopolySrc
/
monopoly_source.LZH
/
defines
next >
Wrap
Text File
|
1992-01-06
|
3KB
|
150 lines
/* inc/defines contains #include & #define statements for monopoly */
#include <exec/types.h>
#include <exec/memory.h>
#include <exec/nodes.h>
#include <exec/lists.h>
#include <exec/ports.h>
#include <exec/interrupts.h>
#include <exec/io.h>
#include <exec/libraries.h>
#include <intuition/intuition.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
#include <graphics/gfxbase.h>
#include <graphics/gfxmacros.h>
#include <graphics/rastport.h>
#include <graphics/gfx.h>
#include <graphics/view.h>
#include <graphics/gels.h>
#include <graphics/collide.h>
#include <graphics/copper.h>
#include <graphics/regions.h>
#include <workbench/startup.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef LATTICE
#include <proto/all.h>
#endif
/* #include "hard:monopoly/iff/ilbm.h" */
#include "mono:iff_h/ilbm.h"
#define INTUITION_REV 33
#define GRAPHICS_REV 33
#define SAVE_IT 1
#define LOAD_IT 2
#define BOBWIDTH 7 /* My Bob constants. */
#define BOBHEIGHT 7
#define BOBDEPTH 5
#define REDX Redbob->BobVSprite->X /* position shorthand */
#define REDY Redbob->BobVSprite->Y
#define GREENX Greenbob->BobVSprite->X
#define GREENY Greenbob->BobVSprite->Y
#define BLUEX Bluebob->BobVSprite->X
#define BLUEY Bluebob->BobVSprite->Y
#define YELLOWX Yellowbob->BobVSprite->X
#define YELLOWY Yellowbob->BobVSprite->Y
#define QUIT 1 /* table of parameters for Really() */
#define SAVEGAME 2
#define NEWGAME 3
#define OLDGAME 4
#define HUMAN 1
#define COMPUTER 2
#define DEAD 3
#define white 1
#define purple 2
#define lt_blue 3
#define maroon 4
#define orange 5
#define red 6
#define yellow 7
#define green 8
#define dk_blue 9
#define black 10
#define cblue 11
#define chest_yellow 12
#define chance_orange 13
#define brite_green 14
#define royal_blue 15
#define flesh 16
#define tan 18
#define lt_gray 20
#define dk_gray 21
#define dk_maroon 22
#define bd_gray 23
#define somegray 29
#define EXDepth 5
#define maxColorReg (1<<EXDepth)
#define MIN(a,b) ((a)<(b)?(a):(b))
#define SafeFreeMem(p,q) {if(p)FreeMem(p,q);}
/* Def the size of a temp buffer used in unscrambling the ILBM rows.*/
#define bufSz 512
#define GID0 0
#define GID1 1
#define GID2 2
#define GN0 3
#define GN1 4
#define GN2 5
#define GN3 6
#define GN4 7
#define VN 8
#define DN 9
#define Fancy 0
#define SLUSH 4
#define BANK 5
#define DELAY 20000
#define BUILD 0
#define SELL 1
#define MAKE 2
#define LIFT 3
#define YES 1
#define NO 2
#define NOBIDS 5
#define GOODBID 6
#define BADBID 7
#define NO_FILE_TO_LOAD 1
#define CANT_LOCK_LOAD_FILE 2
#define OPEN_FILE_FAILED 3
#define BAD_HEADER 4
#define GAME_RESTORED 5
#define NO_FILE_TO_SAVE 6
#define DONT_OVERWRITE 7
#define CANT_LOCK_SAVE_FILE 8
#define GAME_SAVED 9
#define ALLOCMEM_FAILED 10
#define UP 1
#define DOWN 2
#define PAGE 3
#define MAX_LINES 201
#define SHOW_LINES 17
#define HELP 0x5f
/*
extern struct FileHandle *Open();
extern struct FileLock *Lock();
*/