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"
|
2012-09-11 15:44:33 +08:00
|
|
|
#include "CCLuaEngine.h"
|
2012-08-25 15:05:59 +08:00
|
|
|
#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-28 15:54:19 +08:00
|
|
|
TOLUA_API int tolua_Cocos2d_open(lua_State* tolua_S);
|
2012-02-01 16:55:46 +08:00
|
|
|
|
2012-08-25 15:05:59 +08:00
|
|
|
#endif // __LUACOCOS2D_H_
|