Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from OpenRCT2:develop #34

Merged
merged 599 commits into from
Dec 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
599 commits
Select commit Hold shift + click to select a range
838cd4f
When placing a block brake perform full operation mode switch
manuelVo Oct 24, 2020
ddfafa9
Merge pull request #13300 from manuelVo/13019-fix-ghost-train-opens-c…
Gymnasiast Oct 26, 2020
140e945
Increase network version
Gymnasiast Oct 26, 2020
da532f5
Update changelog
Gymnasiast Oct 26, 2020
03ef249
Merge pull request #13304 from OpenRCT2/manuel-vo-desync-fixes
Gymnasiast Oct 26, 2020
6df7958
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Oct 27, 2020
bb16ca0
Close #12450: Refactor SPRITE_IDENTIFIER to use strong enum
juliapdo Oct 27, 2020
a31c958
Adding missing SpriteIdentifier enumerations to switch statements
juliapdo Oct 27, 2020
6b4e942
Fix #13297: Missing null check in tile_element_get_banner_index() (#1…
Gymnasiast Oct 28, 2020
2e55b68
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Oct 28, 2020
eaa340d
Rename ride_is_valid_for_test/open and update return type
manuelVo Oct 28, 2020
d0e5a5a
Move ride_open and ride_test into Ride
manuelVo Oct 28, 2020
390adaa
Changelog: fix typo
Gymnasiast Oct 28, 2020
3e7ff12
Fix #13292: Impossible excitement rating requirements
evilclownattack Oct 28, 2020
bbf91d9
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Oct 29, 2020
d1bf532
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Oct 30, 2020
4471bd8
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Oct 31, 2020
3277153
Fix #13289: Litter and vomit sometimes not loading with RCT1 saves (#…
evilclownattack Oct 31, 2020
1f7d73a
Fix #13306: Restore entrance/exit for prebuilt ride design ghosts (#1…
manuelVo Oct 31, 2020
add8c35
Update objects to v1.0.18 (#13326)
Gymnasiast Oct 31, 2020
267de7c
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 1, 2020
89cc459
Replace Backtrace token for v0.3.2
AaronVanGeffen Nov 1, 2020
dcabc84
Fix #13250: Crash when opening parks with new ride types (#13256)
duncanspumpkin Nov 1, 2020
7346321
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 1, 2020
f4211cb
Merge branch 'develop'
OpenRCT2-git-bot Nov 1, 2020
cea5fab
Release v0.3.2
AaronVanGeffen Nov 1, 2020
bd320d1
Merge branch 'master' into develop
AaronVanGeffen Nov 1, 2020
158e83f
Move Aaron to 'Former development team members'
AaronVanGeffen Nov 1, 2020
4ea6f80
Merge pull request #13319 from manuelVo/rename-ride_is_valid
Gymnasiast Nov 1, 2020
5893664
Fix #13334: Uninitialised variables in CustomTabDesc
Sadret Nov 1, 2020
68543de
Fix #13342: Rename tabChange to onTabChange in WindowDesc interface
Sadret Nov 1, 2020
06c0c1b
Refactor UI/Input Input to Title Case
pizza2004 Nov 2, 2020
34f362b
Refactor UI/Input KeyboardShortcuts to Title Case
pizza2004 Nov 2, 2020
1643c62
Refactor UI/Input MouseInput to Title Case
pizza2004 Nov 2, 2020
32f7058
Merge pull request #13347 from pizza2004/title-case
Gymnasiast Nov 2, 2020
fac1b1f
Refactor loc_6B51C0
manuelVo Nov 2, 2020
1aff58b
Use TrackElement in vehicle_create_trains() and friends (#13338)
Gymnasiast Nov 3, 2020
68bd035
Refactor Dropdown to TitleCase (#13352)
pizza2004 Nov 3, 2020
c2d309a
Close #13346: Change FootpathScenery to FootpathAddition (#13350)
Sadret Nov 3, 2020
6cc3f2f
Refactor Graph to TitleCase (#13353)
pizza2004 Nov 3, 2020
b0fd5f9
Refactor UI/Interface misc to TitleCase (#13354)
pizza2004 Nov 3, 2020
c602db2
Close #13057: Make GameAction flags accessible by plugins. (#13359)
Sadret Nov 3, 2020
15dc5e0
Rename VEHICLE_UPDATE_MOTION_TRACK_FLAG_10 (#13362)
manuelVo Nov 3, 2020
1b55914
Rename ride_set_block_points to RideOpenBlockBrakes (#13360)
manuelVo Nov 3, 2020
6517757
Rename VEHICLE_UPDATE_FLAG_1
manuelVo Nov 3, 2020
47419b8
Rename vehicle_unset_update_flag_b1 and move it into Vehicle
manuelVo Nov 3, 2020
a5607da
Refactor Widget to TitleCase (#13355)
pizza2004 Nov 3, 2020
88a6a08
Close #12455: Refactor MOUSE_STATE to use strong enum (#13361)
Lukasz-Pe Nov 3, 2020
faf1056
Rename VEHICLE_UPDATE_FLAG_1 to COLLISION_DISABLED (#13363)
tupaschoal Nov 3, 2020
438b197
Debunch peeps (#12917)
richard-fine Nov 4, 2020
b40ea01
Rename sub_6B5952 to ChainQueues (#13357)
manuelVo Nov 4, 2020
7897fb1
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 4, 2020
2015acd
Refactor UI/Interface Window to Title Case (#13367)
pizza2004 Nov 4, 2020
96ff189
Remove unnecessary parameter from Ride::Open (#13368)
manuelVo Nov 4, 2020
88b73d8
Refactor add 3d light follow on from #13281 (#13333)
duncanspumpkin Nov 4, 2020
ef51cfb
Refactor loc_6DDF9C (#13369)
manuelVo Nov 4, 2020
0b99943
Fix address comments in TileElement.h
Sadret Nov 4, 2020
69b0790
Make TileElement conversion preserve the const qualifier
manuelVo Nov 4, 2020
eea57f2
Create calls for min/max cars per train
Gymnasiast Nov 5, 2020
2f4b1b9
Close #13376: Open custom window at specified tab
Sadret Nov 5, 2020
4a6db95
Convert a register to a variable
manuelVo Nov 5, 2020
656cdda
Add JSON identifier to object repository
Gymnasiast Oct 26, 2020
bafafa6
Create functions to load objects by JSON id
Gymnasiast Nov 5, 2020
6df3612
Replace calls to LoadObjectLegacy() with new IDs
Gymnasiast Nov 5, 2020
53aef4e
Replace old edge style names in Tables.cpp
Gymnasiast Nov 5, 2020
4ff412d
Close #13359: Make GameAction flags optional in plugin API. (#13381)
Sadret Nov 6, 2020
ce15e20
Use plain std::string_view instead of const &
Gymnasiast Nov 6, 2020
880a267
Implement @ZehMatt's suggestions
Gymnasiast Nov 6, 2020
3c1aaa9
Merge pull request #13379 from Gymnasiast/json-id-in-repo
Gymnasiast Nov 6, 2020
92a5f1a
Merge pull request #13310 from ju-pinheiro/sprite-identifier-strong-enum
Gymnasiast Nov 6, 2020
d58a8d1
Change tile_element_get_ride_index() to method
Gymnasiast Oct 27, 2020
9e17081
Use 16 bits for gTrackDesignSaveRideIndex throughout
Gymnasiast Oct 27, 2020
a3aef90
Replace loose usages of 0xFF
Gymnasiast Oct 27, 2020
2846663
Use ride_id_t for remaining peep ride fields
Gymnasiast Oct 27, 2020
f0c1ea1
Split declarations and definitions to improve compile times when edit…
Broxzier Nov 7, 2020
802285f
Autoconvert ride id between RCT2 and OpenRCT2
Gymnasiast Nov 7, 2020
7ef8082
Bump network version
Gymnasiast Nov 7, 2020
3729ebb
Update replays for change
duncanspumpkin Nov 7, 2020
19ab8f1
Use ResearchCategory Enum for ResearchItem
tupaschoal Oct 24, 2020
7d96dc9
Move category names and invention strings to ResearchItem class
tupaschoal Oct 24, 2020
8a35f27
Add converter from RideCategory to ResearchCategory
tupaschoal Oct 24, 2020
4adcde4
Refactor to add allocators to paint session
duncanspumpkin Oct 22, 2020
6abeeae
Create helper function for calculating position hash
duncanspumpkin Oct 22, 2020
d6669be
Rename main paint add image functions
duncanspumpkin Oct 22, 2020
533a845
Name further functions
duncanspumpkin Oct 22, 2020
99d4e8a
Simplify functions further
duncanspumpkin Oct 22, 2020
a6a95bd
Add overload for function
duncanspumpkin Oct 22, 2020
f6d2db4
Name 98196C
duncanspumpkin Oct 23, 2020
6882dda
Clang format the relevant files
duncanspumpkin Oct 23, 2020
ae87d81
Adjust names further
duncanspumpkin Oct 23, 2020
b89e024
Fix AddAsParent overload
duncanspumpkin Oct 23, 2020
2b1c53a
Fix test paint
duncanspumpkin Oct 24, 2020
6790bfe
Use array for selecting research category strings
tupaschoal Nov 7, 2020
6367af8
Merge pull request #13261 from duncanspumpkin/paint_2
tupaschoal Nov 7, 2020
b8f56fd
Merge pull request #13312 from Gymnasiast/refactor/ride-id-it
tupaschoal Nov 7, 2020
58f099a
Merge pull request #13286 from tupaschoal/research-refactor
Gymnasiast Nov 7, 2020
d8a7219
Use new identifier for default objects
Gymnasiast Nov 7, 2020
135245d
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 8, 2020
d963438
Check if platform has a file picker
Gymnasiast Nov 8, 2020
75de079
Improve message when asking for a game_path with no filepicker available
Gymnasiast Nov 8, 2020
a3b7ae7
Merge pull request #13394 from Gymnasiast/improve/has-file-picker
Gymnasiast Nov 8, 2020
1785be9
STR_6399: Fix quotes
Gymnasiast Nov 8, 2020
d61e81b
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 9, 2020
cf7ce2d
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 10, 2020
1ab3f4b
Introduce constant for max sequences (#13405)
Gymnasiast Nov 11, 2020
6e5105a
refactor: ObjectType to use strong enum
Lukasz-Pe Nov 9, 2020
832fd69
refactor: changed ObjectType enum to strong enum
Lukasz-Pe Nov 9, 2020
dc93cac
bugHunt: correcting code to compile
Lukasz-Pe Nov 9, 2020
7648fee
Close #12427: Refactor OBJECT_TYPE to use strong enum
Lukasz-Pe Nov 10, 2020
d287d71
refactor: enum class ObjectType is casted to int for test to pass
Lukasz-Pe Nov 10, 2020
fc4ad82
resolve: integrated changes from comments
Lukasz-Pe Nov 11, 2020
987a5f4
Merge pull request #13403 from Lukasz-Pe/ObjectType
Gymnasiast Nov 11, 2020
dcc5e0b
Close #12337: Remove goto from DecideAndBuyItem (#13063)
rpstester Nov 12, 2020
1f55720
Remove obsolete object fixes
Gymnasiast Nov 13, 2020
d79308e
Fix #12895: Prevent Mechanics from fixing just fixed rides (#13389)
adam-bloom Nov 13, 2020
4746d02
Remove remaining direct calls to sub_6E1F34()
Gymnasiast Nov 15, 2020
64959b0
Break up sub_6E1F34()
Gymnasiast Nov 15, 2020
8b27f7c
Implement ToUpper for WinNT 5.1 (#13422)
Gymnasiast Nov 16, 2020
e2de490
Refactor goto loc_6D7A97 (#13298)
rpstester Nov 16, 2020
23871de
Remove built-in explode guests cheat
Gymnasiast Nov 16, 2020
10b7143
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 17, 2020
f899a04
Merge pull request #13419 from Gymnasiast/refactor/ghost-scenery
Gymnasiast Nov 18, 2020
1815a09
Fix #13426: Typo in "repay loan"
maksimdrachov Nov 19, 2020
499631b
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 21, 2020
3d1c1b7
Fix writing of objects.idx (#13438)
IntelOrca Nov 22, 2020
8c55d1e
Close #12446: Refactor WEATHER to use strong enum (#13434)
transistive Nov 22, 2020
6c4df9c
Fix #13409: Peeps sometimes stray too far from the path centre (#13415)
richard-fine Nov 22, 2020
b595370
Fix #13257: Rides w/ exactly the minimum objective length not counted…
Gymnasiast Nov 23, 2020
8328f7b
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 24, 2020
9451578
Fix #13454. Use File class so that utf8 paths understood (#13455)
duncanspumpkin Nov 25, 2020
077b34d
Changelog: remove #13409, add #13454
Gymnasiast Nov 25, 2020
1f0764b
Fix #13427: Newly created Go-Karts show "Race won by <blank>" (#13457)
ffrogman Nov 26, 2020
923b5f9
Close #12438: Refactor RIDE_COMPONENT_TYPE to use strong enum (#13456)
Balvald Nov 26, 2020
b5101d0
Add further plugin visitors for actions (#13458)
duncanspumpkin Nov 26, 2020
67f5ce6
Plugins - return result from StaffHireAction (#13459)
eezstreet Nov 26, 2020
7ed1804
Fix #12410: Refactor WINDOW_WIDGET_TYPES to use strong enum (#13453)
ffrogman Nov 27, 2020
79c6b22
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 27, 2020
14377be
Create new templated format string
IntelOrca Oct 8, 2020
8cb3103
Add a dynamic format string function
IntelOrca Oct 9, 2020
b07bc6b
Add FmtString class
IntelOrca Oct 9, 2020
0e0c581
Implement for format token types
IntelOrca Oct 11, 2020
43842bb
Refactor some formatting code
IntelOrca Oct 11, 2020
6c23da4
Implement multi-level formatting for any implementation
IntelOrca Oct 11, 2020
6294188
Implement multi-level formatting for template FormatString
IntelOrca Oct 11, 2020
644f7f0
Implement legacy format string
IntelOrca Oct 12, 2020
eebabab
Use variant instead of any
IntelOrca Oct 12, 2020
2f7c1aa
Start eradicating old format codes
IntelOrca Oct 13, 2020
1e5d998
Remove more instances of format codes
IntelOrca Oct 13, 2020
c6152ef
Fix scrolling text
IntelOrca Oct 14, 2020
8053783
Implement MOVE_X and INLINE_SPRITE
IntelOrca Oct 14, 2020
711ac76
Fix map tooltips
IntelOrca Oct 14, 2020
157c984
Fix more string functions
IntelOrca Oct 15, 2020
b6a688e
Refactor format tokens
IntelOrca Oct 15, 2020
92fcdfb
Fix GCC compiler errors
IntelOrca Oct 19, 2020
2847ac5
Fix FormatString stack memory issues
IntelOrca Oct 19, 2020
c7fea71
Add test for codepoint view
IntelOrca Oct 22, 2020
167aaac
Fix TTF issues
IntelOrca Oct 22, 2020
fd605d7
Apply review comments and fix build
IntelOrca Nov 4, 2020
0dd980e
Add Formatting.{cpp,h} to Xcode project
AaronVanGeffen Oct 27, 2020
086f10c
Remove includes already in header
IntelOrca Nov 4, 2020
dfcd8a4
Apply code review comments
IntelOrca Nov 10, 2020
9173ec2
Handle int64 edge cases in Format
IntelOrca Nov 21, 2020
ec03ce5
Improve handling of braces
IntelOrca Nov 21, 2020
503a383
Do not format characters in text input
IntelOrca Nov 22, 2020
517e964
Fix title screen and object manager text issues
IntelOrca Nov 22, 2020
9e7504f
Improve RCT12 UTF-8 checks
IntelOrca Nov 24, 2020
5a90cd4
Apply a few more code review comments
IntelOrca Nov 27, 2020
9c27e3a
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 28, 2020
55dc985
Fix #13469: Exception thrown from plugin in context.subscribe (#13470)
IntelOrca Nov 28, 2020
699103f
Fix banner text formatting, import / export
IntelOrca Nov 28, 2020
17edaae
Improve banner formatting fix
IntelOrca Nov 29, 2020
a7481b4
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Nov 29, 2020
8021af2
Fix #13477: Plug-in widget tooltips do not work (#13486)
IntelOrca Nov 30, 2020
f37fcad
Add pause button to the Track Designer (#13483)
Margen67 Nov 30, 2020
4187106
Fix #13482: STR_6308 incorrect for en-GB
IntelOrca Dec 1, 2020
aa8a089
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 2, 2020
5994e19
Close #13476: Unneeded colour variables in TopToolbar.cpp
ffrogman Dec 2, 2020
596aa71
Create ObjectEntryDescriptor to properly handle mixed DAT and JSON
Gymnasiast Dec 2, 2020
a7ac82a
Update objects to v1.0.20
Gymnasiast Dec 2, 2020
7ea828d
Merge pull request #13503 from Gymnasiast/refactor/object-entry-descr…
Gymnasiast Dec 2, 2020
6db4a45
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 3, 2020
8ce924b
Fix Docker CI, explicit copy constructor
IntelOrca Dec 3, 2020
3de233c
Close #12395: Refactor PeepItem to use strong enum (#13311)
Lukasz-Pe Dec 4, 2020
d58d834
Merge pull request #13212 from IntelOrca/new-format-string
IntelOrca Dec 4, 2020
e861116
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 5, 2020
9fda9b7
Fix #13517: Bad formatting of chat messages (#13521)
IntelOrca Dec 5, 2020
164f570
Fix #13517: Bad formatting of dates
IntelOrca Dec 5, 2020
d6fd4ed
Allow formatting in in-game console
IntelOrca Dec 5, 2020
a71a0cc
Fix MacOS CI: Explicitly set macOS builds to x86_64 only (#13525)
adam-bloom Dec 5, 2020
1b61b4b
Fix #13489: Mechanics continue heading to inspect broken down rides (…
adam-bloom Dec 5, 2020
4adf745
Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273)
Lukasz-Pe Dec 5, 2020
b1403db
Fix #13495: Add properties for park value, guests and company value
IntelOrca Dec 1, 2020
acaa72c
Add more park attributes to plugin API
IntelOrca Dec 1, 2020
a55bcff
Fix #13431: [Plugin] UI disabled widgets can still be interacted with.
IntelOrca Dec 1, 2020
030713e
Fix #13078: [Plugin] Add colour picker widget
IntelOrca Dec 2, 2020
be8736f
Fix: #13509 [Plugin] Add ability to format strings
IntelOrca Nov 22, 2020
a7e49e4
Fix #13510: [Plugin] list view scroll resets when items is set.
IntelOrca Dec 4, 2020
95c3a7f
Fix #13512: [Plugin] Add item separators to list view
IntelOrca Dec 4, 2020
687fd6d
Increment plugin API version
IntelOrca Dec 4, 2020
6a00c78
Fix #13527: Read access violation in format_string (#13529)
IntelOrca Dec 6, 2020
7df4f18
Rename incorrectly named RCT1 peep fields (#13528)
Gymnasiast Dec 6, 2020
a9ed5d6
Fix ObjectEntryDescriptor (#13506)
duncanspumpkin Dec 6, 2020
3a4ccfe
Merge pull request #13523 from IntelOrca/fix/13517-date-format
tupaschoal Dec 6, 2020
05622fd
Merge pull request #13504 from IntelOrca/plugin/more-things
IntelOrca Dec 6, 2020
ee9ede6
Use dataserialiser to simplify object repo code
duncanspumpkin Dec 6, 2020
80f442c
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 7, 2020
6072911
Simplify Serialise for FileIndex
duncanspumpkin Dec 6, 2020
03a9ac9
Close #12387: Refactored PeepThoughtType to use strong enum. (#13541)
Sciencentistguy Dec 7, 2020
f4bd903
Merge pull request #13533 from duncanspumpkin/serial_2
Gymnasiast Dec 7, 2020
9cefafd
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 8, 2020
14ed150
Remove unused WINDOW_EVENTS enum (#13542)
Sciencentistguy Dec 8, 2020
b59bf6d
Fix #13552: Incorrect value for highscore pointer (#13554)
duncanspumpkin Dec 8, 2020
c12e163
Merge LitterType into the shop item descriptor (#13513)
duncanspumpkin Dec 9, 2020
9cbdae2
Peep::ItemFlags merging (#13511)
duncanspumpkin Dec 9, 2020
4a21127
Fix spelling of 'theming'
Gymnasiast Dec 9, 2020
22063ec
Fix #6677: Add discord RPC to macOS builds
adam-bloom Dec 9, 2020
5a849ed
Fix plugin crash when nested scope occurs (#13556)
IntelOrca Dec 10, 2020
f09b14e
Split actions hpp files into separate h and cpp files (#13548)
adam-bloom Dec 10, 2020
3feefb0
Close #12443: Refactor TITLE_SCRIPT to use strong enum (#13540)
kevinsinghdeveloper Dec 10, 2020
9ef4931
Move remaining game actions logic from header to source (#13573)
tupaschoal Dec 12, 2020
abd7bab
Get RTD from ride via a struct method, part 1
Gymnasiast Dec 12, 2020
04b2663
Fix #13576: Remove unrequired code and casts from sprite export
duncanspumpkin Dec 12, 2020
8fc167a
Move some game actions logic from header to source (#13571)
tupaschoal Dec 13, 2020
d246e4a
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 14, 2020
14bc3b6
Close #12449: Refactor DUCK_STATE to use strong enum (#13585)
msxuxf Dec 14, 2020
b60d418
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 15, 2020
f1e19ed
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 16, 2020
5b24a9a
Cmdsprite 2 (#13590)
duncanspumpkin Dec 16, 2020
af6512d
Close #13386: Show a GUI error message if en-GB.txt cannot be loaded
Lukasz-Pe Dec 16, 2020
3f53961
Fix incorrect formatting of input and output of g2.dat (#13599)
duncanspumpkin Dec 16, 2020
dea4792
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 17, 2020
7440d7e
Fix #13567: Added ability for peeps to stop eating certain food const…
duncanspumpkin Dec 17, 2020
82fd850
Feature: Add allowed_hosts to plugin section of config
CorySanin Dec 17, 2020
10d47d6
Update changelog
Gymnasiast Dec 17, 2020
15765b7
Fix typo in changelog
Gymnasiast Dec 17, 2020
24f2a12
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 18, 2020
c28a1fc
Fix: Docker build failure (#13605)
CorySanin Dec 18, 2020
4ee47b1
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 19, 2020
d0afa79
Close #12451: Remove enum TILE_INSPECTOR_ELEMENT_TYPE (#13604)
kevinsinghdeveloper Dec 19, 2020
9ec61fa
Close #12993: Remove hardcoded {SMALLFONT}{BLACK} from tooltips
Lukasz-Pe Dec 19, 2020
b86c28a
Restore extra cheat track pieces for some rides; intended to fix #13324
RQWorldblender Dec 14, 2020
f293dee
Fix incorrect label when using Log Bumps piece on Car Ride
RQWorldblender Dec 14, 2020
6a095f3
Enable more cheat pieces for Splash Boats and River Rafts
RQWorldblender Dec 14, 2020
8e4dbcb
Fix incorrect label when using Spinning Control piece on Wild Mouse
RQWorldblender Dec 14, 2020
6568735
Remove steep slope up access for both Splash Boats and River Rafts
RQWorldblender Dec 19, 2020
bcf0e15
Fix formatting
Gymnasiast Dec 19, 2020
d118620
Actually make Spinning control track behave as such for Steel Wild Mouse
Gymnasiast Dec 19, 2020
150f243
Merge Localisation/master into OpenRCT2/develop
OpenRCT2-git-bot Dec 20, 2020
45e32c8
Merge pull request #13586 from RQWorldblender/fix/more-cheat-pieces
Gymnasiast Dec 20, 2020
235afc4
Mark possibly unused variable as maybe_unused (#13612)
Broxzier Dec 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ assignees: ''
Fill in the placeholders below. Delete any headings and placeholders that you do not fill in.
-->
**OS:** [e.g. Windows 10]
**Version:** [e.g. 0.3.0]
**Version:** [e.g. 0.3.2]
**Commit/Build:** [e.g. 426e106]

<!-- Explanation of the issue -->
Expand Down
41 changes: 31 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ env:
OPENRCT2_BUILD_SERVER: GitHub
OPENRCT2_ORG_TOKEN: ${{ secrets.OPENRCT2_ORG_TOKEN }}
BACKTRACE_IO_TOKEN: ${{ secrets.BACKTRACE_IO_TOKEN }}
OPENRCT2_VERSION: 0.3.0
OPENRCT2_VERSION: 0.3.2
jobs:
lint-commit:
name: Lint Commit Message
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -24,7 +25,7 @@ jobs:
name: Check code formatting
runs-on: ubuntu-latest
container:
image: openrct2/openrct2-build:0.2.4-format
image: openrct2/openrct2-build:0.3.1-format
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-mingw
image: openrct2/openrct2-build:0.3.1-mingw
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -90,6 +91,26 @@ jobs:
mkdir bin && cd bin
cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=MinSizeRel -DDISABLE_IPO=on -DFORCE32=on -DBUILD_SHARED_LIBS=ON -DENABLE_SCRIPTING=OFF
ninja -k0
windows-mingw-nt51:
name: Windows (win32, WinNT5.1) using mingw
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.3.1-mingw
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build OpenRCT2
run: |
sudo su
mkdir bin && cd bin
cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=MinSizeRel -DDISABLE_IPO=on -DDISABLE_HTTP=Off -DFORCE32=on -DENABLE_SCRIPTING=ON -DCMAKE_CXX_FLAGS="-Wno-error=cast-function-type -Wno-error=unused-function" -DSTATIC=on -DMINGW_TARGET_NT5_1=ON
ninja -k0
- name: Upload artifacts (CI)
uses: actions/upload-artifact@v2-preview
with:
name: "OpenRCT2-NT5.1"
path: bin/openrct2.exe
macos:
name: macOS
runs-on: macos-latest
Expand Down Expand Up @@ -124,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
image: openrct2/openrct2-build:0.3.1-bionic
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down Expand Up @@ -159,7 +180,7 @@ jobs:
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic32
image: openrct2/openrct2-build:0.3.1-bionic32
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down Expand Up @@ -199,7 +220,7 @@ jobs:
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
image: openrct2/openrct2-build:0.3.1-bionic
steps:
- name: Checkout
uses: actions/checkout@v1
Expand All @@ -208,7 +229,7 @@ jobs:
run: . scripts/setenv -q && get-discord-rpc
- name: Build OpenRCT2
shell: bash
run: . scripts/setenv -q && build -DCMAKE_BUILD_TYPE=Release -DAPPIMAGE=ON
run: . scripts/setenv -q && build -DCMAKE_BUILD_TYPE=Release -DAPPIMAGE=ON -DOPENRCT2_USE_CCACHE=off
- name: Build AppImage
shell: bash
run: . scripts/setenv -q && build-appimage
Expand Down Expand Up @@ -257,19 +278,19 @@ jobs:
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-bionic
image: openrct2/openrct2-build:0.3.1-bionic
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build OpenRCT2
shell: bash
run: . scripts/setenv && build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DDISABLE_NETWORK=ON -DDISABLE_HTTP_TWITCH=ON -DDISABLE_OPENGL=ON
run: . scripts/setenv && build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DDISABLE_NETWORK=ON -DDISABLE_HTTP=ON -DDISABLE_OPENGL=ON
android:
name: Android
runs-on: ubuntu-latest
needs: [check-code-formatting]
container:
image: openrct2/openrct2-build:0.2.4-android
image: openrct2/openrct2-build:0.3.1-android
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/src"
"${workspaceRoot}/src/**"
],
"defines": [],
"intelliSenseMode": "clang-x64",
Expand Down
23 changes: 19 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ set(CMAKE_MACOSX_RPATH 1)
set(TITLE_SEQUENCE_URL "https://github.com/OpenRCT2/title-sequences/releases/download/v0.1.2c/title-sequences.zip")
set(TITLE_SEQUENCE_SHA1 "304d13a126c15bf2c86ff13b81a2f2cc1856ac8d")

set(OBJECTS_URL "https://github.com/OpenRCT2/objects/releases/download/v1.0.16/objects.zip")
set(OBJECTS_SHA1 "ea8be00a7ab5a1e9369277f8f59f487bc588eb6a")
set(OBJECTS_URL "https://github.com/OpenRCT2/objects/releases/download/v1.0.20/objects.zip")
set(OBJECTS_SHA1 "151424d24b1d49a167932b58319bedaa6ec368e9")

set(REPLAYS_URL "https://github.com/OpenRCT2/replays/releases/download/v0.0.17/replays.zip")
set(REPLAYS_SHA1 "8DD6D8DBDB1EA50ABCB3A1FB55D2800E13486F44")
set(REPLAYS_URL "https://github.com/OpenRCT2/replays/releases/download/v0.0.23/replays.zip")
set(REPLAYS_SHA1 "AC67B93731B6246A31D9A8B01A6CA12AE98AE0D1")

option(FORCE32 "Force 32-bit build. It will add `-m32` to compiler flags.")
option(WITH_TESTS "Build tests")
Expand All @@ -67,6 +67,9 @@ option(DISABLE_NETWORK "Disable multiplayer functionality. Mainly for testing.")
option(DISABLE_TTF "Disable support for TTF provided by freetype2.")
option(ENABLE_LIGHTFX "Enable lighting effects." ON)
option(ENABLE_SCRIPTING "Enable script / plugin support." ON)
if (MINGW)
option(MINGW_TARGET_NT5_1 "Use only NT5.1 APIs and libraries." OFF)
endif ()

option(DISABLE_GUI "Don't build GUI. (Headless only.)")

Expand All @@ -76,6 +79,13 @@ if (FORCE32)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${TARGET_M}")
endif ()

if (MINGW_TARGET_NT5_1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x501")
if (STATIC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCURL_STATICLIB=1 -DZIP_STATIC=1 -static")
endif ()
endif ()

if (PORTABLE OR WIN32)
set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_BINDIR}")
set(CMAKE_INSTALL_RPATH "$ORIGIN")
Expand Down Expand Up @@ -222,6 +232,7 @@ else ()
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_LOGICAL_OP -Wlogical-op)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_RANGE_LOOP_ANALYSIS -Wrange-loop-analysis)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE -Wtautological-unsigned-zero-compare)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_OLD_STYLE_CAST -Wold-style-cast)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WNO_CLOBBERED -Wno-clobbered)
# Disabled due to problems compiling OpenSSL on macOS.
# ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_DOCUMENTATION -Wdocumentation)
Expand Down Expand Up @@ -279,6 +290,10 @@ if (CXX_WARN_SUGGEST_FINAL_METHODS)
add_definitions(-D__WARN_SUGGEST_FINAL_METHODS__)
endif ()

if (MINGW)
add_definitions(-fstack-protector-strong)
endif ()

# Include sub-projects
include("${ROOT_DIR}/src/openrct2/CMakeLists.txt" NO_POLICY_SCOPE)
include("${ROOT_DIR}/src/openrct2-cli/CMakeLists.txt" NO_POLICY_SCOPE)
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists_mingw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ SET(CMAKE_FIND_ROOT_PATH ${TARGET_ENVIRONMENT})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

# INCLUDE_DIRECTORIES(${ORCTLIBS_INCLUDE} ${JANSSON_INCLUDE})
Loading