rd3k
fb59dab59e
Add debug toolbar menu, start tile inspector
2015-06-11 20:51:39 +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
Ted John
d0c0170858
Merge pull request #1277 from Gymnasiast/sandbox-mode-4
...
Rework land ownership cheat into sandbox mode
2015-06-09 19:34:46 +01:00
Duncan Frost
322d45a5dd
Prevent invalid sprite coordinates from breaking sprite list.
...
Fixes @Gymnasiast 's issues in sandbox
2015-06-09 18:16:27 +01: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
8cfc71ccae
fix #1269
2015-06-09 01:24:02 +01:00
IntelOrca
acfcf2c33b
implement a bit of sub_66397F for sandbox mode
2015-06-08 22:19:06 +01:00
IntelOrca
2888494faa
implement three functions used in save scenario
2015-06-08 21:35:09 +01:00
IntelOrca
b79bc68af9
fix #1234
2015-06-07 14:01:32 +01:00
Gymnasiast
c15da4370a
Added cheat to edit land ownership settings in-game
2015-06-07 12:45:55 +02:00
Duncan Frost
117526ec77
Fix #1239 . Issue caused by sign extension.
2015-06-06 20:12:21 +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
Duncan Frost
17abada57e
Fix invalid locations breaking viewports
...
Fixes #1183 . Note this isn't the same fix that rct2 uses. But I feel it solves the main issue
2015-06-03 19:00:16 +01:00
Duncan Frost
fb1c8c4e42
Check against invalid tiles correctly
2015-06-03 18:02:41 +01:00
rd3k
9d7dc3bacc
Use uint16 for park size
2015-05-31 13:00:39 +01: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
e04f649d2a
Added scenery_large_update
...
From quick test seems to be working
2015-05-30 06:27:55 +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
Duncan Frost
54a37edb44
Implemented clear scenery update
...
Not tested.
2015-05-30 06:27:47 +01:00
zsilencer
5c7dc6bb9a
#1165
2015-05-29 21:50:32 -06:00
IntelOrca
6426adb45d
remove asm for set scroll size and add gCurrentAwards
2015-05-26 19:28:56 +01:00
Robert Jordan
ab942236d7
Added in-game object selection
...
New console commands:
- open (opens a window)
- windows (lists windows usable with open)
- load_object (loads the specified obj with the given filename)
- object_count (lists the number of objects in the scenary)
Console commands now have a usage variable.
Use: "open object_selection" for the object selection window.
Once the object selection window is closed, all objects will
automatically be researched whether or not they were already in the base
scenario.
The object selection window will close any other windows when selecting
an object to prevent a crash.
2015-05-23 14:56:54 -04: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
Duncan Frost
3008d56851
Fix #1098 .
...
Forgot to increment the mapElement after during loop.
2015-05-19 17:41:32 +01:00
Duncan Frost
a69575dbea
Refactor of update_park_fences
...
Now uses functions to work out map location ownership.
Also uses mapElements instead of tileIdxs.
2015-05-18 18:27:01 +01:00
Robert Jordan
eb85b8f4dd
One small mispelled function fix
2015-05-17 12:42:43 -04: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
6d5a07f7ef
Finished cleaning up land rights tool code
2015-05-15 15:19:36 -04: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
Timmy Weerwag
10c4722a86
Deciphered flags and z param of get_map_coordinates_from_pos
2015-05-03 13:54:08 +02:00
Duncan Frost
1728aebb8c
Fix #958 .
...
Issue was caused by an old bit of code that had been added in the force weather cheat to keep it sunny for longer before realising how the climate operated correctly. Instead now it sets the weather to the desired value and starts a normal amount of waiting time before returning to the normal weather cycle.
2015-04-28 17:11:46 +01:00