diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 10:53:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 10:53:24 -0400 |
commit | 4ec5bf36218ad715657bba7649598410feae2794 (patch) | |
tree | 1609a001fe5a1f461d82eb1450a0d653b3c9406d /area_window.cpp | |
parent | 9f25878acfe1c7281a96f83742349516510c5b6d (diff) | |
download | lingo-ap-tracker-4ec5bf36218ad715657bba7649598410feae2794.tar.gz lingo-ap-tracker-4ec5bf36218ad715657bba7649598410feae2794.tar.bz2 lingo-ap-tracker-4ec5bf36218ad715657bba7649598410feae2794.zip |
Sorted locations into map areas
Diffstat (limited to 'area_window.cpp')
-rw-r--r-- | area_window.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) { | |||
25 | 25 | ||
26 | void AreaWindow::OnEnterWindow(wxMouseEvent& event) { | 26 | void AreaWindow::OnEnterWindow(wxMouseEvent& event) { |
27 | std::cout << GetGameData().GetMapArea(area_id_).name << std::endl; | 27 | std::cout << GetGameData().GetMapArea(area_id_).name << std::endl; |
28 | std::cout << "---" << std::endl; | ||
29 | for (const Location& loc : GetGameData().GetMapArea(area_id_).locations) { | ||
30 | std::cout << loc.name << std::endl; | ||
31 | } | ||
32 | std::cout << "---" << std::endl; | ||
28 | } | 33 | } |
29 | 34 | ||
30 | void AreaWindow::Redraw() { | 35 | void AreaWindow::Redraw() { |