1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 01:22:25 +01:00
Commit Graph

14440 Commits

Author SHA1 Message Date
Michał Janiszewski
2e646c6733 Turn off codecov comments on PRs
See https://docs.codecov.io/docs/pull-request-comments
and https://github.com/codecov/support/wiki/Codecov-Yaml
2018-04-25 09:16:03 +02:00
Emily
3480395745 Update readme to include new Fedora Copr repo 2018-04-25 09:07:41 +02:00
Hielke Morsink
bf4f68fe33 Use enum type that guarantee to support its values
By default enumerators use type `int` which can store values up to `1 << 31 - 1`. The clang compiler generates this error for enums values that use the sign bit: `enumerator value is not representable in the underlying type 'int'.`

To get rid of those warnings (and technically improve the code) the erroneous enums are now of type of `uint32`.

Note: I've skipped peep.h to prevent conflicts with the peep refactor branch.
2018-04-24 16:51:42 +02:00
Michał Janiszewski
d240233671 Collect coverage on Travis 2018-04-23 20:35:36 +02:00
Michał Janiszewski
fa06e12b97 Build some Travis jobs with coverage options 2018-04-23 20:35:36 +02:00
Michał Janiszewski
bb99e64d38 Add CODECOV_TOKEN to travis.yml 2018-04-23 20:35:36 +02:00
Hielke Morsink
5327c9feb4 Remove unused windows_get_registry_install_info (#7442) 2018-04-23 20:20:03 +02:00
Ted John
7b47c39e1e Comment out sign warnings when building openrct2.proj
Warnings are shown if the built binaries have not been signed due to the sign key not being set. Now that we no longer have a certficate to sign our binaries, the warning always shows. They can be re-enabled again if we ever get another certficate.
2018-04-23 17:45:00 +01:00
OpenRCT2 git bot
84568a2c0a Merge Localisation/master into OpenRCT2/develop. 2018-04-23 04:01:43 +00:00
Ted John
41b3a33af4 Merge pull request #7430 from IntelOrca/fix/scan-objects
Fix scan objects and run before tests
2018-04-22 22:11:03 +01:00
Michał Janiszewski
0b7fe2a71c Execute scan-objects on Travis 2018-04-22 22:42:20 +02:00
Hielke Morsink
30063984e6 Delete unused function arguments or mark them so (#7426)
This aims to make future refactoring easier. The arguments are removed where possible, but kept and marked with C++17's [[maybe_unused]] where they could not be removed (e.g. when they are used as a callback, rather than called directly).

I've skipped the rides/<category>/* and peep/* source files, because the rides source files are mostly generated and have a ton of unused variables, and the peep source files are being refactored.
I've also skipped most of window/* source files, because most of the functions are used as callbacks and will be bulk-renamed at some point.
2018-04-20 13:56:37 +02:00
Manuel Vögele
588e6f32c4 Rename vehicle_is_boat_on_water to better reflect the actual functionality (#7421)
* Rename and refactor `vehicle_is_boat_on_water` to better reflect the actual functionality

New name is `vehicle_boat_is_location_accessible`

* Refactor `vehicle_boat_is_location_accessible` take `TileCoordsXYZ` as parameter
2018-04-20 12:50:11 +01:00
Ted John
24b3df58db Use low importance for scan-objects in msbuild proj 2018-04-20 00:23:07 +01:00
Ted John
4ce4101ac5 Ensure correct language is used for scan-objects 2018-04-20 00:12:40 +01:00
Ted John
edb9dc39ab Pass object repository as a dependency when loading objects 2018-04-19 23:51:05 +01:00
Ted John
6fc963b5d4 [ci skip] Update .gitignore 2018-04-19 22:37:34 +01:00
Ted John
4edb450594 Run scan-objects before the tests 2018-04-19 13:26:31 +01:00
Ted John
6526f9f6cb Fix scan-objects CLI action
Ensure a context is available when objects are loaded.
2018-04-19 13:26:19 +01:00
Hielke Morsink
2512e4959c Merge pull request #7422 from Broxzier/fix/7402-path-connection-different-entrance-z
Fix/7402 path connection different entrance z
2018-04-18 12:35:34 +02:00
Michał Janiszewski
4d7d7500a1 Fix CMake for test_tile_elements 2018-04-17 20:43:49 +02:00
Hielke Morsink
f661d48d90 Add tests for tile_element_wants_path_connection_towards 2018-04-17 20:43:49 +02:00
Hielke Morsink
99d8c83807 Fix #7402 Properly check for entrance location before disconnecting paths 2018-04-17 20:43:49 +02:00
Michał Janiszewski
a1e0e63633 Fix Travis builds by using tagged discord-rpc version 2018-04-17 20:35:36 +02:00
Ted John
efb9f8a006 Enable full debug information for MSVC 2018-04-17 17:41:04 +01:00
Aaron van Geffen
11207f9c41 Re-introduce zebra striping. 2018-04-16 22:11:53 +02:00
Aaron van Geffen
97d1c296a4 Increase row height for object load error window. 2018-04-16 22:11:53 +02:00
Manuel Vögele
7983bcc3a7 Add .editorconfig 2018-04-16 21:07:51 +02:00
Albert Morgese
a3b04a67b2 Implement #1675: Auto-rotate shops to face footpaths 2018-04-16 20:02:46 +02:00
Ted John
d0ad94bb5e Merge pull request #7412 from IntelOrca/cmake/msvc
Add basic support for MSVC to cmake scripts
2018-04-14 22:30:57 +01:00
Manuel Vögele
e4b42f58a5 Fix the order predicate for GameCommands
This commit bumps the network stream version
2018-04-14 22:47:41 +02:00
Ted John
0ea81d7df4 Enable warnings as errors 2018-04-14 17:50:32 +01:00
Ted John
fc83f72fc6 Add a default / example CMakeSettings.json for VS 2018-04-13 21:56:58 +01:00
Gymnasiast
5d85ea1410 Add some missing issues to changelog [ci skip] 2018-04-13 21:22:33 +02:00
Ted John
f24b1bdfa6 Enable curl, openssl and freetype libraries for msvc 2018-04-13 19:21:03 +01:00
woj1993
4b372120f1 Fix #6141: CSS50.dat is never loaded (#7357) 2018-04-13 11:29:31 +01:00
Gymnasiast
4c676e6000 Fix #6134: Scenarios incorrectly categorised when using Polish version of RCT2 2018-04-13 09:07:01 +02:00
Ted John
3b1be25620 Merge pull request #7398 from IntelOrca/enable-integration-tests
Enable integration tests
2018-04-12 23:32:39 +01:00
Ted John
c59f342f2f Use correct SDL2 library in debug builds 2018-04-12 23:31:33 +01:00
Ted John
b8d8d24d21 Get cmake working with msvc for basic game 2018-04-12 23:07:18 +01:00
Michał Janiszewski
36f86440d9 Perform install target on Travis/docker64 2018-04-12 22:06:42 +02:00
Michał Janiszewski
effc8657aa Add install prefixes to Travis jobs 2018-04-12 22:06:42 +02:00
Michał Janiszewski
22c755f820 Fix tests on travis 2018-04-12 22:06:42 +02:00
Gymnasiast
60b864441a Fix encoding of scenario index names 2018-04-12 13:13:14 +02:00
Duncan
073d0f78cf Merge pull request #7225 from duncanspumpkin/peep_update
Refactor peep update
2018-04-11 19:39:51 +01:00
duncanspumpkin
c2c5afa62c Fix mistaken assignment 2018-04-11 18:58:48 +01:00
duncanspumpkin
e4e514c743 Fix travis errors. Revert mistaken rename.
Use enum where known

Remove unused cases
2018-04-11 18:16:23 +01:00
duncanspumpkin
e954865b49 Fix waypoints for json changes 2018-04-11 18:16:16 +01:00
duncanspumpkin
765500adfa Label offsets and functions
Actually save before commiting

Label more peep vars.

Remove unread var

Further refactoring

Fix mistake in map element type
2018-04-11 18:16:09 +01:00
duncanspumpkin
a24c2672fd Label all peep ride sub states
Add additional notes to function.

Perform exorcism on code base

Use vector for carArray
2018-04-11 18:15:47 +01:00