1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00
Commit Graph

551 Commits

Author SHA1 Message Date
wolfreak99
ca19ececd6 Create folder button
Fixed remarks

Update comments to plural usage
2016-10-19 02:48:02 -04:00
Ted John
00e907d007 Merge pull request #4414 from Broxzier/extended_tile_inspector
Extended tile inspector
2016-10-16 21:12:21 +01:00
Ted John
0c20b547f4 Fix #4625: Guest/peep hover text not rendered on x64 build
A recent regression where inline string sprites were changed to be treated as intptr rather than uint32.
2016-10-16 20:26:02 +01:00
Ted John
b6a0890d97 Add string format debugging assistance 2016-10-16 20:24:32 +01:00
Broxzier
52beb417e7 Cleanups 2016-10-11 23:27:12 +02:00
Broxzier
e078c032dd Add banner text info. Fix rotating banners (they are never rotated, but have a position) 2016-10-11 23:27:09 +02:00
Broxzier
4243545faa Large scenery info 2016-10-11 23:27:07 +02:00
Broxzier
a68dc7afb8 Add fence and banner info to tile inspector
This commit also renamed a flag, and corrected the use of one. The
flags in question are WALL_SCENERY_BANNER, WALL_SCENERY_2_FLAG4, and
WALL_SCENERY_2_FLAG5.
2016-10-11 23:27:04 +02:00
Broxzier
34a7ab5c63 Reordered widget defines
These defines are used to calculate the edges of the widgets. They are
now ordered in the same way the widgets are listed for the pages.
This commit also adds some extra defines, to make it more easy to tweak
the sizes and padding of widgets.
2016-10-11 23:27:03 +02:00
Broxzier
0de8b4f1f5 Add dropdown for changing fence slopes 2016-10-11 23:27:02 +02:00
Broxzier
545da27201 Add clamp button for corrupt elements 2016-10-11 23:27:01 +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
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
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
Hielke Morsink
874ccb4c6c Added sort button, cleaned up page switching. 2016-10-11 23:21:32 +02:00
Hielke Morsink
863aa236a3 Displaying track ID and sequence 2016-10-11 23:21:30 +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
e449f88479 Path details and properties 2016-10-11 23:10:13 +02:00
Hielke Morsink
86cd6aea60 [WIP] Prepared group boxes for details and properties 2016-10-11 22:18:09 +02:00
Michał Janiszewski
b007aa98af Fix #4593: game crashes on startup (#4594) 2016-10-11 13:54:23 +02: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
Michał Janiszewski
7f9fa28995 Fix uninitialised variables 2016-10-09 22:43:07 +02:00
LRFLEW
e5ff7412e4 Refactor/Improve String and Path Handling 2016-10-09 15:29:58 -05:00
Michał Janiszewski
71d0861be1 Mark classes as final
This may hint compiler to de-virtualise some calls.
2016-10-04 18:14:29 +01:00
Ted John
08eb1db6d3 Fix crash due to memset to 0 on std::string 2016-10-02 19:16:09 +01:00
jensj12
44a53dd031 Allow 31 trains per ride (cheat and tooltip)
Changes the disable train lenght limit cheat to also disable the limit on the number of trains and renames it to 'disable vehicle limits'. Now any tracked ride can have up to 31 trains with 255 cars each. To reduce confusion, I also added a tooltip to the spinners on the vehicle tab.
2016-10-01 20:58:46 +02:00
wolfreak99
c60396cb53 Add option to disable weather gloom and rain effects 2016-09-21 10:35:02 -04:00
Ted John
5519365fe0 Clean up parsing work data after parse 2016-09-20 12:48:35 +01:00
Ted John
f31bf03ee9 Refactor LanguagePack to interface / implementation
This reduces the required amount of includes and definitions necessary in LanguagePack.h and having to declare private signatures twice.
2016-09-20 12:29:38 +01:00
Ted John
dd66ae39ae Clean up LanguagePack and fix memory leak 2016-09-19 19:42:27 +01:00
Ted John
bb348acf57 Remove original string support 2016-09-13 23:27:29 +01:00
Ted John
de8e5b9f55 Remove unused addresses in localisation.c 2016-09-13 23:25:00 +01:00
Ted John
4ec6b85ff7 Integrate user strings 2016-09-10 23:56:50 +01:00
Ted John
51277227eb Remove unused globals 2016-09-10 21:57:43 +01:00
Michał Janiszewski
b7497f6654 Reduce inclusions of addresses.h 2016-09-04 21:19:19 +02:00
Ted John
6a665330c2 Integrate gCommonStringFormatBuffer 2016-09-04 15:55:37 +01:00
Michał Janiszewski
f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Michał Janiszewski
599b092487 Conditionally integrate some variables 2016-09-03 18:40:23 +01:00
Ted John
17b69d257b Merge pull request #4097 from marijnvdwerf/clean/string-ids-2
Continue string ID cleanup
2016-08-28 14:05:13 +01:00
Ted John
8cf7e87b5c Fix many warnings for x64 2016-08-27 23:32:15 +01:00
Marijn van der Werf
46959b20b4 Split up ride mode values 2016-08-21 16:33:37 +02:00
Marijn van der Werf
7a6d1ac082 Use different title for keyboard shortcut dialog 2016-08-21 16:33:37 +02:00
Marijn van der Werf
ac8403f805 Use different title for preserved ride tab 2016-08-21 16:33:37 +02:00