ZoneCodeGenerator: Add possibility to specify a custom array count to signalize how many entries of a static array should be loaded

This commit is contained in:
Jan
2019-12-24 12:41:27 +01:00
parent 9e10cffdce
commit 33ec343460
8 changed files with 118 additions and 14 deletions

View File

@ -1345,8 +1345,10 @@ set string localization;
use XGlobals;
set string name;
set name name;
//set count gumps gumpsCount;
//set count overlays overlayCount;
set arraycount gumps gumpsCount;
set condition gumps gumpsCount >= 0 && gumpsCount <= 32;
set arraycount overlays overlayCount;
set condition overlays overlayCount >= 0 && overlayCount <= 32;
// gump_info_t
set string gump_info_t::name;