2
Copyright (C) 1994-1995 Apogee Software, Ltd.
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
as published by the Free Software Foundation; either version 2
7
of the License, or (at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
See the GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
#ifndef _rt_cfg_public
21
#define _rt_cfg_public
23
//****************************************************************************
25
// Public header for RT_CFG.C
27
//****************************************************************************
30
//****************************************************************************
34
//****************************************************************************
40
extern boolean mouseenabled;
41
extern boolean joystickenabled;
42
extern boolean joypadenabled;
43
extern int joystickport;
44
extern int mouseadjustment;
47
extern int NumChannels;
49
extern int MidiAddress;
50
extern boolean stereoreversed;
51
extern boolean cybermanenabled;
52
extern boolean assassinenabled;
53
extern boolean spaceballenabled;
54
extern boolean AutoDetailOn;
55
extern int DoubleClickSpeed;
57
extern boolean BobbinOn;
58
extern int Menuflipspeed;
59
extern int DetailLevel;
62
extern char CodeName[9];
64
extern char *ApogeePath;
66
extern char ApogeePath[256];
69
extern int DefaultDifficulty;
70
extern int DefaultPlayerCharacter;
71
extern int DefaultPlayerColor;
72
extern byte passwordstring[20];
79
} AlternateInformation;
81
extern AlternateInformation RemoteSounds;
82
extern AlternateInformation PlayerGraphics;
83
extern AlternateInformation GameLevels;
84
extern AlternateInformation BattleLevels;
86
#define MAXMACROLENGTH 32
91
char macro[MAXMACROLENGTH+1];
94
extern MacroList CommbatMacros[MAXMACROS];
96
//****************************************************************************
100
//****************************************************************************
102
void WriteBattleConfig(void);
103
void ReadScores (void);
104
void ReadInt (const char * s1, int * val);
105
void ReadBoolean (const char * s1, boolean * val);
106
void ReadConfig (void);
107
void WriteParameter (int file, const char * s1, int val);
108
void WriteScores (void);
109
void WriteConfig (void);
110
void ReadSETUPFiles (void);
111
void DeleteSoundFile ( void );
112
void CheckVendor (void);
113
void ConvertStringToPasswordString ( char * string );
114
void ConvertPasswordStringToPassword ( void );
115
void ConvertPasswordStringToString ( char * string );
116
void ConvertPasswordToPasswordString ( void );