2006-03-20 16:43:15 +00:00
|
|
|
/*
|
|
|
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
|
|
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
|
|
|
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
|
|
|
|
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
|
|
|
|
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
|
|
|
|
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
|
|
|
|
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
|
|
|
|
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
|
|
|
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
|
|
|
COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* $Source: /cvsroot/dxx-rebirth/d1x-rebirth/main/inferno.h,v $
|
|
|
|
* $Revision: 1.1.1.1 $
|
|
|
|
* $Author: zicodxx $
|
|
|
|
* $Date: 2006/03/17 19:44:37 $
|
|
|
|
*
|
|
|
|
* Header file for Inferno. Should be included in all source files.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INFERNO_H
|
|
|
|
#define _INFERNO_H
|
|
|
|
|
|
|
|
#include "settings.h" //include personal settings
|
|
|
|
|
|
|
|
/**
|
|
|
|
** Constants
|
|
|
|
**/
|
|
|
|
|
|
|
|
// How close two points must be in all dimensions to be considered the same point.
|
|
|
|
#define FIX_EPSILON 10
|
|
|
|
|
2008-01-19 01:13:47 +00:00
|
|
|
// the maximum length of a filename
|
|
|
|
#define FILENAME_LEN 13
|
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
//for Function_mode variable
|
|
|
|
#define FMODE_EXIT 0 //leaving the program
|
|
|
|
#define FMODE_MENU 1 //Using the menu
|
|
|
|
#define FMODE_GAME 2 //running the game
|
|
|
|
#define FMODE_EDITOR 3 //running the editor
|
|
|
|
|
|
|
|
//This constant doesn't really belong here, but it is because of horrible
|
|
|
|
//circular dependencies involving object.h, aistruct.h, polyobj.h, & robot.h
|
|
|
|
#define MAX_SUBMODELS 10 //how many animating sub-objects per model
|
|
|
|
|
2008-01-23 17:25:09 +00:00
|
|
|
// the maximum length of a filename
|
|
|
|
#define FILENAME_LEN 13
|
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
/**
|
|
|
|
** Global variables
|
|
|
|
**/
|
|
|
|
|
|
|
|
extern int Function_mode; //in game or editor?
|
|
|
|
extern int Screen_mode; //editor screen or game screen?
|
|
|
|
extern char Menu_pcx_name[13];
|
|
|
|
extern int start_with_mission;
|
|
|
|
extern char *start_with_mission_name;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|