Michał Janiszewski
e2c84f81f8
Fold condition and remove self-assignment
2016-10-09 22:43:08 +02:00
Michał Janiszewski
1135238c34
Remove/hide newly unused variables
2016-10-09 22:43:08 +02:00
Michał Janiszewski
7f9fa28995
Fix uninitialised variables
2016-10-09 22:43:07 +02:00
Michał Janiszewski
8cd7126d63
Fix casts in windows.c platform file for -Wall
2016-10-09 22:41:18 +02:00
Michał Janiszewski
b0dc6fe5fe
Introduce UNUSED(x) macro, mark some variables as unused
2016-10-09 22:41:18 +02:00
LRFLEW
e5ff7412e4
Refactor/Improve String and Path Handling
2016-10-09 15:29:58 -05:00
Michał Janiszewski
211a0d7863
Add missing tunnel enums
2016-10-09 13:31:17 +02:00
Ted John
6348f281b7
Merge pull request #4567 from IntelOrca/paint/generate
...
Generate ride paint code
2016-10-09 12:24:59 +01:00
Michał Janiszewski
f1c6ef94da
Compilation fixes to latest testpaint
2016-10-09 09:54:20 +01:00
Ted John
157a93d7a5
Support multi-dimension coaster
2016-10-09 03:35:39 +01:00
Michał Janiszewski
fa4c5ace25
Plug memory leak in cmdline_sprite.c
2016-10-08 22:32:33 +02:00
Michał Janiszewski
3c4a683701
Fix #4558 : Crash on loading invalid scenario
2016-10-08 21:23:03 +01:00
Ted John
313f766fad
Support mirror calls for turn eighth
2016-10-08 16:33:17 +01:00
Ted John
ec082b4ac8
Generate set segment support height and other fixes
2016-10-07 23:55:17 +01:00
Manuel Vögele
7b9bfd6529
Fix #4549 : Allow maze to be built in pause mode if build-while-paused-cheat is enabled
2016-10-07 23:23:39 +01:00
Duncan
b29be9bfeb
Merge pull request #4527 from zaxcav/fixPathfindHistory
...
Further pathfinding improvements
2016-10-07 12:08:36 +01:00
zaxcav
62ed46d29b
Simplify initialisation of pathfinding telemetry.
...
Code revised per review comments.
2016-10-07 12:32:09 +02:00
Michał Janiszewski
9966052ca7
Fix more configurations
2016-10-06 23:32:10 +02:00
Michał Janiszewski
4bfd5c6f4c
Hide unused variables in some configurations
2016-10-06 23:13:28 +02:00
Michał Janiszewski
c9b0d9e24d
Initialise all variables flagged by -Wmaybe-uninitialized
2016-10-06 23:13:28 +02:00
Jonathan Haas
7a13fa6221
Fix #2042 : Underflow in entertainer code when subtracting 200 from time_in_queue.
...
Adding myself to contributors + changelog.
2016-10-06 19:15:48 +02:00
Ted John
41f026e5e2
Fix wrong function case in wooden wild mouse paint
2016-10-05 22:17:48 +01:00
Ted John
ebd12bde83
Fix #4537 : Park with object containing no images fails to load
...
Allow gfx_object_allocate_images to take 0 images and return INVALID_IMAGE_ID which will safely not be freed.
2016-10-05 21:47:02 +01:00
Michael Steenbeek
e45f4be196
Merge pull request #4535 from wolfreak99/weather_in_console
...
set render_weather_effects and render_weather_gloom in console
2016-10-05 22:37:23 +02:00
LRFLEW
75800ed251
Fix Uninitialized Variable Warning
2016-10-05 21:36:19 +01:00
Ted John
4f247c16b2
Fix #4525 : Track Designs Manager Crashing
...
Handle tracks that use a vehicle object that can not be found, fall-back if possible to another object of the same ride type.
2016-10-05 21:34:32 +01:00
Ted John
001120e6b2
Fix #4531 : Ride sound focus not available any longer
...
Only reset the ride viewport if it the window has actually been resized and maintain the viewport flags.
2016-10-05 19:08:20 +01:00
Ted John
c6efe8dabc
Clean up
2016-10-05 18:39:25 +01:00
Ted John
8abd11f8bd
Implement right quarter turn 3, 25 deg up and counterpart
2016-10-05 18:31:37 +01:00
wolfreak99
53c123acae
set render_weather_effects and render_weather_gloom in console
2016-10-05 10:43:38 -04:00
Ted John
8f77790e4d
Implement right quarter turn 3, 25 deg down and counterpart
2016-10-05 13:03:28 +01:00
zaxcav
bdb8a15903
Make path wide flag update only update the current tile.
...
Previously updating the path wide flag updated the current tile and reset the wide flag in some neighboring tiles.
This could cause glitches in the pathfinding performed over those reset tiles.
2016-10-05 13:36:43 +02:00
Ted John
71cf498206
Implement quarter turn 3
2016-10-04 22:29:22 +01:00
Ted John
59cf534bbb
Implement quarter turn 1
2016-10-04 22:13:48 +01:00
Ted John
78e7bdf4ea
Implement steep to flat pieces
2016-10-04 21:45:03 +01:00
Ted John
53f613a30d
Implement most slope pieces
2016-10-04 21:31:36 +01:00
Ted John
d29bc09683
Implement rotation control toggle
2016-10-04 20:29:28 +01:00
Ted John
8f38a3b279
Implement brakes
2016-10-04 18:47:09 +01:00
Ted John
461680be46
Implement station
2016-10-04 18:39:22 +01:00
Ted John
67d04a26ee
Implement flat
2016-10-04 18:29:03 +01:00
Ted John
497c99a2b8
Setup wild mouse paint function
2016-10-04 18:21:55 +01:00
Michał Janiszewski
71d0861be1
Mark classes as final
...
This may hint compiler to de-virtualise some calls.
2016-10-04 18:14:29 +01:00
zaxcav
d447223535
Increase network version for pathfinding updates.
2016-10-04 12:32:06 +02:00
zaxcav
72b4ff4ac8
Fix another typo 'uint' vs 'uint8'.
2016-10-04 12:12:21 +02:00
zaxcav
533d51489d
Fix typo 'uint' vs 'uint8'.
2016-10-04 12:02:24 +02:00
zaxcav
2aaf0692f9
Remove unused text descriptions of enum.
2016-10-04 10:05:51 +02:00
zaxcav
7ff53057c8
Optimise pathfinding changes.
2016-10-04 10:05:51 +02:00
zaxcav
c1b371b510
Pathfinding now only treats wide path tiles as continuing tiles (and therefore a valid search result) when the current path tile is also wide.
...
Wide tiles are consequently only traversed to reach thin path tiles when in an area of wide path tiles. This fixes peeps getting stuck when the path search limits are all further away from the destination than wide tiles.
2016-10-04 10:05:51 +02:00
zaxcav
9625a42d82
Collect search path telemetry in the pathfinding:
...
- Telemetry information collected includes: end location, steps taken, number of junctions walked through, the list of junctions walked through and the directions taken at each of those junctions.
- Telemetry collection is not optimised and currently has a negative performance impact.
Improve pathfinding debugging framework:
- Include collected telemetry information in the debugging messages.
- Enable debugging only for specific peeps - for guests, debugging is logged for tracked guest(s) only; for staff, debugging is logged for "Mechanic Debug" only.
- Debug messages need a DEBUG build with appropriate log levels enabled: used log levels are VERBOSE and INFO.
2016-10-04 10:05:51 +02:00
zaxcav
bb5710b442
Add missing #defines when DEBUG=0.
2016-10-04 10:05:51 +02:00