Commit Graph

84 Commits

Author SHA1 Message Date
IntelOrca b5fcdcf32a fix placement of large scenery 2015-06-20 16:26:42 +01:00
zsilencer 2a82491514 #1396 2015-06-19 10:26:22 -06:00
IntelOrca 4ebf6dd913 fix #1374 2015-06-17 16:32:50 +01:00
IntelOrca 32046c3c0a improve saving of S6 data and remove ghost banners / user strings 2015-06-15 22:08:03 +01:00
IntelOrca b206a31cae fix #1145 by removing ghost map elements and trackless rides when saving 2015-06-15 17:27:11 +01:00
zsilencer 28f58b768c fix animation invalidation in large scenery 2015-06-14 15:59:34 -06:00
zsilencer 9419e3a2ec fix a crash in large scenery placement 2015-06-14 14:23:18 -06:00
Gymnasiast 95966f6346 Allow building large scenery outside park borders in sandbox mode. 2015-06-14 15:07:08 +02:00
zsilencer d2b565b283 game_command_place_large_scenery 2015-06-14 05:56:41 -06:00
IntelOrca ee7a2c47f4 refactor map size 2015-06-13 19:11:26 +01:00
Gymnasiast 732319514f Allow building in pause mode via a cheat 2015-06-10 19:35:53 +02:00
IntelOrca a24ffd1f79 fix refactor error in lower_water 2015-06-10 16:38:27 +01:00
IntelOrca 91c73836a3 fix and improve raise and lower land / water / clear scenery 2015-06-10 15:41:50 +01:00
Ted John dbb7ae8e15 Merge pull request #1284 from trigger-death/decompile-toggle-price
Decompiled toggle ride price and fixed ride price
2015-06-09 23:07:20 +01:00
Robert Jordan 0f955d0d92 Decompiled toggle ride price 2015-06-09 17:00:11 -04:00
Gymnasiast 7ed434a804 Rework land ownership cheat into sandbox mode 2015-06-09 17:19:05 +02:00
IntelOrca dc3fe2a6c8 remove commented out CALLPROCs and CALLFUNCs 2015-06-09 15:09:45 +01:00
IntelOrca ed86db0635 fix sign issues with selection rectangle 2015-06-09 14:47:26 +01:00
oli414 a09b103895 Fixed crash when using land/water tool outside map 2015-06-09 14:24:02 +02:00
IntelOrca eb654a220d implement sub_6A7594 2015-06-09 02:36:02 +01:00
IntelOrca 12b01d6521 implement footpath_remove_litter and footpath_interrupt_peeps 2015-06-09 02:09:18 +01:00
IntelOrca acfcf2c33b implement a bit of sub_66397F for sandbox mode 2015-06-08 22:19:06 +01:00
Robert Jordan 83fda8fc56 Clear scenery tool now as options
Can now choose to clear small scenery, large scenery, and/or footpaths.
2015-06-05 12:38:52 -04:00
Ted John b7d293f4dd Merge pull request #1171 from duncanspumpkin/toolbar_funcs
Toolbar Update Functions
2015-05-30 13:00:25 +01:00
Duncan Frost b2caeaf531 Refactor of code slightly
Since get_map_coordinates_from_pos returns sint16 values I changed it so that it didn't use sint32 values.
2015-05-30 06:27:52 +01:00
Duncan Frost a59fd26b3d Added update_water
Refactored up/down water commands so that it used more standard layout.
Not tested.
2015-05-30 06:27:51 +01:00
Duncan Frost 573a632e43 Fix bugs in scenery_clear update
Note make a new version of land update to fix cost issue
2015-05-30 06:27:48 +01:00
zsilencer 5c7dc6bb9a #1165 2015-05-29 21:50:32 -06:00
zsilencer 28c2451d97 move data into code, cleanup 2015-05-20 19:21:13 -06:00
zsilencer 9ee4b64fa1 game_command_place_scenery 2015-05-20 19:21:13 -06:00
Duncan Frost ebcb4ba480 Refactor and bug fix of scenery removal.
Looks like I might have introduced a bug during my last refactor due to using the same name for multiple variables.
2015-05-19 22:08:51 +01:00
Robert Jordan 9529f3e179 Decompiled sub_6EC847 & sub_664D05
sub_6EC847 is named invalidate_viewport_tile
sub_664D05 is named update_park_fences
both functions are in world/park.c
2015-05-17 12:36:16 -04:00
Duncan Frost 328abd1d45 Fix out of bounds errors
Changed get_surface_element to bubble up the null mapElement to be taken care of by the calling function.
Added checks on the track functions to ensure that invalid coordinates do not call get_surface_element_at.
Fixes #1066 and Fixes #1057
2015-05-17 07:58:51 +01:00
IntelOrca f7972f0d48 Merge branch 'land-rights-tool' of https://github.com/trigger-death/OpenRCT2 into trigger-death-land-rights-tool
Conflicts:
	data/language/english_uk.txt
2015-05-15 22:10:13 +01:00
Robert Jordan 09cc46c1e6 Almost finished land rights tool 2015-05-15 11:28:27 -04:00
Duncan Frost ed685688e2 More scenery_place.
There is a bug in the path code
2015-05-13 19:19:43 +01:00
Robert Jordan ceaa97c321 Land tool paint mode, and text input sizes 2015-05-12 11:37:16 -04:00
Duncan Frost a768d3dc96 Fix large scenery removal bug.
Issue was caused by comparing the height value to the wrong number. I've rejigged the function to make it easier to follow and added in an error message if an element fails to be found.
2015-05-07 19:16:00 +01:00
Duncan Frost 6b8709aed0 Scenery now works correctly in scenario editor
There were a couple bugs that were causing functions to return unsuccessful if you were in scenario editor.
2015-05-07 18:57:14 +01:00
zsilencer 71e21c2a6c refactor mixer, add support for streamed music 2015-04-25 09:28:28 -06:00
zsilencer 3b416a646e create_new_banner done by duncanspumpkin 2015-04-25 09:21:35 -06:00
zsilencer a8a434e261 game_command_place_banner 2015-04-25 09:21:35 -06:00
zsilencer c40a6f4789 game_command_remove_banner 2015-04-25 09:21:11 -06:00
zsilencer b8657da99f game_command_set_banner_colour 2015-04-25 09:21:11 -06:00
zsilencer 4379df67c4 game_command_set_large_scenery_colour 2015-04-25 09:21:11 -06:00
zsilencer 1782a62055 game_command_set_fence_colour 2015-04-25 09:21:11 -06:00
zsilencer e7d3d8b19d game_command_set_scenery_colour 2015-04-25 09:21:11 -06:00
zsilencer ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
zsilencer 16cb732533 game_command_remove_scenery 2015-04-25 09:20:46 -06:00
zsilencer 68d7f84098 rename 0x80000000 to MONEY32_UNDEFINED 2015-04-25 09:20:46 -06:00