mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-06-26 02:10:04 +00:00
* Groundwork for nanocom boosters * The item use handler now has a switch for multiple item types (currently gumballs, and a stub for boosters) * All item types are now checked for expiration, not just vehicles * implement nanocom booster helpers, save and expiry * implement authentic taro and fm modfication * magic number and code refactor * make sure only close by group members are counted * add safe taro fm handling, rate command, race and mission booster logic * add config option to disable authentic group scaling * rename for consistency * make rates percentages, fix chat message, add config options * add config option to the ini file * add index guard for hasBoost functions * reorder config ini options * add bank item expiry option * fix trade oversight --------- Co-authored-by: CakeLancelot <CakeLancelot@users.noreply.github.com>
56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <string>
|
|
#include <time.h>
|
|
|
|
namespace settings {
|
|
extern int VERBOSITY;
|
|
extern bool SANDBOX;
|
|
extern std::string SANDBOXEXTRAPATH;
|
|
extern int LOGINPORT;
|
|
extern bool APPROVEWHEELNAMES;
|
|
extern bool APPROVECUSTOMNAMES;
|
|
extern bool AUTOCREATEACCOUNTS;
|
|
extern std::string AUTHMETHODS;
|
|
extern int DBSAVEINTERVAL;
|
|
extern int SHARDPORT;
|
|
extern std::string SHARDSERVERIP;
|
|
extern bool LOCALHOSTWORKAROUND;
|
|
extern bool ANTICHEAT;
|
|
extern time_t TIMEOUT;
|
|
extern int VIEWDISTANCE;
|
|
extern bool SIMULATEMOBS;
|
|
extern int SPAWN_X;
|
|
extern int SPAWN_Y;
|
|
extern int SPAWN_Z;
|
|
extern int SPAWN_ANGLE;
|
|
extern int ACCLEVEL;
|
|
extern std::string MOTDSTRING;
|
|
extern std::string NPCJSON;
|
|
extern std::string XDTJSON;
|
|
extern std::string MOBJSON;
|
|
extern std::string PATHJSON;
|
|
extern std::string DROPSJSON;
|
|
extern std::string EGGSJSON;
|
|
extern std::string GRUNTWORKJSON;
|
|
extern std::string DBPATH;
|
|
extern std::string PATCHDIR;
|
|
extern std::string ENABLEDPATCHES;
|
|
extern std::string TDATADIR;
|
|
extern int EVENTMODE;
|
|
extern bool MONITORENABLED;
|
|
extern int MONITORPORT;
|
|
extern std::string MONITORLISTENIP;
|
|
extern int MONITORINTERVAL;
|
|
extern bool DISABLEFIRSTUSEFLAG;
|
|
extern bool IZRACESCORECAPPED;
|
|
extern bool DROPFIXESENABLED;
|
|
extern bool LESSTAROFMINGROUPDISABLED;
|
|
extern int TARORATE;
|
|
extern int FUSIONMATTERRATE;
|
|
extern bool REMOVEEXPIREDITEMSFROMBANK;
|
|
|
|
void init();
|
|
}
|