Commit Graph

9300 Commits

Author SHA1 Message Date
Marijn van der Werf a76e21a767 Integrate data at 0x009A37C4 2016-09-17 19:49:52 +02:00
Marijn van der Werf 1a6392cbc9 Integrate data at 0x009A37E4 - 0x009A39C4 2016-09-17 19:08:30 +02:00
Ted John 375069384b Fix x64 builds 2016-09-17 16:35:19 +01:00
Ted John c255333135 Fix CI 2016-09-17 16:33:35 +01:00
Ted John c183b65065 Fix original paint mode 2016-09-17 16:32:36 +01:00
Ted John 0791def825 Integrate _unkEE788C 2016-09-17 16:21:13 +01:00
Ted John f4cf1d6158 Integrate gUnkF1A4CC 2016-09-17 16:14:46 +01:00
Ted John 4f34accfea Integrate _spriteFontCharacterWidths 2016-09-17 16:07:34 +01:00
Ted John 9f847ca8bb Remove old RCT2 compatibility from vehicle paint 2016-09-17 15:58:59 +01:00
Ted John c2ca1316e8 Integrate / remove various GLOBALs 2016-09-17 15:51:06 +01:00
Marijn van der Werf 59d2c7a341 Integrate table at 0x009A36C4 2016-09-17 16:07:45 +02:00
Ted John 9d37b8bb9c Centre overall ride view on resize 2016-09-17 14:30:45 +01:00
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