From 4ec5bf36218ad715657bba7649598410feae2794 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 2 May 2023 10:53:24 -0400 Subject: Sorted locations into map areas --- area_window.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'area_window.cpp') diff --git a/area_window.cpp b/area_window.cpp index b142525..482dcb0 100644 --- a/area_window.cpp +++ b/area_window.cpp @@ -25,6 +25,11 @@ void AreaWindow::OnPaint(wxPaintEvent& event) { void AreaWindow::OnEnterWindow(wxMouseEvent& event) { std::cout << GetGameData().GetMapArea(area_id_).name << std::endl; + std::cout << "---" << std::endl; + for (const Location& loc : GetGameData().GetMapArea(area_id_).locations) { + std::cout << loc.name << std::endl; + } + std::cout << "---" << std::endl; } void AreaWindow::Redraw() { -- cgit 1.4.1