mirror of https://github.com/axmolengine/axmol.git
Lua 5.4 compatible
This commit is contained in:
parent
fce0f9caf0
commit
261bea4234
|
@ -22,6 +22,12 @@ THE SOFTWARE.
|
||||||
|
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
if (math.pow == nil) then
|
||||||
|
math.pow = function (x,y)
|
||||||
|
return x ^ y
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
require "cocos.cocos2d.Cocos2d"
|
require "cocos.cocos2d.Cocos2d"
|
||||||
require "cocos.cocos2d.Cocos2dConstants"
|
require "cocos.cocos2d.Cocos2dConstants"
|
||||||
require "cocos.cocos2d.functions"
|
require "cocos.cocos2d.functions"
|
||||||
|
|
Loading…
Reference in New Issue