dxx-rebirth/main/config.h
kiplingw 4328ddcb05 Added: Mostly stubbed out test code for game tracker server stuff...
Fixed: Cleaned up some GUI macro code in menu.c...
Updated: CHANGELOG.txt for end user level changes...
SConstruct: Cleaned up build system a bit with prettier build messages, added a feature or two, and included tracker source
Fixed: Fixed harmless warnings on no new line at end of some source files...
2008-07-26 17:57:13 +00:00

55 lines
1.4 KiB
C

/*
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.
*/
/*
*
* prototype definitions for descent.cfg reading/writing
*
*/
#ifndef _CONFIG_H
#define _CONFIG_H
#include "player.h"
#include "mission.h"
typedef struct Cfg
{
ubyte DigiVolume;
ubyte MusicVolume;
int SndEnableRedbook;
int ReverseStereo;
int GammaLevel;
char LastPlayer[CALLSIGN_LEN+1];
char LastMission[MISSION_NAME_LEN+1];
int ResolutionX;
int ResolutionY;
int AspectX;
int AspectY;
int WindowMode;
int TexFilt;
int VSync;
int Multisample;
int JukeboxOn;
char JukeboxPath[PATH_MAX+1];
char MplIpHostAddr[128];
char TrackerServer[128];
} __pack__ Cfg;
extern struct Cfg GameCfg;
extern int ReadConfigFile(void);
extern int WriteConfigFile(void);
#endif