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:
Kyzentun
2015-01-26 19:43:15 -07:00
parent b6e9d188c3
commit c69cf1ef4e
5 changed files with 233 additions and 2 deletions
+9
View File
@@ -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 );