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
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
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
Hielke Morsink
6d04e21518
Make map size spinners in mapgen window functional
2022-06-05 09:49:40 +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
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
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
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
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
Duncan
5349e6fe88
Window Class Refactor: DebugPaint ( #17269 )
...
* Move debug paint window to class
* Refactor global
* Use ref where possible
2022-05-22 23:15:39 +01:00
Hielke Morsink
6b94d8c0bc
Fix overwriting buffer for parent directory when browsing "Up"
2022-05-22 14:32:06 +00:00
guljam
530c62c27b
Fix hand cursor position on Inventions List
2022-05-22 14:02:26 +02:00
Hielke Morsink
95df149804
Fix: Ghosts and tooltips move when panning the viewport by right-click dragging
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2022-05-21 09:40:43 +02:00
Michał Janiszewski
7832288ff9
Plug memory leak in OpenGL engine ( #17250 )
2022-05-20 21:43:16 +00:00
Ted John
0b9184b99b
Avoid overwriting _currentTrackPieceDirection when placing TD
2022-05-10 22:41:09 +01:00
Ted John
b441cf768c
Log SDL2 version on startup
2022-05-10 21:54:04 +02:00
Michał Janiszewski
4084db6ffc
Merge pull request #16887 from janisozaur/msvc-arm
...
MSVC ARM64
2022-05-08 00:33:41 +02:00
Michael Steenbeek
493c97246c
Merge pull request #16952 from karst/reorg-objsel
...
Make "Object Selection" order more coherent
2022-05-08 00:02:12 +02:00
Michał Janiszewski
3bc5c6c563
Introduce MSVC ARM64 platform
2022-05-07 23:48:27 +02:00
Michał Janiszewski
f3a24dbfef
Only allow breakpad to be used on x86-like targets
2022-05-07 23:48:26 +02:00
Gymnasiast
0708b82430
Remove unnecessary code, check bounds and restore newline
2022-05-07 23:39:59 +02:00
Sebastian Flinck Lindström
8fe124b1dd
Close #13966 : Sort Music Style dropdown by name
2022-05-07 20:51:51 +00:00
Michael Steenbeek
29d123b79d
Minor code refactor aimed at optimization code ( #17055 )
...
* Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors
* Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
* Fix: Main thread can reallocate data of worker threads
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2022-05-07 20:18:09 +02:00
Karst
cfa18bd113
Change Object Selection order
...
Might take a little bit for people to get used to. But it's a lot more coherent and makes more sense.
2022-05-07 19:55:58 +02:00
germanaizek
958bfbc08a
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
2022-05-07 16:05:39 +02:00