1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

9138 Commits

Author SHA1 Message Date
Ted John
69eca489da Integrate gSavedView... 2016-09-17 14:10:39 +01:00
Ted John
05e510f003 Remove unused CALLPROC 2016-09-17 14:08:01 +01:00
Marijn van der Werf
4ba7b6820c Integrate data at 0x0098D884 2016-09-17 14:01:08 +01:00
Ted John
e96b1820c8 Integrate remaining GLOBALs in viewport.c 2016-09-17 13:59:41 +01:00
Ted John
1c6f964773 Integrate _viewportDpi1 and _viewportDpi2 2016-09-17 13:38:18 +01:00
Marijn van der Werf
5f24e57c51 Partially integrate gCurrentViewportFlags
The two bytes after RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS don't seem to be used, according to IDA. As far as I understand endianness, updating from an uin16 to an uint32 should be save.
2016-09-17 13:15:47 +01:00
Ted John
06406de725 Fix AppVeyor, add signtool to PATH 2016-09-16 22:43:45 +01:00
Ted John
edb918a883 Fix heap overflow in getTunnelEdgeString 2016-09-16 18:59:41 +01:00
Ted John
814f67fb3d Revert "Remove unoriginal junior RC tracks"
This reverts commit 6d03980f20.
2016-09-16 18:54:54 +01:00
Ted John
0fbd27a5de Merge pull request #4330 from marijnvdwerf/feature/paint-unit-test
Attempt to add unit testing for track drawing
2016-09-16 18:51:38 +01:00
Marijn van der Werf
18a6d4246b Update scheme to Xcode 8 2016-09-16 19:49:16 +02: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
52282e399b Use named addresses for bound box catching 2016-09-16 19:45:22 +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
5524bd0e14 Print address of failed function 2016-09-16 19:45:11 +02:00
Marijn van der Werf
1c585e45e3 Improve Visual Studio compatibility 2016-09-16 19:45:10 +02:00
Marijn van der Werf
987bfa409a Improve track type support check 2016-09-16 19:45:09 +02:00
Marijn van der Werf
f2f99d7bb1 Improve environment simulation 2016-09-16 19:45:08 +02:00
Marijn van der Werf
8982d87e77 Add missing paint functions to track_data_old 2016-09-16 19:45:07 +02:00
Marijn van der Werf
4e4a07d1b0 Update testpaint to match develop 2016-09-16 19:45:07 +02:00
Marijn van der Werf
1cc43d5012 Add missing compat function 2016-09-16 19:45:05 +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
Ted John
527d18c9f1 Fix testpaint.vcxproj 2016-09-16 19:45:00 +02:00
Ted John
78f653ebb6 Fix x64 build for Windows 2016-09-16 19:44:59 +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
Ted John
f13e5c9e3a Add painttest to openrct2.proj 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
Marijn van der Werf
eb39f3fa1c Only add testpaint on unix for standard builds 2016-09-16 19:44:47 +02:00
Michał Janiszewski
f354c0ec3f Fix testpaint target for Linux 2016-09-16 19:44:45 +02:00
Ted John
de5aa4b7d6 Fix VS solution and test 2016-09-16 19:44:43 +02:00
Ted John
a30f2b8f7f Remove x64 configurations from vs project 2016-09-16 19:44:42 +02:00
Ted John
5f0f49be46 Move testpaint vs project to new location 2016-09-16 19:44:41 +02:00
Marijn van der Werf
df202d86a6 Change folder structure 2016-09-16 19:44:40 +02:00
duncanspumpkin
5f62443686 Add VS project files. Add code to allow calling into RCT2.exe 2016-09-16 19:44:37 +02:00
Marijn van der Werf
fbc28186dd Make TestCase initialisation VS-friendly 2016-09-16 19:44:36 +02:00
Marijn van der Werf
d456d86f69 Add header for data.h 2016-09-16 19:44:35 +02:00
Marijn van der Werf
ad2e8690bc Rename main.c to intercept.c 2016-09-16 19:44:31 +02:00
Marijn van der Werf
51d8d3ace3 Don’t build test target by default 2016-09-16 19:44:24 +02:00
Marijn van der Werf
bce52ea5f6 Fix gcc warnings in main.cpp 2016-09-16 19:44:22 +02:00
Marijn van der Werf
f412b67cc2 Fix main.c for gcc 2016-09-16 19:44:21 +02:00