OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
GameConfig::Debug Class Reference

#include <GameConfig.h>

Inheritance diagram for GameConfig::Debug:
ConfigSection

Public Member Functions

 Debug (GameConfig *config)
 
- Public Member Functions inherited from ConfigSection
 ConfigSection (Config *config, std::string_view name)
 
 ConfigSection (const ConfigSection &other)=delete
 
 ConfigSection (ConfigSection &&other)=delete
 
Configconfig () const
 
const std::string & name () const
 
void registerEntry (AnyConfigEntry *entry)
 
AnyConfigEntryentry (std::string_view name) const
 
std::vector< AnyConfigEntry * > entries () const
 

Public Attributes

Bool AllMagic
 
Bool InfiniteFood
 
Bool InfiniteGold
 
Bool LightmapDecals
 
Bool PortalOutlines
 
Bool Terrain
 
Bool TownPortal
 
Bool TurboSpeed
 
Bool WizardEye
 
Bool ShowFPS
 
Bool ShowPickedFace
 
Bool NoIntro
 
Bool NoLogo
 
Bool NoSound
 
Bool NoVideo
 
Bool NoActors
 
Bool NoDamage
 
Bool NoDecorations
 
Bool NoMargaret
 
ConfigEntry<::LogLevelLogLevel
 
Int TraceFrameTimeMs
 
ConfigEntry< RandomEngineTypeTraceRandomEngine
 
Bool TraceNoVideo
 
Bool TraceNoPartyActorCollisions
 
Bool FullMonsterID
 

Static Private Member Functions

static int ValidateFrameTime (int frameTime)
 

Constructor & Destructor Documentation

◆ Debug()

GameConfig::Debug::Debug ( GameConfig config)
inlineexplicit

Member Function Documentation

◆ ValidateFrameTime()

static int GameConfig::Debug::ValidateFrameTime ( int  frameTime)
inlinestaticprivate

Member Data Documentation

◆ AllMagic

Bool GameConfig::Debug::AllMagic
Initial value:
= {this, "all_magic", false,
"Enable all available spells for each character in spellbook bypassing all class restrictions. "
"Currently also all skills will behave like they are on GM level."}

◆ FullMonsterID

Bool GameConfig::Debug::FullMonsterID
Initial value:
= {this, "full_monster_id", false,
"Full monster info on popup."}

◆ InfiniteFood

Bool GameConfig::Debug::InfiniteFood
Initial value:
= {this, "infinite_food", false,
"Enable unlimited food, using food won't spend it."}

◆ InfiniteGold

Bool GameConfig::Debug::InfiniteGold
Initial value:
= {this, "infinite_gold", false,
"Enable unlimited gold, paying in shops won't spend it."}

◆ LightmapDecals

Bool GameConfig::Debug::LightmapDecals
Initial value:
= {this, "lightmap_decals", false,
"Draw lightmap and decals outlines."}

◆ LogLevel

ConfigEntry<::LogLevel> GameConfig::Debug::LogLevel
Initial value:
= {this, "log_level", LOG_INFO,
"Default log level. One of 'none', 'trace', 'debug', 'info', 'warning', 'error' and 'critical'."}

◆ NoActors

Bool GameConfig::Debug::NoActors
Initial value:
= {this, "no_actors", false,
"Disable all actors."}

◆ NoDamage

Bool GameConfig::Debug::NoDamage
Initial value:
= {this, "no_damage", false,
"Disable all incoming damage to party."}

◆ NoDecorations

Bool GameConfig::Debug::NoDecorations
Initial value:
= {this, "no_decorations", false,
"Disable all decorations."}

◆ NoIntro

Bool GameConfig::Debug::NoIntro
Initial value:
= {this, "no_intro", false,
"Skip intro movie on startup."}

◆ NoLogo

Bool GameConfig::Debug::NoLogo
Initial value:
= {this, "no_logo", false,
"Skip 3do logo on startup."}

◆ NoMargaret

Bool GameConfig::Debug::NoMargaret
Initial value:
= {this, "no_margareth", false,
"Disable Margaret's tour messages on Emerald Island."}

◆ NoSound

Bool GameConfig::Debug::NoSound
Initial value:
= {this, "no_sound", false,
"Don't play any sounds. Currently in-house movies are not affected."}

◆ NoVideo

Bool GameConfig::Debug::NoVideo
Initial value:
= {this, "no_video", false,
"Don't play any movies."}

◆ PortalOutlines

Bool GameConfig::Debug::PortalOutlines
Initial value:
= {this, "portal_outlines", false,
"Draw BLV portal outlines."}

◆ ShowFPS

Bool GameConfig::Debug::ShowFPS
Initial value:
= {this, "show_fps", false,
"Show debug HUD with FPS and other debug information."}

◆ ShowPickedFace

Bool GameConfig::Debug::ShowPickedFace
Initial value:
= {this, "show_picked_face", false,
"Face pointed with mouse will flash with red for buildings or green for dungeons."}

◆ Terrain

Bool GameConfig::Debug::Terrain
Initial value:
= {this, "terrain", false,
"Draw terrain as wireframe."}

◆ TownPortal

Bool GameConfig::Debug::TownPortal
Initial value:
= {this, "town_portal", false,
"Make all game locations reachable via town portal spell without requiring to visit them first."}

◆ TraceFrameTimeMs

Int GameConfig::Debug::TraceFrameTimeMs
Initial value:
= {this, "trace_frame_time_ms", 100, &ValidateFrameTime,
"Number of milliseconds per frame when recording game traces."}
static int ValidateFrameTime(int frameTime)
Definition: GameConfig.h:134

◆ TraceNoPartyActorCollisions

Bool GameConfig::Debug::TraceNoPartyActorCollisions
Initial value:
= {this, "trace_no_party_actor_collisions", false,
"Disable collisions between the party and monsters on the map when recording traces."}

◆ TraceNoVideo

Bool GameConfig::Debug::TraceNoVideo
Initial value:
= {this, "trace_no_video", true,
"Don't play movies when recording traces."}

◆ TraceRandomEngine

ConfigEntry<RandomEngineType> GameConfig::Debug::TraceRandomEngine
Initial value:
= {this, "trace_random_engine", RANDOM_ENGINE_MERSENNE_TWISTER,
"Random engine to use for trace recording, 'sequential' or 'mersenne_twister'."}
@ RANDOM_ENGINE_MERSENNE_TWISTER

◆ TurboSpeed

Bool GameConfig::Debug::TurboSpeed
Initial value:
= {this, "turbo_speed", false,
"Increase party movement speed by 12x. Most likely you want to use that option with "
"no_damage option enabled as collision physics often will shoot you in the air."}

◆ WizardEye

Bool GameConfig::Debug::WizardEye
Initial value:
= {this, "wizard_eye", false,
"Activate wizard eye spell that never expires."}

The documentation for this class was generated from the following file: