Commit Graph

210 Commits

Author SHA1 Message Date
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
Maciek Baron c70865457c Adding window_ride_init_vars and various enums
Adding window_ride_init_vars and various enums, also decompiled one
unknown function.
2014-05-07 21:17:26 +01:00
Maciek Baron aef83362bc Cleaning up small shared functions
Cleaning up small shared functions and moving them to appropriate files
2014-05-06 22:04:09 +01:00
IntelOrca da7563c7c9 add unknown map element function 2014-05-04 18:51:36 +01:00
IntelOrca 9b6873f09e add checksum validation for load sc6 and sv6 2014-05-04 17:34:13 +01:00
IntelOrca 6819b787ed remove key debug check 2014-05-04 16:32:48 +01:00
IntelOrca a0976e2f40 add load saved game 2014-05-04 16:21:15 +01:00
IntelOrca d85e2f8a02 Merge branch 'update_addresses' of https://github.com/ZedThree/OpenRCT2 into ZedThree-update_addresses 2014-05-04 14:27:35 +01:00
IntelOrca 00cd901441 add news window 2014-05-04 14:10:32 +01:00
ZedThree b3ea71c080 Replace more addresses with their named constants
Also named window.var_4B2/4 as saved_view_x/y
2014-05-04 13:11:31 +02:00
IntelOrca e5c79f051c add end game update in load or quit command 2014-05-03 20:39:34 +01:00
Matthias Lanzinger bf03c21de9 Implement entrance fee too high check. Some refactoring. 2014-05-03 14:35:11 +02:00
Matthias Lanzinger ad0d77a49c Start implementation of scenario_update. 2014-05-03 14:35:08 +02:00
IntelOrca 9b46c74279 add load game and landscape dialog 2014-05-03 10:27:48 +01:00
IntelOrca 5f8db5e115 add pause toggle game command 2014-05-03 09:00:49 +01:00
IntelOrca 634ae0dbeb allow new quit game or load code to run 2014-05-03 02:33:01 +01:00
IntelOrca 59d0e94f06 use written cancel tool function 2014-05-02 22:38:16 +01:00
IntelOrca af5ef5e75d add game_load_or_quit function 2014-05-02 22:21:08 +01:00
IntelOrca 07c4c61b2e fix bug with game_do_command 2014-05-02 03:05:18 +01:00
IntelOrca 34a1863291 add game_do_command 2014-05-02 02:12:14 +01:00
IntelOrca 1dcfdbe355 refactor climate 2014-04-29 12:18:50 +01:00
Matthias Lanzinger 702674f13e Merge remote-tracking branch 'upstream/master' into update_climate 2014-04-29 12:42:49 +02:00
Alexander Overvoorde 4201ff06d2 Add separate key buffer for shortcuts to fix misbehaving panning with keyboard 2014-04-28 22:03:52 +02:00
IntelOrca 6dff411f2d fix bugs in game_handle_input_mouse 2014-04-28 22:03:51 +02:00
ZedThree 6f756bb458 Replace variable addresses with named constants
Done automatically with sed/unix
2014-04-28 22:00:54 +02:00
Matthias Lanzinger 573929fee9 Identified full weather data table.
Restructured weather data properly and made window_game_bottom_toolbar use
our table.
Used determine_future_weather in climate_reset.
2014-04-28 19:59:40 +02:00
Matthias Lanzinger 80c1507fd4 Merge remote-tracking branch 'upstream/master' into update_climate 2014-04-28 17:17:52 +02:00
Alexander Overvoorde aeb5e2a0e4 Add separate key buffer for shortcuts to fix misbehaving panning with keyboard 2014-04-28 16:06:07 +02:00
IntelOrca 077d3b9d90 fix bugs in game_handle_input_mouse 2014-04-28 02:35:23 +01:00
Matthias Lanzinger 035fa16fc3 Crude start of a decompiled update_climate() 2014-04-27 23:46:18 +02:00
IntelOrca 9f91798514 implement keyboard shortcuts 2014-04-26 01:16:32 +01:00
IntelOrca 2afb4e12eb add screenshot and error window base functions 2014-04-25 18:25:34 +01:00
IntelOrca be81e69f56 add more input logic 2014-04-25 03:02:06 +01:00
IntelOrca 66e4898217 add config save 2014-04-24 21:29:57 +01:00
IntelOrca ea4ea99212 add more input logic and tooltip window 2014-04-24 18:53:42 +01:00
Kevin Burke e5a925e26c Add newlines to the end of every file (sed/unix do this) 2014-04-21 14:57:48 +05:30
IntelOrca 27d9fccfcf add ride list window 2014-04-20 03:31:54 +01:00
IntelOrca 8aed834665 add random title script 2014-04-18 16:26:45 +01:00
IntelOrca d339df5784 improve input 2014-04-18 03:04:46 +01:00
IntelOrca b4b885a706 add right click viewport input 2014-04-14 20:26:29 +01:00
IntelOrca c8f3c0ac2e add viewport drag 2014-04-14 14:32:05 +01:00
IntelOrca b5b23cb91b add water and input logic 2014-04-14 03:09:51 +01:00
IntelOrca b98ca0e45b add land window 2014-04-13 22:23:56 +01:00
IntelOrca 5cb1600417 add bottom toolbar 2014-04-11 03:58:17 +01:00
IntelOrca ceb8f8113a add top toolbar and ride types 2014-04-11 02:42:39 +01:00
IntelOrca 9e9daaedfa add more map definitions 2014-04-10 04:02:06 +01:00
IntelOrca 481b8e23c0 add editor loading 2014-04-09 17:06:47 +01:00
IntelOrca c8d2b0bf1e add climate and date 2014-04-09 11:16:35 +01:00
IntelOrca 286b43355a start work on window drawing 2014-04-08 17:52:39 +01:00
IntelOrca 880e741341 add config load 2014-04-08 00:05:05 +01:00
IntelOrca 0a12f15a25 add peep updating 2014-04-03 00:22:33 +01:00
IntelOrca bfd3ad8b28 add window definitions and update all subroutine 2014-04-02 04:56:26 +01:00
IntelOrca 643db7ae01 initial commit
Working game in SDL2 window but with various bugs and incomplete input
logic.
2014-04-02 00:31:55 +01:00