Added more to window_peep

Has not been tested. This will likely fail as the function calls are not in.
This commit is contained in:
Duncan 2014-06-27 12:50:25 +01:00 committed by Duncan Frost
parent 2e849668c8
commit c6e7fb0ebe
1 changed files with 16 additions and 0 deletions

View File

@ -157,7 +157,23 @@ void window_peep_open(rct_peep* peep){
window->colours[0] = 1;
window->colours[1] = 15;
window->colours[2] = 15;
window->var_482 = -1;
}
window->var_48A = 0;
//call 6EB13A
window->widgets = RCT2_GLOBAL(0x981D0C, uint32);
window->enabled_widgets = RCT2_GLOBAL(0x981D3C,uint32);
window->var_20 = RCT2_GLOBAL(0x981D54,uint32);
window->event_handlers = RCT2_GLOBAL(0x981D24,uint32);
window->pressed_widgets = 0;
//call 6987A6
//call 6eaeb8
//call 69883c
//RCT2_CALLPROC_X(0x006989E9, 0, 0, 0, (int)peep, 0, 0, 0);
}