about summary refs log tree commit diff stats
path: root/data/maps/daedalus/rooms/Outside Snake Room.txtpb
Commit message (Collapse)AuthorAgeFilesLines
* Changed how door location names are formattedStar Rauchenberger2025-08-301-1/+1
| | | | | | | | | | | | | | | | | | STANDARD type doors with at most four panels in the same map area and no other trigger objects will have their location names generated from the names of the panels used to open the door, similar to Lingo 1. Other door types will use the door's name. In either case, the name can be overridden using the new location_name field. Rooms can also set a panel_display_name field, which will be used in location names for doors, and is used to group panels into areas. Panels themselves can set display names, which differentiates their locations from other panels in the same area. Many maps were updated for this, but note that the_symbolic and the_unyielding have validator failures because of duplicate panel names. This won't matter until panelsanity is implemented.
* Added daedalusStar Rauchenberger2025-08-241-0/+68
> ^
ea16cff ^
7f4b6b4 ^
ea16cff ^





ea16cff ^

00658b3 ^
4d8e362 ^

00658b3 ^
ea16cff ^
ea16cff ^



e3fbcc9 ^



ea16cff ^
e3fbcc9 ^

7f4b6b4 ^


ea16cff ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57








                             

                   

                 

                 

                              


                        



                                  
                   
                          
                                                                           





                                        

                     
                     

                          
 
                     



                         



                                                         
  

                                                             


                                           


                                                        
#ifndef SUBWAY_MAP_H_BD2D843E
#define SUBWAY_MAP_H_BD2D843E

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

#include <memory>
#include <optional>
#include <set>
#include <string>
#include <vector>

#include <quadtree/Quadtree.h>

#include "game_data.h"
#include "network_set.h"

class SubwayMap : public wxPanel {
 public:
  SubwayMap(wxWindow *parent);

  void OnConnect();
  void UpdateIndicators();
  void UpdateSunwarp(SubwaySunwarp from_sunwarp, SubwaySunwarp to_sunwarp);

 private:
  void OnPaint(wxPaintEvent &event);
  void OnMouseMove(wxMouseEvent &event);

  void Redraw();

  wxImage map_image_;
  wxImage owl_image_;
  wxBitmap unchecked_eye_;
  wxBitmap checked_eye_;

  wxBitmap rendered_;
  int render_x_ = 0;
  int render_y_ = 0;
  int render_width_ = 0;
  int render_height_ = 0;

  struct GetItemBox {
    quadtree::Box<float> operator()(const int &id) const;
  };
  
  std::unique_ptr<quadtree::Quadtree<int, GetItemBox>> tree_;
  std::optional<int> hovered_item_;

  NetworkSet networks_;
  std::set<std::string> checked_paintings_;
};

#endif /* end of include guard: SUBWAY_MAP_H_BD2D843E */