Public Member Functions |
virtual void | Init () override |
| Performs platform-specific initialization.
|
virtual SystemDialogResult | SystemDialog (SystemDialogType type, const std::string &title, const std::string &message) override |
| Displays a system dialog.
|
virtual void | GetCurrentTimeStamp (SystemTimeStamp *stamp) override |
| Returns a time stamp associated with current time.
|
virtual long long | GetTimeStampExactResolution () override |
| Returns the platform's exact (in nanosecond units) expected time stamp resolution.
|
virtual long long | TimeStampExactDiff (SystemTimeStamp *before, SystemTimeStamp *after) override |
| Returns the exact (in nanosecond units) difference between two timestamps.
|
virtual std::string | GetProfileFileLocation () override |
| Returns the profile (colobot.ini) file location.
|
virtual std::string | GetSavegameDirectoryLocation () override |
| Returns the savegame directory location.
|
TEST_VIRTUAL SystemDialogResult | ConsoleSystemDialog (SystemDialogType type, const std::string &title, const std::string &message) |
| Displays a fallback system dialog using console.
|
TEST_VIRTUAL SystemTimeStamp * | CreateTimeStamp () |
| Creates a new time stamp object.
|
TEST_VIRTUAL void | DestroyTimeStamp (SystemTimeStamp *stamp) |
| Destroys a time stamp object.
|
TEST_VIRTUAL void | CopyTimeStamp (SystemTimeStamp *dst, SystemTimeStamp *src) |
| Copies the time stamp from src to dst.
|
TEST_VIRTUAL float | GetTimeStampResolution (SystemTimeUnit unit=STU_SEC) |
| Returns the platform's expected time stamp resolution.
|
TEST_VIRTUAL float | TimeStampDiff (SystemTimeStamp *before, SystemTimeStamp *after, SystemTimeUnit unit=STU_SEC) |
| Returns a difference between two timestamps in given time unit.
|
virtual std::string | GetDataPath () |
| Returns the data path (containing textures, levels, helpfiles, etc)
|
virtual std::string | GetLangPath () |
| Returns the translations path.
|