experiment: expose global singletons and their methods in Lua so we don't end up with tons of Lua function polluting the global namespace

This commit is contained in:
Chris Danford
2005-02-12 21:07:13 +00:00
parent 40c9e8fbe7
commit e31d0ce615
2 changed files with 42 additions and 0 deletions
+4
View File
@@ -24,6 +24,7 @@ class Character;
class TimingData;
struct StageStats;
struct PlayerState;
struct lua_State;
class GameState
{
@@ -271,6 +272,9 @@ public:
int m_iAddToAllCourseEntryMeters; // 0 == no change
int m_iStopCourseAtSeconds; // -1 == don't stop early
bool m_bAutoAdjustMeterDuringCorse;
// Lua
virtual void PushSelf( lua_State *L );
};