Commit Graph

2278 Commits

Author SHA1 Message Date
duncanspumpkin ba6345e410
Use title case 2021-11-21 22:43:22 +01:00
IntelOrca 34128dc262
Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00
hjort96 072597f080
Close #12825: Show object rotation in Tile Inspector 2021-11-16 23:16:59 +01:00
Duncan 5d2a56525f
Refactor min max cars per train from nsf (#15911) 2021-11-14 20:58:44 +00:00
Duncan dd9bc86e75
Minor refactor from nsf (#15910) 2021-11-14 16:31:01 +00:00
Michael Steenbeek 9134bd4788
Update RCT1 path names + British spelling for ‘grey’ 2021-11-13 23:38:04 +01:00
Michael Steenbeek e1a1560fd2
Fix #15878: Crash when opening ride window for corrupted vehicle 2021-11-09 18:41:33 +00:00
chrhaase 4ff0022c58
Fix #15844: Tile Inspector inconsistent text colour
`COLOUR_WHITE` was being passed as the colour when drawing
any text. The Options window uses the `rct_window::colours`
array for resolving the correct theme colour.
Replacing all occurrences of `COLOUR_WHITE` with
`w->colours[1]` makes the text colours more consistent.
In the details section values are still painted in black
no matter the colour theme, which is consistent with e.g.
the park information window.
2021-11-09 09:11:48 +01:00
Michael Steenbeek 084b752fb8
Merge pull request #15816 from ZehMatt/refactor/15630
Close #15630: Refactor TrackDesign
2021-11-07 19:53:32 +01:00
Michael Steenbeek 36bbb01352
Merge pull request #12869 from Broxzier/feature/TI-widget-code-cleanup
Refactor Tile Inspector widget definitions
2021-11-07 19:35:49 +01:00
Gaven Rendell 463f49586c
Fix #15843; Tile Inspector resizes too small. (#15860) 2021-11-07 11:24:33 +00:00
hjort96 1ac7b9227b
Close #13797: Refactor window to class RideList (#15836)
Co-authored-by: hjort96 <jonathan.hjorth96@hotmail.com>
2021-11-07 08:05:14 -03:00
Hielke Morsink f03a13da82
Simplify object selection string filtering 2021-11-06 17:24:42 +01:00
Hielke Morsink 38ee1c0f93
Simplify track list filtering 2021-11-06 17:04:05 +01:00
Hielke Morsink 76b5479bbb
Fix undefined use of cctype functions 2021-11-06 16:27:54 +01:00
Michael Steenbeek e878f43148
Fix #15602: Cannot relocate shops properly 2021-11-04 00:10:12 +01:00
Hielke Morsink d6aeed76be
Introduce helper function for checkbox groups 2021-11-01 22:24:56 +01:00
Hielke Morsink f1ded8071c
Tweak column headers and scrollbar 2021-11-01 21:56:12 +01:00
Hielke Morsink 65056d3aed
Update and remove obsolete tile inspector macros 2021-11-01 21:34:52 +01:00
Hielke Morsink 4cdfeebd40
Make groupbox settings array static 2021-11-01 21:28:40 +01:00
Hielke Morsink 903c1535d4
Update surface page to use new widget system 2021-11-01 21:26:35 +01:00
Hielke Morsink 177d7a316a
Update path page to use new widget system 2021-11-01 21:25:44 +01:00
Hielke Morsink 8dafa2de75
Update track page to use new widget system 2021-11-01 21:14:07 +01:00
Hielke Morsink d46f981f03
Update scenery page to use new widget system 2021-11-01 21:05:55 +01:00
Hielke Morsink 15d4d2df41
Update entrance page to use new widget system 2021-11-01 20:31:10 +01:00
Hielke Morsink 0bff09ad4b
Update wall page to use new widget system
Also fixes setting of groupbox title properly and make the list static
2021-11-01 20:30:56 +01:00
Hielke Morsink 5bcbfaed0d
Fix incorrect WIDX ID comments 2021-11-01 19:45:43 +01:00
Michael Steenbeek af78bbb448
Fix Tracks Manager crash on closing the tracks list 2021-11-01 18:32:55 +01:00
Michael Steenbeek 2e063e6df8
Fix #15831: Track Manager crash after clicking “Select another ride” 2021-11-01 18:32:28 +01:00
Hielke Morsink 325fb128d7
Update large scenery page to use new widget system 2021-10-31 22:59:26 +01:00
Hielke Morsink c53532e0b9
Update banner page to use new widget system 2021-10-31 22:57:01 +01:00
Hielke Morsink a3b76747a8
Start use of constexpr functions for widget placement 2021-10-31 22:44:42 +01:00
ζeh Matt d1e5a5d977
Refactor last uses of place_virtual_track 2021-10-29 02:06:59 +03:00
ζeh Matt 5ef99ef549
Use TrackDesignPreviewRemoveGhosts over place_virtual_track 2021-10-29 02:06:59 +03:00
ζeh Matt 162b0ce321
Use TrackDesignPreviewDrawOutlines over place_virtual_track 2021-10-29 02:06:59 +03:00
ζeh Matt 4ab6a3721d
Use TrackDesignGetZPlacement over place_virtual_track 2021-10-29 02:06:59 +03:00
ζeh Matt 545b01e7e1
Rename track design functions to PascalCase 2021-10-29 02:06:59 +03:00
ζeh Matt cd7e35044a
Move statics into TrackDesignState and pass that to each function 2021-10-29 02:06:59 +03:00
Duncan 3f19d6f7d7
Split Peep header Guest into separate header (#15810)
* Move guest functions and classes to guest header

* Reduce includes of Peep.h
2021-10-28 21:38:23 +01:00
Duncan a8d2d5fd44
Staff patrol area 2 from NSF (#15600)
* Port over changes from NSF for staff

* Fix import and export

* Fix crash on export

* Fix import issue

* Fix patrol import issue

* Remove staff id field

* Increment network version

* Actually remove all instances of staff id

* Update replays
2021-10-27 21:19:10 +01:00
Michael Steenbeek ad2a77bfa5
Fix #12981: New vehicles do not appear in vehicle type dropdown 2021-10-27 11:30:55 +02:00
Michael Steenbeek 3997210bba
Fix #15585: Clear Tool issues 2021-10-27 08:08:11 +02:00
Tulio Leao 3e182e5b24
Merge pull request #15624 from vijfhoek/serverlist-screencoordsxy 2021-10-27 00:20:02 -03:00
Sijmen cec8447c6f
Refactor Viewport.cpp to use ScreenRect (#15790) 2021-10-27 00:13:38 -03:00
Sijmen 380b20f71d
Apply review suggestions 2021-10-23 18:20:45 +02:00
Hielke Morsink 0e8c4ec642
Use ScreenCoordsXY/ScreenSize for columns 2021-10-23 11:22:48 +02:00
Hielke Morsink 30506c7a35
Use ScreenCoordsXY and ScreenSize structs for main toolbar 2021-10-23 11:22:43 +02:00
Hielke Morsink 1a947c55d0
Update scroll and spinners 2021-10-22 19:52:17 +02:00
Sijmen dc532f6ac9
Rename showServerVersion to showVersionTooltip 2021-10-22 00:51:37 +02:00
Hielke Morsink 0d6a503e22
Move table header text to widget definitions 2021-10-21 23:41:50 +02:00