fix cross-dependency between LuaManager.h and LuaFunctions.h
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "GameState.h"
|
||||
#include "ThemeMetric.h"
|
||||
#include "LuaManager.h"
|
||||
#include "LuaFunctions.h"
|
||||
|
||||
|
||||
static const CString DifficultyNames[] = {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "RageLog.h"
|
||||
#include "EnumHelper.h"
|
||||
#include "LuaManager.h"
|
||||
#include "LuaFunctions.h"
|
||||
|
||||
LuaFunction_Int( GradeToString, GradeToString((Grade)a1) )
|
||||
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
#ifndef LUA_MANAGER_H
|
||||
#define LUA_MANAGER_H
|
||||
|
||||
#include "LuaFunctions.h"
|
||||
|
||||
struct lua_State;
|
||||
typedef void (*RegisterWithLuaFn)(lua_State*);
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
}
|
||||
|
||||
class LuaManager;
|
||||
extern LuaManager *LUA;
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "OptionRow.h"
|
||||
#include "GameCommand.h"
|
||||
#include "LuaReference.h"
|
||||
#include "RageUtil.h"
|
||||
|
||||
struct ConfOption;
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "RageLog.h"
|
||||
#include "StageStats.h"
|
||||
#include "PlayerState.h"
|
||||
#include "LuaFunctions.h"
|
||||
|
||||
ThemeMetric<int> PERCENT_DECIMAL_PLACES ( "PercentageDisplay", "PercentDecimalPlaces" );
|
||||
ThemeMetric<int> PERCENT_TOTAL_SIZE ( "PercentageDisplay", "PercentTotalSize" );
|
||||
|
||||
Reference in New Issue
Block a user