| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- /*
- ** Command & Conquer Renegade(tm)
- ** Copyright 2025 Electronic Arts Inc.
- **
- ** This program 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 3 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, see <http://www.gnu.org/licenses/>.
- */
- //
- // Filename: useroptions.h
- // Author: Tom Spencer-Smith
- // Date: Dec 1999
- // Description:
- //
- //-----------------------------------------------------------------------------
- #if defined(_MSV_VER)
- #pragma once
- #endif
- #ifndef USEROPTIONS_H
- #define USEROPTIONS_H
- #include "regbool.h"
- #include "regint.h"
- #include "regfloat.h"
- #include "boolean.h"
- #include "regstring.h"
- #include "bandwidth.h"
- //-----------------------------------------------------------------------------
- //
- // Various options that the player chooses
- //
- class cUserOptions
- {
- public:
- static bool Parse_Command_Line(LPCSTR command);
- static void Set_Server_INI_File(char *cmd_line_entry);
- static void Set_Bandwidth_Type(BANDWIDTH_TYPE_ENUM bandwidth_type);
- static BANDWIDTH_TYPE_ENUM Get_Bandwidth_Type(void);
- static void Set_Bandwidth_Bps(int bandwidth_bbs);
- static void Reread(void);
- static cRegistryBool ShowNamesOnSoldier;
- static cRegistryBool SkipQuitConfirmDialog;
- static cRegistryBool SkipIngameQuitConfirmDialog;
- static cRegistryBool CameraLockedToTurret;
- static cRegistryBool PermitDiagLogging;
- static cRegistryInt Sku;
- static cRegistryInt BandwidthBps;
- static cRegistryInt BandwidthType;
- static cRegistryInt GameSpyBandwidthType;
- static cRegistryInt PreferredGameSpyNic;
- static cRegistryString GameSpyNickname;
- static cRegistryInt GameSpyGamePort;
- static cRegistryInt GameSpyQueryPort;
- static cRegistryInt SplashCount;
- static cRegistryBool DoneClientBandwidthTest;
- static cRegistryInt PreferredLanNic;
- static cRegistryInt NetUpdateRate;
- static cRegistryFloat ClientHintFactor;
- static cRegistryFloat MaxFacingPenalty;
- static cRegistryFloat IrrelevancePenalty;
- static cRegistryInt ResultsLogNumber;
- private:
- };
- //-----------------------------------------------------------------------------
- #endif // USEROPTIONS_H
- /*
- static cRegistryInt GameListFilterMaxPing;
- static cRegistryInt GameListFilterMinPlayersPresent;
- static cRegistryInt GameListFilterMaxPlayersPresent;
- static cRegistryInt GameListFilterMaxPlayersPermitted;
- static cRegistryBool GameListFilterShowPrivateGames;
- static cRegistryBool GameListFilterShowOnlyDedicatedGames;
- static cRegistryBool GameListFilterShowOnlyGamesIRankFor;
- */
|