Michał Janiszewski
a13c30795d
Add fcntl.h include to POSIX platform
...
Required for `open()`, etc.
2017-09-03 14:48:50 +02:00
Michał Janiszewski
5d3c58611a
Report path of failed directory creation
2017-09-03 14:48:50 +02:00
Ted John
11d0639d5e
Merge pull request #6244 from IntelOrca/paint/use-paint-session-tracks
...
Pass paint session to remaining functions
2017-09-03 10:19:18 +01:00
Duncan
04e217a04c
Remove unused global palette pointer ( #6247 )
...
Moved one use of the palette pointer into a parameter
2017-09-03 10:16:51 +01:00
OpenRCT2 git bot
49066bac4a
Merge Localisation/master into OpenRCT2/develop.
2017-09-03 04:00:21 +00:00
Ted John
ef84f6283d
Fix testpaint
2017-09-03 02:59:14 +01:00
Ted John
43c6f7fda0
Pass paint session to ps functions
2017-09-03 02:27:07 +01:00
Ted John
f6dbf560a2
Pass paint session to ps rotated helpers
2017-09-03 02:18:01 +01:00
Ted John
3880134b40
Change gTrackColours to use session
2017-09-03 02:01:29 +01:00
Ted John
f2b8cf181e
Pass paint session to remaining support functions
2017-09-03 01:56:56 +01:00
Ted John
1cc82d1cb5
Pass paint session to tunnel functions
2017-09-03 01:51:59 +01:00
Ted John
972a3bf111
Pass paint session to track_paint helpers
2017-09-03 01:42:08 +01:00
Ted John
dce007feaa
Pass paint session to support functions
2017-09-03 01:04:23 +01:00
Ted John
0f9784a423
Pass paint session to many specific track helpers
2017-09-03 00:34:33 +01:00
Ted John
90f4478f48
Pass paint session to all track functions
2017-09-03 00:19:17 +01:00
Ted John
b06737309a
Merge pull request #6243 from IntelOrca/paint/use-paint-session
...
Reducing number of `gPaintSession` occurrences and passing `paint_session` by argument instead. Mostly done now apart from the track functions.
2017-09-03 00:18:36 +01:00
Ted John
f81ee49015
Pass paint session to remaining non-track called functions
2017-09-02 23:41:02 +01:00
Ted John
2980be0667
Pass paint session to more ps functions
2017-09-02 23:22:19 +01:00
Ted John
ae6c820662
Pass paint session to all vehicle paint functions
2017-09-02 23:13:10 +01:00
Ted John
6a9cd63874
Pass paint session to some vehicle paint functions
2017-09-02 23:05:58 +01:00
Ted John
3b9a86500a
Pass paint session to sprite_paint_setup
2017-09-02 22:56:15 +01:00
Ted John
a60a33e665
Pass paint session to track_paint
2017-09-02 22:47:07 +01:00
Ted John
6b3f3ddb70
Pass paint session to scenery_paint
2017-09-02 22:44:39 +01:00
Ted John
8456639b47
Pass paint session to entrance_paint
2017-09-02 22:43:45 +01:00
Ted John
1f6f83163a
Pass paint session to fence_paint
2017-09-02 22:41:36 +01:00
Ted John
00cde34b39
Pass paint session to scenery_multiple_paint
2017-09-02 22:40:19 +01:00
Ted John
5c8700d054
Pass paint session to banner_paint
2017-09-02 22:38:26 +01:00
Ted John
4c78827c45
Pass paint session to path_paint
2017-09-02 22:31:39 +01:00
Ted John
47521335fa
Pass paint session to surface_paint
2017-09-02 22:25:45 +01:00
Ted John
f9414d1d82
Pass paint session to viewport functions
2017-09-02 22:15:09 +01:00
Ted John
bf60fdcc7e
Create alloc and free functions for paint_session
2017-09-02 20:56:52 +01:00
Ted John
46c2e52b5c
Pass paint_session to more functions
2017-09-02 20:25:03 +01:00
Michał Janiszewski
450029a29e
Export sprite BBox comparator to its own function
2017-09-02 21:14:48 +02:00
Michał Janiszewski
941607053a
Expose paint_arrange_structs_helper for testing
2017-09-02 21:14:48 +02:00
Ted John
999d979fcb
Merge pull request #6241 from IntelOrca/multithreaded-drawing-2
...
Move paint globals to a new struct
2017-09-02 19:35:33 +01:00
Ted John
4ea9ac2d07
Fix testpaint
2017-09-02 19:00:54 +01:00
Ted John
b314cc4d74
Redirect gTrackColours to gPaintSession
2017-09-02 17:11:59 +01:00
Ted John
a0f5f1243f
Remove more map element paint globals
2017-09-02 17:11:59 +01:00
Ted John
6c1d1c43e5
Remove tunnel globals
2017-09-02 17:11:59 +01:00
Ted John
eb7b1e7b7e
Remove global, gPaintMapPosition
2017-09-02 17:11:59 +01:00
Ted John
5730a36555
Simplify gPaintMapPosition to rct_xy16
2017-09-02 17:11:59 +01:00
Ted John
d794057f8c
Remove gWoodenSupportsPrependTo global
2017-09-02 17:11:59 +01:00
Ted John
1d04f334e3
Change more paint globals to use gPaintSession
2017-09-02 17:11:58 +01:00
Ted John
cb09357bba
Create paint_session to replace paint globals
2017-09-02 17:11:58 +01:00
ζeh Matt
1f3ccae8b1
Refactor remaining image flag constants to defined G1_* flags. ( #6217 )
...
Refactor gUnk9DE568 and gUnk9DE56C to be type of rct_xy16 called gPaintSpritePosition
Rename unk_9ABDA4 to gCurrentColourPalette.
Rename gUnkEDF81C to gCurrentImageType.
Rename sub_679236_679662_679B0D_679FF1 to pixel_is_present.
Remove unused variables _unk9ABDAE, _unk9AC149, unk_9E3CE4, only ever assigned but never read.
Remove unreferenced variable unk_9E3CDC.
Clean up some parts in sub_679236_679662_679B0D_679FF1.
Remove function sub_68371D and references, it assigns variables that are never used.
Add assert determine if unused code.
2017-09-02 14:01:08 +01:00
OpenRCT2 git bot
4a5e5b6519
Merge Localisation/master into OpenRCT2/develop.
2017-09-02 04:00:17 +00:00
Dennis-Z
6bf1e2e948
Update changelog
2017-09-01 21:02:11 +02:00
Dennis-Z
859faa4bad
Fix ghosting when moving over transparent map elements
2017-09-01 21:02:11 +02:00
Michael Steenbeek
ddb557a0fe
Fix TD4 vehicle colour import, move track_design to C++
2017-09-01 13:38:21 +02:00
Ted John
c40b73d5a4
Merge pull request #6235 from IntelOrca/feature/dirty-visuals
...
Add drawing debug option for showing visuals when and where blocks of the screen are painted.
This will currently only work in hardware display drawing engine.
2017-09-01 11:30:32 +01:00