main/gameseq.c File Reference

#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <time.h>
#include "inferno.h"
#include "game.h"
#include "key.h"
#include "object.h"
#include "physics.h"
#include "error.h"
#include "joy.h"
#include "mono.h"
#include "iff.h"
#include "pcx.h"
#include "timer.h"
#include "render.h"
#include "laser.h"
#include "screens.h"
#include "textures.h"
#include "slew.h"
#include "gauges.h"
#include "texmap.h"
#include "3d.h"
#include "effects.h"
#include "menu.h"
#include "gameseg.h"
#include "wall.h"
#include "ai.h"
#include "hostage.h"
#include "fuelcen.h"
#include "switch.h"
#include "digi.h"
#include "gamesave.h"
#include "scores.h"
#include "ibitblt.h"
#include "u_mem.h"
#include "palette.h"
#include "morph.h"
#include "lighting.h"
#include "newdemo.h"
#include "titles.h"
#include "collide.h"
#include "weapon.h"
#include "sounds.h"
#include "args.h"
#include "gameseq.h"
#include "gamefont.h"
#include "newmenu.h"
#include "endlevel.h"
#include "network.h"
#include "playsave.h"
#include "ctype.h"
#include "multi.h"
#include "fireball.h"
#include "kconfig.h"
#include "config.h"
#include "robot.h"
#include "automap.h"
#include "cntrlcen.h"
#include "powerup.h"
#include "modem.h"
#include "text.h"
#include "cfile.h"
#include "piggy.h"
#include "texmerge.h"
#include "paging.h"
#include "mission.h"
#include "state.h"
#include "songs.h"
#include "netmisc.h"
#include "joydefs.h"
#include "reorder.h"
#include "strutil.h"
#include "custom.h"
#include "observer.h"

Defines

#define N_GLITZITEMS   9

Functions

void init_player_stats_new_ship ()
void copy_defaults_to_robot_all (void)
int AdvanceLevel (int secret_flag)
void StartLevel (int random)
void HUD_clear_messages ()
void verify_console_object ()
int count_number_of_robots ()
int count_number_of_hostages ()
void gameseq_init_network_players ()
void gameseq_remove_unused_players ()
void init_player_stats_game ()
void init_ammo_and_energy (void)
void init_player_stats_level ()
void reset_player_object ()
void DoEndLevelScoreGlitzPoll (int nitems, newmenu_item *menus, int *key, int citem)
void DoGameOver ()
void do_save_game_menu ()
void update_player_stats ()
void set_sound_sources ()
void create_player_appearance_effect (object *player_obj)
int MakeNewPlayerFile (int allow_abort)
int RegisterPlayer ()
char * get_level_file (int level_num)
void LoadLevel (int level_num)
void InitPlayerObject ()
void game_disable_cheats ()
void StartNewGame (int start_level)
void ResumeSavedGame (int start_level)
void DoEndLevelScoreGlitz (int network)
void DoEndlevelMenu ()
void PlayerFinishedLevel (int secret_flag)
void do_end_game (void)
void died_in_mine_message (void)
void DoPlayerDead ()
void StartNewLevelSub (int level_num, int page_in_textures)
void StartNewLevel (int level_num)
void InitPlayerPosition (int random)
void copy_defaults_to_robot (object *objp)
void vr_reset_display ()

Variables

int Current_level_num = 0
int Next_level_num
char Current_level_name [LEVEL_NAME_LEN]
int Last_level
int Last_secret_level
int N_players = 1
int Player_num = 0
player Players [MAX_PLAYERS]
obj_position Player_init [MAX_PLAYERS]
int MaxNumNetPlayers = -1
int NumNetPlayerPositions = -1
int last_drawn_cockpit
int Last_level_path_created
fix handicap = MAX_SHIELDS
int Lhandicap = 0
static fix time_out_value
fix flash_dist = fl2f(.9)
char playername_allowed_chars [] = "azAZ09__--"
int descent_critical_error
int Secret_level_table [MAX_SECRET_LEVELS_PER_MISSION]
int Do_appearance_effect = 0
int Rear_view

Define Documentation

#define N_GLITZITEMS   9
 


Function Documentation

int AdvanceLevel int  secret_flag  ) 
 

void copy_defaults_to_robot object objp  ) 
 

void copy_defaults_to_robot_all void   ) 
 

int count_number_of_hostages  ) 
 

int count_number_of_robots  ) 
 

void create_player_appearance_effect object player_obj  ) 
 

void died_in_mine_message void   ) 
 

void do_end_game void   ) 
 

void do_save_game_menu  ) 
 

void DoEndlevelMenu  ) 
 

void DoEndLevelScoreGlitz int  network  ) 
 

void DoEndLevelScoreGlitzPoll int  nitems,
newmenu_item menus,
int *  key,
int  citem
 

void DoGameOver  ) 
 

void DoPlayerDead  ) 
 

void game_disable_cheats  ) 
 

void gameseq_init_network_players  ) 
 

void gameseq_remove_unused_players  ) 
 

char* get_level_file int  level_num  ) 
 

void HUD_clear_messages  ) 
 

void init_ammo_and_energy void   ) 
 

void init_player_stats_game  ) 
 

void init_player_stats_level  ) 
 

void init_player_stats_new_ship  ) 
 

void InitPlayerObject  ) 
 

void InitPlayerPosition int  random  ) 
 

void LoadLevel int  level_num  ) 
 

int MakeNewPlayerFile int  allow_abort  ) 
 

void PlayerFinishedLevel int  secret_flag  ) 
 

int RegisterPlayer  ) 
 

void reset_player_object  ) 
 

void ResumeSavedGame int  start_level  ) 
 

void set_sound_sources  ) 
 

void StartLevel int  random  ) 
 

void StartNewGame int  start_level  ) 
 

void StartNewLevel int  level_num  ) 
 

void StartNewLevelSub int  level_num,
int  page_in_textures
 

void update_player_stats  ) 
 

void verify_console_object  ) 
 

void vr_reset_display  ) 
 


Variable Documentation

char Current_level_name[LEVEL_NAME_LEN]
 

int Current_level_num = 0
 

int descent_critical_error
 

int Do_appearance_effect = 0
 

fix flash_dist = fl2f(.9)
 

fix handicap = MAX_SHIELDS
 

int last_drawn_cockpit
 

int Last_level
 

int Last_level_path_created
 

int Last_secret_level
 

int Lhandicap = 0
 

int MaxNumNetPlayers = -1
 

int N_players = 1
 

int Next_level_num
 

int NumNetPlayerPositions = -1
 

obj_position Player_init[MAX_PLAYERS]
 

int Player_num = 0
 

char playername_allowed_chars[] = "azAZ09__--"
 

player Players[MAX_PLAYERS]
 

int Rear_view
 

int Secret_level_table[MAX_SECRET_LEVELS_PER_MISSION]
 

fix time_out_value [static]
 


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