1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
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