Commit Graph

76 Commits

Author SHA1 Message Date
IntelOrca 5724567b15 implement ride_get_place_position_from_screen_position 2015-07-10 14:54:02 +01:00
IntelOrca f906391c9d remove registers from window events and changed to typed signatures 2015-07-10 01:39:16 +01:00
Runelaenen bec1a52bba Changed function and occurences
It doesnt have to rotate three times to get an anti-clockwise return.
2015-07-09 14:22:28 +02:00
Runelaenen 624a402fa9 Removed comment 2015-07-09 14:22:26 +02:00
Runelaenen 5109224ba0 Add submenu and anti-clockwise rotation 2015-07-09 14:22:22 +02:00
zsilencer 9eb4958dde fix #1002 2015-07-05 08:57:01 -06:00
IntelOrca 46178bb44f implement finish-map-window part 6 2015-07-02 17:00:39 +01:00
IntelOrca 19edd8a3bb refactor game command enum 2015-06-29 17:36:07 +01:00
Robert Jordan 9ad21599a3 Decompiled top_toolbar tool events
Also fixed bug with land rights tool gridlines
2015-06-26 11:40:37 -04:00
Gymnasiast a6225ebf06 Add option to select by track type (RCT1 style); correct misspellings of 'separate' 2015-06-24 12:41:19 +02: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 4d4a000117 add object selection to debug dropdown 2015-06-20 15:07:36 +01: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
rd3k fb59dab59e Add debug toolbar menu, start tile inspector 2015-06-11 20:51:39 +01:00
IntelOrca 91c73836a3 fix and improve raise and lower land / water / clear scenery 2015-06-10 15:41:50 +01: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
LRFLEW d3a6965f95 Made window_loadsave_open accept a default file name
This fixes #1231, #1245, and adds room for future work, such as porting
track saving.
2015-06-07 17:12:17 -05:00
IntelOrca 2eea6bcd4b fix #1229 2015-06-07 13:51:27 +01:00
Robert Jordan 44e5af5fe0 Removed unecissary usage of clear scenery tool 2015-06-02 16:43:21 -04:00
IntelOrca 137c8c190d add giant screenshot to file menu 2015-06-02 14:12:36 +01:00
Robert Jordan 765bf976ee Renamed Colour Schemes to Themes
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan 41171aa304 Resolved Merge Conflicts 2015-05-30 16:00:13 -04:00
Duncan Frost 2532e9aad2 Added try_place_ghost_scenery.
Ghost scenery placement is now performed by OpenRCT2 game commands.
2015-05-30 07:04:15 +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 eef779378e Added more of update_scenery
Only large scenery missing
2015-05-30 06:27:54 +01:00
Duncan Frost 5578a16663 Started update_scenery 2015-05-30 06:27:54 +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 5fa982f08b Added tool_update_land
Not tested
2015-05-30 06:27:49 +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
Robert Jordan dc1e38180e Starting work on colour schemes config settings 2015-05-29 12:04:53 -04:00
Graham Edgecombe 8da01a1bf7 Fix building with -DDISABLE_TWITCH.
The gTwitchEnable variable was used in some places without being
wrapped around an #ifndef DISABLE_TWITCH block.
2015-05-28 11:52:40 +01:00
IntelOrca 1ac93e44c9 add twitch integration, part 1 2015-05-25 20:36:40 +01:00
Gymnasiast 7868d19522 Add option to exit Openrct2 2015-05-23 02:21:05 +02:00
Ted John 3f71502718 Merge pull request #1107 from zsilencer/decompiling
game_command_place_scenery
2015-05-21 21:20:22 +01:00
Gymnasiast 36ccfe77e0 Add GUI option for switching to the RCT1 colour scheme, along with proper invalidation of the affected windows 2015-05-21 12:28:51 +02:00
zsilencer 9ee4b64fa1 game_command_place_scenery 2015-05-20 19:21:13 -06:00
Robert Jordan c7e3639663 Sprite build command
build uses ../../data/g2.dat and all numbered images in
../../resources/g2/.
No other parameters needed.
Also changed speed button hyper arrows to support game speeds inbetween
4 and 8.
2015-05-20 11:52:40 -04:00
Robert Jordan 0a71b633c7 Added game speed button sprites
Also added empty.png to resources to fill in g2 sprites reserved by
other contributors.
2015-05-19 11:51:59 -04:00
IntelOrca 8772cdd7aa add in game console 2015-05-19 03:54:09 +01:00
Robert Jordan 77767a6bc5 Didn't update top_toolbar 2015-05-18 18:16:43 -04:00
Ted John fa75053e08 Merge pull request #1058 from trigger-death/develop
Land tool painting and text input sizes
2015-05-13 18:33:05 +01:00
Robert Jordan ceaa97c321 Land tool paint mode, and text input sizes 2015-05-12 11:37:16 -04:00
Gymnasiast 8ed8b56abe Introduce a config-file option for a RCT1-like colour scheme 2015-05-12 16:13:30 +02:00
Robert Jordan c25ef45827 Named 2 input flags, and dropdown fix
Named INPUT_FLAG_1 to INPUT_FLAG_DROPDOWN_STAY_OPEN
Named INPUT_FLAG_2 to INPUT_FLAG_DROPDOWN_MOUSE_UP

placed RCT2_ADDRESS_INPUT_FLAGS where valid and replaced all bitwise
references to it with appropriate input flags.

Changed ride view dropdown to hold only as it should be.
2015-05-07 14:31:11 -04:00
Duncan Frost 503b330eb8 Fix bugs in viewport interaction and loadsave dialog
Part of the issue was comparing an int litteral when it should have been a short but the main issue was due to a wrong mask in the viewport interaction code.
Loadsave MS dialog box should now work correctly.

Fixes #1040.
Fixes #1039.
2015-05-05 19:11:35 +01:00
Duncan Frost ebf9bb67ec Fix #1032 scenery secondary colour
Forgot to pass the colour variable to the create scenery command.
2015-04-30 17:02:21 +01:00