Crazy big string size required.
#3

Quote:
Originally Posted by Y_Leѕѕ
Why not just limit it to say 10 in the dialog and then have a "more" option at the bottom of the list. That's what I did in YSI for the weapon buying menus.
Indeed I could just reuse the current string couldn't I but start from the next slot after the 32 or however many are being displayed currently. Should be easy to do also, why didn't I think of that hehe.

Quote:
Originally Posted by Seif_ [adream-rp.com
]
The dialog text have a limit? But as ****** said, best option is having 31 items at the end of the list, and save the 32nd for "more".
Maybe, I don't know about the 0.3 limits yet but I wasn't comfortable using a huge string as like I said 512 points would require a string with over 16k characters to be able to display all the names as I have allocated 32 characters for each name so that's 32 * 512 (16k+) as apose to now which is 32 * 32 (1024).

Cheers for the help guys, my brain needed a jump start.
Reply


Messages In This Thread
Crazy big string size required. - by Donny_k - 13.09.2009, 20:51
Re: Crazy big string size required. - by Sergei - 16.09.2009, 12:22
Re: Crazy big string size required. - by Donny_k - 16.09.2009, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)