[Ohrrpgce] SVN: teeemcee/10914 Working on supporting larger textboxes/cleanup. Use UBOUND(box.text) eve

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Jan 16 19:45:36 PST 2019


teeemcee
2019-01-16 19:45:36 -0800 (Wed, 16 Jan 2019)
498
Working on supporting larger textboxes/cleanup. Use UBOUND(box.text) everywhere instead of 7

TextBox.text() is now a dynamically sized array, not fixed size. I made
use of this to clean up import_textboxes and textbox_string_to_lines.
LoadTextBox still sizes .text() to 8 lines, but no code relies on this.

Now the only things holding up larger textboxes are:
-the SAY file format
-textbox editor's display doesn't leave enough room
-textbox 'shrink' doesn't allow larger boxes unless set to auto
---
U   wip/const.bi
U   wip/game.bas
U   wip/loading.rbas
U   wip/scriptcommands.bas
U   wip/textboxedit.bas
U   wip/udts.bi


More information about the Ohrrpgce mailing list