about summary refs log tree commit diff stats
path: root/data/maps/the_entry/rooms
ModeNameSize
-rw-r--r--Blue Alcove.txtpb269log stats plain blame
-rw-r--r--Colored Doors Area.txtpb610log stats plain blame
-rw-r--r--Composite Room Entrance.txtpb153log stats plain blame
-rw-r--r--Ctrl Tutorial.txtpb288log stats plain blame
-rw-r--r--D Room Final.txtpb103log stats plain blame
-rw-r--r--D Room.txtpb960log stats plain blame
-rw-r--r--Daedalus Entrance.txtpb145log stats plain blame
-rw-r--r--Digital Entrance.txtpb142log stats plain blame
-rw-r--r--Entry Exit.txtpb136log stats plain blame
-rw-r--r--Eye Room.txtpb713log stats plain blame
-rw-r--r--Flipped Link Area.txtpb461log stats plain blame
-rw-r--r--Flipped Pyramid Area.txtpb279log stats plain blame
-rw-r--r--Flipped Right Eye.txtpb282log stats plain blame
-rw-r--r--Flipped Second Room.txtpb583log stats plain blame
-rw-r--r--Gallery Return.txtpb261log stats plain blame
-rw-r--r--Least Blue Last.txtpb1487log stats plain blame
-rw-r--r--Lime Room.txtpb514log stats plain blame
-rw-r--r--Link Area.txtpb760log stats plain blame
-rw-r--r--Parthenon Return.txtpb270log stats plain blame
-rw-r--r--Rabbit Hole.txtpb206log stats plain blame
-rw-r--r--Red Alcove.txtpb268log stats plain blame
-rw-r--r--Red Blue Halls.txtpb1128log stats plain blame
-rw-r--r--Repetitive Entrance.txtpb150log stats plain blame
-rw-r--r--Right Eye.txtpb642log stats plain blame
-rw-r--r--Shop Entrance.txtpb251log stats plain blame
-rw-r--r--Starting Room.txtpb1710log stats plain blame
-rw-r--r--Trick Room.txtpb204log stats plain blame
-rw-r--r--White Hallway To Daedalus.txtpb159log stats plain blame
-rw-r--r--Wrath Room.txtpb657log stats plain blame
-rw-r--r--X Area.txtpb187log stats plain blame
span class="p">); for (AreaIndicator &area : areas_) { const wxBrush *brush_color = wxGREY_BRUSH; const MapArea &map_area = GD_GetMapArea(area.area_id); if (map_area.exclude_reduce && AP_IsReduceChecks()) { area.active = false; continue; } else { area.active = true; } bool has_reachable_unchecked = false; bool has_unreachable_unchecked = false; for (int section_id = 0; section_id < map_area.locations.size(); section_id++) { if (!AP_HasCheckedGameLocation(area.area_id, section_id)) { if (IsLocationReachable(area.area_id, section_id)) { has_reachable_unchecked = true; } else { has_unreachable_unchecked = true; } } } if (has_reachable_unchecked && has_unreachable_unchecked) { brush_color = wxYELLOW_BRUSH; } else if (has_reachable_unchecked) { brush_color = wxGREEN_BRUSH; } else if (has_unreachable_unchecked) { brush_color = wxRED_BRUSH; } int real_area_size = final_width * AREA_EFFECTIVE_SIZE / image_size.GetWidth(); int actual_border_size = real_area_size * AREA_BORDER_SIZE / AREA_EFFECTIVE_SIZE; int real_area_x = final_x + (map_area.map_x - (AREA_EFFECTIVE_SIZE / 2)) * final_width / image_size.GetWidth(); int real_area_y = final_y + (map_area.map_y - (AREA_EFFECTIVE_SIZE / 2)) * final_width / image_size.GetWidth(); dc.SetPen(*wxThePenList->FindOrCreatePen(*wxBLACK, actual_border_size)); dc.SetBrush(*brush_color); dc.DrawRectangle({real_area_x, real_area_y}, {real_area_size, real_area_size}); area.real_x1 = real_area_x; area.real_x2 = real_area_x + real_area_size; area.real_y1 = real_area_y; area.real_y2 = real_area_y + real_area_size; int popup_x = final_x + map_area.map_x * final_width / image_size.GetWidth(); int popup_y = final_y + map_area.map_y * final_width / image_size.GetWidth(); if (popup_x + area.popup->GetSize().GetWidth() > panel_size.GetWidth()) { popup_x = panel_size.GetWidth() - area.popup->GetSize().GetWidth(); } if (popup_y + area.popup->GetSize().GetHeight() > panel_size.GetHeight()) { popup_y = panel_size.GetHeight() - area.popup->GetSize().GetHeight(); } area.popup->SetPosition({popup_x, popup_y}); } }