jeffman
94f725298b
Working on "other strings"
...
For now, this is just window header and navigation stuff, like "To:(X)",
"Weapons" when equipping with huge weapon inventories, etc. Still need to
fix the pointers to some of these.
2017-04-15 23:42:07 -04:00
jeffman
cdd63e527b
Updated notes (Escargo Express items)
2017-04-15 23:41:00 -04:00
jeffman
093b59e861
Move arrow character up by two pixels
2017-04-15 23:40:50 -04:00
jeffman
07f5477282
Gonna use tiles 0x330 through 0x33F for window header stuff
...
This just puts some blank background pixels in those tiles so we can
print text on it
2017-04-15 23:40:23 -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
3b6dfdee78
Merge branch 'compiled-vwf' of github.com:jeffman/Mother2GbaTranslation into compiled-vwf
...
# Conflicts:
# compiled/vwf.c
# compiled/vwf.h
2017-04-15 13:38:14 -04:00
jeffman
3bc7fd417e
Fixed YOU WON! graphics
2017-04-15 13:36:42 -04:00
jeffman
4ede6d5ade
Fixed YOU WON! graphics
2017-04-15 13:32:25 -04:00
jeffman
21c703def1
Made argument types more consistent
2017-04-15 13:31:53 -04:00
jeffman
7d04ed264a
Added some notes
2017-04-15 12:50:43 -04:00
jeffman
3381d51564
Added window header name printing
2017-04-15 12:50:32 -04:00
jeffman
ec1abfa538
Added HP/PP namebox rendering
2017-04-15 12:50:16 -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
714c4d65a7
Converted all font data from EB
2017-04-13 18:10:51 -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
5b08fb966c
Added clarification to workflow notes
2017-04-11 17:15:51 -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
5b98d5d406
Added CpuFastSet stub
2017-04-11 17:12:20 -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
97b962c699
Improved compile script
...
Now it'll pause in the command prompt if there's an error
2017-04-11 01:16:34 -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
dcd0b4ea6c
Don't touch r12
...
I noticed that the generated code wasn't saving r12, but the game expects
it to be saved, so let's just not touch it
2017-04-10 19:40:30 -04:00
jeffman
7311ec1dd7
Combine .data section into .text
2017-04-10 17:08:03 -04:00
jeffman
3ab328fbf8
Use ELFSharp instead of objdump+regex
2017-04-10 16:01:54 -04:00
jeffman
8bdcf23974
Linker uses correct start address
2017-04-10 15:48:38 -04:00
jeffman
e475c34e0a
Cleanup
2017-04-08 15:09:53 -04:00
jeffman
1347a5236e
Updated notes and fixed typos
2017-04-08 05:10:33 -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
jeffman
638b979cde
Added Amalgamator
...
This is a dumb build script that manages all the cross-compiling and
linking nonsense. You need the arm-none-eabi GNU toolchain to use any
of this.
Some more details in compiled/workflow.txt.
2017-04-08 02:22:21 -04:00
jeffman
70d0544759
Updated gitignore
2017-04-06 23:34:09 -04:00
jeffman
e8aa855162
Started Goods window hacks
2017-04-06 01:39:11 -04:00
jeffman
83f88e7f17
Disable newline if text overflows; revert who/which window width
...
This is a problem because the game doesn't do auto newlines lazily; that
is, it will greedily scroll the text box on overflow, even if there's
nothing left to be printed.
This behaviour causes a problem when displaying "Which?" in the Equip
screens, because the width of that string is exactly the width of the
window. Because the window is only one line tall, the game was scrolling
down and the string would get erased.
Previously this was worked around by increasing the width of the window,
but recently I have found that it looks weird with the Goods window open.
So this is a slightly different workaround. I don't think we ever wanted
auto-newline-on-overflow _anyway_ since we're putting manual linebreaks
everywhere. Hopefully this doesn't cause problems.
2017-04-06 01:38:59 -04:00
jeffman
4337d2e266
Fixed a macro bug
...
I misunderstood what the equ directive does in armips. Replaced it with
a proper macro.
2017-04-03 09:56:18 -04:00
jeffman
1b0800e3c5
Fixed a bunch of exp-related stuff
2017-04-02 22:14:07 -04:00
jeffman
c156ab6321
Fixed a bug where person and item were swapped
2017-04-02 22:13:53 -04:00
jeffman
550617f85a
Fix YOU WON! graphics
2017-04-02 22:13:24 -04:00
jeffman
89ba552ef9
Disable printing [1E 20] after battle
2017-04-02 22:13:06 -04:00
jeffman
b4ea923a81
Code formatting improvements
2017-04-02 22:12:18 -04:00
jeffman
2c93c55560
Updated notes
2017-04-02 22:09:08 -04:00
jeffman
07eb279677
Migrated from xkas to armips
2017-03-29 00:19:51 -04:00
jeffman
4682020e8b
Added missing ASM refs and inserted placeholder text
...
This should fix issue #6 .
2017-03-28 17:33:04 -04:00