ported Direct.pas
This commit is contained in:
1 parent
1e9ad56b0c
commit
161164a37f
5 files changed
+400
No files matched your search
@@ -51,11 +51,19 @@ constexpr int CevoVersion = ((CevoVersionMajor & 0xFF) << 16) | ((CevoVersionMin
|
||||
// by Back.pas/Start.pas to decide fullscreen vs. windowed layout).
|
||||
extern bool fullScreen;
|
||||
|
||||
// Equivalent of a user-settings `MusicEnabled` flag (Start.pas/Direct.pas -
|
||||
// neither ported in full - toggle background music playback on/off).
|
||||
extern bool musicEnabled;
|
||||
|
||||
// Minimal equivalent of Directories.pas's GetGraphicsDir() (that whole unit
|
||||
// isn't ported - this is just the one helper needed so far). Resolves to
|
||||
// CEVO_RESOURCE_DIR/Graphics (see the top-level CMakeLists.txt).
|
||||
QString getGraphicsDir();
|
||||
|
||||
// Same minimal-port rationale as getGraphicsDir(), for Directories.pas's
|
||||
// GetMusicDir().
|
||||
QString getMusicDir();
|
||||
|
||||
// ScreenTools.pas's PngExt/JpgExt constants.
|
||||
constexpr const char *PngExt = ".png";
|
||||
constexpr const char *JpgExt = ".jpg";
|
||||
|
||||
Reference in new issue
Block a user