Aaron van Geffen
3be6137fde
Rename event_07 to periodic_update. ( #8684 )
2019-02-07 17:46:52 +01:00
duncanspumpkin
bca79da193
Check for null id
2019-02-07 11:41:54 +00:00
duncanspumpkin
5e319a4a37
Increment network version
2019-02-07 10:16:20 +00:00
duncanspumpkin
892d6dc5f7
Be explicit about nullptr checks.
...
Keep travis happy
2019-02-07 10:16:01 +00:00
duncanspumpkin
11c16955c5
Small refactor to use enum class
2019-02-07 08:14:45 +00:00
duncanspumpkin
201db19d0a
Move Ride Set Appearance into action framework
2019-02-07 08:14:45 +00:00
Aaron van Geffen
2a416dce81
Set more maze error messages in MazeSetTrackAction. ( #8683 )
2019-02-07 00:29:50 +01:00
Hielke Morsink
27a64f71c8
Fix #8682 : Autosave settings don't react to user input
...
Regression from #8648 .
2019-02-06 23:18:45 +01:00
Duncan
b27923093c
Fix #7987 : Broken track designs increase money by MONEY32_UNDEFINED
2019-02-06 22:20:42 +01:00
Michał Janiszewski
c42ded66b2
Fix #8674 : Negative values not displaying correctly
2019-02-06 22:18:58 +01:00
Michał Janiszewski
ad888fbf9d
Require at least 1.4 version of benchmark ( #8681 )
2019-02-06 21:30:33 +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
duncanspumpkin
752df2607a
Increment network version
2019-02-05 20:39:53 +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
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
Michał Janiszewski
4192ffe57e
Improve cmake for MSVC ( #8581 )
...
* Improve cmake for MSVC
* Fix mingw builds
2019-02-05 16:12:58 +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
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
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
Tom Lankhorst
045692993a
Make template params adhere to code style
2019-02-03 21:16:09 +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
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
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
Matt
0237eaf498
Refactor number values to SPRITE_INDEX_NULL
2019-01-30 15:02:52 +01:00
Matt
7ad59bbb37
Refactor number values to RIDE_VALUE_UNDEFINED
2019-01-30 14:59:06 +01:00
ζeh Matt
6668a1fa86
Refactor remaining number values to RideStation::NO_TRAIN ( #8655 )
2019-01-30 13:49:46 +00:00
Matt
4026ead774
Fix #8653 : crash when peeps attempt to enter a ride with no vehicles.
2019-01-30 13:16:45 +01:00
ζeh Matt
3aad9a4b2e
Refactor footpath_update_path_wide_flags
2019-01-29 19:07:00 +01:00
Tom Lankhorst
3ab73018ec
Quiet CMake find package 'benchmark' ( #8628 )
...
`benchmark` is an optional package. CMake can be quiet about not finding it.
2019-01-28 21:44:50 +01:00
Tom Lankhorst
0233795add
Fix #8642 : Likely mistake in entrance fee check
2019-01-28 11:15:49 +01:00
Tom Lankhorst
4c015edaf6
Templatise rorN and rolN with N in {8, 16, 32, 64}
2019-01-28 10:55:24 +01:00
Tom Lankhorst
87d9932792
Conditionally enable IPO
...
Put corresponding functionality in `cmake/ipo.cmake`. This directory
allows for future further separation of build concerns.
2019-01-27 12:58:19 +01:00
Tom Lankhorst
06600440fe
Enable LTO/IPO on Clang and GCC
2019-01-27 12:58:19 +01:00