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

include/machdep.h File Reference


Detailed Description

Target-specific stuff.

Definition in file machdep.h.

#include <sys/unistd.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
#include <curses.h>
#include "platform.h"
#include "positions.h"

Go to the source code of this file.

Defines

#define T_TI89   1
#define T_TI92P   2
#define T_WIN32_MSC   3
#define T_UNIX   4
#define T_WIN32_MINGW   5
#define T_DOXYGEN
#define T_CPROTO
#define T_PALMOS   7
#define ENGLISH   0
#define FRENCH   1
#define CZECH   2
#define REALCOMPUTER
#define UNIX
#define EXTERNAL_COMPRESSOR   "/usr/bin/gzip"
#define USE_CURSES
#define USE_NCURSES
#define SUPPORT_COLOR
#define SHARED_SCORES
#define TYPEDEF(a)   typedef a;
#define uchar   unsigned char
#define schar   signed char
#define ushort   unsigned short
#define sshort   signed short
#define uint   unsigned short
#define sint   signed short
#define ulong   unsigned long
#define slong   signed long
#define ATTRIB(a)

Functions

int curses_title_screen (void)
const void ** dll_load (const void *f)


Define Documentation

#define ATTRIB  ) 
 

Definition at line 145 of file machdep.h.

#define CZECH   2
 

Definition at line 27 of file machdep.h.

#define ENGLISH   0
 

Definition at line 25 of file machdep.h.

#define EXTERNAL_COMPRESSOR   "/usr/bin/gzip"
 

Definition at line 71 of file machdep.h.

Referenced by load_level(), restore_game(), save_game(), and save_level().

#define FRENCH   1
 

Definition at line 26 of file machdep.h.

#define REALCOMPUTER
 

Definition at line 69 of file machdep.h.

#define schar   signed char
 

Definition at line 127 of file machdep.h.

Referenced by random_plus().

#define SHARED_SCORES
 

Definition at line 75 of file machdep.h.

#define sint   signed short
 

Definition at line 131 of file machdep.h.

Referenced by calculate_hit(), call_attackfunc(), count_adjacent_tiles(), delta_facing(), draw_tile(), facing(), facing_opposite(), facing_towards(), fstrcmp(), help(), int_helper_short(), int_helper_short_short(), int_helper_short_short_short(), int_helper_short_short_vararg(), mod_from_attribute(), monst_facing(), monstbytile(), monstcanmove(), monstmoveawayfromplayer(), monstmovetowardsplayer(), nrandom(), place_corridors(), place_monster(), place_room(), player_can_see(), player_facing(), plr_attack(), potion_numbness_expire(), sign(), study_book(), throw_item(), tile_is_occupied(), tile_is_passable(), tile_is_transparent(), UI_Menu_Hotkey(), UI_TF_MoveCamera(), UI_TF_PlaceCamera(), weapon_skill_attack(), and weapon_skill_damage().

#define slong   signed long
 

Definition at line 133 of file machdep.h.

Referenced by init_spells(), learn_spell(), refresh_spell(), restore_game(), save_game(), and study_spell().

#define sshort   signed short
 

Definition at line 129 of file machdep.h.

Referenced by pickup(), and tracevision().

#define SUPPORT_COLOR
 

Definition at line 74 of file machdep.h.

#define T_CPROTO
 

Value:

6  /* Not for actual compilation, but for extracting
                            prototypes. */

Definition at line 20 of file machdep.h.

#define T_DOXYGEN
 

Value:

4  /* Not for actual compilation, but for documentation.
                            Will pretend to be Unixy */

Definition at line 17 of file machdep.h.

#define T_PALMOS   7
 

Definition at line 23 of file machdep.h.

#define T_TI89   1
 

Definition at line 12 of file machdep.h.

#define T_TI92P   2
 

Definition at line 13 of file machdep.h.

#define T_UNIX   4
 

Definition at line 15 of file machdep.h.

#define T_WIN32_MINGW   5
 

Definition at line 16 of file machdep.h.

#define T_WIN32_MSC   3
 

Definition at line 14 of file machdep.h.

#define TYPEDEF  )     typedef a;
 

Definition at line 122 of file machdep.h.

#define uchar   unsigned char
 

Definition at line 126 of file machdep.h.

Referenced by _UI_TF_DrawTile(), draw_item(), draw_tile(), itemname(), n_itemname(), rrandom(), shortitemname(), and xrandom().

#define uint   unsigned short
 

Definition at line 130 of file machdep.h.

Referenced by addmonster(), calculate_hit(), call_attackfunc(), call_stepfunc(), count_adjacent_tiles(), count_inventory(), delta_facing(), deref_jump_table(), init_inventory(), init_layout(), init_shuffle_tab(), itemname(), monstmoveawayfromplayer(), monstmovetowardsplayer(), pickup(), place_monster(), potion_numbness_expire(), restore_game(), save_game(), StringWidth(), throw_item(), timepass(), and UI_TF_MoveCamera().

#define ulong   unsigned long
 

Definition at line 132 of file machdep.h.

Referenced by awardXP(), checksum_scores(), do_drop_item(), init_discoveries(), item_cost(), item_value(), long_helper_void(), player_gold(), sale_price(), study_book(), type_is_identified(), and void_helper_long().

#define UNIX
 

Definition at line 70 of file machdep.h.

#define USE_CURSES
 

Definition at line 72 of file machdep.h.

#define USE_NCURSES
 

Definition at line 73 of file machdep.h.

#define ushort   unsigned short
 

Definition at line 128 of file machdep.h.

Referenced by attack_tile(), fix_rust(), identify(), int_helper_pointer(), int_helper_pointer_pointer(), int_helper_pointer_short(), int_helper_short(), int_helper_short_short(), int_helper_short_short_pointer_pointer_short(), int_helper_short_short_short(), int_helper_short_short_vararg(), int_helper_void(), load_level(), monst_battle_pet(), monst_can_attack_player(), monst_detect_player(), pointer_helper_short(), save_level(), tracevision(), void_helper_pointer_short_short(), void_helper_short(), void_helper_short_pointer(), void_helper_short_short(), and void_helper_short_short_short().


Function Documentation

int curses_title_screen void   ) 
 

Definition at line 244 of file main.c.

References clrscr, display_title_screen(), and read_char().

const void** dll_load const void *  f  ) 
 

Definition at line 48 of file dll.c.

References dll_body_functions, and dll_exports.

Referenced by link_data_file().


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