OpenRCT2/src/openrct2-ui/windows
Florian Will eb6ea8e81d Fix #5893: Invalidate widget only if it's visible
Remove the widget_invalidate() call after changing a guest's
guest_heading_to_ride_id, because that call fails a debug assertion if
the guest window is open and the currently active tab is not the
"overview" tab. In Release builds (if assertion is disabled),
widget_invalidate() might access the widgets array out of bounds.

Instead, introduce a new flag PEEP_INVALIDATE_PEEP_ACTION for
window_invalidate_flags in the peep struct and set that flag. The guest
window update function then makes sure to invalidate the label if the
flag is set.

The flag could be used in other places to reduce libopenrct2 dependency
on window_*() calls (see #6808), but this commit only cares about cases
where the assertion would fail.
2019-04-15 14:26:33 +02:00
..
About.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Banner.cpp Implement banner set style action 2019-04-07 10:10:36 +01:00
Changelog.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Cheats.cpp Implement GameAction for setting date 2019-03-31 19:48:51 +02:00
ClearScenery.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
CustomCurrency.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
DebugPaint.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
DemolishRidePrompt.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Dropdown.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
EditorBottomToolbar.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
EditorInventionsList.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
EditorMain.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
EditorObjectSelection.cpp Remove more remains of scenario description from Object Selection window 2019-03-25 17:21:53 +01:00
EditorObjectiveOptions.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
EditorScenarioOptions.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Error.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Finances.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Footpath.cpp Use a vector for map selection tiles 2019-04-04 19:23:44 +01:00
GameBottomToolbar.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Guest.cpp Fix #5893: Invalidate widget only if it's visible 2019-04-15 14:26:33 +02:00
GuestList.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
InstallTrack.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Land.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
LandRights.cpp Rework flags 2019-04-04 19:23:44 +01:00
LoadSave.cpp Sort files in logical rather than dictionary order (#9012) 2019-04-03 00:16:47 +02:00
Main.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Map.cpp Use a vector for map selection tiles 2019-04-04 19:23:44 +01:00
MapGen.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
MapTooltip.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
MazeConstruction.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Multiplayer.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
MusicCredits.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Network.cpp Update copyright. 2019-02-07 18:50:58 +01:00
NetworkStatus.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
NewCampaign.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
NewRide.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
News.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
NewsOptions.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ObjectLoadError.cpp Apply better guards for download queueing (#8864) 2019-03-26 22:46:08 +00:00
Options.cpp Implement partial multicore rendering 2019-03-31 15:50:55 +02:00
Park.cpp Merge #8881 branch 'set_park_open' into game_actions 2019-03-18 19:57:50 +00:00
Player.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Research.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Ride.cpp Close #8965: Refactor ride->inversions 2019-03-27 11:30:18 +01:00
RideConstruction.cpp Fix formatting 2019-04-04 19:23:44 +01:00
RideList.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
SavePrompt.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Scenery.cpp Add scenery picker shortcut 2019-03-24 22:45:42 +01:00
ServerList.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ServerStart.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ShortcutKeyChange.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ShortcutKeys.cpp Add scenery picker shortcut 2019-03-24 22:45:42 +01:00
Sign.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Staff.cpp Merge #8898 branch 'staff_ga' into game_actions 2019-03-18 20:00:34 +00:00
StaffFirePrompt.cpp Merge #8898 branch 'staff_ga' into game_actions 2019-03-18 20:00:34 +00:00
StaffList.cpp Merge #8898 branch 'staff_ga' into game_actions 2019-03-18 20:00:34 +00:00
TextInput.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Themes.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TileInspector.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleCommandEditor.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleEditor.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleExit.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleLogo.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleMenu.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleOptions.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TitleScenarioSelect.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Tooltip.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TopToolbar.cpp Fix formatting 2019-04-08 17:19:52 +01:00
TrackDesignManage.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
TrackDesignPlace.cpp Rework flags 2019-04-04 19:23:44 +01:00
TrackList.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
ViewClipping.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Viewport.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Water.cpp Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
Window.h Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00