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

sys/curses/platform.h File Reference

Go to the source code of this file.

Defines

#define SCREEN_WIDTH   80
#define SCREEN_HEIGHT   25
#define get_entropy()   time(NULL)
#define clear_line(a)   (move((a),0), clrtoeol())
#define clrscr()   clear()
#define clrtiles()   erase()

Functions

void * malloc_throw (size_t size)
void * calloc_throw (size_t N, size_t S)
void * realloc_throw (void *ptr, size_t size)

Variables

char * file_prefix


Define Documentation

#define clear_line  )     (move((a),0), clrtoeol())
 

Definition at line 11 of file platform.h.

Referenced by draw(), UI_MF_clear(), and UI_TF_FullRedraw().

 
#define clrscr  )     clear()
 

Definition at line 12 of file platform.h.

Referenced by curses_title_screen(), Graph_ClrScr(), panic(), sys_cleanup(), and UI_Dialog_Display().

 
#define clrtiles  )     erase()
 

Definition at line 13 of file platform.h.

 
#define get_entropy  )     time(NULL)
 

Definition at line 8 of file platform.h.

Referenced by initialize(), and read_char().

#define SCREEN_HEIGHT   25
 

Definition at line 5 of file platform.h.

Referenced by char_info(), display_scores(), draw(), init_layout(), list_discoveries(), and UI_MF_history().

#define SCREEN_WIDTH   80
 

Definition at line 4 of file platform.h.

Referenced by char_info(), display_scores(), draw(), findTab(), init_layout(), list_discoveries(), UI_Menu_Redraw(), and UI_MF_history().


Function Documentation

void* calloc_throw size_t  N,
size_t  S
 

Definition at line 57 of file sysutil.c.

References panic().

void* malloc_throw size_t  size  ) 
 

Definition at line 48 of file sysutil.c.

References panic().

Referenced by init_file_prefix().

void* realloc_throw void *  ptr,
size_t  size
 

Definition at line 66 of file sysutil.c.

References panic().


Variable Documentation

char* file_prefix
 

Definition at line 6 of file platform.h.

Referenced by award_high_score(), cleanup_save(), display_scores(), init_file_prefix(), levelfile_name(), load_options(), restore_game(), save_game(), and sys_init_data_file().


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