Commit Graph

462 Commits

Author SHA1 Message Date
jeffman 69dcd8ec49 Added equip window hacks 2017-03-17 21:22:35 -04:00
jeffman 40c369773c Removed unnecessary stack copy 2017-03-17 21:22:18 -04:00
jeffman e4f3784ef3 Clear offense/defense numbers when moving on equip screen 2017-03-17 21:21:45 -04:00
jeffman 1b1f29a282 Small formatting fixes 2017-03-17 17:48:17 -04:00
jeffman 3e78279c78 Fixed PSI class window size
Window was too small, so this expands it to the left by one tile
2017-03-17 11:50:45 -04:00
jeffman f767f4b7db Added some screenshots 2017-03-17 01:23:47 -04:00
jeffman e26f714bf3 Fixed some bugs for status switching 2017-03-17 01:23:29 -04:00
jeffman 7329bcef6b Only re-render PSI help on button press
Without this, the game will constantly try to clear+render the whole PSI
help window per frame which causes extreme lag and tearing.
2017-03-17 00:56:41 -04:00
jeffman db21533c21 Clear out the PSI window when switching classes (status sub-window) 2017-03-17 00:55:47 -04:00
jeffman db3bfeda42 Added some notes 2017-03-17 00:54:36 -04:00
jeffman 4d84b10d91 Draw PSI Rockin correctly on PSI window 2017-03-16 20:42:25 -04:00
jeffman f9c5fc4ad8 Added status window switching hacks 2017-03-16 20:32:11 -04:00
jeffman d5e6b9d027 Added more notes 2017-03-16 20:31:45 -04:00
jeffman 97785a8059 Added status window hacks 2017-03-14 00:06:36 -04:00
jeffman dc0474837a Added print_blankstr
This is really useful in the status window, for example, where dozens of
blank strings need to be drawn. This is much easier than setting up a
call to clear_rect.
2017-03-14 00:06:25 -04:00
jeffman 9314c8e945 Added some memory locations 2017-03-14 00:05:18 -04:00
jeffman 4886e4a6e6 Added C8FFC hacks 2017-03-14 00:05:02 -04:00
jeffman 70ab37869d Added C8FFC notes 2017-03-13 14:18:02 -04:00
jeffman 7dd7bf8feb Added party character printing hack 2017-03-13 13:54:08 -04:00
jeffman 97be1a635c Added pixel X reset on newline 2017-03-13 13:53:55 -04:00
jeffman d20ee7a3b2 Added some more PSI stuff 2017-03-13 13:53:12 -04:00
jeffman e7029a30ce Added some notes 2017-03-13 13:52:11 -04:00
jeffman 500b797350 Added PSI window hacks 2017-03-12 18:55:21 -04:00
jeffman 9e710644b1 Fixed Y-coord calculation in printstr_hlight 2017-03-12 18:55:11 -04:00
jeffman 60f21052b2 Added printstr_hlight hack 2017-03-12 17:45:21 -04:00
jeffman 5fb82a5613 Cleaned up m2_vwf.weld_entry 2017-03-12 17:45:02 -04:00
jeffman 7551009bef Added some notes 2017-03-12 17:33:47 -04:00
jeffman 804ccf30d6 Fixed calling conventions 2017-03-12 17:33:16 -04:00
jeffman 23cadeea06 Added print_string 2017-03-12 17:29:22 -04:00
jeffman e93eef03a2 Added some equip window stuff 2017-03-11 13:30:08 -05:00
jeffman 6b6357ed92 Added clear_rect routine 2017-03-11 13:29:54 -05:00
jeffman 8f94970a1c Forgot to compare equipment indices with 0 2017-03-10 23:52:37 -05:00
jeffman e6ecd23052 Don't render equip symbols in equip window 2017-03-10 23:52:22 -05:00
jeffman 193301c777 Added some Equip stuff
Mainly this makes the game only print (None) if there's no equipment.
Previously it would always print (None) for all four slots, and *then*
print the equipment names over top.
2017-03-10 23:43:04 -05:00
jeffman 54fe6ac47c Added a big disassembly that I'll have to dissect one day 2017-03-10 23:42:12 -05:00
jeffman be389dc50c Added an X reset for m2_printstr 2017-03-10 23:41:45 -05:00
jeffman 53f4805ebb Small optimization (8 cycles) 2017-03-10 18:43:59 -05:00
jeffman c67addbe08 Added window-clearing routine 2017-03-10 18:40:47 -05:00
jeffman c0d481cb8c Updated some docs on m2_drawwindow 2017-03-10 16:29:27 -05:00
jeffman 40a50dfb3d Started notes on the window-clearing subroutine (?) 2017-03-10 00:55:43 -05:00
jeffman 86f79df2b7 Added notes for expand_bit_depth
Also saved a few cycles with a literal pool
2017-03-10 00:55:15 -05:00
jeffman fa29c67534 reduce_bit_depth now uses a lookup table 2017-03-10 00:44:39 -05:00
jeffman 674942a6d9 Added back some VWF code 2017-03-09 13:16:37 -05:00
jeffman 2e56eca54a Added font heights table 2017-03-09 13:16:25 -05:00
jeffman 1b46ca8904 Updates customcodes.parse to use new pixel X location 2017-03-09 13:16:09 -05:00
jeffman fc8963d836 Added bits-to-nybbles lookup 2017-03-09 13:15:42 -05:00
jeffman dc7857cd81 Removing some print statements
The symbol table generated by xkas contains all resolved symbol addresses
so we don't need to print anymore
2017-03-09 13:15:15 -05:00
jeffman 5bc1b2f024 Added a tool for symbol file generation 2017-03-09 13:13:57 -05:00
jeffman 647cfad68e xkas generates symbol tables
Renamed the old symbol file (the one where we manually add stuff we find)
from m12.sym to m12-symbols.sym. m12.sym is going to be auto-generated in
the future.
2017-03-09 13:13:41 -05:00
jeffman 2716cdf253 Updated .gitignore 2017-03-09 13:12:15 -05:00