finished isoengine

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 13:00:49 +01:00
1 parent 9212be15f4
commit f2e81f268c
2 files changed
+964 -23

No files matched your search

File diff suppressed because it is too large. Load diff
+10
View File
@@ -59,6 +59,16 @@ constexpr int TerrainIconCols = 9;
constexpr int xxu = 32; constexpr int xxu = 32;
constexpr int yyu = 24; constexpr int yyu = 24;
constexpr int yyuAnchor = 32; constexpr int yyuAnchor = 32;
constexpr int xxc = 32; // half of age<2 city slot size x
constexpr int yyc = 16; // half of age<2 city slot size y
// Term.pas's `TUn.Status` bit flags needed by PaintUnit()/PaintTileObjects3()
// - borrowed here the same way as xxu/yyu above (Term.pas itself isn't
// ported yet).
constexpr int usStay = 0x01;
constexpr int usGoto = 0x04;
constexpr int usEnhance = 0x08;
constexpr int usRecover = 0x10;
using InitEnemyModelEvent = std::function<bool(int emix)>; using InitEnemyModelEvent = std::function<bool(int emix)>;
enum class TileSize { Small, Medium, Big }; enum class TileSize { Small, Medium, Big };