The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Item Menu BG1 Layer Positioning

#1
Posts: 175
Threads: 11
Thanks Received: 10
Thanks Given: 8
Joined: May 2013
Reputation: 13
Status
Well-Fed
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...


Current Project: FF6: Tensei | Discord ID: TristanGrayse
  Find
Quote  



Messages In This Thread
Item Menu BG1 Layer Positioning - by GrayShadows - 11-11-2017, 11:10 AM
RE: Item Menu BG1 Layer Positioning - by madsiur - 11-11-2017, 11:46 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite