main/scores.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include "error.h"
#include "types.h"
#include "gr.h"
#include "mono.h"
#include "key.h"
#include "palette.h"
#include "game.h"
#include "gamefont.h"
#include "u_mem.h"
#include "newmenu.h"
#include "menu.h"
#include "player.h"
#include "screens.h"
#include "mouse.h"
#include "joy.h"
#include "timer.h"
#include "text.h"
#include "d_io.h"

Classes

struct  stats_info
struct  all_scores

Defines

#define VERSION_NUMBER   1
#define SCORES_FILENAME   "descent.hi"
#define COOL_MESSAGE_LEN   50
#define MAX_HIGH_SCORES   10
#define XX   (7)
#define YY   (-3)
#define TEXT_FONT   (Gamefonts[GFONT_MEDIUM_3])
#define scaley   scale
#define scalex   scale

Functions

void scores_view (int citem)
char * get_scores_filename ()
void scores_read ()
void scores_write ()
void int_to_string (int number, char *dest)
void scores_fill_struct (stats_info *stats)
void scores_maybe_add_player (int abort_flag)
void scores_rprintf (int x, int y, char *format,...)
void scores_draw_item (int i, stats_info *stats)

Variables

static all_scores Scores
stats_info Last_game
char scores_filename [128]
static float scale = 1.0

Define Documentation

#define COOL_MESSAGE_LEN   50
 

#define MAX_HIGH_SCORES   10
 

#define scalex   scale
 

#define scaley   scale
 

#define SCORES_FILENAME   "descent.hi"
 

#define TEXT_FONT   (Gamefonts[GFONT_MEDIUM_3])
 

#define VERSION_NUMBER   1
 

#define XX   (7)
 

#define YY   (-3)
 


Function Documentation

char* get_scores_filename  ) 
 

void int_to_string int  number,
char *  dest
 

void scores_draw_item int  i,
stats_info stats
 

void scores_fill_struct stats_info stats  ) 
 

void scores_maybe_add_player int  abort_flag  ) 
 

void scores_read  ) 
 

void scores_rprintf int  x,
int  y,
char *  format,
  ...
 

void scores_view int  citem  ) 
 

void scores_write  ) 
 


Variable Documentation

stats_info Last_game
 

float scale = 1.0 [static]
 

all_scores Scores [static]
 

char scores_filename[128]
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6