main/mission.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "cfile.h"
#include "inferno.h"
#include "mission.h"
#include "gameseq.h"
#include "titles.h"
#include "mono.h"
#include "error.h"
#include "d_glob.h"
#include "d_slash.h"

Defines

#define BIM_LAST_LEVEL   27
#define BIM_LAST_SECRET_LEVEL   -3
#define BIM_BRIEFING_FILE   "briefing.tex"
#define BIM_ENDING_FILE   "endreg.tex"

Functions

char * mfgets (char *s, int n, FILE *f)
int istok (char *buf, char *tok)
void add_term (char *s)
char * get_value (char *buf)
char * get_parm_value (char *parm, FILE *f)
int ml_sort_func (mle *e0, mle *e1)
int build_mission_list (int anarchy_mode)
int load_mission (int mission_num)
int load_mission_by_name (char *mission_name)

Variables

mle Mission_list [MAX_MISSIONS]
int Current_mission_num
char * Current_mission_filename
char * Current_mission_longname
char Level_names [MAX_LEVELS_PER_MISSION][13]
char Secret_level_names [MAX_SECRET_LEVELS_PER_MISSION][13]

Define Documentation

#define BIM_BRIEFING_FILE   "briefing.tex"
 

#define BIM_ENDING_FILE   "endreg.tex"
 

#define BIM_LAST_LEVEL   27
 

#define BIM_LAST_SECRET_LEVEL   -3
 


Function Documentation

void add_term char *  s  ) 
 

int build_mission_list int  anarchy_mode  ) 
 

char* get_parm_value char *  parm,
FILE *  f
 

char* get_value char *  buf  ) 
 

int istok char *  buf,
char *  tok
 

int load_mission int  mission_num  ) 
 

int load_mission_by_name char *  mission_name  ) 
 

char* mfgets char *  s,
int  n,
FILE *  f
 

int ml_sort_func mle e0,
mle e1
 


Variable Documentation

char* Current_mission_filename
 

char * Current_mission_longname
 

int Current_mission_num
 

char Level_names[MAX_LEVELS_PER_MISSION][13]
 

mle Mission_list[MAX_MISSIONS]
 

char Secret_level_names[MAX_SECRET_LEVELS_PER_MISSION][13]
 


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