Commit Graph

9737 Commits

Author SHA1 Message Date
Broxzier 545da27201 Add clamp button for corrupt elements 2016-10-11 23:27:01 +02:00
Broxzier 3eb4d8c182 Add raise/lower for remaining elements, fix sort button not switching page 2016-10-11 23:27:00 +02:00
Broxzier f5423f7586 Entrance details
@todo: For park entrances, the left and right tile do not show the entrance ID. Will solve this later.
2016-10-11 23:26:59 +02:00
Broxzier af59bf3c2b Add entrance type detail and raise/lower ability 2016-10-11 23:26:58 +02:00
Broxzier a9654213c9 Improve corrupt element insertion, code formatting
Corrupt elements are now placed right under the selected element
Local tile-inspector variables now all use camelCaseNames
Removed unused string, and shifted string IDs
2016-10-11 23:24:43 +02:00
Broxzier 7eb4c72e94 Moved new strings to end of file, and formatting
strings should be in order, and code formatted was to make it more consistant
2016-10-11 23:21:43 +02:00
Broxzier 1871f4290a Add raise/lower option for surface and fix clearance height 2016-10-11 23:21:42 +02:00
Broxzier 8707cea1b4 Add surface corner properties 2016-10-11 23:21:41 +02:00
Broxzier 5807291b30 scenery page and some changes to the other pages 2016-10-11 23:21:40 +02:00
Broxzier eeca2eb976 Removes unneeded variables from track block functions 2016-10-11 23:21:39 +02:00
Broxzier 0d48418c5f Add path name to path details 2016-10-11 23:21:38 +02:00
Broxzier e45470ad89 Fix 'RCT2_GLOBAL undefined' build error 2016-10-11 23:21:37 +02:00
Broxzier dbe5ad1bb1 Fix 'type defaults' build error 2016-10-11 23:21:36 +02:00
Broxzier 40bb41d15d pinner for fence height, apply-all works for lift hill & cleanups
- Removes old (now unused) string
- Cleans up includes in tile_inspector.c
- Properly invalidating widgets upon changes made
- Invalidates tile when lift hill is changed
- Makes 'apply to all' works for lift hills
2016-10-11 23:21:35 +02:00
Broxzier a894fa44d4 Add toggle to raise/lower entire track block, and to raise fances
On top of that, added the definition of one of the map flags, and an
assert that I placed while debugging, which wouldn't hurt leaving there.
2016-10-11 23:21:34 +02:00
Hielke Morsink 2beccc1e84 Added 2 pixel transparent border to icon for its offset 2016-10-11 23:21:33 +02:00
Hielke Morsink 874ccb4c6c Added sort button, cleaned up page switching. 2016-10-11 23:21:32 +02:00
Hielke Morsink 5b57e3e5e9 Corrected comments 2016-10-11 23:21:31 +02:00
Hielke Morsink 863aa236a3 Displaying track ID and sequence 2016-10-11 23:21:30 +02:00
Hielke Morsink 6b16c18532 Solved string allocation issue by passing two arguments now (thanks Ted)! 2016-10-11 23:21:29 +02:00
Hielke Morsink 263c64dfba Added ride information for tracks, and some minor fixes
- Displaying ride infoormation for track pieces (type, ID, name)
- Allowing to change height of a track piece
- Allowing to set and upset wether a track piece is a lift hill
- Consistent text colouring for all labels and widgets
- Making use of the chain flag instead of magic numbers
- Fixed 'insert corrupt element' not working (button was not enabled
  anymore)
- Formatting: ordered includes, consistent variable naming, comments for
  closing switches
2016-10-11 23:20:18 +02:00
Hielke Morsink 8f94976409 Added land ownership status to details. 2016-10-11 23:12:08 +02:00
Hielke Morsink c19339edfe Minor improvements
- Paths are now properly rotated, including flat ones
- Banners can not be rotated
- The X and Y coordinates can be changed with spinners
- Highligint selected tile while now hovering over viewport
- Added helper function for enabling and disabling widgets more easily
2016-10-11 23:12:07 +02:00
Hielke Morsink 2c93b5b3e3 Replaced buttons with spinners and checkboxes 2016-10-11 23:10:15 +02:00
Hielke Morsink c10c1e4496 Refactored to make extending the group boxes easy 2016-10-11 23:10:14 +02:00
Hielke Morsink e449f88479 Path details and properties 2016-10-11 23:10:13 +02:00
Marijn van der Werf 6cb9297968 Decompile wooden_b_supports_paint_setup 2016-10-11 21:42:39 +01:00
Marijn van der Werf db39bbc66e Fix path_a_supports_paint_setup 2016-10-11 21:42:12 +01:00
Hielke Morsink 86cd6aea60 [WIP] Prepared group boxes for details and properties 2016-10-11 22:18:09 +02:00
Ted John a08052ecb9 Remove _cursors, no longer used 2016-10-11 20:06:36 +01:00
Ted John 33a6c4fce3 Refactor cursors to C++ and improve isolation 2016-10-11 18:23:49 +01:00
Ted John 3085dfd73c Merge pull request #4592 from marijnvdwerf/clean/address-comment
Add address comments to paint functions
2016-10-11 17:34:14 +01:00
Marijn van der Werf 068a5d9258 Add address comments for lay down and flying rc 2016-10-11 15:01:44 +02:00
Michał Janiszewski b007aa98af Fix #4593: game crashes on startup (#4594) 2016-10-11 13:54:23 +02:00
Marijn van der Werf 9896755b74 Add address comments
# Conflicts:
#	src/ride/coaster/flying_roller_coaster.c
#	src/ride/coaster/lay_down_roller_coaster.c
2016-10-11 02:13:18 +02:00
Marijn van der Werf 6a902f4f92 Ignore unused variable warnings 2016-10-11 02:11:38 +02:00
Marijn van der Werf b24b23c28a Add comment with function table address 2016-10-11 02:11:33 +02:00
Ted John 8cdfbf0271 Merge pull request #4590 from marijnvdwerf/paint/path-supports
Paint wooden path supports
2016-10-10 23:47:49 +01:00
Ted John 27549e9d40 Merge pull request #4587 from janisozaur/regenerate-invertable
Regenerate invertable Flying and Lay down RCs
2016-10-10 22:54:28 +01:00
Marijn van der Werf acce4366fa Decompile path support drawing 2016-10-10 23:51:19 +02:00
Michał Janiszewski 7eab529b98 Restore photo and station for Flying RC 2016-10-10 23:27:12 +02:00
Michał Janiszewski 1326d69928 Restore photo and station for Lay down RC 2016-10-10 23:23:32 +02:00
Marijn van der Werf e3d75efb01 Remove original path paint 2016-10-10 23:21:21 +02:00
Michał Janiszewski 5dbde5d565 Re-generate Flying RC as invertable 2016-10-10 23:12:10 +02:00
Michał Janiszewski 31c10040c4 Re-generate Lay down RC as invertable 2016-10-10 23:10:55 +02:00
Michał Janiszewski 053945034a Fix uninitialised value in testpaint 2016-10-10 23:08:48 +02:00
Ted John b54cb2ca8a testpaint: Add flying rc and lay down rc as invertable 2016-10-10 22:05:15 +01:00
Michał Janiszewski e70765caa2 Fix #4577: Crash when opening Rides dialog box
Fixed by properly initialising values.
2016-10-10 19:06:22 +01:00
Ted John d266a987bb Merge pull request #4544 from IntelOrca/paint/wooden-rc
Paint Setup: Wooden Roller Coaster
2016-10-10 19:05:59 +01:00
Ted John 70a1e52472 Revert openrct2.vcxproj.user 2016-10-10 19:05:39 +01:00