Commit Graph

97 Commits

Author SHA1 Message Date
Duncan Frost 5e3df22414 Implemented map element remove. Small tidy of functions in game.c. 2015-06-28 13:31:46 +01:00
IntelOrca 57fd914a52 implement ride construction 2015-06-27 15:17:54 +01:00
IntelOrca 086370a7fc fix #1429 2015-06-23 02:58:15 +01:00
IntelOrca 9701b1e0f6 fix warnings 2015-06-23 02:58:14 +01:00
Duncan Frost d5c19437ac Make generic version of 98197C rotations. Refactor.
I've added a new function coordinate 3d to 2d. There are still quite a few different versions of this same code throughout the project that should be changed to use this function.
2015-06-21 16:23:25 +01:00
Duncan Frost 9958ffc0f7 Started refactor of viewport drawing
Renabled banner paint setup
2015-06-21 16:23:16 +01:00
IntelOrca c6b7ab2ff4 Merge branch 'pre-release-0.0.2' into develop 2015-06-21 13:56:07 +01:00
IntelOrca d193348792 fix game_command_set_fence_colour 2015-06-21 12:42:31 +01:00
Gymnasiast 858faa3303 Adjust game_command_place_fence for sandbox mode and build in pause mode. 2015-06-21 13:40:44 +02:00
Duncan Frost b1183757ec Fix banner bug. Small refactor 2015-06-21 12:07:44 +01:00
Duncan Frost f36d17651d Implemented game_command_place_fence.
There are a couple of bugs involveing signs.
2015-06-21 11:43:52 +01:00
IntelOrca 926f6838b4 Merge branch 'pre-release-0.0.2' into develop 2015-06-20 16:26:56 +01:00
IntelOrca b5fcdcf32a fix placement of large scenery 2015-06-20 16:26:42 +01:00
IntelOrca 18f33f806c implement sub_68ADBC 2015-06-20 16:24:38 +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