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

209 Commits

Author SHA1 Message Date
Balletie
8d75552cf4 Fix build on OSX (missing include) 2014-08-21 11:57:54 +02:00
Duncan Frost
d8ab81c456 Fixed Zoom bug. No longer uses undefined behaviour. 2014-08-15 15:07:35 +01:00
Duncan Frost
4ec0920968 Trying to solve gfx issues 2014-08-15 14:46:26 +01:00
Duncan Frost
412c9b689a Fix see through glass 2014-08-14 20:56:26 +01:00
Duncan Frost
cd1f71708e Fixed zoom bug. 2014-08-12 20:43:38 +01:00
Duncan Frost
3aaa9ef965 Tidy viewport code 2014-08-12 20:11:23 +01:00
Duncan Frost
3bbfd97224 Zooming working again. Graphical glitch along x=0 line. 2014-08-12 18:19:37 +01:00
Duncan Frost
9a33bc0597 Added zoom_masks 2014-08-12 08:02:18 +01:00
Duncan Frost
ffaeca1a1c Zoomed land working. 2014-08-12 07:45:55 +01:00
Duncan Frost
a44171205c Removed redundant comments about not being tested 2014-08-12 07:12:47 +01:00
Duncan Frost
b3325bcb38 Cleaned up obsolete variables 2014-08-12 07:12:46 +01:00
Duncan Frost
00a9ab9da3 Added notes to draw_sprite 2014-08-12 07:12:46 +01:00
Duncan Frost
787340921e Swapped variable names to match game 2014-08-12 07:12:45 +01:00
Duncan Frost
bc5ac887c5 Fix primary secondary tertiary colour sprites 2014-08-12 07:12:44 +01:00
Duncan Frost
cdd15bf1fe Fixes water display issues. 2014-08-12 07:12:43 +01:00
Duncan Frost
a39412d28b Fixes thick lines in line draw 2014-08-11 07:05:46 +01:00
Duncan Frost
e830502181 Switched back to rct2 zoom code 2014-08-10 11:11:45 +01:00
Duncan Frost
61ea5dded6 Fixed draw_sprite for large x/y. Zooming broken 2014-08-10 11:11:44 +01:00
Duncan Frost
b98d4bb508 Viewport integrated into gfx_draw_sprite. 2014-08-10 11:11:43 +01:00
Duncan Frost
1c79d9c19a Started trying to integrate viewport draw function 2014-08-10 11:11:42 +01:00
IntelOrca
e8fa6b7c5a finish finances summary page 2014-08-09 14:47:58 +01:00
Duncan Frost
57f17f62e5 Moved function to gfx.c added new addresses 2014-08-08 17:19:08 +01:00
Dániel Tar
fa931e1ff0 Decompiling window_staff 2014-08-05 19:15:28 +02:00
anyc
305cef2f75 fix errors and warnings with mingw 2014-07-31 00:11:01 +02:00
ZedThree
bba524a7a9 Bug fix: in-line sprites in text not rendered correctly 2014-07-26 22:08:18 +02:00
Ted John
2f2dff48ea Merge pull request #230 from duncanspumpkin/fix_draw_string
Partial fix to #223
2014-07-23 20:56:03 +01:00
Duncan Frost
e897301ff4 Fixes highlighting error 2014-07-23 18:45:19 +01:00
Duncan Frost
d68e716cd8 Removed compile errors. Implemented changes to window.h 2014-07-23 18:07:38 +01:00
Duncan Frost
0d144540cc Fixed gfx_wrap_string error. Cleanedup tooltip 2014-07-13 13:10:14 +01:00
Duncan Frost
3a3cbbc7c4 Fixed another small window bug and changed to using global window list var 2014-07-10 21:22:32 +01:00
Duncan Frost
f68ab9162d Added 0x97FCBC table for getting palettes from g1 elements 2014-06-19 10:27:35 +01:00
Duncan Frost
5de7cac882 Fixed pattern bugs in new code 2014-06-19 09:25:50 +01:00
Duncan Frost
9c051a0a22 Fixed zooming code. Its still not working quite right 2014-06-18 19:19:27 +01:00
Duncan Frost
e2d5c9904c Fixed compile bugs. Zooming code is broken 2014-06-18 18:24:52 +01:00
Duncan
b6274a72a0 Added note about possible issue in draw_sprite. 2014-06-18 16:35:26 +01:00
Duncan
759268c1f5 Started adding final pattern code
Has not been tested. Looping code not implemented.
2014-06-18 16:22:45 +01:00
Duncan
31bf6bf4b3 Re-factor of gfx_transpose_palette
Requires testing i feel as though osinterface call might be incorrect.
2014-06-18 13:03:37 +01:00
Duncan
4b02a71692 Changed layout of gfx_fill_rect
Now in a more logical state. Ready for being reimplemented as a switch with multiple functions.
2014-06-18 12:22:15 +01:00
Duncan
6f528664fe Add Author 2014-06-17 16:47:32 +01:00
Duncan
3e6ee0d3b1 Re-factor of gfx_fill_rect.
Moved cross_hatching code. Renamed some of the variables to make it easier to follow. Possible future change into big switch statement.
2014-06-17 16:29:07 +01:00
Duncan
28c2d6430d Re-factored part of gfx_fill_rect added zooming
Added notes for future work as well.
2014-06-17 12:39:56 +01:00
Duncan
aaaf06e94d Fixed bug in gfx_fill_rect
As expected _left was incorrect.
2014-06-17 12:20:34 +01:00
Duncan
f0fb16d1b2 Re-factored part of gfx_fill_rect
Removed references to global vars that are not required. Possible bug in line 416 will require looking at.
2014-06-17 12:15:58 +01:00
Duncan
4f77ba0698 Added extra zoom code
This is some sort of short cut code. I think some of the more common sprites are precomputed for zoomed images.
2014-06-16 16:09:29 +01:00
Duncan
f45ec1976a Corrected mistake with zoom_level
Has not been tested. Still requires looking at x, y initial values i think they might be >> as well.
2014-06-16 12:44:23 +01:00
Duncan
38df54167e Merge pull request #1 from IntelOrca/master
Test pull request
2014-06-16 09:40:52 +01:00
Duncan
66d185712e Fix gfx_clear bug not using zoom level
There is a strong possibility that i have implemented all zooming code incorrectly. This will require looking at.
2014-06-16 09:25:42 +01:00
Duncan Frost
d0fa292129 Now using sprite refs 2014-06-15 10:45:22 +01:00
Duncan Frost
e931da1ca9 Simplified buffer interaction 2014-06-15 10:31:10 +01:00
Duncan Frost
ce0321aba7 Cleaned up gfx notes 2014-06-15 10:22:39 +01:00