transitioning to accessing these directly

This commit is contained in:
Glenn Maynard
2005-09-11 01:50:12 +00:00
parent 32af6a3b30
commit 4edd0c6eb1
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -1024,6 +1024,7 @@ class LunaScreenEvaluation: public Luna<ScreenEvaluation>
{
public:
LunaScreenEvaluation() { LUA->Register( Register ); }
// all deprecated
static int GetEvalStageStats( T* p, lua_State *L ) { STATSMAN->m_CurStageStats.PushSelf( L ); return 1; }
static int GetPersonalHighScoreIndex( T* p, lua_State *L ) { lua_pushnumber( L, STATSMAN->m_CurStageStats.m_player[IArg(1)].m_iPersonalHighScoreIndex ); return 1; }
static int GetMachineHighScoreIndex( T* p, lua_State *L ) { lua_pushnumber( L, STATSMAN->m_CurStageStats.m_player[IArg(1)].m_iMachineHighScoreIndex ); return 1; }