Commit Graph

66 Commits

Author SHA1 Message Date
Duncan Frost 503826e762 Cleaned up comments added enums to make code easier to read 2014-05-23 12:08:20 +01:00
Duncan Frost d5586aabfe Merge to gfx_unstable 2014-05-23 11:01:19 +01:00
Duncan Frost cd3db82343 Added notes for what has been tested. 2014-05-23 10:54:31 +01:00
Duncan Frost 9f3bdff3c9 Added alternitive image_types to 2nd buffer function 2014-05-23 10:22:31 +01:00
Duncan Frost b144147400 Added last parts to main buffer function 2014-05-23 09:45:18 +01:00
Duncan Frost 8bc3ac03c4 Added more buffer of the buffer function 2014-05-23 09:05:21 +01:00
Duncan Frost 5a5a5409a2 Started implementing next set of buffer functions. Cleaned up some comments and code paths 2014-05-22 19:18:50 +01:00
Duncan Frost 5c927eb418 Fixed small graphical glitch caused by too small a variable 2014-05-22 17:51:15 +01:00
Duncan Frost e5a9426203 Added final part of main code section. 2014-05-21 18:57:56 +01:00
Duncan Frost e11e9d78f9 Fixed small bug due to wrong constant. 2014-05-21 18:21:49 +01:00
Duncan Frost 0a8a56d4b0 Bug in buffer code changing the colour of peep 2014-05-20 18:32:42 +01:00
Duncan Frost 9270aa6aae Fixed tab background bug. 2014-05-19 22:06:01 +01:00
Duncan Frost 400351a38c Finally found bug. It was caused by the wrong offset in the calling sub. 2014-05-19 21:12:00 +01:00
Duncan Frost a4645ec806 Trying to locate bug in drawing ready code. 2014-05-18 19:27:00 +01:00
Duncan Frost 69b9c45a40 Started adding in the rest of draw sprite function added in stub function for 2nd draw to buffer func 2014-05-18 09:30:13 +01:00
Duncan Frost 0fa9e6ebb9 Finished turning the code into C removed all present bugs. Buffer draw code for basic images is done. 2014-05-18 08:14:47 +01:00
Duncan Frost 5eb445857b Trying to find bug in new version of code 2014-05-17 17:40:55 +01:00
Duncan Frost 001ccc3945 Started cleanup of code introduced a bug at some point 2014-05-16 19:06:35 +01:00
Duncan Frost 1aa3bc0232 Started clean up of buffer interaction code.Still a little buggy 2014-05-15 22:15:29 +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
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
IntelOrca 1cead7ad38 Merge branch 'master' into gfx_unstable 2014-05-11 21:29:07 +01:00
Duncan Frost 84342b07d2 Replaced decompiled code with bresenhams algorithm. Gfx_draw_line finished. 2014-05-11 21:25:18 +01:00
ZedThree ea83381e4c Add author 2014-05-11 22:19:01 +02:00
ZedThree 7f4e21f334 Bug fix: cross-hatch loop was wrong
Also rename and tidy up a bunch of variables
2014-05-11 21:31:31 +02:00
Duncan Frost 45532da9c6 Rewrote gfx_draw_line_on_buffer after realising how it works 2014-05-11 20:10:32 +01:00
ZedThree 1e8f80fa5c Bug fix - memset doesn't increase pointer 2014-05-11 18:42:28 +02:00
ZedThree ba6263d2bd Cross-hatching branch 2014-05-11 18:42:27 +02:00
ZedThree ce0df83298 Formatting 2014-05-11 18:42:27 +02:00
ZedThree 6f1421117b Some tidying up. Scrollbars don't work 2014-05-11 18:42:27 +02:00
ZedThree 705af9377b Start decompiling gfx_fill_rect
Section starting 0x00678C83 complete and works, but needs better comments/names
2014-05-11 18:42:26 +02: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