Spawn Mob problem
#7
Don't generate a min-max check (because it will fail for MonsterType anyway, it has "holes" in the values range), generate a switch-check - one big switch with a case for each value, and a default printing an error. The only problem here is multiple aliases for the same value, we'll probably have to solve that one somehow (a new comment, "// tolua-ignoreenum"? Smile )
Reply
Thanks given by:


Messages In This Thread
Spawn Mob problem - by StevasaurousREX - 10-10-2014, 07:06 AM
RE: Spawn Mob problem - by xoft - 10-10-2014, 05:12 PM
RE: Spawn Mob problem - by VeryBlackMan - 12-17-2014, 03:56 AM
RE: Spawn Mob problem - by xoft - 12-17-2014, 04:18 AM
RE: Spawn Mob problem - by Howaner - 12-17-2014, 06:35 AM
RE: Spawn Mob problem - by worktycho - 12-18-2014, 11:02 AM
RE: Spawn Mob problem - by xoft - 12-18-2014, 10:24 PM
RE: Spawn Mob problem - by worktycho - 12-19-2014, 12:40 AM



Users browsing this thread: 2 Guest(s)