Michał Janiszewski
af00a1de03
Use @IntelOrca's discord-rpc to fix discordapp/discord-rpc#134
2018-05-12 22:08:25 +02:00
Michał Janiszewski
a4750a635d
Update DiscordService for discord-rpc 3.3.0
2018-05-12 22:08:25 +02:00
Michał Janiszewski
9f8e1e7c9c
Use discord-rpc 3.3.0 on Travis
2018-05-12 22:08:25 +02:00
Michał Janiszewski
66d625086d
Update MSVC's libraries to v17, mostly to get discord-rpc 3.3.0
2018-05-12 22:08:25 +02:00
Michał Janiszewski
d284bcc4fe
Filter out spammy messages from gcov 8.1.0
...
gcov 8 outputs **a lot** (gigabytes) of messages like
```
test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs to entry block
test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs from exit block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs to entry block
test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs from exit block
```
which we cannot alleviate, but they overload Travis' log size of 4MiB
causing the jobs to get killed.
This will simply silence those messages.
2018-05-12 22:06:56 +02:00
Hielke Morsink
f9dd981234
Further fixes
...
- Use `= 0` for initializing types
- Add default values to some structs, instead of zero-initializing their instances with `{}`
- Use `std::make_unique` in Network.cpp
- Remove trivial constructors and destructors
- Improve readability of expression in Vehicle.cpp
2018-05-12 16:58:08 +02:00
Hielke Morsink
5b64abd7aa
Keep 'select area' button pressed while the tool is active
2018-05-12 14:48:22 +02:00
Hielke Morsink
10abb61e7c
Add changelog entry
2018-05-12 14:29:45 +02:00
Hielke Morsink
1324b6ae8f
Add group boxes and clear button
2018-05-12 14:26:03 +02:00
Hielke Morsink
4e5f5de1a3
Update the year in copyright notice for changed files
2018-05-12 14:24:51 +02:00
Hielke Morsink
9034a0bce9
Restore old selection when the tool gets interupted
...
And re-type the selection variables to use LocationXY8 instead of storing them separately.
2018-05-12 14:24:47 +02:00
Hielke Morsink
28c1dbaf5a
Show hovered tile selection
2018-05-12 14:24:06 +02:00
Hielke Morsink
f1bbf077d6
Add clip selection
...
This allows the user to select an area of tiles. Anything outside of this area won't be drawn.
2018-05-12 14:24:01 +02:00
OpenRCT2 git bot
c89e321f35
Merge Localisation/master into OpenRCT2/develop.
2018-05-12 04:00:50 +00:00
ZehMatt
cd0530d176
Fix use of missing function.
2018-05-11 23:03:19 +02:00
Ted John
9e72e51bab
Use std::unique_ptr for discord service
2018-05-11 20:39:00 +01:00
Ted John
768a6db5eb
Add todo for localisation service calls
2018-05-11 20:39:00 +01:00
Ted John
8eacc3582c
Remove PlainContext
2018-05-11 20:39:00 +01:00
Ted John
302fe00805
Always pass shared_ptr by reference
2018-05-11 20:39:00 +01:00
Ted John
d1cbf998a0
Do not return shared_ptr for LocalisationService
...
GetLocalisationService is currently used a lot, so remove overhead of shared_ptr copy.
2018-05-11 20:39:00 +01:00
Ted John
ad6ebd646c
Remove work around in TileElement test fixture
2018-05-11 20:39:00 +01:00
Ted John
7075f6ca25
Use correct language for scan-objects
2018-05-11 20:39:00 +01:00
Aaron van Geffen
238079ef7f
Update Xcode project for new LocalisationService.
2018-05-11 20:39:00 +01:00
Ted John
35df72e61f
Remove use of gCurrentLanguage
2018-05-11 20:39:00 +01:00
Ted John
7b28078da2
Remove use of gUseTrueTypeFont
2018-05-11 20:37:48 +01:00
Ted John
8681b4fac9
[wip] Create new localisation service
2018-05-11 20:37:48 +01:00
Michał Janiszewski
090c444353
Destroy context in TileElementWantsFootpathConnection::TearDownTestCase
...
Not destroying the context might upset some compilers due to the order
of destruction of variables the context might still require.
2018-05-11 20:37:48 +01:00
Ted John
466c465d44
Use unique_ptr and shared_ptr for IDrawingEngine
2018-05-11 20:37:48 +01:00
Ted John
7b610fd3c0
Use shared_ptr more for UiContext in relation to DrawingEngine
2018-05-11 20:37:48 +01:00
Ted John
7dc170ef85
Use shared_ptr for long-life objects
...
Use unique_ptr and shared_ptr for IContext, IPlatformEnvironment, IUiContext, and IAudioContext.
2018-05-11 20:37:48 +01:00
Michael Steenbeek
c7b40cec7c
Merge pull request #6936 from AaronVanGeffen/widgets/cleanup-2
...
Draw dropdown captions directly through widget
2018-05-11 20:45:58 +02:00
Aaron van Geffen
afd1dee580
Leftover cleanup of unnecessarily setting widget types.
2018-05-11 19:39:51 +02:00
Aaron van Geffen
56b9f5ff16
Removed unused string from audio options.
2018-05-11 19:39:47 +02:00
Aaron van Geffen
5ecb2d951e
Draw misc options' dropdown captions directly through widgets.
2018-05-11 19:39:47 +02:00
Aaron van Geffen
fe044477c2
Draw interface options' dropdown captions directly through widgets.
2018-05-11 19:39:47 +02:00
Aaron van Geffen
bf817d2312
Draw culture options' dropdown captions directly through widgets.
2018-05-11 19:39:47 +02:00
Aaron van Geffen
13f3fb3448
Draw audio options' dropdown captions directly through widgets.
2018-05-11 19:39:47 +02:00
Aaron van Geffen
adf3e55d9b
Draw display options' dropdown captions directly through widgets.
2018-05-11 19:39:47 +02:00
Ted John
136ec256aa
[ci skip] Update vscode cpp properties
2018-05-11 18:34:06 +01:00
Michał Janiszewski
ad0060f2b9
Use rapidjson with hack for GCC8 ( #7503 )
...
To be removed once https://github.com/Tencent/rapidjson/issues/1205 is fixed
2018-05-11 16:15:36 +02:00
Michał Janiszewski
0a92e74ced
Minor fixes
2018-05-11 15:38:30 +02:00
Tomas Dittmann
cb162edcfe
Fix #7331 : Invention list crashes upon removing previously-enabled ride/stall entries
2018-05-11 13:28:56 +02:00
ZehMatt
30eb844c7f
Remove game_command_remove_wall and references.
2018-05-11 12:33:59 +02:00
ZehMatt
5e4cdeb78b
Refactor out references to compatibility function wall_remove
2018-05-11 12:33:57 +02:00
ZehMatt
8cb76cd969
Use game action directly when used from different game command/action.
2018-05-11 12:32:16 +02:00
ZehMatt
70ee22bbfa
Discard empty errors.
2018-05-11 12:32:16 +02:00
ZehMatt
b0f7435e9d
Refactor GAME_COMMAND_REMOVE_WALL to game action.
2018-05-11 12:32:14 +02:00
Michael Steenbeek
5284b67546
Merge pull request #6896 from rwjuk/flattd6
...
Implement #1417 : Allow saving flat ride designs to TD6
2018-05-11 11:19:15 +02:00
Michael Steenbeek
83b76b37b0
Bump network version, update changelog
2018-05-11 11:18:52 +02:00
rwjuk
9a167bb9d3
Disable saving without scenery for flat rides
2018-05-10 20:54:53 +02:00