Added window_peep. Widget array not finished

This commit is contained in:
Duncan Frost 2014-06-24 22:11:00 +01:00
parent 43c82010f3
commit eec5f80bfc
4 changed files with 8 additions and 1 deletions

View File

@ -110,6 +110,7 @@
<ClCompile Include="..\src\window_map.c" />
<ClCompile Include="..\src\window_new_ride.c" />
<ClCompile Include="..\src\window_options.c" />
<ClCompile Include="..\src\window_peep.c" />
<ClCompile Include="..\src\window_ride_list.c" />
<ClCompile Include="..\src\window_save_prompt.c" />
<ClCompile Include="..\src\window_staff.c" />

View File

@ -332,6 +332,9 @@
<ClCompile Include="..\src\award.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\window_peep.c">
<Filter>Windows</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\openrct2.exe">

View File

@ -23,6 +23,7 @@
#include "gfx.h"
#include "park.h"
#include "peep.h"
#include "rct2.h"
struct rct_window;
@ -354,6 +355,7 @@ void window_water_open();
void window_guest_list_open();
void window_map_open();
void window_options_open();
void window_peep_open(rct_peep* peep);
void window_park_awards_open();
void window_park_entrance_open();
void window_park_guests_open();

View File

@ -477,7 +477,8 @@ static void window_guest_list_scrollmousedown()
if (i == 0) {
// Open guest window
RCT2_CALLPROC_X(0x006989E9, 0, 0, 0, (int)peep, 0, 0, 0);
window_peep_open(peep);
break;
} else {
i--;