unitstat implementation with its requirements
This commit is contained in:
1 parent
a4eb5689a6
commit
e4c7102b85
7 files changed
+819
No files matched your search
@@ -53,6 +53,18 @@ constexpr int xSizeSmall = 36;
|
||||
constexpr int ySizeSmall = 20;
|
||||
constexpr int SystemIconLines = 2;
|
||||
|
||||
// TModel.Status bit flags.
|
||||
constexpr int msObsolete = 0x1;
|
||||
constexpr int msAllowConscripts = 0x2;
|
||||
|
||||
// Term.pas's `MainScreen.mNames.Checked` (menu checkbox: show real model
|
||||
// names vs. generic "Model #n" names) - defaults to the more useful true.
|
||||
extern bool mainScreenNamesChecked;
|
||||
// Term.pas's `Buffer: TBitmap` - a shared general-purpose scratch bitmap;
|
||||
// callers must setSize() it themselves before use (no central owner
|
||||
// resizes it yet since Term.pas's own usage isn't ported).
|
||||
extern Dpi::Bitmap buffer;
|
||||
|
||||
// Term.pas's `TPersistentData` (per-player persisted client-side settings,
|
||||
// e.g. city build-order preferences) - only the fields some leaf dialog
|
||||
// needs are ported so far; add more as needed.
|
||||
|
||||
Reference in new issue
Block a user