We have one for the max number of GUIS so perhaps one for the max number of controls per gui would also be useful?
Since you can't create GUI controls at runtime, I'm not sure how this would be useful?
I would use it to size a data structure corresponding to a gui(s) and its controls. It's easy enough to work without just thought it was worth a mention as a matter of review.
Oh, and btw, should "bool" be mentioned in the Scriopt keyword section of the manual?
Well...unlike int, float, char, short, etc. bool isn't actually a datatype in AGS. It's an enumerated value:
enum bool {
false = 0,
true = 1
};
ph34r my haxing!11 ph34r m3333!111
:D
So I think that may have something to do with it.
It's not in that section of the maual either :'(
QuoteI would use it to size a data structure corresponding to a gui(s) and its controls. It's easy enough to work without just thought it was worth a mention as a matter of review.
Ah ok, that sounds reasonable, I'll look into it.
QuoteOh, and btw, should "bool" be mentioned in the Scriopt keyword section of the manual?
Yes, it probably should, I'll do that.
Edit by strazer:
AGS v2.72 Beta 6:
* Added AGS_MAX_CONTROLS_PER_GUI constant.