Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

include/config.h File Reference


Detailed Description

Configuration options.

Definition in file config.h.

Go to the source code of this file.

Defines

#define OPTIMIZE_ROM_CALLS
#define REGISTERVAR
#define SET_FILE_IN_USE_BIT
 Work around AMS twin-symbol bug.

#define ALLOWDEBUG
 Disable RLE compression, still use Huffman.

#define CROGUE_VERSION   "Pre-Beta 6a"
 Version string.

#define CROGUE_VERSION_MAJOR   6
 Version number (major).

#define CROGUE_VERSION_MINOR   0
 Version number (minor).

#define SAVEFILENAME   "rgsave"
 Name of save file.

#define DATAFILENAME   "crogdat"
 (Calculator) name of data file

#define DATAFILENAME_PC   "crogdat.dat"
 (PC) Name of data file

#define SCOREFILENAME   "rgscores"
 Name of high-score file.

#define NUM_SCORES   10
 Maximum entries in high-score file.

#define DLLFILENAME   "crogdll"
 (Calculator) name of DLL

#define DLL_IDENTIFICATION_NUMBER   (0x6CA4F134+CROGUE_VERSION_MAJOR*10+CROGUE_VERSION_MINOR)
#define MONSTERS_MAX   128
 Maximum # of monsters on one level at one time.

#define MESSAGEBUF_SIZE   512
 Amount of storage used for message history. Should be a power of 2.

#define PLRINVSIZE   50
 Number of items the player can carry at a time.

#define DELAY_AMOUNT   3
 Length of the delay() function on calculators, in timer ticks (1/20 s).

#define DELAY_AMOUNT_PC   80
 Length of the delay() function on PC, in ms.

#define LEVEL_SCORE_FACTOR   100
 Multiplier to points for reaching a level.

#define DEFAULT_COLOR   8
 Color used for messages, status line, etc.


Define Documentation

#define ALLOWDEBUG
 

Disable RLE compression, still use Huffman.

Definition at line 18 of file config.h.

#define CROGUE_VERSION   "Pre-Beta 6a"
 

Version string.

Definition at line 37 of file config.h.

Referenced by display_title_screen().

#define CROGUE_VERSION_MAJOR   6
 

Version number (major).

Definition at line 39 of file config.h.

#define CROGUE_VERSION_MINOR   0
 

Version number (minor).

Definition at line 41 of file config.h.

#define DATAFILENAME   "crogdat"
 

(Calculator) name of data file

Definition at line 46 of file config.h.

#define DATAFILENAME_PC   "crogdat.dat"
 

(PC) Name of data file

Definition at line 48 of file config.h.

Referenced by sys_init_data_file().

#define DEFAULT_COLOR   8
 

Color used for messages, status line, etc.

Definition at line 76 of file config.h.

Referenced by _UI_TF_DrawTile(), display_title_screen(), and sys_init().

#define DELAY_AMOUNT   3
 

Length of the delay() function on calculators, in timer ticks (1/20 s).

Definition at line 70 of file config.h.

#define DELAY_AMOUNT_PC   80
 

Length of the delay() function on PC, in ms.

Definition at line 72 of file config.h.

Referenced by delay().

#define DLL_IDENTIFICATION_NUMBER   (0x6CA4F134+CROGUE_VERSION_MAJOR*10+CROGUE_VERSION_MINOR)
 

Number used to make sure it's the right DLL. Arbitrary, but should be different in each version.

Definition at line 59 of file config.h.

#define DLLFILENAME   "crogdll"
 

(Calculator) name of DLL

Definition at line 54 of file config.h.

#define LEVEL_SCORE_FACTOR   100
 

Multiplier to points for reaching a level.

Definition at line 74 of file config.h.

Referenced by gen_map().

#define MESSAGEBUF_SIZE   512
 

Amount of storage used for message history. Should be a power of 2.

Definition at line 65 of file config.h.

Referenced by _UI_MF_savemsg(), and UI_MF_history().

#define MONSTERS_MAX   128
 

Maximum # of monsters on one level at one time.

Definition at line 63 of file config.h.

Referenced by base_coat(), cause_confusion(), compress_monsters(), gather_wandering_monsters(), load_level(), monstbytile(), place_monster(), save_level(), and timepass().

#define NUM_SCORES   10
 

Maximum entries in high-score file.

Definition at line 52 of file config.h.

Referenced by award_high_score(), and display_scores().

#define OPTIMIZE_ROM_CALLS
 

Special calling convention for size- optimization (Handled by library headers)

Definition at line 8 of file config.h.

#define PLRINVSIZE   50
 

Number of items the player can carry at a time.

Definition at line 67 of file config.h.

Referenced by award_item_points(), count_inventory(), debit_gold(), filter_matches(), give_item(), give_item_slip(), init_inventory(), item_by_sequence(), itemstring(), num_player_equipment(), player_equipment(), player_gold(), sort_inventory(), throw_readied_item(), timepass(), and update_player().

#define REGISTERVAR
 

Keep the address of the game's state in a register (for size improvement). Automatically disabled on non-supporting platforms.

Definition at line 12 of file config.h.

#define SAVEFILENAME   "rgsave"
 

Name of save file.

Definition at line 44 of file config.h.

Referenced by cleanup_save(), restore_game(), and save_game().

#define SCOREFILENAME   "rgscores"
 

Name of high-score file.

Definition at line 50 of file config.h.

Referenced by award_high_score(), display_scores(), and load_options().

#define SET_FILE_IN_USE_BIT
 

Work around AMS twin-symbol bug.

Definition at line 16 of file config.h.


Generated on Thu May 20 13:12:12 2004 for CalcRogue by doxygen 1.3.6