2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
#ifndef __LUACOCOS2D_H_
|
|
|
|
#define __LUACOCOS2D_H_
|
2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
extern "C" {
|
2012-02-01 16:55:46 +08:00
|
|
|
#include "tolua++.h"
|
2012-08-25 15:05:59 +08:00
|
|
|
#include "tolua_fix.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
#include "tolua_fix.h"
|
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "SimpleAudioEngine.h"
|
2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
using namespace cocos2d;
|
|
|
|
using namespace CocosDenshion;
|
2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
TOLUA_API int tolua_LuaCocos2d_open(lua_State* tolua_S);
|
2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
#endif // __LUACOCOS2D_H_
|