Aaron van Geffen
d32809eaef
Fix formatting for StaffFirePrompt ( #12525 )
2020-07-30 23:06:01 +02:00
Aaron van Geffen
16ad1d18fb
Refactor another set of widget definitions ( #12503 )
...
* Refactor TopToolbar
* Refactor TrackDesignManage
* Refactor TrackDesignPlace
* Refactor TrackList
* Refactor ViewClipping
* Refactor Viewport
* Refactor TitleEditor
* Refactor TitleCommandEditor
* Refactor Themes
* Refactor TextInput
2020-07-30 22:58:49 +02:00
Michael Steenbeek
e0f2aa9b99
Fix: Brakes keep working during "Brakes failure"
...
This was an error in the original implementation back in 2015.
Thanks to @duncanspumpkin for checking the assembly.
2020-07-30 22:21:19 +02:00
Michael Steenbeek
cd86d3d757
Fix #7969 : Loading landscape resets money, inventions and objective ( #12520 )
2020-07-30 21:43:46 +02:00
ζeh Matt
b0c67762b7
Merge pull request #12485 from ZehMatt/network/cleanup-1
...
Refactor the Network a bit, setting the stones for further refactor work
2020-07-30 20:54:18 +02:00
Michael Steenbeek
e03753c139
Fix #12498 : Circus construction ghost does not rotate ( #12519 )
2020-07-30 20:29:26 +02:00
Matt
f258c8034d
Wrap code with macro test DISABLE_NETWORK
2020-07-30 20:29:16 +02:00
Aaron van Geffen
73bb5db99a
Update Xcode project for network changes.
2020-07-30 20:29:15 +02:00
Matt
af757fa58e
Categorize members of NetworkBase
2020-07-30 20:29:15 +02:00
Matt
4cede91424
Introduce NetworkClient and NetworkServer
2020-07-30 20:29:15 +02:00
Matt
cf1fb9ecff
Move some types into NetworkTypes.h
2020-07-30 20:29:15 +02:00
Matt
37f6a11a1f
Move Network declaration into header and rename to NetworkBase
2020-07-30 20:29:15 +02:00
Michael Steenbeek
bb1d81471d
Fix #12506 : Cannot advertise food if there are no rides in the park
2020-07-29 10:44:38 +02:00
OpenRCT2 git bot
1f3ea50915
Merge Localisation/master into OpenRCT2/develop.
2020-07-29 04:03:25 +00:00
Michael Steenbeek
469f894701
Fix #12505 : Stores can only have the first product advertised
2020-07-29 00:08:16 +02:00
Tulio Leao
63f683853e
Merge pull request #12479 from pizza2004/news-enum
...
Refactor NewsItem to use strong enums
2020-07-28 18:21:45 -03:00
Michael Steenbeek
f8ab48176a
Tile Inspector: remove hardcoded surface/edge style names
2020-07-28 22:37:52 +02:00
Sidney
fbdd1042b8
Fix #12486 : `set-rct2` has a broken g1.dat check
2020-07-28 22:32:28 +02:00
pizza2004
a3edeabb5c
Refactor NEWS_FLAG_* to use strong enum
2020-07-28 12:54:31 -06:00
pizza2004
c2b11a9582
Close #12398 : Refactor NEWS_TYPE_* to use strong enum
2020-07-28 12:54:31 -06:00
pizza2004
cee7f8d34c
Close #12397 : Refactor NEWS_ITEM_* to use strong enum
2020-07-28 12:54:18 -06:00
ζeh Matt
8490e87eeb
Close #12422 : Refactor NETWORK_COMMAND to use strong enum ( #12481 )
...
* Refactor NETWORK_COMMAND to strong enum
* Refactor all uses of NETWORK_COMMAND
Closes #12422
2020-07-28 17:24:40 +01:00
frutiemax
67554a2aae
Close #12458 : Refactor STARTUP_ACTION to use strong enum ( #12480 )
2020-07-28 17:23:09 +01:00
wdarvin
95b4bca3d0
Close #12448 : Refactor RAIN_LEVEL to use strong enum ( #12488 )
...
* Close #12448 : Refactor RAIN_LEVEL to use strong enum
* Refactor to remove enum suffix
2020-07-28 17:19:45 +01:00
Lars Sørensen
a55f1947bd
Add Danish translation and LPSGizmo to contributors.md ( #12507 )
2020-07-28 11:49:19 +02:00
OpenRCT2 git bot
59c2e01314
Merge Localisation/master into OpenRCT2/develop.
2020-07-28 04:03:24 +00:00
Aaron van Geffen
b34b573ad9
Refactor more widget definitions ( #12354 )
...
* Refactor Dropdown
* Refactor EditorMain
* Refactor EditorScenarioOptions
* Refactor InstallTrack
Increased window height to 460 (was 448); one line of text was overflowing.
* Refactor Guest
* Refactor LandRights
* Refactor LoadSave
* Refactor Main
* Refactor Map
* Add extra constants to EditorScenarioOptions
2020-07-27 19:54:22 -03:00
frutiemax
af0fc89cf4
Close #12456 : Refactor INPUT_STATE to use strong enum ( #12484 )
2020-07-27 19:51:10 -03:00
Michał Janiszewski
6a191224b5
Fix formatting of UiContext.macOS.mm
2020-07-27 17:20:28 +02:00
Michał Janiszewski
66a9c9afc6
Generate position-independent code for amd64 builds for Linux
...
This is standard on some distributions, a good practice to play along
with ASLR and changes a bit what compiler knows about possible null
values, for which it complained in Launchpad builds in the past.
2020-07-27 17:20:00 +02:00
OpenRCT2 git bot
c0a1370df9
Merge Localisation/master into OpenRCT2/develop.
2020-07-27 04:03:39 +00:00
Michael Steenbeek
41162cc22f
Fix: bad kerning on lowercase 'j' character (original bug)
2020-07-26 23:19:16 +02:00
ζeh Matt
8217acd86f
Merge pull request #12487 from IntelOrca/fix/12297-opengl-resizeatlas
...
Fix #12297 : OpenGL renderer causing artifacts
2020-07-26 20:24:35 +02:00
Ted John
cf9e8022a0
Fix #12297 : OpenGL renderer causing artifacts
...
Do not re-allocate texture memory if we don't need to and aren't going to restore the old pixels.
2020-07-26 18:46:23 +01:00
Duncan
8a378ad236
Remove uses of GET_PEEP macro and replace with GetEntity ( #12467 )
...
* Use TryGetEntity and GetEntity instead of macro
* Use GetEntity for ui guest window
* Remove final GET_PEEP macro uses
* Fix remaining issues
2020-07-26 17:42:02 +01:00
Michael Steenbeek
ba10b84789
Fix #12478 : Crash in track_block_get_next()
2020-07-26 17:16:27 +02:00
Michael Steenbeek
9db2aac3bf
Merge pull request #12482 from frutiemax/Fix12457
...
Close #12457 : Refactor INTRO_STATE to use strong enum
2020-07-26 15:40:22 +02:00
frutiemax
6598ae14aa
Close #12457 : Rename INTRO_STATE to use PascalCase
2020-07-26 09:32:53 -04:00
frutiemax
0f1788d273
Part of #12457 : Refactor INTRO_STATE to use strong enum
2020-07-26 09:25:29 -04:00
Michał Janiszewski
f1fa016400
Reset window pointer when cleaning up after dropdown
2020-07-26 10:09:56 +02:00
frutiemax
96a75f8c2c
Amend #12470 : Make zooming at pointer take tile height into account
2020-07-26 01:28:29 +02:00
ζeh Matt
b7e469cf33
Fix #11623 : Erratic zoom behavior when pointing outside of the map
2020-07-26 00:27:40 +02:00
ζeh Matt
28d3b51c72
Merge pull request #12385 from ZehMatt/disable-vcpkg
...
Disable vcpkg for all projects
2020-07-25 20:52:46 +02:00
Michael Steenbeek
649757b77d
Merge pull request #12373 from ZehMatt/network/connect-update
...
Improve connecting to servers
2020-07-25 20:45:25 +02:00
Matt
f604b41d14
Disable vcpkg for all projects
2020-07-25 20:02:57 +02:00
Duncan
3de2de9814
Reduce use of get_sprite ( #12382 )
...
* Reduce use of get_sprite
* Update src/openrct2/world/Sprite.cpp
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-07-25 18:03:14 +01:00
Michael Steenbeek
b70716d5f6
Fix #11804 : Some RCT1 fences are imported at the wrong height
2020-07-25 16:58:22 +02:00
Matt
4b587e3989
Minor cleanup
2020-07-25 16:02:26 +02:00
Matt
ab48c00a89
Fix client being stuck on empty object list
2020-07-25 15:23:26 +02:00
Matt
241ff111dd
Address reviews
2020-07-25 14:10:01 +02:00