1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
qcz
fa6caa856a Move staff related stuff to its own file 2014-08-20 23:48:36 +02:00
qcz
250acea957 Rename tabIndex to staff_type, move staff max count constant to #define 2014-08-20 17:48:47 +02:00
qcz
12f6d57876 Fix pointer type 2014-08-20 17:39:41 +02:00
qcz
f142cddbd6 Add return type to remove Travis warnings 2014-08-20 16:04:10 +02:00
qcz
1007e79baa Fix Travis error 2014-08-20 16:00:47 +02:00
qcz
92f0139b5a Move typedef to header file 2014-08-20 15:48:53 +02:00
qcz
cb169952ac Remove unused variable, add indices to new_game_command_table 2014-08-20 15:38:21 +02:00
qcz
1b3f98362f Finalize hire-staff-command 2014-08-20 15:32:39 +02:00
qcz
0e48e92949 Entertainers don't crash the game anymore 2014-08-20 07:23:02 +02:00
qcz
4959bdd55d Merge remote-tracking branch 'upstream/master' into hire-staff-command 2014-08-19 23:52:23 +02:00
hexdec
540c8efd23 Merge branch 'master' of https://github.com/IntelOrca/OpenRCT2 2014-08-19 22:41:13 +02:00
hexdec
de01827de9 Decompiled game shortcuts for viewport flags. 2014-08-19 22:39:22 +02:00
Duncan Frost
5f68d4b2a0 Fix #318. Issue caused by checking progressivly more incorrect coordinates for connection 2014-08-19 20:41:46 +01:00
Duncan
56e6028a56 Rewrote to use map_elements
not tested
2014-08-19 12:48:00 +01:00
qcz
2bbba4672b Merge remote-tracking branch 'upstream/master' into hire-staff-command 2014-08-19 09:46:25 +02:00
qcz
c88a786399 Fix peep struct member name 2014-08-19 09:46:04 +02:00
Duncan Frost
ca49b7ca09 Fix crash on right click of flat rides 2014-08-17 11:57:50 +01:00
Duncan Frost
9e5412579a Moved old function comment to top of func 2014-08-16 14:40:07 +01:00
Duncan Frost
ad8a96c196 Added remaining left click on viewport functions 2014-08-16 14:38:45 +01:00
Duncan Frost
1adeb35e69 Decompiled first part of left down 2014-08-16 00:43:19 +01:00
qcz
ff28ff7e1b Merge remote-tracking branch 'upstream/master' into hire-staff-command 2014-08-13 22:18:31 +02:00
qcz
a992e31113 Fixes on the hire staff command (there is still a bug when hiring entertainers) 2014-08-11 22:50:13 +02:00
qcz
c74640d9c4 Start to decompile hire new staff member command (not working yet) 2014-08-10 14:31:41 +02:00
Duncan Frost
b98d4bb508 Viewport integrated into gfx_draw_sprite. 2014-08-10 11:11:43 +01:00
IntelOrca
e8fa6b7c5a finish finances summary page 2014-08-09 14:47:58 +01:00
Duncan Frost
57f17f62e5 Moved function to gfx.c added new addresses 2014-08-08 17:19:08 +01:00
Duncan
13b51fe475 More cleanup of gfx_rain. 2014-08-08 16:36:47 +01:00
Duncan Frost
5257f368c9 Cleaned up rain code. Remember to remove constant rain 2014-08-08 16:36:46 +01:00
Duncan Frost
6ec15b240b Fix compile mistakes 2014-08-08 16:36:45 +01:00
Duncan
ca38d60b6f Cleaned up 684027
Not tested.
2014-08-08 16:36:44 +01:00
Duncan
be1d3ff74a Added very rough 0x684027 function 2014-08-08 16:36:43 +01:00
IntelOrca
96aaa87543 make both game commands use same call and rename / use more commands in enum 2014-08-07 22:25:51 +01:00
Marco Costa
cc1e2248de Decompile of rain-drawing functions
Light rain function at position 0x00684114
Heavy rain function at position 0x0068416D
Function array at position 0x009AC058
Avoid passing uint32 function address. Instead use the array index.
2014-08-06 20:40:42 -04:00
qcz
1baf54a051 Enum for the command table; cleanup warnings and comments from the previous commit 2014-08-06 21:06:51 +02:00
Dániel Tar
fa931e1ff0 Decompiling window_staff 2014-08-05 19:15:28 +02:00
anyc
305cef2f75 fix errors and warnings with mingw 2014-07-31 00:11:01 +02:00
Duncan Frost
3acb1a72ba Fixes cursor error when main window is at increased size. 2014-07-29 18:05:52 +01:00
adrian17
bc814f395e Fix window_map_mouseup() (it was callling window_options_mouseup() instead) 2014-07-29 16:52:11 +02:00
Duncan Frost
e406869fe4 Cleanup of last goto's. 2014-07-28 21:27:14 +01:00
Duncan Frost
6818d31492 Rework of cursor code 2014-07-28 18:15:02 +01:00
Duncan Frost
425ab513a4 Started cleanup of process mouse over 2014-07-28 17:45:50 +01:00
Duncan Frost
cdb60bab6c Fixed pointing locations. 2014-07-28 17:45:49 +01:00
Duncan Frost
e321708e05 Debugging 2014-07-28 17:45:46 +01:00
Duncan Frost
d84ed93c62 Added JeroenSack's decompile of mouse over. 2014-07-28 17:45:45 +01:00
Duncan Frost
2fd87342af Trying a different set_cursor interface to make multiple os support easier 2014-07-28 17:45:44 +01:00
Duncan Frost
6f8cefac21 Added a setcursor function 2014-07-28 17:45:44 +01:00
adrian17
46889b6890 Remove duplicated SCROLL_FLAGS enum 2014-07-27 16:39:20 +02:00
adrian17
8960792073 Add SCROLL_FLAGS enum (and fix an hidden bug in widget_scroll_get_part) 2014-07-25 20:19:32 +02:00
Duncan Frost
d68e716cd8 Removed compile errors. Implemented changes to window.h 2014-07-23 18:07:38 +01:00
adrian17
0369bdcb34 Improvements for a9091b41b6
* renamed variables and functions
* simplified logic copied from other functions
* removed "fast staff" button
* commented the macros in window_cheats.c
* changed water tool bottom limit back to 1 (it doesn't work the same way as the land tool)
* used 1ULL for bit shift by 32
2014-07-21 14:05:43 +02:00