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

6963 Commits

Author SHA1 Message Date
duncanspumpkin
56fddac199 Fix broken zoomed textures and palettes
Zoomed textures were failing to pass the image flags to the zoomed version of the texture. This would cause corrupted data to be passed as a tertiary colour to the palette function.
Also due to not recording the image flags in the palette hash map a tertiary colour of zero would be ignored and unremaped pink colour would be shown
2016-09-19 19:00:26 +01:00
duncanspumpkin
5f7a6fb369 Fixed OpenGL palette drawing
Added palettes to the texture atlas and now correctly use them to generate
images. Transparency semi supported but the colours are not quite
correct.
2016-09-18 20:28:46 +01:00
Ted John
d786e57914 Move registers struct to common.h
So that it can still be used in x64 builds
2016-09-17 23:12:25 +01:00
Michał Janiszewski
2d5de506f4 Fix guards for NO_RCT2 builds 2016-09-17 22:59:32 +01:00
Ted John
20863bce52 Guard segments definition in USE_MMAP 2016-09-17 21:07:17 +01:00
Marijn van der Werf
487d6d8f15 Remove unnecessary addresses.h imports 2016-09-17 20:59:55 +01:00
Ted John
7c05ceb275 Make x64 fully stand alone without segment loading 2016-09-17 19:29:39 +01:00
Ted John
665f5e794b Merge pull request #4442 from marijnvdwerf/integrate/vehicle
Integrate vehicle data
2016-09-17 19:15:27 +01:00
Marijn van der Werf
65919029ae Integrate data at 0x0098DA64 2016-09-17 19:14:06 +01:00
Marijn van der Werf
a3a8484059 Complete integration of 0x009A3B04 2016-09-17 19:54:44 +02:00
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
814f67fb3d Revert "Remove unoriginal junior RC tracks"
This reverts commit 6d03980f20.
2016-09-16 18:54:54 +01:00
Marijn van der Werf
8982d87e77 Add missing paint functions to track_data_old 2016-09-16 19:45:07 +02:00
Michał Janiszewski
f354c0ec3f Fix testpaint target for Linux 2016-09-16 19:44:45 +02:00
Marijn van der Werf
6d03980f20 Remove unoriginal junior RC tracks 2016-09-16 19:44:20 +02:00
Marijn van der Werf
0935ac6ea9 Start drawing debug test 2016-09-16 19:42:53 +02:00
Marijn van der Werf
840ab4a1aa Fix Crooked House 2016-09-16 15:48:36 +02:00
Marijn van der Werf
f185003060 Fix Submarine Ride 2016-09-16 15:48:36 +02:00
Marijn van der Werf
d1e2a206c9 Fix Junior RollerCoaster 2016-09-16 15:48:36 +02:00
Marijn van der Werf
5ae8d40e16 Fix Mini Helicopters 2016-09-16 15:48:36 +02:00
Marijn van der Werf
4dea417470 Fix Viriginia Reel 2016-09-16 15:48:35 +02:00
Marijn van der Werf
f0dd452fa3 Fix Maze 2016-09-16 15:48:35 +02:00
Marijn van der Werf
81b62a75ff Fix Mini Golf 2016-09-16 15:48:35 +02:00
Marijn van der Werf
c434c80bb5 Fix Monorail Cycles 2016-09-16 15:48:34 +02:00
Marijn van der Werf
37b41da9f3 Fix Go Karts 2016-09-16 15:48:34 +02:00
Marijn van der Werf
fbc85d8e4a Fix Pirate Ship 2016-09-16 15:48:34 +02:00
Marijn van der Werf
67539ed466 Fix Monorail 2016-09-16 15:48:34 +02:00
Marijn van der Werf
f88ef72c7f Fix River Rapids 2016-09-16 15:48:34 +02:00
duncanspumpkin
cbf4474118 Remove unused global 2016-09-15 20:34:33 +01:00
duncanspumpkin
d0f9f6070c Remove use of global where not required 2016-09-15 20:30:10 +01:00
duncanspumpkin
4473fcb275 Integrate remaining address in entrance.c 2016-09-15 19:39:57 +01:00
Ted John
b9a867b6d6 Fix x64 / NO_RCT2 builds, define globals 2016-09-15 17:55:56 +01:00
Duncan
94b177ed6c Temporarily Readd addresses header
Can be removed when `RCT2_ADDRESS(0x0097B974, uint8)[ebx]` uses the correct implemented variable.
2016-09-15 12:15:30 +01:00