Special case kickbox autogen added. GameState now has a member for passing args from the theme to the autogen, only used by kickbox for kick recovery time.
This commit is contained in:
@@ -404,6 +404,15 @@ public:
|
||||
|
||||
bool m_bDopefish;
|
||||
|
||||
// Autogen stuff. This should probably be moved to its own singleton or
|
||||
// something when autogen is generalized and more customizable. -Kyz
|
||||
float GetAutoGenFarg(size_t i)
|
||||
{
|
||||
if(i >= m_autogen_fargs.size()) { return 0.0f; }
|
||||
return m_autogen_fargs[i];
|
||||
}
|
||||
vector<float> m_autogen_fargs;
|
||||
|
||||
// Lua
|
||||
void PushSelf( lua_State *L );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user