Tom Lankhorst
b1bc3d9322
Make build type check case insensitive
2019-01-27 13:44:16 +01:00
Tom Lankhorst
9186c8b7d9
Check for unset CMAKE_BUILD_TYPE
2019-01-27 13:23:36 +01:00
Tom Lankhorst
0789ef541d
Add IPO override cmake option
2019-01-27 13:10:56 +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
Tom Lankhorst
367b496d6b
Exclude typical cmake build dirs ( #8646 )
2019-01-27 12:08:03 +01:00
Michael Steenbeek
3d9702dfd4
Fix #8141 : Attempting to build entrance/exit on station 2 does not work
2019-01-27 10:38:47 +01:00
Michael Steenbeek
3b176cd6eb
Fix #8585 : Part of track missing on air powered vertical coaster ( #8635 )
2019-01-25 22:09:12 +01:00
Gymnasiast
66c571370e
Fix #8572 : Steel Twister track pieces ID 64 and 65 drawn incorrectly
2019-01-24 20:25:01 +01:00
Tom Lankhorst
01a52d236c
Use vector<string> in InteractiveConsole
...
Issue #8597 shows Valgrind result indicating a memory leak in
InteractiveConsole. This is fixed in #8619 by ensuring that free() is
called appropriately.
This commit takes that a step further by removing all manual memory
management in favour of using vector<string>.
- argc is now gone in favour of argv.empty()/argv.size()
- argv_t is a vector of strings of utf8's
- console_command_func's signature is changed accordingly
2019-01-24 16:12:49 +01:00
Michael Steenbeek
247e89eb53
Revert duck fix
2019-01-24 10:40:04 +01:00
Tom Lankhorst
22fac20907
Include ICU include dirs in testpaint ( #8622 )
...
`testpaint` uses ICU headers, so add the ICU_INCLUDE_DIR to the target.
2019-01-23 14:30:49 +01:00
Michał Janiszewski
bca8870667
Merge pull request #8458 from janisozaur/benchmark
...
Add sprite sorting benchmark
2019-01-22 21:30:17 +01:00
Tom Lankhorst
83cace393d
Name entries in Travis' build matrix ( #8621 )
...
* Name entries in Travis' build matrix
* State the compiler in Docker64 entry
* Mention Xcode
* Don't specify build type for MinGW
* Don't specify build type for Ubuntu Clang and Docker64
* Consistently mention flags in job name
2019-01-22 19:56:44 +01:00
Michał Janiszewski
8e3170ca4d
Add changelog entry for sprite sorting benchmark
2019-01-22 19:55:57 +01:00
Michał Janiszewski
cba2dd96ec
Allow specyfing more than one input file for sprite sort benchmark
2019-01-22 19:54:12 +01:00
Michał Janiszewski
b38e600b15
Update sprite sort benchmark to accept filename
2019-01-22 19:45:56 +01:00
Gymnasiast
d2e39392f3
Fix Xcode project
2019-01-22 19:45:56 +01:00
Michał Janiszewski
304840069d
Add sprite sorting benchmark
2019-01-22 19:45:56 +01:00
Michał Janiszewski
f2233d3cc3
Update MSVC project to use Google benchmark
2019-01-22 19:45:56 +01:00
Michał Janiszewski
a5c7ea04e5
Update MSVC libraries to v19 to add Google benchmark
2019-01-22 19:45:56 +01:00
OpenRCT2 git bot
d7520c13b0
Merge Localisation/master into OpenRCT2/develop.
2019-01-22 04:00:26 +00:00
Tom Lankhorst
55af6ad0e1
Free allocated memory when 'argc' == 0 ( #8619 )
...
Fixes leak in #8597 , InteractiveConsole allocates memory for arguments,
but frees it only if the argument count is greater than zero.
2019-01-21 23:03:12 +00:00
OpenRCT2 git bot
57193aa439
Merge Localisation/master into OpenRCT2/develop.
2019-01-21 04:00:27 +00:00
Michael Steenbeek
4e9d2ce764
Split footpath object into two internally
2019-01-20 21:38:38 +01:00
Michael Steenbeek
cd58d81cdb
Merge pull request #8615 from Gymnasiast/cleanup/path-drawing
...
More path drawing cleanup
2019-01-20 20:21:43 +01:00
Gymnasiast
cd8227c756
Clean up magic numbers in footpath corner drawing
2019-01-20 17:54:30 +01:00
Gymnasiast
d000457fb5
Rename more occurrences to railingEntry
2019-01-20 17:23:27 +01:00
Gymnasiast
ad2698df0d
Move 'should draw path over supports' to tile element
2019-01-20 17:23:27 +01:00
Gymnasiast
1f6d4caf7c
Rename some variables
2019-01-20 17:23:27 +01:00
Gymnasiast
2f0b6a9652
Rename FOOTPATH_ENTRY_FLAG_HAS_PATH_BASE_SPRITE
2019-01-20 17:23:27 +01:00
Gymnasiast
73e25399d3
Rename footpathEntry to railingEntry where appropriate
2019-01-20 17:23:27 +01:00
Gymnasiast
9da5b5d513
Rename path_paint_{box,pole}_support parameter
2019-01-20 17:23:27 +01:00
deurklink
5e39147b76
Fix #8584 : Ducks spawning function doesnt check tiles 0..63 (original bug) ( #8614 )
2019-01-20 13:20:01 +01:00
Michael Steenbeek
f16116a321
Add #8588 to changelog [ci skip]
2019-01-20 11:56:26 +01:00
Tom Lankhorst
ddf4c32644
Fix #8588 : Guest list scrolling breaks above ~2000 guests
2019-01-20 11:55:29 +01:00
Tom Lankhorst
2695142fbf
Fix console opening when only opening and closing debugging tools dropdown
2019-01-20 11:22:25 +01:00
Lars Toenning
7de115263e
Fix #8377 : Change number of autosaves that are stored ( #8440 )
2019-01-19 14:31:12 +01:00
Michael Steenbeek
6ef01b3cd3
Name some path drawing variables
2019-01-18 20:35:43 +01:00
Michael Steenbeek
b4bef2fe7d
Merge pull request #8560 from richard-fine/directions
...
Begin cleanup of direction handling
2019-01-18 19:09:39 +01:00
Ted John
92412d4bab
Store ride index inside ride struct
2019-01-18 11:46:18 +01:00
ζeh Matt
a34422dc26
Fix #8591 : Game loop does not run at a consistent tick rate of 40 Hz ( #8594 )
...
* Fix #8591 : Run game loop at consistent tick rate of 40hz.
* Update distribution/changelog.txt
Co-Authored-By: ZehMatt <m.moninger.h@gmail.com>
2019-01-17 23:22:27 +01:00
deurklink
51fc2fe84a
Feature #8583 : Add booster pieces for water coaster
...
Co-Authored-By: deurklink
2019-01-14 22:17:52 +01:00
Michał Janiszewski
b27428835c
Change http://backtrace.io token
...
Someone seems to be trying to use up all our backtrace.io quota by
submitting the same bug over and over again which was fixed in
https://github.com/OpenRCT2/OpenRCT2/pull/8533 , 17 days ago now.
To prevent such behaviour, I've disabled the old token and replaced it
with a new one, causing dumps from old builds to be rejected now and not
counting towards our quota.
2019-01-14 21:18:33 +01:00
Michael Steenbeek
dc1c2292dd
Merge pull request #8587 from Gymnasiast/cleanup/ride-index
...
Replace more hardcoded instances of RIDE_ID_NULL
2019-01-13 16:13:11 +01:00
OpenRCT2 git bot
ee915add00
Merge Localisation/master into OpenRCT2/develop.
2019-01-13 04:00:22 +00:00
Gymnasiast
87f894079b
Replace hardcoded occurrences of RIDE_ENTRY_INDEX_NULL
2019-01-12 12:48:35 +01:00
Gymnasiast
74a3674e86
Replace more hardcoded instances of RIDE_ID_NULL
2019-01-12 12:38:23 +01:00
Ted John
8701286772
Use new ride_id_t typedef ( #8561 )
2019-01-12 10:11:55 +00:00
OpenRCT2 git bot
746feaaa45
Merge Localisation/master into OpenRCT2/develop.
2019-01-10 04:00:24 +00:00