Skyscraper 2.0
Skyscraper Namespace Reference

Classes

class  ActionViewer
 
class  CameraControl
 
class  CameraTextureControl
 
class  Console
 
class  CreateObject
 
class  DebugPanel
 
class  editelevator
 
class  EngineContext
 
class  EngineManager
 
class  EscalatorControl
 
class  GUI
 
class  HAL
 
class  KeyDialog
 
class  LoadDialog
 
class  MeshControl
 
class  MoveObject
 
class  ObjectInfo
 
class  ParameterViewer
 
class  PeopleManager
 
class  Profiler
 
class  ScriptProcessor
 
class  SkyControl
 
class  Skyscraper
 
class  SkySystem
 
class  SoundManager
 
class  StackWalkerToConsole
 
class  StartScreen
 
class  Stats
 
class  TextureManager
 
class  TextWindow
 
class  TreeItemData
 
class  VM
 
class  VMConsole
 
class  VMConsoleInput
 
struct  VMConsoleResult
 
class  WalkwayControl
 

Functions

LPTOP_LEVEL_EXCEPTION_FILTER WINAPI MyDummySetUnhandledExceptionFilter (LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
 
BOOL PreventSetUnhandledExceptionFilter ()
 
static LONG __stdcall CrashHandlerExceptionFilter (EXCEPTION_POINTERS *pExPtrs)
 
static void InitUnhandledExceptionFilter ()
 
static void UnhandledExceptionSetRoot (Skyscraper *root)
 
wxString TruncateNumber (float value, int decimals)
 
wxString TruncateNumber (double value, int decimals)
 
bool IsNumeric (const wxString &string)
 
bool IsNumeric (const wxString &string, int &number)
 
bool IsNumeric (const wxString &string, float &number)
 
bool IsNumeric (const wxString &string, double &number)
 
int get_macos_version (uint32_t &major, uint32_t &minor, bool &osx)
 
std::string GetColors (const std::string &color)
 

Variables

TextWindowtwindow = 0
 
Skyscraperskyscraper = 0
 
static TCHAR s_szExceptionLogFileName [_MAX_PATH] = _T("\\exceptions.log")
 
static BOOL s_bUnhandledExeptionFilterSet = FALSE
 
std::mutex mtx
 
VMConsoleInput inputmgr
 
VMConsoleResult consoleresult
 
std::mutex mtx_io
 
std::string prompt
 
std::atomic< bool > shutdown
 

Function Documentation

◆ CrashHandlerExceptionFilter()

◆ get_macos_version()

int Skyscraper::get_macos_version ( uint32_t & major,
uint32_t & minor,
bool & osx )

Definition at line 788 of file vm.cpp.

Referenced by Skyscraper::VM::ShowPlatform().

◆ GetColors()

std::string Skyscraper::GetColors ( const std::string & color)

Definition at line 606 of file vmconsole.cpp.

Referenced by Skyscraper::VMConsoleInput::operator()().

◆ InitUnhandledExceptionFilter()

static void Skyscraper::InitUnhandledExceptionFilter ( )
static

Definition at line 164 of file uexception.h.

References CrashHandlerExceptionFilter(), PreventSetUnhandledExceptionFilter(), s_bUnhandledExeptionFilterSet, and s_szExceptionLogFileName.

Referenced by Skyscraper::Skyscraper::OnInit().

Here is the call graph for this function:

◆ IsNumeric() [1/4]

◆ IsNumeric() [2/4]

bool Skyscraper::IsNumeric ( const wxString & string,
double & number )

Definition at line 805 of file debugpanel.cpp.

References SBS::IsNumeric().

Here is the call graph for this function:

◆ IsNumeric() [3/4]

bool Skyscraper::IsNumeric ( const wxString & string,
float & number )

Definition at line 798 of file debugpanel.cpp.

References SBS::IsNumeric().

Here is the call graph for this function:

◆ IsNumeric() [4/4]

bool Skyscraper::IsNumeric ( const wxString & string,
int & number )

Definition at line 791 of file debugpanel.cpp.

References SBS::IsNumeric().

Here is the call graph for this function:

◆ MyDummySetUnhandledExceptionFilter()

LPTOP_LEVEL_EXCEPTION_FILTER WINAPI Skyscraper::MyDummySetUnhandledExceptionFilter ( LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)

Definition at line 37 of file uexception.h.

Referenced by PreventSetUnhandledExceptionFilter().

◆ PreventSetUnhandledExceptionFilter()

BOOL Skyscraper::PreventSetUnhandledExceptionFilter ( )

Definition at line 43 of file uexception.h.

References MyDummySetUnhandledExceptionFilter().

Referenced by InitUnhandledExceptionFilter().

Here is the call graph for this function:

◆ TruncateNumber() [1/2]

wxString Skyscraper::TruncateNumber ( double value,
int decimals )

Definition at line 776 of file debugpanel.cpp.

References SBS::TruncateNumber().

Here is the call graph for this function:

◆ TruncateNumber() [2/2]

◆ UnhandledExceptionSetRoot()

static void Skyscraper::UnhandledExceptionSetRoot ( Skyscraper * root)
static

Definition at line 181 of file uexception.h.

References skyscraper.

Referenced by Skyscraper::Skyscraper::OnInit().

Variable Documentation

◆ consoleresult

VMConsoleResult Skyscraper::consoleresult

◆ inputmgr

VMConsoleInput Skyscraper::inputmgr
extern

◆ mtx

std::mutex Skyscraper::mtx

Definition at line 54 of file console.cpp.

Referenced by Skyscraper::Console::Write().

◆ mtx_io

std::mutex Skyscraper::mtx_io

◆ prompt

◆ s_bUnhandledExeptionFilterSet

BOOL Skyscraper::s_bUnhandledExeptionFilterSet = FALSE
static

Definition at line 89 of file uexception.h.

Referenced by InitUnhandledExceptionFilter().

◆ s_szExceptionLogFileName

TCHAR Skyscraper::s_szExceptionLogFileName[_MAX_PATH] = _T("\\exceptions.log")
static

Definition at line 88 of file uexception.h.

Referenced by InitUnhandledExceptionFilter().

◆ shutdown

std::atomic<bool> Skyscraper::shutdown

◆ skyscraper

Skyscraper* Skyscraper::skyscraper = 0

Definition at line 24 of file uexception.h.

Referenced by CrashHandlerExceptionFilter(), and UnhandledExceptionSetRoot().

◆ twindow