1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

18244 Commits

Author SHA1 Message Date
duncanspumpkin
8fb91c93aa Remove unused news_variables 2022-06-07 22:35:06 +01:00
duncanspumpkin
3dba3984bf Remove map_variables 2022-06-07 22:35:06 +01:00
Michael Steenbeek
3fae2413db Use “car” instead of the ambiguous “vehicle”, part 1
Currently, the word “vehicle” is used for both “train” and “car”. This is a first effort towards disambiguation.
2022-06-07 20:36:20 +00:00
Ted John
dcab9d4c9c Merge pull request #17217 from IntelOrca/flac-support
Add optional support for streaming FLAC and OGG/vorbis audio.

Galaxy style from OpenMusic is over 40 MiB in wav. FLAC gets it down to about 27 MiB and OGG/vorbis can get it down to just 1.36 MiB. I think vorbis should be our primary format for distributing OpenRCT2 assets due to its low size, but FLAC is available for those who want higher quality assets.
2022-06-07 21:16:39 +01:00
Duncan
5bae48e505 Fix auto positioning 2022-06-07 14:09:18 +00:00
Duncan
bde81c1d34 Move MainWindow into window class (#17351) 2022-06-07 12:06:57 +01:00
Duncan
a73df7e376 Remove Editor Main (#17348)
* Remove editor main window

* Remove editor main completely

* Update src/openrct2/Editor.cpp

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-06-07 08:26:58 +01:00
Ted John
5be41b65f4 Fix flac decoding 2022-06-06 23:41:15 +01:00
Ted John
03d7bb0995 Removed unused variable 2022-06-06 23:41:15 +01:00
Ted John
fe2e054f53 Undo change to Drawing.String.cpp 2022-06-06 23:41:15 +01:00
Ted John
af2db16914 Disable flac and vorbis for bionic builds 2022-06-06 23:41:15 +01:00
Ted John
29d7c8217f Fix cmake file syntax error 2022-06-06 23:41:15 +01:00
Ted John
dc47f4296f Add way of disabling flac and vorbis support 2022-06-06 23:41:14 +01:00
Ted John
d493563f7e Fix windows builds 2022-06-06 23:41:14 +01:00
Ted John
95661f4df2 Refactor audio sources 2022-06-06 23:41:14 +01:00
Ted John
274bd921b3 Add ogg vorbis support 2022-06-06 23:41:14 +01:00
Ted John
73ac7954f1 Add flac support 2022-06-06 23:41:14 +01:00
frutiemax
0791b221e5 Add MusicUpdateFunction field to RTD 2022-06-06 21:00:16 +02:00
X123M3-256
4b11a4fc6a Remove incorrect flags from alpine coaster (#17347) 2022-06-06 20:10:56 +02:00
Michael Steenbeek
88b3e88bdd Remove Testpaint (#17333)
TestPaint served us well, but it hasn’t compiled for years, and before that it produced incorrect results for years.
2022-06-06 10:07:07 +02:00
Michael Steenbeek
3243183680 Fix #17187: Text input window does not resize correctly
window_set_resize() already invalidates, so no need to call it twice.

Co-authored-by: guljam <guljam@users.noreply.github.com>
2022-06-06 00:11:29 +02:00
Michael Steenbeek
60659f4a27 Fix #17337: APVC trains not imported properly when loading RCT1 parks 2022-06-05 23:19:35 +02:00
Hielke Morsink
d1d1a8507b Merge pull request #17328 2022-06-05 18:41:57 +02:00
Hielke Morsink
6d04e21518 Make map size spinners in mapgen window functional 2022-06-05 09:49:40 +02:00
Michael Steenbeek
339edcd0f3 Fix #17310: Reversed reversible vehicles not imported properly from S4 2022-06-05 09:40:53 +02:00
Hielke Morsink
7f2f27e826 Show map size inside spinner widgets 2022-06-04 23:23:00 +02:00
Hielke Morsink
49c3f49535 Split X and Y size in mapgen logic 2022-06-04 19:56:31 +02:00
Hielke Morsink
1644cb68d3 Split X and Y map size spinners in mapgen 2022-06-04 11:26:46 +02:00
Hielke Morsink
8d14016c3f Allow maps to be resized to non-rectangular shapes 2022-06-04 11:26:34 +02:00
spacek531
673ec0fa10 Frames rotation count part 1 (#17106)
Refactor vehicle sprite groups

rename rotationType to spriteGroup

remove numframes getters from scobject

add sprite groups getters

add documentation to plugin

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-06-03 23:03:02 +01:00
Ted John
9a4492c704 Fix unable to save landscape in editor
Audio objects were being unloaded, while they were still in the loaded object list.
2022-05-30 23:34:29 +02:00
Hielke Morsink
529c1bcd07 Merge pull request #17294 2022-05-30 19:37:57 +02:00
Hielke Morsink
c8df66fab9 Log exception when an error occurs 2022-05-29 08:30:42 +02:00
Duncan
1cc2901680 Dropdown Window Class Refactor (#17278)
* Move dropdown window to class

* Refactor and move locals into member vars

* Deduplicate slightly

* Apply review comments
2022-05-29 01:06:23 +01:00
Hielke Morsink
3ea70cdeaf Fix: shortcut key highlight remains when cursor leaves list 2022-05-28 20:55:42 +00:00
MaxMallon
a45a788da9 Fix scenarios made from paused saves starting paused 2022-05-28 21:55:34 +02:00
Ted John
d56a6a927c Fix #17276: RollerCoaster Tycoon 1 Title screen music not playing 2022-05-28 13:57:42 +02:00
Hielke Morsink
15581b509d Fix cursor pivot for land up/down cursor (#17255)
Co-authored-by: guljam <cube4none@gmail.com>
2022-05-28 11:53:45 +00:00
Hielke Morsink
205f98560b Remove highlight when cursor leaves new rides list 2022-05-28 13:09:26 +02:00
Hielke Morsink
d709668eab Remember scroll position instead of ride selection 2022-05-28 13:09:26 +02:00
Hielke Morsink
64eff42c60 Introduce constant for ride tab count 2022-05-28 10:16:41 +02:00
Rik Smeets
275adc9e68 Fix #7983: Change when certain G-forces show up in red
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-27 22:09:18 +00:00
X123M3-256
502f06af91 Add "Alpine Coaster" ride type (#16825)
* Implement "Alpine Coaster" ride type


Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-05-26 21:28:17 +00:00
Ted John
97c0c4e052 Merge pull request #16975 from IntelOrca/plugin/track-segments
[Plugin] Add APIs for track segments and track iteration
2022-05-26 20:33:53 +01:00
Ted John
2db373bb62 Increment plugin API version 2022-05-26 18:37:14 +01:00
Ken Reese
5d52f4fd31 Fixed > 4 to >= 4 in min height check for shore generation (#17280) 2022-05-25 06:48:10 +01:00
Ted John
bb102cc1ec Remove null audio source and fix crash on exit 2022-05-23 23:06:41 +01:00
Ted John
6465d42b57 Apply code review changes, auto* 2022-05-23 22:24:56 +01:00
Ted John
2effca59d1 Fix audio source leak 2022-05-23 22:24:56 +01:00
Ted John
2012488956 Fix issues with file finding on Linux 2022-05-23 22:24:56 +01:00