mirror of https://github.com/axmolengine/axmol.git
* update LuaCocos2d.cpp/.h
This commit is contained in:
parent
0f93cbf219
commit
0873f049cb
|
@ -1 +1 @@
|
|||
445474251b15e1ea13cdde8cd5a9fc2776f16a77
|
||||
9a5692c5115b970361646b96fd379885b48c442e
|
|
@ -1,46 +1,50 @@
|
|||
/****************************************************************************
|
||||
Copyright (c) 2011 cocos2d-x.org
|
||||
Copyright (c) 2011 NetDragon.com
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LUACOCOS2D_H
|
||||
#define LUACOCOS2D_H
|
||||
#include "cocos2d.h"
|
||||
#include "tolua++.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "CCKeypadDispatcher.h"
|
||||
#include "CCRibbon.h"
|
||||
#include "CCParallaxNode.h"
|
||||
#include "CCAutoreleasePool.h"
|
||||
#include "CCIMEDispatcher.h"
|
||||
#include "CCMutableArray.h"
|
||||
//#define TOLUA_RELEASE
|
||||
#if defined(_WIN32) && defined(_DEBUG)
|
||||
#pragma warning (disable:4800)
|
||||
#endif
|
||||
int tolua_Cocos2d_open(lua_State* tolua_S);
|
||||
|
||||
#define TOLUA_RELEASE
|
||||
|
||||
/****************************************************************************
|
||||
Copyright (c) 2011 cocos2d-x.org
|
||||
Copyright (c) 2011 NetDragon.com
|
||||
|
||||
http://www.cocos2d-x.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef LUACOCOS2D_H
|
||||
#define LUACOCOS2D_H
|
||||
#include "cocos2d.h"
|
||||
#include "tolua++.h"
|
||||
|
||||
extern "C" {
|
||||
#include "tolua_fix.h"
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
#include "CCKeypadDispatcher.h"
|
||||
#include "CCRibbon.h"
|
||||
#include "CCParallaxNode.h"
|
||||
#include "CCAutoreleasePool.h"
|
||||
#include "CCIMEDispatcher.h"
|
||||
#include "CCMutableArray.h"
|
||||
//#define TOLUA_RELEASE
|
||||
#if defined(_WIN32) && defined(_DEBUG)
|
||||
#pragma warning (disable:4800)
|
||||
#endif
|
||||
int tolua_Cocos2d_open(lua_State* tolua_S);
|
||||
|
||||
#define TOLUA_RELEASE
|
||||
|
||||
#endif//LUACOCOS2D_H
|
Loading…
Reference in New Issue