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
Ted John
8f1fa5b9ee
Merge pull request #216 from wolfreak99/master
...
Cheats, temporary cheat placement macro for convenince, audio option, co...
2014-07-20 22:12:43 +01:00
Marco Costa
54933646f1
Implement draw_rain_window and call_draw_rain_func
...
Implement procedure (0x006842AF) as two methods: draw_rain_window and
call_draw_rain_func.
Avoid using global variable 0x00EE7850 by passing it as a parameter:
draw_rain_func. This global variable was only used by these procedures.
Rain has some visual artifacts in RCT2, specially when using game
windows. This implementation matches the original game, and thus has the
same artifacts.
2014-07-20 02:50:06 -04:00
Duncan Frost
5f030c6b1e
Cleaned up code to remove goto.
2014-07-19 12:04:32 +01:00
Duncan Frost
6727c216e4
fixed bug due to incorrect function calls
2014-07-19 11:55:34 +01:00
Duncan Frost
c4f49bb7cd
Added missing case still not working
2014-07-19 11:22:46 +01:00
Duncan Frost
00381d9313
Deleted twice reversed function added note to prevent this happening. Labled global vars where noticed.
2014-07-19 11:22:45 +01:00
Duncan Frost
cbb913c8af
Added final part of input_scroll_left. Requires more testing
2014-07-19 11:22:44 +01:00
Duncan Frost
3cc9863fc5
Added switch for scroll state
2014-07-19 11:22:43 +01:00
Duncan Frost
16860a8817
Added sub_6E9F92 determines scroll action type
2014-07-19 11:22:42 +01:00
Duncan Frost
d8727e8998
Started reverse of scoll_left
2014-07-19 11:22:41 +01:00
Ted John
7d16c653cb
Merge pull request #214 from adrian17/master
...
Use address names from addresses.h
2014-07-19 11:12:46 +01:00
Ted John
a2240932e2
Merge pull request #213 from duncanspumpkin/game_cleanup
...
Implemented check affordability and clean up
2014-07-19 11:12:36 +01:00
Ted John
01e62c1769
Merge pull request #212 from marcotc/rain
...
Implemented draw_rain_animation
2014-07-19 11:12:30 +01:00
Marco Costa
a13da0f7ec
Rename variables in draw_rain_animation
...
Renamed variables to better represent their meaning.
Use global g_window_list instead of manually fetching it.
2014-07-18 19:36:06 -04:00
adrian17
843c45aafc
Use address names from addresses.h
2014-07-18 22:28:15 +02:00
Marco Costa
2130c85e90
Implemented draw_rain_animation
...
Implemented the first level of the rain drawing routine.
Still not sure what the parameter means, so I keep its register name.
2014-07-17 23:29:39 -04:00
Duncan Frost
2bbcf146c6
Finished first draft of viewport_create
2014-07-17 17:59:49 +01:00
Duncan Frost
9d9f3424cf
Added error_string_quit and a litle part of viewport_create
2014-07-16 21:39:39 +01:00
wolfreak99
a9091b41b6
Cheats, temporary cheat placement macro for convenince, audio option, copiedunlimited land tool to water tool.
2014-07-15 22:41:12 -04:00
Duncan Frost
52f96a262c
Fixed small bug causing a crash when resizing.
2014-07-15 17:56:42 +01:00
Duncan Frost
7a60b0d53b
Implemented check affordability and cleanedup some function calls to use openrct
2014-07-14 19:46:45 +01:00
Angelo Geels
3e30e147cf
Formatting
2014-07-11 21:49:01 +02:00
Angelo Geels
4e7883f20b
Implemented input_vscrollbar_bottom_trough
2014-07-11 21:43:51 +02:00
Angelo Geels
e691f86780
Implemented input_vscrollbar_top_trough
2014-07-11 21:39:54 +02:00
Angelo Geels
e01cce4918
Implemented input_hscrollbar_right_trough
2014-07-11 21:36:11 +02:00
Angelo Geels
f3caea6bae
Some consistency cleanup
2014-07-11 21:22:26 +02:00
Angelo Geels
3bca6b699a
Implemented input_hscrollbar_left_trough
2014-07-11 21:21:17 +02:00
Angelo Geels
0081a7581c
Implemented scrollbar buttons left, right, up, down
...
input_hscrollbar_leftbutton, input_hscrollbar_rightbutton,
input_vscrollbar_topbutton, input_vscrollbar_bottombutton
2014-07-11 14:41:42 +02:00
Duncan Frost
3a3cbbc7c4
Fixed another small window bug and changed to using global window list var
2014-07-10 21:22:32 +01:00
Duncan Frost
8b97931491
Swapped sprite list to use global var
2014-06-29 14:51:18 +01:00
Duncan Frost
1aaa88afae
Added 0x69E9A7
2014-06-21 15:50:13 +01:00
Duncan Frost
9c4f06a04b
Added another reset function
2014-06-21 13:31:28 +01:00
Jeroen Sack
a91c5532d1
Port function widget_scroll_get_part
...
replace 6E9F92 with widget_scroll_get_part
2014-06-13 22:40:15 +02:00
Duncan Frost
a691216044
Fixed small issue with mouse down code
2014-05-29 17:22:32 +01:00
anyc
2a27ea0689
fix ASM for MinGW
2014-05-29 15:35:51 +02:00
IntelOrca
d1c0ab28f2
Merge branch 'c_based_mouse_down' of https://github.com/duncanspumpkin/OpenRCT2 into duncanspumpkin-c_based_mouse_down
2014-05-28 22:58:16 +01:00
IntelOrca
423db67148
add climate_update_sound
2014-05-28 22:53:28 +01:00
Duncan Frost
7dc750bd55
Switched to cdecl for mouse down.
2014-05-28 22:22:09 +01:00
IntelOrca
e489b999f3
fix picked-up staff and rain drawing
2014-05-28 18:11:33 +01:00
anyc
4c9c1fa5bd
save_prompt actually opens save dialog
2014-05-27 23:33:16 +02:00
IntelOrca
092764ea6b
separate marketing and add finances window
2014-05-25 23:17:55 +01:00
IntelOrca
8bf7c1e025
add sound enum
2014-05-25 22:08:36 +01:00
IntelOrca
275f66d287
add vehicle_update_all
2014-05-25 18:40:11 +01:00
IntelOrca
6d7b4b1808
add park update and guest generation
2014-05-25 13:59:31 +01:00
IntelOrca
ba77a2916b
add changing of game speed
2014-05-25 03:02:48 +01:00
IntelOrca
f57222d93b
add peep_update_crowd_noise
2014-05-25 01:08:08 +01:00
IntelOrca
d5ad84a7d1
clean up scenario loading some more
2014-05-24 22:14:42 +01:00
anyc
769297c905
fix to enable rotate station/building button
2014-05-24 21:29:41 +02:00
IntelOrca
36e2cce045
add object list load
2014-05-24 01:34:17 +01:00
IntelOrca
b2b4647570
Merge branch 'testing' of https://github.com/anyc/OpenRCT2 into anyc-testing
2014-05-23 14:36:51 +01:00
Duncan Frost
dc3804bfa2
Fixes one of the issues of #121 but 526 cannot be easily fixed
2014-05-23 11:28:35 +01:00
anyc
7811497e8c
rudimentary save prompt
2014-05-23 11:31:54 +02:00
anyc
d34e2db9e1
added GCC/MinGW-compatible assembler
2014-05-22 23:47:18 +02:00
anyc
82fa4439bf
renamed strings.[ch] to string_ids.[ch] due to name collision
2014-05-20 17:55:39 +02:00
IntelOrca
5823e9dac1
Merge branch 'c_based_window_event_handlers' of https://github.com/duncanspumpkin/OpenRCT2 into duncanspumpkin-c_based_window_event_handlers
2014-05-20 03:18:18 +01:00
Duncan Frost
d077beea20
Changed window_update to use cdecl where possible
2014-05-19 18:47:14 +01:00
Duncan Frost
aaca1d2ece
Started switch over to c based window event handlers with backwards compatibility
2014-05-18 20:32:50 +01:00
Maciek Baron
d5d352cd41
Implementing small loan & cheat detection related routine
2014-05-17 16:04:19 +01:00
adrian17
31424b6a06
Use macros defined in addresses.h where possible. Removed one doubled macro.
2014-05-13 23:37:45 +02:00
IntelOrca
7c6a193b42
remove all remaining warnings
2014-05-12 02:18:08 +01:00
IntelOrca
8dcca91092
mass clean up and reduce warnings
2014-05-12 01:45:45 +01:00
Maciek Baron
d3382e3a38
Renaming ride construction content
2014-05-09 23:43:10 +01:00
IntelOrca
3b8f0d685b
convert handling shortcut keys to switch
2014-05-09 23:05:50 +01:00
ZedThree
93d062704d
Add code to handle shortcuts
2014-05-09 23:10:25 +02:00
Maciek Baron
0c34c3791c
Cleaning up files and code related to windows
2014-05-08 21:48:31 +01:00
IntelOrca
d5927e415f
use finance_payment in do_game_command
2014-05-07 23:45:16 +01:00
IntelOrca
9e6d19a672
Merge branch 'master' of https://github.com/MaciekBaron/OpenRCT2 into MaciekBaron-master
2014-05-07 22:42:01 +01:00
ZedThree
76611d054a
Fix bug in open_load_game_dialog()
...
Should return the result of osinterface_open_common_file_dialog()
2014-05-07 23:11:23 +02:00