Commit Graph

60 Commits

Author SHA1 Message Date
ZedThree 55183d0589 draw_string_centred 2014-05-31 16:40:40 +02:00
ZedThree 504ce150ea Fix bug in gfx_get_string_width 2014-05-31 16:40:40 +02:00
ZedThree 67b7ca8d1e Fix use of g1_elements and tidy comments 2014-05-31 16:40:39 +02:00
ZedThree c3ea45062b gfx_draw_string complete. Needs tidying 2014-05-31 16:40:39 +02:00
ZedThree 702a97b185 Fix some bugs, tidy up
Still buggy...
2014-05-31 16:40:38 +02:00
ZedThree 99c7b23452 Second pass of gfx_draw_string. Still buggy 2014-05-31 16:40:38 +02:00
ZedThree 6e778006a5 First pass for gfx_draw_string() 2014-05-31 16:40:37 +02:00
ZedThree 34a9f94ac1 Add gfx_get_string_width() 2014-05-31 16:40:37 +02:00
IntelOrca 74f5db4ebd Merge branch 'master' into gfx_unstable 2014-05-27 22:28:45 +01:00
IntelOrca 20a18a8ba3 fix awards window and remove original call 2014-05-27 21:02:20 +01:00
anyc 30fe4361eb fixed RCT2_ERROR with GCC; added missing include 2014-05-25 11:47:22 +02:00
anyc 277f0ff4a5 GCC fixes 2014-05-24 21:24:25 +02:00
IntelOrca 36144b85be clean up loading of g1.dat 2014-05-24 18:41:38 +01:00
anyc e6c90c6ebb fixed static enums; added missing headers 2014-05-20 17:55:39 +02:00
anyc 82fa4439bf renamed strings.[ch] to string_ids.[ch] due to name collision 2014-05-20 17:55:39 +02:00
ZedThree e209e370be Tidy up gfx_fill_rect_inset
Give names to flags and different tones
2014-05-16 19:53:12 +02:00
ZedThree 4fae966855 Bug fix: pressed buttons not the right colour 2014-05-16 19:53:11 +02:00
ZedThree 67980e2f5f Fix bug with transparency 2014-05-16 19:53:11 +02:00
ZedThree 088ac32da3 Add gfx_fill_rect
Still a little buggy for transparent colours
2014-05-16 19:53:11 +02:00
IntelOrca 12dfd1e644 fix warnings 2014-05-15 00:23:50 +01:00
Duncan Frost 7f20fa9338 Skipping buggy code for now. Will be looked at some time later 2014-05-14 22:14:46 +01:00
Duncan Frost 84c7f33ba1 Changed to memset to make code look a bit simpler 2014-05-14 22:07:59 +01:00
Duncan Frost ff86f7e9e9 sub0x67a934 turned into almost proper C code 2014-05-14 21:58:35 +01:00
Duncan 2c7118c01b Added guess about G1 dpi.
Warning not tested.
2014-05-14 17:01:13 +01:00
adrian17 31424b6a06 Use macros defined in addresses.h where possible. Removed one doubled macro. 2014-05-13 23:37:45 +02:00
Duncan Frost 8ecde8f07a Moved around logic so it runs correctly 2014-05-13 20:10:49 +01:00
Duncan Frost 20c7b98c88 merge 2014-05-13 19:06:15 +01:00
Duncan Frost eb2682fbd4 Fix merge error 2014-05-13 19:03:23 +01:00
Duncan Frost ba16b197e3 Bug found in the first test doh. 2014-05-13 19:01:59 +01:00
Duncan Frost 1d754dc390 Still searching for bug 2014-05-13 18:32:57 +01:00
Duncan Frost 756f21b427 Trying to understand how the drawing function works 2014-05-12 22:04:07 +01:00
IntelOrca 8dcca91092 mass clean up and reduce warnings 2014-05-12 01:45:45 +01:00
Duncan Frost 84342b07d2 Replaced decompiled code with bresenhams algorithm. Gfx_draw_line finished. 2014-05-11 21:25:18 +01:00
Duncan Frost 45532da9c6 Rewrote gfx_draw_line_on_buffer after realising how it works 2014-05-11 20:10:32 +01:00
Duncan Frost cd8587243c Initial rewrite of gfx_draw_line 2014-05-11 13:14:43 +01:00
Duncan Frost 6d97593093 Bug in main draw_sprite func for now skipping code 2014-05-11 10:14:38 +01:00
Duncan Frost 26f4b35e61 Cleaned up code so that it makes more sense. 2014-05-10 12:26:19 +01:00
Duncan Frost 16ed98348a Found bug due to signness on global var 2014-05-10 10:16:23 +01:00
Duncan Frost 601305a4e3 Still searching for bug. Must be some external memory not set 2014-05-10 10:12:48 +01:00
Duncan Frost 1086c4e524 added notes to help find bug 2014-05-10 07:14:12 +01:00
Duncan Frost f3e7c6c23c Added more of draw_sprite still needs work. Function call does not work 2014-05-09 09:18:49 +01:00
Duncan Frost 2276c198fd Removed a pointless call in palette tried to make draw sprite more understandable 2014-05-08 20:43:10 +01:00
Duncan Frost f448929f73 First couple lines decoded 2014-05-08 20:13:58 +01:00
IntelOrca a35a9f29a4 add guest list window 2014-05-05 03:27:17 +01:00
IntelOrca 9cf658356f Merge branch 'master' into path-window 2014-04-29 12:40:14 +01:00
ZedThree 6f756bb458 Replace variable addresses with named constants
Done automatically with sed/unix
2014-04-28 22:00:54 +02:00
IntelOrca 1246a14fe3 add footpath window 2014-04-28 17:35:12 +01:00
IntelOrca ea4ea99212 add more input logic and tooltip window 2014-04-24 18:53:42 +01:00
Kevin Burke e5a925e26c Add newlines to the end of every file (sed/unix do this) 2014-04-21 14:57:48 +05:30
IntelOrca 131673ab0d add graph drawing to park window 2014-04-18 22:47:25 +01:00