Commit Graph

21 Commits

Author SHA1 Message Date
jeffman 6f448b8f2c Added some clearing routines 2017-04-16 19:14:02 -04:00
jeffman 0ae74eefd9 print_window_header_string now uses pixel coordinates
This is so that we can glue strings together. For example, the game
prints "Weapons" and "(X)" (page number) as separate strings.
2017-04-16 19:12:33 -04:00
jeffman 3ff08bb07f Some code reformatting 2017-04-16 19:07:19 -04:00
jeffman 87d792f156 Moved window header code to C 2017-04-15 23:38:32 -04:00
jeffman 7bfedd75e7 Added arrow character 2017-04-15 23:37:17 -04:00
jeffman 3bc7fd417e Fixed YOU WON! graphics 2017-04-15 13:36:42 -04:00
jeffman 21c703def1 Made argument types more consistent 2017-04-15 13:31:53 -04:00
jeffman bc29d81c05 Generalized print_character
Now has the option to pass a get_tile callback for different coordinate
systems. Can also turn off tilemap editing.
2017-04-15 12:49:47 -04:00
jeffman e49701cb5e Centralized character decoding 2017-04-15 12:48:33 -04:00
jeffman fcee9591b1 Turning off all inlining and constant propagation for now
Can always turn these back on again later, it's just easier to debug with
them off
2017-04-15 12:46:34 -04:00
jeffman 89a848376a Fixed some VWF bugs 2017-04-13 18:11:46 -04:00
jeffman 72f37b4dfb Moved print_space to vwf.c 2017-04-11 17:39:56 -04:00
jeffman b46539dd34 Moved a bunch of tile clearing/copying code to C 2017-04-11 17:16:58 -04:00
jeffman d4e1e81bb2 Don't inline get_tile_number
It barely runs faster when inlined and it's just easier to debug things
when it's not inlined
2017-04-11 17:15:34 -04:00
jeffman 9b7aa3cee7 Misc improvements 2017-04-11 12:51:12 -04:00
jeffman 8aac0f707e Mark extern ROM tables as const 2017-04-11 12:50:41 -04:00
jeffman b8864ffa52 Moved print_string to vwf.c 2017-04-11 02:12:33 -04:00
jeffman c5de0ebb16 Moved weld_entry to vwf.c 2017-04-11 01:16:14 -04:00
jeffman d7ae1edd3f Ported core VWF code to C 2017-04-10 19:41:21 -04:00
jeffman ff59fee5ca Cleaner syntax 2017-04-08 05:01:02 -04:00
jeffman 2d0a5997b8 Proof of concept by porting get_tile_number to C 2017-04-08 02:22:38 -04:00