1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Move staff and guest windows

This commit is contained in:
Marijn van der Werf
2017-10-06 23:21:00 +02:00
committed by Michał Janiszewski
parent 8569a7fe2f
commit eef3bd9af5
11 changed files with 137 additions and 89 deletions

View File

@@ -161,6 +161,8 @@ public:
rct_window * OpenIntent(Intent * intent) override
{
switch(intent->GetWindowClass()) {
case WC_PEEP:
return window_guest_open((rct_peep*)intent->GetPointerExtra(INTENT_EXTRA_PEEP));
case WC_FIRE_PROMPT:
return window_staff_fire_prompt_open((rct_peep*)intent->GetPointerExtra(INTENT_EXTRA_PEEP));
case WC_INSTALL_TRACK: