1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

908 Commits

Author SHA1 Message Date
Duncan
e4c4a16d2a Merge pull request #2 from IntelOrca/master
Update to master
2014-06-23 12:31:26 +01:00
Ted John
2dfc1aba2e Merge pull request #188 from duncanspumpkin/fix_guest_list
Fix guest list
2014-06-22 22:06:47 +01:00
Ted John
8e558d66e8 Merge pull request #187 from duncanspumpkin/fix_179
Fix #179
2014-06-22 22:06:34 +01:00
Ted John
5797bf7946 Merge pull request #186 from duncanspumpkin/reset_0x69EBE4
Added another reset function
2014-06-22 22:06:21 +01:00
Duncan Frost
d5c865b856 Fixed graphical bug in faces. Fixes #102 2014-06-22 19:01:48 +01:00
Duncan Frost
b31f1f00b2 Fixed guest list groups. There is still a graphical glitch 2014-06-22 18:14:49 +01:00
Duncan Frost
37ca25170e Fixed graphical drawing bug. Detection of groups still incorrect 2014-06-22 10:24:19 +01:00
Duncan Frost
f2bfaa06a4 Fixes #179 multiple handyman crash. 2014-06-21 21:37:32 +01:00
Duncan Frost
8bd4e85764 Widgets now use draw_sprite 2014-06-21 16:20:05 +01:00
Duncan Frost
79e52e823a Updated missing function calls 2014-06-21 16:04:13 +01:00
Duncan Frost
1aaa88afae Added 0x69E9A7 2014-06-21 15:50:13 +01:00
Duncan Frost
9c4f06a04b Added another reset function 2014-06-21 13:31:28 +01:00
Ted John
07c208618c Merge pull request #185 from duncanspumpkin/sprite_reset
Added sprite list reset function.
2014-06-20 17:53:04 +01:00
Duncan Frost
e46abd0f4c Added sprite list reset function. Identified more fields. 2014-06-20 15:31:28 +01:00
Ted John
15dfd49509 Merge pull request #184 from duncanspumpkin/master
Fixed pattern bugs in new code
2014-06-19 11:32:55 +01:00
Duncan Frost
76c07fc278 Added paletts to sprite list. 2014-06-19 10:33:14 +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
Ted John
f3c3974568 Merge pull request #183 from duncanspumpkin/master
More Gfx clean up
2014-06-18 20:15:31 +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
Ted John
aecfc6ce5f Merge pull request #182 from duncanspumpkin/gfx_string
More gfx_string work
2014-06-15 12:19:36 +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
Duncan Frost
7128ca9f5d Fix small bug with adjust palette 2014-06-15 10:15:23 +01:00
Duncan Frost
61a30b16fb Tidied up gfx_string. Deleted control char enum. Now uses string_ids enum to prevent multiple defs. 2014-06-15 10:09:28 +01:00
Ted John
dbe0fc2a16 Merge pull request #181 from duncanspumpkin/master
Added text info to cheat tab
2014-06-14 15:03:39 +01:00
Ted John
935de69b19 Merge pull request #180 from duncanspumpkin/gfx_string
Gfx string
2014-06-14 15:03:16 +01:00
Duncan Frost
80cdcb6fbf Added text info to cheat tab 2014-06-14 10:19:42 +01:00
Duncan Frost
b0475b3f15 Labeled global vars, removed obselete comments and changed to local text_palette. 2014-06-14 09:46:04 +01:00
Duncan Frost
80b8ef29bd Fix merge fail 2014-06-14 09:05:33 +01:00
Duncan Frost
331159c9e6 Wrap string refactored to match other width functions. Error clean up. 2014-06-14 09:01:59 +01:00
Duncan
cbd97facfd Added Char_control_code enum. Refactor of draw string 2014-06-14 08:34:58 +01:00
Duncan
a39485fcc6 Added notes for what unknown functions do. 2014-06-14 08:33:43 +01:00
Duncan
0afec9c3e8 Cleaned up clip_string and string_width
Both functions are very similar. They now have the same bugs fixed.
2014-06-14 08:33:42 +01:00
Duncan
db2f855579 Small bug fix in char width. Switched to C99 inits
4th character type has to have the width increased from the g1 elements width rather than decreased.
2014-06-14 08:32:47 +01:00