Users browsing this thread: 1 Guest(s)
Item Menu BG1 Layer Positioning
11-11-2017, 11:10 AM
I've been fiddling with the item menu specifically (and the field menu generally) for a while now, and one of the things I'm looking at is adjusting the sizes of the windows. I've been able to position everything the way I'd like -- the Item and Use/Arrange/Rare windows are half the height now, rather than having the extra line of negative space on top, the description window is moved up into the freed space and the main window is expanded up a line to where the description window was. The cursor positioning is updated for both the options at the top and the main window.
What I can't figure out is how to update where the actual inventory gets drawn. I know it's on BG1, and looking at NS's optimised C3, I can see where the write-row gets updated and such, but I'm at a loss for how it determines where to position the first write-row on the screen. I've looked at the coding for both Item and Equip, because Equip only has nine rows rather than ten and thus starts a line lower, but the code is actually really similar, with no indication of any kind of absolute positioning that I can see.
I know that most of us haven't really delved into graphics a whole lot yet, and it's definitely something I'm learning as I go along, but does anyone even know which part of the code I should start looking at? Is it even possible to draw on BG1 higher on the screen? I mean, I'd assume it would have to be...
What I can't figure out is how to update where the actual inventory gets drawn. I know it's on BG1, and looking at NS's optimised C3, I can see where the write-row gets updated and such, but I'm at a loss for how it determines where to position the first write-row on the screen. I've looked at the coding for both Item and Equip, because Equip only has nine rows rather than ten and thus starts a line lower, but the code is actually really similar, with no indication of any kind of absolute positioning that I can see.
I know that most of us haven't really delved into graphics a whole lot yet, and it's definitely something I'm learning as I go along, but does anyone even know which part of the code I should start looking at? Is it even possible to draw on BG1 higher on the screen? I mean, I'd assume it would have to be...
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)