added msgex with deps
This commit is contained in:
1 parent
2e297a62bb
commit
72b08a830d
8 files changed
+816
No files matched your search
@@ -135,5 +135,27 @@ extern std::function<bool(int p, const QString &item)> mainScreenContactRefused;
|
||||
void chooseModelPicture(int p, int mix, int code, int hash, int turn, bool forceNew, bool final);
|
||||
void initMyModel(int mix, bool final);
|
||||
|
||||
// Term.pas's `GameMode: Integer;` (cNewGame/cLoadGame/cMovie/... - which
|
||||
// top-level mode the client is running in). NOT the same thing as
|
||||
// Database::GameMode (a different, server-side enum of the same name in a
|
||||
// different Pascal unit) - don't conflate the two.
|
||||
extern int gameMode;
|
||||
|
||||
// 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.
|
||||
constexpr int MapCenterUp = 39;
|
||||
|
||||
// Term.pas's `LostArmy`/`nLostArmy` (model-indexed lost-unit counts shown
|
||||
// by MessgEx.pas's "army destroyed" report) - stay all-zero until Term.pas
|
||||
// itself is ported and populates them for real.
|
||||
extern std::array<int, nPl * nMmax> lostArmy;
|
||||
extern int nLostArmy;
|
||||
|
||||
// Term.pas's InitAllEnemyModels()/InitEnemyModel(): resolves a picture for
|
||||
// every known enemy unit model so MessgEx.pas's "enemy army" report can
|
||||
// draw them. Injection point (default no-op) until Term.pas is ported.
|
||||
extern std::function<void()> initAllEnemyModels;
|
||||
|
||||
} // namespace Term
|
||||
} // namespace Cevo
|
||||
Reference in new issue
Block a user