#include <GameOptions.h>
Enumerator |
---|
EON |
|
CX |
|
BI |
|
BASIC |
|
HoverRace::Model::GameOptions::GameOptions |
( |
| ) |
|
|
inline |
void HoverRace::Model::GameOptions::AllowOnlyCraft |
( |
Craft |
craft | ) |
|
|
inline |
Allow only a single craft (blacklist all other crafts).
- Parameters
-
void HoverRace::Model::GameOptions::BlacklistCraft |
( |
Craft |
craft | ) |
|
|
inline |
Blacklist a craft from being selected.
- Parameters
-
void HoverRace::Model::GameOptions::BlacklistObject |
( |
MR_UInt16 |
classId | ) |
|
|
inline |
Blacklists an object from spawning in the track.
- Parameters
-
classId | The object class ID (DLL ID is assumed to be ObjFac1). |
bool HoverRace::Model::GameOptions::IsCraftAllowed |
( |
Craft |
craft | ) |
const |
|
inline |
Check if a craft is allowed.
- Parameters
-
- Returns
true
if craft allowed, false
if not.
bool HoverRace::Model::GameOptions::IsObjectAllowed |
( |
MR_UInt16 |
classId | ) |
const |
|
inline |
Check if an object is allowed (by class ID).
- Parameters
-
classId | The object class ID (DLL ID is assumed to be ObjFac1). |
- Returns
true
if allowed, false
if not.
bool HoverRace::Model::GameOptions::IsWeaponsEnabled |
( |
| ) |
const |
|
inline |
Pick a random craft from the list of all crafts.
- Returns
- A craft.
void HoverRace::Model::GameOptions::SetWeaponsEnabled |
( |
bool |
enabled | ) |
|
|
inline |
char HoverRace::Model::GameOptions::ToFlags |
( |
| ) |
const |
Converts this instance to legacy "gameOpts" flags.
- Returns
- This instance as a char.
std::bitset<4> HoverRace::Model::GameOptions::craftBlacklist |
|
private |
std::bitset<1104> HoverRace::Model::GameOptions::objectBlacklist |
|
private |
bool HoverRace::Model::GameOptions::weaponsEnabled |
|
private |
The documentation for this class was generated from the following files: