Tom Lankhorst
ddfbaac13f
Fix MSVC type conversion warning
2019-02-06 12:13:59 +01:00
Tom Lankhorst
72519d8bb8
do not use designated initializer
2019-02-06 11:28:39 +01:00
Tom Lankhorst
e24314bb5a
Fix syntax error and add <memory>
2019-02-06 11:06:16 +01:00
Tom Lankhorst
706d1be865
Avoid illegal ptr conversions
2019-02-06 10:38:25 +01:00
Tom Lankhorst
756b52186e
Normalised and upgraded all replays
2019-02-06 10:24:10 +01:00
Tom Lankhorst
f48f347798
Internally compress (zlib lvl.9) replay files
...
This effort reduces the size of replays by a factor 2 to 10 depending on
the park complexity. ZLIB is used as the compression backend.
- The replay file version is bumped to 2.
- An `sv6r` file still starts with a magic number and a version.
- If version = 1, the file stream is consumed by the ReplayRecordData
serializer.
- If version > 1, the file stream is decompressed and the resulting
stream is consumed by the ReplayRecordData serializer.
- Introduced `Compatible` that indicates whether a file with a version
mismatch is compatible. E.g.: v1 is compatible with this `ReplayManager`
2019-02-06 10:12:21 +01:00
Duncan
57471edc47
Merge pull request #8672 from Xkeeper0/i/8662
...
Fix for #8662 paint_haunted_house_structure crash
2019-02-06 07:46:57 +00:00
Duncan
2cf4a9afb5
Merge pull request #8668 from duncanspumpkin/staff_order_action
...
Implement Game Action Staff Set Order
2019-02-06 03:50:11 +00:00
duncanspumpkin
752df2607a
Increment network version
2019-02-05 20:39:53 +00:00
Michael Steenbeek
80a9939522
Update names in Xcode project
2019-02-05 20:38:18 +00:00
Tom Lankhorst
35d8b3de7b
Added files to xcodeproj ( #14 )
2019-02-05 20:38:18 +00:00
duncanspumpkin
8a69b89df6
Move Staff Set Orders into game action framework.
...
Split up costume and order game commands
2019-02-05 20:38:18 +00:00
Duncan
c436a656ad
Merge pull request #8666 from cgdolan/develop
...
Implement game action for sign set style
2019-02-05 20:35:11 +00:00
duncanspumpkin
50b241d20d
Add missing include and rework to use Coords
2019-02-05 19:27:30 +00:00
Tom Lankhorst
94758bccf6
Link with platform libraries
2019-02-05 20:17:14 +01:00
Tom Lankhorst
af25da940b
include platform.cmake
2019-02-05 20:16:51 +01:00
Tom Lankhorst
15a6cf4c48
Add platform cmake include
2019-02-05 20:16:38 +01:00
Xkeeper
2828cbb2fc
Fix crash in FerrisWheel paint
...
[OpenRCT2/OpenRCT2#8662 ]
2019-02-05 11:14:17 -08:00
Xkeeper
a22260b56a
Fix crash in MapAnimation re: small scenery
...
[OpenRCT2/OpenRCT2#8662 ]
2019-02-05 11:02:22 -08:00
Xkeeper
2bb8813c41
Fix crash in paint_haunted_house_structure
...
[OpenRCT2/OpenRCT2#8662 ]
2019-02-05 11:01:23 -08:00
cgdolan
b2a1cb9639
Merge pull request #1 from tomlankhorst/cgdolan-sign
...
Added files to xcodeproj
2019-02-05 07:44:21 -08:00
Michał Janiszewski
4192ffe57e
Improve cmake for MSVC ( #8581 )
...
* Improve cmake for MSVC
* Fix mingw builds
2019-02-05 16:12:58 +01:00
Tom Lankhorst
5b4efde23a
Added files to xcodeproj
2019-02-05 11:31:39 +01:00
Christopher G. Dolan
19a58fa5fe
Fix format, move validation logic to query, update network version
2019-02-04 17:30:45 -08:00
Michał Janiszewski
8a395e3706
Fix misaligned access ( #8665 )
...
Platforms like ARM are very sensitive to unaligned access. This change
makes sure the addresses obey the C++ standard and are properly aligned.
2019-02-04 23:15:14 +01:00
Tom Lankhorst
613521f8b8
changelog: change #8647 to 'fix' [ci skip]
2019-02-04 11:31:55 +01:00
Christopher G. Dolan
a8864092c0
fix format and serialize all ivars
2019-02-03 23:02:00 -08:00
Christopher G. Dolan
075983da0f
Implement game action for sign set style
2019-02-03 22:20:01 -08:00
Michał Janiszewski
6bdbe248fd
Merge pull request #8641 from tomlankhorst/use-lto
...
Detect availability of LTO, apply when available
2019-02-04 00:06:37 +01:00
Tom Lankhorst
ce6e08c633
Introduce SET_CHECK_CXX_FLAGS
2019-02-03 23:32:51 +01:00
Tom Lankhorst
beaeaa94e7
Catch curl transfer.sh failures /w timeout ( #8629 )
...
* Handle transfer.sh upload failures
Add `||` condition on `curl` and add `-m` option set to 300 seconds.
* Missing ; at end of line
* Add --max-time to tagged builds, but do fail
* Rename env var to TRANSFER_MAX_SECONDS
* Explicitly set --connect-timeout on cURL
Because -m caused timeouts still. Also, removed --progress-bar.
Renamed env var to CURL_OPTION_NAME, specified unit in comment.
2019-02-03 23:32:15 +01:00
Tom Lankhorst
521948139c
Chat toggle button ( #8648 )
...
* Add chat_available()
* Add appropriate strings
* Add new Chat icon
* Implement Chat button
* CS
* Fix chat icon
* Make chat icon a bit smaller and less bright
* Update chat icon
* Update changelog
2019-02-03 23:30:34 +01:00
Michał Janiszewski
604da7ce01
Merge pull request #8661 from tomlankhorst/refactor-random
...
Refactor random engine
2019-02-03 23:29:10 +01:00
Duncan
b657d3bc12
Merge pull request #8664 from tomlankhorst/8647-changelog-update
...
Update changelog according to #8647
2019-02-03 20:36:50 +00:00
Tom Lankhorst
045692993a
Make template params adhere to code style
2019-02-03 21:16:09 +01:00
Tom Lankhorst
826c8d297b
Update changelog according to #8647
2019-02-03 20:59:18 +01:00
Tom Lankhorst
422d5f2ef1
Replace '_N' by '_num'
2019-02-01 21:54:00 +01:00
Tom Lankhorst
d660c9d45f
Merge branch 'refactor-random' of github.com:tomlankhorst/OpenRCT2 into refactor-random
2019-02-01 21:51:28 +01:00
Tom Lankhorst
1e65db371b
Use single underscore prefix for template parameters
2019-02-01 21:51:01 +01:00
Tom Lankhorst
ec8caa5636
Drop <sstream>
2019-02-01 21:47:47 +01:00
Tom Lankhorst
dfe7f0614c
Consistency
2019-02-01 21:00:19 +01:00
Ted John
381e2c12bc
Fix debug builds
2019-02-01 19:25:17 +00:00
Tom Lankhorst
16691b22ba
Use state struct
2019-02-01 19:29:43 +01:00
Tom Lankhorst
2ea347f15f
MSVC SFINAE compatibility
2019-02-01 15:50:09 +01:00
Tom Lankhorst
1a81d60609
Expose gScenarioRand, add <algorithm>
2019-02-01 14:48:45 +01:00
Tom Lankhorst
6a42a95495
Refactor random engine
...
Introduce RotateEngine and Rct2Engine, FixedSeedSequence and Rct2Seed.
Adhere respectively to requirements `RandomNumberEngine` and `SeedSequence`.
Can be used with C++11 adaptors and distributions in <random>.
2019-02-01 14:32:04 +01:00
Michał Janiszewski
73a9b5d15c
Merge pull request #8658 from janisozaur/screenshot-dump
...
Attach screenshot to backtrace.io report
2019-02-01 07:22:18 +01:00
Michał Janiszewski
57897d4cb5
Attach screenshot to backtrace.io report
2019-01-31 23:36:41 +01:00
Michał Janiszewski
7655ba7746
Make screenshot return path to file
2019-01-31 23:36:41 +01:00
OpenRCT2 git bot
accac88e62
Merge Localisation/master into OpenRCT2/develop.
2019-01-31 04:00:25 +00:00