Add an SDF picker for selecting a stuff done flag and optionally giving it a name.

In effect, this is a combination of two of the previous pickers:
the location picker, and the editable string picker.

This required quite a significant rework of how the tilemap places its children.

Currently it's only used in special node editing.
I plan to add its use in many other places too though.
This commit is contained in:
2025-03-02 00:38:58 -05:00
committed by Celtic Minstrel
parent 413b274b61
commit 3d48cb14e7
27 changed files with 504 additions and 62 deletions

View File

@@ -119,6 +119,7 @@
915AF9E81BBF8B5C008AEF49 /* scrollpane.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 919B13A81BBE2B54009905A4 /* scrollpane.cpp */; };
9170C50F2D717F24009B6E7C /* scen.locpicker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9170C50C2D717F24009B6E7C /* scen.locpicker.cpp */; };
9170C5102D717F24009B6E7C /* scen.locpicker.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 9170C50D2D717F24009B6E7C /* scen.locpicker.hpp */; };
9170C5272D74237A009B6E7C /* scen.sdfpicker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9170C5252D74237A009B6E7C /* scen.sdfpicker.cpp */; };
9176FEC71D550EFE006EF694 /* out_legacy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9176FEC01D550EFC006EF694 /* out_legacy.cpp */; };
9176FEC81D550EFE006EF694 /* scen_legacy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9176FEC11D550EFC006EF694 /* scen_legacy.cpp */; };
9176FECB1D550EFE006EF694 /* talk_legacy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9176FEC41D550EFD006EF694 /* talk_legacy.cpp */; };
@@ -738,6 +739,8 @@
9169C31F1B37A5D50041002B /* BoE Scenario Editor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BoE Scenario Editor.app"; sourceTree = BUILT_PRODUCTS_DIR; };
9170C50C2D717F24009B6E7C /* scen.locpicker.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = scen.locpicker.cpp; sourceTree = "<group>"; };
9170C50D2D717F24009B6E7C /* scen.locpicker.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = scen.locpicker.hpp; sourceTree = "<group>"; };
9170C5252D74237A009B6E7C /* scen.sdfpicker.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = scen.sdfpicker.cpp; sourceTree = "<group>"; };
9170C5262D74237A009B6E7C /* scen.sdfpicker.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = scen.sdfpicker.hpp; sourceTree = "<group>"; };
9176FEC01D550EFC006EF694 /* out_legacy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = out_legacy.cpp; sourceTree = "<group>"; };
9176FEC11D550EFC006EF694 /* scen_legacy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = scen_legacy.cpp; sourceTree = "<group>"; };
9176FEC41D550EFD006EF694 /* talk_legacy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = talk_legacy.cpp; sourceTree = "<group>"; };
@@ -1452,6 +1455,7 @@
91B3EEE00F969BA700BF5B67 /* scen.keydlgs.hpp */,
9170C50D2D717F24009B6E7C /* scen.locpicker.hpp */,
914CA4641909B00100B6ADD1 /* scen.menus.hpp */,
9170C5262D74237A009B6E7C /* scen.sdfpicker.hpp */,
91B3EEE60F969BA700BF5B67 /* scen.townout.hpp */,
);
name = headers;
@@ -1470,6 +1474,7 @@
91B3EEEB0F969BA700BF5B67 /* scen.main.cpp */,
9170C50C2D717F24009B6E7C /* scen.locpicker.cpp */,
914CA45719074D0A00B6ADD1 /* scen.menus.mac.mm */,
9170C5252D74237A009B6E7C /* scen.sdfpicker.cpp */,
91B3EEF40F969BA700BF5B67 /* scen.townout.cpp */,
);
name = src;
@@ -2206,6 +2211,7 @@
413AAF652D38A48E002E9BF1 /* pc.cpp in Sources */,
413AAF642D38A47C002E9BF1 /* population.cpp in Sources */,
9170C50F2D717F24009B6E7C /* scen.locpicker.cpp in Sources */,
9170C5272D74237A009B6E7C /* scen.sdfpicker.cpp in Sources */,
413AAF632D38A1B8002E9BF1 /* party.cpp in Sources */,
413AAF622D38A076002E9BF1 /* universe.cpp in Sources */,
413AAF612D389F94002E9BF1 /* fileio_party.cpp in Sources */,