feat(editor): select all, recent zones, minimap selection highlights

- Ctrl+A selects all placed objects, context menu has Select All item
- selectAll() added to ObjectPlacer, works with multi-select transforms
- Recent Zones submenu in File menu (last 8 loaded zones, deduplicated)
- Minimap: selected objects shown as white dots with gold ring outline
  vs yellow dots for unselected objects
- Help panel updated with Ctrl+A and Ctrl+Shift+Click documentation
This commit is contained in:
Kelsi 2026-05-05 13:52:02 -07:00
parent ddf97e9b8a
commit 533c218983
5 changed files with 49 additions and 3 deletions

View file

@ -138,12 +138,17 @@ private:
bool autoSaveEnabled_ = true;
bool showQuitConfirm_ = false;
// Recent zones
struct RecentZone { std::string mapName; int tileX; int tileY; };
std::vector<RecentZone> recentZones_;
// Toast notifications
struct Toast { std::string msg; float timer; };
std::vector<Toast> toasts_;
public:
void showToast(const std::string& msg, float duration = 3.0f);
const std::vector<Toast>& getToasts() const { return toasts_; }
const std::vector<RecentZone>& getRecentZones() const { return recentZones_; }
void updateToasts(float dt);
private:
size_t lastObjCount_ = 0;