2015-05-19 21:54:34 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 1997, 2005 - 3D Realms Entertainment
|
|
|
|
|
|
|
|
This file is part of Shadow Warrior version 1.2
|
|
|
|
|
|
|
|
Shadow Warrior is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
|
|
Original Source: 1997 - Frank Maddin and Jim Norwood
|
|
|
|
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef config_public_
|
|
|
|
#define config_public_
|
2019-04-08 06:28:54 +00:00
|
|
|
|
|
|
|
#include "compat.h"
|
2015-05-19 21:54:34 +00:00
|
|
|
|
2019-10-25 22:32:49 +00:00
|
|
|
#include "gamecontrol.h"
|
2015-05-19 21:54:34 +00:00
|
|
|
|
2019-10-09 16:09:05 +00:00
|
|
|
BEGIN_SW_NS
|
2019-04-08 06:28:54 +00:00
|
|
|
|
2015-05-19 21:54:34 +00:00
|
|
|
#define SETUPNAMEPARM "SETUPFILE"
|
|
|
|
|
|
|
|
// screen externs
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t ScreenBufferMode;
|
|
|
|
extern int32_t VesaBufferMode;
|
2015-05-19 21:54:34 +00:00
|
|
|
|
|
|
|
|
2019-10-26 21:45:55 +00:00
|
|
|
#if 0
|
2015-05-19 21:54:34 +00:00
|
|
|
// comm externs
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t ComPort;
|
|
|
|
extern int32_t IrqNumber;
|
|
|
|
extern int32_t UartAddress;
|
|
|
|
extern int32_t PortSpeed;
|
2015-05-19 21:54:34 +00:00
|
|
|
|
2019-10-26 21:45:55 +00:00
|
|
|
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t ToneDial;
|
2015-05-19 21:54:34 +00:00
|
|
|
extern char ModemName[MAXMODEMSTRING];
|
|
|
|
extern char InitString[MAXMODEMSTRING];
|
|
|
|
extern char HangupString[MAXMODEMSTRING];
|
|
|
|
extern char DialoutString[MAXMODEMSTRING];
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t SocketNumber;
|
2015-05-19 21:54:34 +00:00
|
|
|
extern char PhoneNames[MAXPHONEENTRIES][PHONENAMELENGTH];
|
|
|
|
extern char PhoneNumbers[MAXPHONEENTRIES][PHONENUMBERLENGTH];
|
|
|
|
extern char PhoneNumber[PHONENUMBERLENGTH];
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t NumberPlayers;
|
|
|
|
extern int32_t ConnectType;
|
2015-05-19 21:54:34 +00:00
|
|
|
extern char PlayerName[MAXPLAYERNAMELENGTH];
|
|
|
|
extern char UserLevel[MAXUSERLEVELNAMELENGTH];
|
|
|
|
extern char RTSPath[MAXRTSPATHLENGTH];
|
|
|
|
extern char UserPath[MAXUSERLEVELPATHLENGTH];
|
|
|
|
|
2019-10-26 21:45:55 +00:00
|
|
|
#endif
|
2015-05-19 21:54:34 +00:00
|
|
|
// controller externs
|
|
|
|
|
2015-05-19 21:58:29 +00:00
|
|
|
extern int32_t EnableRudder;
|
2015-05-19 21:54:34 +00:00
|
|
|
|
2019-04-08 06:28:54 +00:00
|
|
|
extern char setupfilename[BMAX_PATH];
|
2015-05-19 21:54:34 +00:00
|
|
|
extern char ExternalControlFilename[64];
|
|
|
|
|
|
|
|
|
2015-05-19 21:58:29 +00:00
|
|
|
int32_t CONFIG_ReadSetup(void);
|
|
|
|
void WriteCommitFile(int32_t gametype);
|
2015-05-19 21:54:34 +00:00
|
|
|
void CONFIG_GetSetupFilename(void);
|
|
|
|
|
|
|
|
|
2019-10-09 16:09:05 +00:00
|
|
|
END_SW_NS
|
2015-05-19 21:54:34 +00:00
|
|
|
#endif
|