added select and its deps
This commit is contained in:
1 parent
a60c60186b
commit
d65065644e
9 files changed
+2057
No files matched your search
@@ -37,6 +37,7 @@
|
||||
#include <QString>
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
|
||||
namespace Cevo {
|
||||
@@ -50,6 +51,11 @@ namespace Term {
|
||||
// added into this same namespace/file set once its turn comes.
|
||||
|
||||
constexpr int nCityType = 4;
|
||||
// Term.pas's own pseudo-advance ids (adjacent to Protocol.pas's adMilitary
|
||||
// = 0x800) used by the tech-selection dialog (Select.pas).
|
||||
constexpr int adNone = 0x801;
|
||||
constexpr int adFar = 0x802;
|
||||
constexpr int adNexus = 0x803;
|
||||
// icons.bmp properties: lines of system icons before improvements start.
|
||||
constexpr int xSizeSmall = 36;
|
||||
constexpr int ySizeSmall = 20;
|
||||
@@ -148,6 +154,19 @@ extern int gameMode;
|
||||
// `clkAge0 + Age`). Stays 0 until Term.pas is ported and updates it.
|
||||
extern int age;
|
||||
|
||||
// Term.pas's `CityRepMask: Cardinal;` (user-configurable "which city
|
||||
// events to report" bitmask, persisted via QSettings in the original -
|
||||
// not wired to settings here yet, just the documented default value).
|
||||
extern std::uint32_t cityRepMask;
|
||||
|
||||
// Term.pas's `AdvIcon: array[0..nAdv-1] of Integer;` (per-advance icon
|
||||
// index into SmallImp/HGrSystem, computed by a Term.pas init routine not
|
||||
// yet ported) - stays -1 ("no icon assigned yet") for every entry until
|
||||
// Term.pas is ported; harmless if read before that (just selects an
|
||||
// arbitrary/wrong icon, not a crash - same "pre-seed stays default" policy
|
||||
// as lostArmy[]/nLostArmy).
|
||||
extern std::array<int, nAdv> advIcon;
|
||||
|
||||
// Term.pas's layout constant (MidPanelHeight - TopBarHeight) div 2; the
|
||||
// two panel-size constants it derives from belong to Term's not-yet-ported
|
||||
// main window layout, so only the resulting fixed value is pre-seeded here.
|
||||
|
||||
Reference in new issue
Block a user