final ports and first fixes
This commit is contained in:
1 parent
77690cbd96
commit
6f3556009a
23 files changed
+2302
-41
No files matched your search
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "Cevo/CevoStringTables.h"
|
||||
|
||||
#include <QRect>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
@@ -42,6 +43,10 @@ constexpr const char *CevoTitle = "C-evo";
|
||||
constexpr const char *CevoSubTitle = "New Horizons";
|
||||
constexpr const char *CevoExt = ".cevo";
|
||||
constexpr const char *CevoTribeExt = ".tribe.txt";
|
||||
constexpr const char *CevoHomepageShort = "app.zdechov.net/c-evo";
|
||||
constexpr const char *CevoHomepage = "https://app.zdechov.net/c-evo";
|
||||
constexpr const char *CevoContactBug = "https://app.zdechov.net/c-evo/report/1";
|
||||
constexpr const char *AITemplateFileName = "AI Template/AI development manual.html";
|
||||
|
||||
constexpr int CevoVersionMajor = 1;
|
||||
constexpr int CevoVersionMinor = 4;
|
||||
@@ -54,6 +59,17 @@ constexpr int CevoVersion = ((CevoVersionMajor & 0xFF) << 16) | ((CevoVersionMin
|
||||
// by Back.pas/Start.pas to decide fullscreen vs. windowed layout).
|
||||
extern bool fullScreen;
|
||||
|
||||
// Global.pas/ScreenTools.pas user settings: music volume (0..1) and the
|
||||
// main game window's last position/size.
|
||||
extern float musicVolume;
|
||||
extern QRect termBounds;
|
||||
|
||||
// The persisted user settings shared by the whole game (language, screen
|
||||
// mode, music, main window bounds, gamma), stored with QSettings where the
|
||||
// original used the registry. loadConfig() must run before loadAssets().
|
||||
void loadConfig();
|
||||
void saveConfig();
|
||||
|
||||
// Equivalent of a user-settings `MusicEnabled` flag (Start.pas/Direct.pas -
|
||||
// neither ported in full - toggle background music playback on/off).
|
||||
extern bool musicEnabled;
|
||||
|
||||
Reference in new issue
Block a user