Commit Graph

37 Commits

Author SHA1 Message Date
Marijn van der Werf d3ce7d1d75 Extract vertical tunnel testing 2016-10-17 12:45:27 +02:00
Marijn van der Werf 9efb41a13f Extract Side tunnels 2016-10-17 12:44:50 +02:00
Marijn van der Werf cb4519e9c5 Move support height testing 2016-10-17 12:43:14 +02:00
Marijn van der Werf 1bd87537eb Attempt to fix automatic segment heights 2016-10-17 12:43:14 +02:00
Marijn van der Werf deb266c443 Extract SupportHeightCalls 2016-10-17 12:43:14 +02:00
Marijn van der Werf 7d69446464 Attempt to fix GCC 2016-10-17 12:43:14 +02:00
Marijn van der Werf b8b3eb5af5 Fix for msvc 2016-10-17 12:43:14 +02:00
Marijn van der Werf 70654e9ee5 Extract tunnel/segment resetting 2016-10-17 12:43:13 +02:00
Marijn van der Werf 486d9da0a0 Extract environment resetting 2016-10-17 12:43:13 +02:00
Michał Janiszewski 2c58543928 Fix unintialised variables in testpaint 2016-10-15 21:26:29 +02:00
Michał Janiszewski 053945034a Fix uninitialised value in testpaint 2016-10-10 23:08:48 +02:00
LRFLEW 7dccbba8b2 Improve String Handling in PaintTest 2016-10-09 15:29:58 -05:00
Michał Janiszewski f1c6ef94da Compilation fixes to latest testpaint 2016-10-09 09:54:20 +01:00
Ted John e17180db08 Generate basic tunnels 2016-10-08 00:27:07 +01:00
Ted John ec082b4ac8 Generate set segment support height and other fixes 2016-10-07 23:55:17 +01:00
Michał Janiszewski 9966052ca7 Fix more configurations 2016-10-06 23:32:10 +02:00
Ted John df65f3686c testpaint: Test chain lift and improve general support height assertion 2016-10-05 22:16:46 +01:00
Ted John 25aabf6470 Fix heap overflow in testpaint 2016-10-01 12:43:03 +01:00
Ted John a4b75fd84a Allow test ignoring 2016-09-24 11:21:04 +01:00
Ted John edb918a883 Fix heap overflow in getTunnelEdgeString 2016-09-16 18:59:41 +01:00
Ted John dbb822ad35 Ignore zero sized array warning to fix VS builds 2016-09-16 19:45:25 +02:00
Marijn van der Werf c233e0491a Improve tunnel offset detection 2016-09-16 19:45:24 +02:00
Marijn van der Werf 9ca2f89831 Improve test output 2016-09-16 19:45:21 +02:00
Marijn van der Werf c526d0da3f Rename default palette options 2016-09-16 19:45:13 +02:00
Marijn van der Werf f2f99d7bb1 Improve environment simulation 2016-09-16 19:45:08 +02:00
Marijn van der Werf 4e4a07d1b0 Update testpaint to match develop 2016-09-16 19:45:07 +02:00
Marijn van der Werf 0f51be809c Update code to match develop 2016-09-16 19:45:04 +02:00
Marijn van der Werf 2d688e1056 Expand message for support height mismatch 2016-09-16 19:45:03 +02:00
Marijn van der Werf 8af6dd1577 Attempt to fix size mismatch 2016-09-16 19:45:02 +02:00
Michał Janiszewski 88ffe5f8c2 Fixes for testpaint
Test of `paint_launched_freefall_tower_section` is invalid. Do note this
function [expects another element right past the one just
passed](https://github.com/OpenRCT2/OpenRCT2/blob/d00aa2c/src/ride/thrill/launched_freefall.c#L147):

```
rct_map_element * nextMapElement = mapElement + 1;
```

but you pass only a single map element, which is not marked as last for
tile. The same prevails throughout other tests.
2016-09-16 19:44:56 +02:00
Michał Janiszewski ef008d6fd2 Fixes for GCC6.1 on Linux
GCC6.1 does not support non-trivial designated initializers, but there
are so few fields used, they don't have to be used.
2016-09-16 19:44:55 +02:00
Michał Janiszewski eed46dc367 Fixes for testpaint on Linux 2016-09-16 19:44:54 +02:00
Marijn van der Werf fdbb4998f6 Add vertical tunnel testing 2016-09-16 19:44:53 +02:00
Marijn van der Werf 95f68a3e6a Validate side tunnel calls 2016-09-16 19:44:52 +02:00
Marijn van der Werf a904391a6d Get expected tunnel pattern 2016-09-16 19:44:52 +02:00
Marijn van der Werf 66310a6285 Add check for general supports 2016-09-16 19:44:50 +02:00
Marijn van der Werf 52e4800660 Add rough version of support segment checking 2016-09-16 19:44:49 +02:00