├── templates
├── project-ios
│ ├── luna2d.mm
│ ├── .gitignore
│ └── LUNA_PROJECT_NAME
│ │ ├── Images.xcassets
│ │ ├── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ ├── Icon-76.png
│ │ │ ├── Icon-120.png
│ │ │ ├── Icon-152.png
│ │ │ ├── Icon-167.png
│ │ │ └── Icon-180.png
│ │ └── LaunchImage.launchimage
│ │ │ ├── iPhone6.png
│ │ │ ├── iPhone@2x.png
│ │ │ ├── iPad -Landscape.png
│ │ │ ├── iPad-Portrait.png
│ │ │ ├── iPhone-568h@2x.png
│ │ │ ├── iPad-Portrait@2x.png
│ │ │ ├── iPad -Landscape@2x.png
│ │ │ ├── iPhone6Plus-Portrait.png
│ │ │ └── iPhone6Plus-Landscape.png
│ │ ├── Localizable
│ │ ├── zh-Hans.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── zh-Hant.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ko.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ja.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── he.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ar.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── pt.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── pt-BR.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ro.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── cs.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── en.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── sv.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── th.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── es.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── fi.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── hu.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── uk.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── nb.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ru.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── sk.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── vi.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── da.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── de.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── fa.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── fr.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ms.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── ca.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── it.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── el.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── pl.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── tr.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ ├── nl.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ └── id.lproj
│ │ │ └── AppiraterLocalizable.strings
│ │ └── Info.plist
├── project-wp
│ ├── project-config.luna2d
│ ├── LUNA_PROJECT_NAME
│ │ ├── pch.cpp
│ │ ├── Assets
│ │ │ ├── Logo.scale-240.png
│ │ │ ├── SmallLogo.scale-240.png
│ │ │ ├── StoreLogo.scale-240.png
│ │ │ ├── WideLogo.scale-240.png
│ │ │ ├── SplashScreen.scale-240.png
│ │ │ └── Square71x71Logo.scale-240.png
│ │ ├── pch.h
│ │ ├── App.xaml
│ │ ├── BlankPage.xaml
│ │ ├── App.xaml.h
│ │ ├── BlankPage.xaml.h
│ │ └── BlankPage.xaml.cpp
│ ├── luna2d DeployTool
│ │ └── luna2d DeployTool.vcxproj.filters
│ └── .gitignore
├── project-android
│ ├── settings.gradle
│ ├── .gitignore
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── app
│ │ ├── src
│ │ │ └── main
│ │ │ │ ├── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values-ja
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zh-rCN
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-zh-rTW
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ko
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values
│ │ │ │ │ ├── styles.xml
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-he
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ar
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pt
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-es
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-th
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-cs
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fi
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-hu
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-nb
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ru
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-da
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-fr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sk
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-sv
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-tr
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-de
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-it
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ms
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-vi
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-ca
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-pl
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-el
│ │ │ │ │ └── strings.xml
│ │ │ │ ├── values-id
│ │ │ │ │ └── strings.xml
│ │ │ │ └── values-nl
│ │ │ │ │ └── strings.xml
│ │ │ │ └── AndroidManifest.xml
│ │ ├── proguard-rules.pro
│ │ └── build.gradle
│ ├── build.gradle
│ └── gradle.properties
└── sdkmodule-android
│ ├── settings.gradle
│ ├── .gitignore
│ ├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── sdkmodule
│ ├── src
│ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ └── java
│ │ │ └── LUNA_TEMPLATE_SOURCES
│ │ │ └── store.java
│ ├── local.properties
│ ├── sdkmodule.luna2d
│ └── proguard-rules.pro
│ ├── build.gradle
│ └── gradle.properties
├── luna2d
├── platform
│ ├── wp
│ │ └── application
│ │ │ ├── pch.h
│ │ │ ├── OpenGLESPage.xaml
│ │ │ └── OpenGLES.h
│ ├── android
│ │ └── lunaandroidgl.h
│ ├── ios
│ │ └── lunaiosgl.h
│ └── qt
│ │ └── lunaqtgl.cpp
├── services
│ ├── lunastore.cpp
│ ├── lunaleaderboards.cpp
│ ├── lunabindservices.h
│ └── platform
│ │ ├── qt
│ │ ├── lunaqtservices.h
│ │ └── lunaqtads.cpp
│ │ └── android
│ │ └── lunaandroidservices.h
├── physics
│ ├── shapes
│ │ └── lunaphysicsshape.cpp
│ └── lunaphysicsmodule.h
└── audio
│ └── lunaal.h
├── samples
└── FlappyLuna
│ ├── project-wp
│ ├── project-config.luna2d
│ ├── .luna2d
│ │ ├── .gitignore
│ │ ├── build.luna2d
│ │ └── update.py
│ ├── FlappyLuna
│ │ ├── pch.cpp
│ │ ├── Assets
│ │ │ ├── Logo.scale-240.png
│ │ │ ├── SmallLogo.scale-240.png
│ │ │ ├── StoreLogo.scale-240.png
│ │ │ ├── WideLogo.scale-240.png
│ │ │ ├── SplashScreen.scale-240.png
│ │ │ └── Square71x71Logo.scale-240.png
│ │ ├── pch.h
│ │ ├── App.xaml
│ │ ├── BlankPage.xaml
│ │ ├── App.xaml.h
│ │ ├── BlankPage.xaml.h
│ │ └── BlankPage.xaml.cpp
│ ├── luna2d DeployTool
│ │ └── luna2d DeployTool.vcxproj.filters
│ └── .gitignore
│ ├── art-sources
│ ├── bg.png
│ ├── bird.png
│ ├── moon.png
│ ├── bird_flap.png
│ ├── buildings.png
│ ├── gameover.png
│ ├── tube_body.png
│ ├── tube_head.png
│ └── FlappyLuna.pipeline
│ ├── project-ios
│ ├── Icon.png
│ ├── Icon@2x.png
│ ├── Icon@3x.png
│ ├── Default@2x.png
│ ├── Default-568h@2x.png
│ ├── Default-Portrait.png
│ ├── Default-Landscape.png
│ ├── Default-Portrait@2x.png
│ ├── Default-Landscape@2x.png
│ └── FlappyLuna
│ │ └── Info.plist
│ └── game
│ ├── art
│ ├── items@HD.png
│ ├── items@HVGA.png
│ ├── items@WVGA.png
│ ├── items@HVGA.atlas
│ ├── items@WVGA.atlas
│ └── items@HD.atlas
│ ├── config.luna2d
│ └── scripts
│ ├── main.lua
│ ├── settings.lua
│ └── background.lua
├── tools
├── luac
│ ├── .gitignore
│ └── CMakeLists.txt
├── Emulator
│ └── src
│ │ ├── images
│ │ ├── phonex_margin_top.png
│ │ ├── placeholder_image.png
│ │ ├── phonex_margin_bottom.png
│ │ ├── phonex_bottom_bar_portrait.png
│ │ └── phonex_bottom_bar_landscape.png
│ │ └── resources.qrc
├── DeployTool
│ ├── .gitignore
│ ├── ui
│ │ └── DeployTool.pro
│ └── python
│ │ └── update.py
├── compatible
│ └── lunacompatible_0.5.lua
└── Pipeline
│ └── src
│ └── project
│ ├── filenode.cpp
│ └── filenode.h
├── cmake
├── android
│ ├── gradle-project
│ │ ├── settings.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── luna2d
│ │ │ ├── src
│ │ │ │ └── main
│ │ │ │ │ └── AndroidManifest.xml
│ │ │ └── proguard-rules.pro
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ └── gradle.properties
│ ├── gradlebuild.py
│ ├── copyopenal.py
│ └── build.py
├── wp
│ ├── gen-debug.py
│ └── gen.py
└── ios
│ └── gen.py
├── resources
└── luna2d-logo.png
├── thirdparty
├── RectangleBinPack
│ ├── Rect.h
│ ├── Rect.cpp
│ ├── MaxRectsBinPack.h
│ └── MaxRectsBinPack.cpp
├── OpenAL
│ ├── prebuilt
│ │ ├── win32
│ │ │ ├── OpenAL32.a
│ │ │ └── OpenAL32.dll
│ │ ├── wp
│ │ │ ├── arm
│ │ │ │ ├── OpenAL.wp8.dll
│ │ │ │ └── OpenAL.wp8.lib
│ │ │ └── win32
│ │ │ │ ├── OpenAL.wp8.dll
│ │ │ │ └── OpenAL.wp8.lib
│ │ ├── android
│ │ │ ├── x86
│ │ │ │ └── libopenal.so
│ │ │ ├── armeabi
│ │ │ │ └── libopenal.so
│ │ │ └── armeabi-v7a
│ │ │ │ └── libopenal.so
│ │ └── winrt
│ │ │ ├── arm
│ │ │ ├── OpenAL.winrt.dll
│ │ │ └── OpenAL.winrt.lib
│ │ │ └── win32
│ │ │ ├── OpenAL.winrt.dll
│ │ │ └── OpenAL.winrt.lib
│ └── include
│ │ └── efx-creative.h
├── angle
│ ├── prebuilt
│ │ ├── wp
│ │ │ ├── arm
│ │ │ │ ├── libEGL.dll
│ │ │ │ ├── libEGL.lib
│ │ │ │ ├── libGLESv2.dll
│ │ │ │ └── libGLESv2.lib
│ │ │ └── win32
│ │ │ │ ├── libEGL.dll
│ │ │ │ ├── libEGL.lib
│ │ │ │ ├── libGLESv2.dll
│ │ │ │ └── libGLESv2.lib
│ │ └── winrt
│ │ │ ├── arm
│ │ │ ├── libEGL.dll
│ │ │ ├── libEGL.lib
│ │ │ ├── libGLESv2.dll
│ │ │ └── libGLESv2.lib
│ │ │ └── win32
│ │ │ ├── libEGL.dll
│ │ │ ├── libEGL.lib
│ │ │ ├── libGLESv2.dll
│ │ │ └── libGLESv2.lib
│ └── include
│ │ ├── angle_gl.h
│ │ ├── GLES3
│ │ ├── gl3ext.h
│ │ └── gl3platform.h
│ │ └── GLES2
│ │ └── gl2platform.h
├── vorbis
│ ├── books
│ │ ├── Makefile.am
│ │ ├── floor
│ │ │ └── Makefile.am
│ │ ├── uncoupled
│ │ │ └── Makefile.am
│ │ └── coupled
│ │ │ └── Makefile.am
│ ├── modes
│ │ └── Makefile.am
│ ├── window.h
│ ├── lpc.h
│ ├── lsp.h
│ ├── smallft.h
│ ├── lookup.h
│ └── registry.h
├── freetype
│ ├── src
│ │ ├── autofit
│ │ │ └── afangles.h
│ │ ├── gzip
│ │ │ ├── infcodes.h
│ │ │ ├── infblock.h
│ │ │ └── adler32.c
│ │ ├── bdf
│ │ │ └── bdf.c
│ │ ├── pcf
│ │ │ ├── pcf.c
│ │ │ └── pcfread.h
│ │ ├── psnames
│ │ │ └── psnames.c
│ │ ├── type42
│ │ │ └── type42.c
│ │ ├── raster
│ │ │ └── raster.c
│ │ ├── smooth
│ │ │ └── smooth.c
│ │ ├── pshinter
│ │ │ └── pshinter.c
│ │ ├── cid
│ │ │ └── type1cid.c
│ │ ├── pfr
│ │ │ └── pfr.c
│ │ └── base
│ │ │ └── md5.h
│ └── include
│ │ └── config
│ │ └── ftmodule.h
├── lua
│ ├── lua.hpp
│ ├── lapi.h
│ ├── lundump.h
│ ├── lfunc.h
│ ├── ldebug.h
│ ├── lualib.h
│ ├── ltm.h
│ ├── lstring.h
│ └── ltable.h
├── appirater
│ └── ios
│ │ ├── zh-Hans.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── zh-Hant.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ko.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ja.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── he.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ar.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── pt.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── pt-BR.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ro.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── cs.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── th.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── en.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── es.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── sv.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── uk.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── fi.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── hu.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── nb.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ru.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── sk.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── da.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── fa.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── vi.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ca.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── de.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── fr.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── ms.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── it.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── el.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── pl.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── tr.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── id.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── nl.lproj
│ │ └── AppiraterLocalizable.strings
│ │ ├── CHANGELOG.md
│ │ ├── AppiraterDelegate.h
│ │ └── Appirater.podspec.json
├── libjpeg
│ ├── jversion.h
│ └── rdgif.c
├── zlib
│ ├── inffast.h
│ └── gzclose.c
├── ogg
│ └── config_types.h
├── Box2D
│ └── Common
│ │ ├── b2Draw.cpp
│ │ └── b2Settings.cpp
├── libzip
│ └── zip_err_str.c
└── glm
│ └── detail
│ ├── intrinsic_exponential.inl
│ └── intrinsic_trigonometric.inl
├── README.md
├── .gitignore
└── LICENSE
/templates/project-ios/luna2d.mm:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/luna2d/platform/wp/application/pch.h:
--------------------------------------------------------------------------------
1 | // Fix
--------------------------------------------------------------------------------
/templates/project-wp/project-config.luna2d:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/project-config.luna2d:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tools/luac/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 | !CMakeLists.txt
--------------------------------------------------------------------------------
/templates/project-android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':sdkmodule'
2 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':luna2d', ':luna2d'
2 |
--------------------------------------------------------------------------------
/cmake/wp/gen-debug.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | subprocess.Popen("gen.py Debug", shell=True)
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/.luna2d/.gitignore:
--------------------------------------------------------------------------------
1 | cache/*
2 | assets/*
3 | libs/*
4 |
--------------------------------------------------------------------------------
/resources/luna2d-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/resources/luna2d-logo.png
--------------------------------------------------------------------------------
/thirdparty/RectangleBinPack/Rect.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/RectangleBinPack/Rect.h
--------------------------------------------------------------------------------
/thirdparty/RectangleBinPack/Rect.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/RectangleBinPack/Rect.cpp
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/bg.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/bird.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/bird.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/moon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/moon.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Icon.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@HD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/game/art/items@HD.png
--------------------------------------------------------------------------------
/templates/project-ios/.gitignore:
--------------------------------------------------------------------------------
1 | LUNA_PROJECT_NAME.xcodeproj/project.xcworkspace/*
2 | LUNA_PROJECT_NAME.xcodeproj/xcuserdata/*
3 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/bird_flap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/bird_flap.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/buildings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/buildings.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/gameover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/gameover.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/tube_body.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/tube_body.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/art-sources/tube_head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/art-sources/tube_head.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@HVGA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/game/art/items@HVGA.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@WVGA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/game/art/items@WVGA.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Icon@2x.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Icon@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Icon@3x.png
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/win32/OpenAL32.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/win32/OpenAL32.a
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/arm/libEGL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/arm/libEGL.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/arm/libEGL.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/arm/libEGL.lib
--------------------------------------------------------------------------------
/cmake/android/gradlebuild.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 |
3 | subprocess.call(["python", "build.py"])
4 | subprocess.call(["python", "copyopenal.py"])
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default@2x.png
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/win32/OpenAL32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/win32/OpenAL32.dll
--------------------------------------------------------------------------------
/thirdparty/RectangleBinPack/MaxRectsBinPack.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/RectangleBinPack/MaxRectsBinPack.h
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/arm/libEGL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/arm/libEGL.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/arm/libEGL.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/arm/libEGL.lib
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/arm/libGLESv2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/arm/libGLESv2.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/arm/libGLESv2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/arm/libGLESv2.lib
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/win32/libEGL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/win32/libEGL.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/win32/libEGL.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/win32/libEGL.lib
--------------------------------------------------------------------------------
/thirdparty/vorbis/books/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | SUBDIRS = coupled uncoupled floor
4 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/books/floor/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = floor_books.h
4 |
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/wp/arm/OpenAL.wp8.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/wp/arm/OpenAL.wp8.dll
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/wp/arm/OpenAL.wp8.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/wp/arm/OpenAL.wp8.lib
--------------------------------------------------------------------------------
/thirdparty/RectangleBinPack/MaxRectsBinPack.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/RectangleBinPack/MaxRectsBinPack.cpp
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/arm/libGLESv2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/arm/libGLESv2.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/arm/libGLESv2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/arm/libGLESv2.lib
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/win32/libEGL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/win32/libEGL.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/win32/libEGL.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/win32/libEGL.lib
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/win32/libGLESv2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/win32/libGLESv2.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/wp/win32/libGLESv2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/wp/win32/libGLESv2.lib
--------------------------------------------------------------------------------
/tools/Emulator/src/images/phonex_margin_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/tools/Emulator/src/images/phonex_margin_top.png
--------------------------------------------------------------------------------
/tools/Emulator/src/images/placeholder_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/tools/Emulator/src/images/placeholder_image.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default-568h@2x.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default-Portrait.png
--------------------------------------------------------------------------------
/templates/project-android/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | .idea/*
3 | !.idea/name.xml
4 | build/
5 | captures/
6 | *.iml
7 | .DS_Store
8 | local.properties
9 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/templates/sdkmodule-android/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | .idea/*
3 | !.idea/name.xml
4 | build/
5 | captures/
6 | *.iml
7 | .DS_Store
8 | local.properties
9 |
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/android/x86/libopenal.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/android/x86/libopenal.so
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/wp/win32/OpenAL.wp8.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/wp/win32/OpenAL.wp8.dll
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/wp/win32/OpenAL.wp8.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/wp/win32/OpenAL.wp8.lib
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/win32/libGLESv2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/win32/libGLESv2.dll
--------------------------------------------------------------------------------
/thirdparty/angle/prebuilt/winrt/win32/libGLESv2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/angle/prebuilt/winrt/win32/libGLESv2.lib
--------------------------------------------------------------------------------
/thirdparty/vorbis/books/uncoupled/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = res_books_uncoupled.h
4 |
--------------------------------------------------------------------------------
/tools/Emulator/src/images/phonex_margin_bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/tools/Emulator/src/images/phonex_margin_bottom.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default-Landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default-Landscape.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/winrt/arm/OpenAL.winrt.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/winrt/arm/OpenAL.winrt.dll
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/winrt/arm/OpenAL.winrt.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/winrt/arm/OpenAL.winrt.lib
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/Default-Landscape@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-ios/Default-Landscape@2x.png
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/android/armeabi/libopenal.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/android/armeabi/libopenal.so
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/winrt/win32/OpenAL.winrt.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/winrt/win32/OpenAL.winrt.dll
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/winrt/win32/OpenAL.winrt.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/winrt/win32/OpenAL.winrt.lib
--------------------------------------------------------------------------------
/thirdparty/vorbis/books/coupled/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = res_books_stereo.h res_books_51.h
4 |
--------------------------------------------------------------------------------
/tools/Emulator/src/images/phonex_bottom_bar_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/tools/Emulator/src/images/phonex_bottom_bar_portrait.png
--------------------------------------------------------------------------------
/templates/project-android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/thirdparty/OpenAL/prebuilt/android/armeabi-v7a/libopenal.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/thirdparty/OpenAL/prebuilt/android/armeabi-v7a/libopenal.so
--------------------------------------------------------------------------------
/tools/Emulator/src/images/phonex_bottom_bar_landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/tools/Emulator/src/images/phonex_bottom_bar_landscape.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/pch.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // pch.cpp
3 | // Include the standard header and generate the precompiled header.
4 | //
5 |
6 | #include "pch.h"
7 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/sdkmodule-android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/tools/DeployTool/.gitignore:
--------------------------------------------------------------------------------
1 | build*
2 | DeployTool.exe
3 | DeployToold.exe
4 | DeployTool.app/*
5 | DeployToold.app/*
6 | ui/DeployTool.pro.user
7 | python/.idea/*
8 | *.pyc
--------------------------------------------------------------------------------
/cmake/android/gradle-project/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/cmake/android/gradle-project/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/pch.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // pch.cpp
3 | // Include the standard header and generate the precompiled header.
4 | //
5 |
6 | #include "pch.h"
7 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/Logo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/Logo.scale-240.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/Logo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/Logo.scale-240.png
--------------------------------------------------------------------------------
/cmake/android/gradle-project/luna2d/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/.luna2d/build.luna2d:
--------------------------------------------------------------------------------
1 | {
2 | "projectName": "FlappyLuna",
3 | "gamePath": "../game",
4 | "luna2dPath": "../../..",
5 | "platform": "wp"
6 | }
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/SmallLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/SmallLogo.scale-240.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/StoreLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/StoreLogo.scale-240.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/WideLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/WideLogo.scale-240.png
--------------------------------------------------------------------------------
/templates/sdkmodule-android/sdkmodule/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | .idea/*
3 | luna2d/src/main/jniLibs/*
4 | luna2d/build/*
5 | local.properties
6 | build
7 | captures
8 | *.iml
9 | .DS_Store
10 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/config.luna2d:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "FlappyLuna",
3 | "orientation" : "landscape",
4 | "resolutions" :
5 | [
6 | "HVGA",
7 | "WVGA",
8 | "HD"
9 | ]
10 | }
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/scripts/main.lua:
--------------------------------------------------------------------------------
1 | require("settings")
2 | require("gamescene")
3 |
4 | function luna.main()
5 | luna.assetsmgr.loadAll()
6 | luna.scenes.setScene(GameScene())
7 | end
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/SmallLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/SmallLogo.scale-240.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/StoreLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/StoreLogo.scale-240.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/WideLogo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/WideLogo.scale-240.png
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/SplashScreen.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/SplashScreen.scale-240.png
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/SplashScreen.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/SplashScreen.scale-240.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/Assets/Square71x71Logo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-wp/LUNA_PROJECT_NAME/Assets/Square71x71Logo.scale-240.png
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/Assets/Square71x71Logo.scale-240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/samples/FlappyLuna/project-wp/FlappyLuna/Assets/Square71x71Logo.scale-240.png
--------------------------------------------------------------------------------
/templates/project-wp/luna2d DeployTool/luna2d DeployTool.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/autofit/afangles.h:
--------------------------------------------------------------------------------
1 | /*
2 | * afangles.h
3 | *
4 | * This is a dummy file, used to please the build system. It is never
5 | * included by the auto-fitter sources.
6 | *
7 | */
8 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/luna2d DeployTool/luna2d DeployTool.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/sdkmodule/local.properties:
--------------------------------------------------------------------------------
1 | # This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | luna2d.path=LUNA2D_PATH
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-76.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-120.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-152.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-167.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/AppIcon.appiconset/Icon-180.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6.png
--------------------------------------------------------------------------------
/thirdparty/OpenAL/include/efx-creative.h:
--------------------------------------------------------------------------------
1 | /* The tokens that would be defined here are already defined in efx.h. This
2 | * empty file is here to provide compatibility with Windows-based projects
3 | * that would include it. */
4 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone@2x.png
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/pch.h:
--------------------------------------------------------------------------------
1 | //
2 | // pch.h
3 | // Header for standard system include files.
4 | //
5 |
6 | #pragma once
7 |
8 | #include
9 | #include
10 | #include "App.xaml.h"
11 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/pch.h:
--------------------------------------------------------------------------------
1 | //
2 | // pch.h
3 | // Header for standard system include files.
4 | //
5 |
6 | #pragma once
7 |
8 | #include
9 | #include
10 | #include "App.xaml.h"
11 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad -Landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad -Landscape.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad-Portrait.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone-568h@2x.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad-Portrait@2x.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad -Landscape@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPad -Landscape@2x.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6Plus-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6Plus-Portrait.png
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6Plus-Landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stepanp/luna2d/HEAD/templates/project-ios/LUNA_PROJECT_NAME/Images.xcassets/LaunchImage.launchimage/iPhone6Plus-Landscape.png
--------------------------------------------------------------------------------
/templates/sdkmodule-android/sdkmodule/sdkmodule.luna2d:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "LUNA_SDKMODULE_NAME",
3 | "type" : "LUNA_SDKMODULE_TYPE",
4 | "platform" : "android",
5 | "classpath" : "LUNA_PACKAGE_NAME.LUNA_CLASS_NAME",
6 | "files" : [ "sdkmodule-release.aar" ]
7 | }
--------------------------------------------------------------------------------
/thirdparty/lua/lua.hpp:
--------------------------------------------------------------------------------
1 | // lua.hpp
2 | // Lua header files for C++
3 | // <> not supplied automatically because Lua also compiles as C++
4 |
5 | extern "C" {
6 | #include "lua.h"
7 | #include "lualib.h"
8 | #include "lauxlib.h"
9 | }
10 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/templates/project-android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/sdkmodule/src/main/java/LUNA_TEMPLATE_SOURCES/store.java:
--------------------------------------------------------------------------------
1 | package LUNA_PACKAGE_NAME;
2 |
3 | import com.stepanp.luna2d.sdkapi.*;
4 |
5 | public class LUNA_CLASS_NAME extends LunaStoreSdk
6 | {
7 | public void rateApp()
8 | {
9 |
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Mar 13 03:00:07 MSK 2016
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
7 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/zh-Hans.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "如果你喜欢使用%@,你介意花一点时间给它评分吗?不会超过一分钟。感谢您的支持!";
2 | "Rate %@" = "给%@评分";
3 | "No, Thanks" = "不,谢谢";
4 | "Remind me later" = "稍后提醒我";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/zh-Hant.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "如果你喜歡使用%@,你介意花一點時間給它評分嗎?不會超過一分鐘。感謝您的支持!";
2 | "Rate %@" = "給%@評分";
3 | "No, Thanks" = "不,謝謝";
4 | "Remind me later" = "稍後提醒我";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ko.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "%@ 사용이 맘에 드셨나요? 잠시만 시간을 내서 평가를 부탁드리겠습니다. 감사합니다!";
2 | "Rate %@" = "%@ 평가하기";
3 | "No, Thanks" = "평가하지 않겠습니다";
4 | "Remind me later" = "다음에 평가하겠습니다";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ja.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "%@をお使いいただきありがとうございます。もしよろしければ、ほんの少しだけお時間をいただき評価をお願いできませんか?ご協力感謝いたします!";
2 | "Rate %@" = "%@を評価する";
3 | "No, Thanks" ="結構です";
4 | "Remind me later" = "あとで";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/zh-Hans.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "如果你喜欢使用%@,你介意花一点时间给它评分吗?不会超过一分钟。感谢您的支持!";
2 | "Rate %@" = "给%@评分";
3 | "No, Thanks" = "不,谢谢";
4 | "Remind me later" = "稍后提醒我";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/zh-Hant.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "如果你喜歡使用%@,你介意花一點時間給它評分嗎?不會超過一分鐘。感謝您的支持!";
2 | "Rate %@" = "給%@評分";
3 | "No, Thanks" = "不,謝謝";
4 | "Remind me later" = "稍後提醒我";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ko.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "%@ 사용이 맘에 드셨나요? 잠시만 시간을 내서 평가를 부탁드리겠습니다. 감사합니다!";
2 | "Rate %@" = "%@ 평가하기";
3 | "No, Thanks" = "평가하지 않겠습니다";
4 | "Remind me later" = "다음에 평가하겠습니다";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/he.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "אם נהנת להשתמש ב %@, האם תסכים לדרג אותה? זה לא יקח יותר מדקה. תודה על התמיכה!";
2 | "Rate %@" = "דרג את %@";
3 | "No, Thanks" = "לא תודה";
4 | "Remind me later" = "מאוחר יותר";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ja.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "%@をお使いいただきありがとうございます。もしよろしければ、ほんの少しだけお時間をいただき評価をお願いできませんか?ご協力感謝いたします!";
2 | "Rate %@" = "%@を評価する";
3 | "No, Thanks" ="結構です";
4 | "Remind me later" = "あとで";
5 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/modes/Makefile.am:
--------------------------------------------------------------------------------
1 | ## Process this file with automake to produce Makefile.in
2 |
3 | EXTRA_DIST = floor_all.h psych_44.h residue_44.h setup_11.h setup_32.h \
4 | setup_8.h psych_11.h psych_8.h residue_44u.h setup_16.h \
5 | setup_44.h setup_X.h psych_16.h residue_16.h residue_8.h \
6 | setup_22.h setup_44u.h setup_44p51.h residue_44p51.h
7 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/he.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "אם נהנת להשתמש ב %@, האם תסכים לדרג אותה? זה לא יקח יותר מדקה. תודה על התמיכה!";
2 | "Rate %@" = "דרג את %@";
3 | "No, Thanks" = "לא תודה";
4 | "Remind me later" = "מאוחר יותר";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ar.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "إذا كنت تستمع باستخدام %@، فهل تمانع بأن تأخذ دقيقة من وقتك لتقيمه؟ لن يستغرق الأمر أكثر من دقيقة. شكرا لدعمك!";
2 | "Rate %@" = "قيم %@";
3 | "No, Thanks" = "لا شكرا";
4 | "Remind me later" = "ذكرني لاحقا";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ja/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | %sの評価
4 | 楽しんでいただけたならば簡単なご意見をお願いします。%sを評価しますか?
5 | %sを評価する
6 | 後で見る
7 | いいえ
8 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/pt.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se você gosta de usar o %@, que tal avaliá-lo? Não levará mais de um minuto. Agradecemos o seu apoio!";
2 | "Rate %@" = "Avaliar o %@";
3 | "No, Thanks" = "Não, obrigado";
4 | "Remind me later" = "Mais tarde";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/pt-BR.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se você gosta de usar o %@, que tal avaliá-lo? Não levará mais de um minuto. Agradecemos o seu apoio!";
2 | "Rate %@" = "Avaliar o %@";
3 | "No, Thanks" = "Não, obrigado";
4 | "Remind me later" = "Mais tarde";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ro.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Dacă îți place %@, acordă-i o notă te rog, nu durează mult. Mulțumim pentru susținere!";
2 | "Rate %@" = "Acordă notă pentru %@";
3 | "No, Thanks" = "Nu, mulțumesc";
4 | "Remind me later" = "Adu-mi aminte mai târziu";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-zh-rCN/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 給%s評分
4 | 如果你喜歡使用%s,你介意花一點時間給它評分嗎?不會超過一分鐘。感謝您的支持!
5 | 給%s評分
6 | 稍後提醒我
7 | 不,謝謝
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-zh-rTW/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 给%s评分
4 | 如果你喜欢使用%s,你介意花一点时间给它评分吗?不会超过一分钟。感谢您的支持!
5 | 给%s评分
6 | 稍后提醒我
7 | 不,谢谢
8 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/cs.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Pokud se Vám aplikace %@ líbí, mohli byste ji prosím ohodnotit v App Store? Zabere to jen chvilku. Díky za Vaši podporu!";
2 | "Rate %@" = "Ohodnotit %@";
3 | "No, Thanks" = "Ne, díky";
4 | "Remind me later" = "Možná později";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/th.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "ถ้าคุณกำลังใช้ %@ โปรดสละเวลาสักครู่ในการให้อันดับแก่เรา คุณจะเสียเวลาไม่เกินหนึ่งนาที ขอบคุณสำหรับการสนับสนุน!";
2 | "Rate %@" = "ให้อันดับ %@";
3 | "No, Thanks" = "ไม่ ขอบคุณ";
4 | "Remind me later" = "เตือนฉันภายหลัง";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/en.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!";
2 | "Rate %@" = "Rate %@";
3 | "No, Thanks" = "No, thanks";
4 | "Remind me later" = "Remind me later";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/es.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si te ha gustado %@, ¿te gustaría calificarnos? No te tomará más de un minuto. ¡Gracias por tu colaboración!";
2 | "Rate %@" = "Calificar %@";
3 | "No, Thanks" = "No, gracias";
4 | "Remind me later" = "Recuérdame más tarde";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/sv.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Om du gillar att använda %@, kan du tänka dig att betygsätta det åt oss? Det tar bara en minut. Tack för hjälpen!";
2 | "Rate %@" = "Betygsätt %@";
3 | "No, Thanks" = "Nej tack";
4 | "Remind me later" = "Påminn mig senare";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/uk.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Якщо вам сподобалося %@, будь ласка, поставте свою оцінку. Це займає не більше однієї хвилини.\n Дякуємо за підтримку!";
2 | "Rate %@" = "Оцінити %@";
3 | "No, Thanks" = "Ні, дякую";
4 | "Remind me later" = "Нагадати пізніше";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ar.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "إذا كنت تستمع باستخدام %@، فهل تمانع بأن تأخذ دقيقة من وقتك لتقيمه؟ لن يستغرق الأمر أكثر من دقيقة. شكرا لدعمك!";
2 | "Rate %@" = "قيم %@";
3 | "No, Thanks" = "لا شكرا";
4 | "Remind me later" = "ذكرني لاحقا";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/fi.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jos käytät mielelläsi %@, voisitko käyttää hetken ja arvostella sen? Se ei kestä minuuttia kauempaa. Kiitos tuestasi!";
2 | "Rate %@" = "Arvioi %@";
3 | "No, Thanks" = "Ei kiitos";
4 | "Remind me later" = "Muistuta minua myöhemmin";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/hu.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Ha tetszik a %@, ne felejtsd el értékelni az App Store-ban! Csak egy perc az egész. Köszönet a támogatásért!";
2 | "Rate %@" = "%@ értékelése";
3 | "No, Thanks" = "Most inkább nem";
4 | "Remind me later" = "Emlékeztess később";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/nb.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Hvis du liker å bruke %@, kan du ta deg et øyeblikk for å vurdere den? Det vil ikke ta mer enn ett minutt. Takk for din støtte!";
2 | "Rate %@" = "Vurder %@";
3 | "No, Thanks" = "Nei, takk";
4 | "Remind me later" = "Påminn meg senere";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ru.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Если Вам нравится %@, пожалуйста, поставьте свою оценку. Это займет у Вас не больше одной минуты.\n Спасибо за поддержку!";
2 | "Rate %@" = "Оценить %@";
3 | "No, Thanks" = "Нет, спасибо";
4 | "Remind me later" = "Напомнить позже";
5 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/scripts/settings.lua:
--------------------------------------------------------------------------------
1 |
2 | settings =
3 | {
4 | bgVelocity = 80,
5 | bgBuildingsMultipler = 1.1,
6 | tubeVelocity = 100,
7 | gapSize = 100,
8 | gapMargins = 100,
9 | birdBoundsSize = 25,
10 | birdPosX = 100,
11 | tubeSpawnDelay = 2,
12 | birdJumpVelocity = 4,
13 | birdAngleVelocity = 5,
14 | birdMinAngle = 45,
15 | birdMaxAngle = -80,
16 | birdFlapTime = 0.2,
17 | gravity = 10,
18 | }
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/pt.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se você gosta de usar o %@, que tal avaliá-lo? Não levará mais de um minuto. Agradecemos o seu apoio!";
2 | "Rate %@" = "Avaliar o %@";
3 | "No, Thanks" = "Não, obrigado";
4 | "Remind me later" = "Mais tarde";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/sk.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Pokiaľ sa Vám páči aplikácia %@, mohli by ste ju prosím ohodnotiť v App Store? Zaberie to len chvíľu. Vďaka za Vašu podporu!";
2 | "Rate %@" = "Ohodnotiť %@";
3 | "No, Thanks" = "Nie, ďakujem";
4 | "Remind me later" = "Pripomenúť neskôr";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | %s 평가하기
4 | %s 사용이 맘에 드셨나요? 잠시만 시간을 내서 평가를 부탁드리겠습니다. 감사합니다!
5 | %s 평가하기
6 | 다음에 평가하겠습니다
7 | 평가하지 않겠습니다
8 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/pt-BR.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se você gosta de usar o %@, que tal avaliá-lo? Não levará mais de um minuto. Agradecemos o seu apoio!";
2 | "Rate %@" = "Avaliar o %@";
3 | "No, Thanks" = "Não, obrigado";
4 | "Remind me later" = "Mais tarde";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ro.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Dacă îți place %@, acordă-i o notă te rog, nu durează mult. Mulțumim pentru susținere!";
2 | "Rate %@" = "Acordă notă pentru %@";
3 | "No, Thanks" = "Nu, mulțumesc";
4 | "Remind me later" = "Adu-mi aminte mai târziu";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/da.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Hvis du synes om at bruge %@, vil du have noget imod at bruge et kort øjeblik på at bedømme det? Det tager kun et minut. Tak for din støtte!";
2 | "Rate %@" = "Bedøm %@";
3 | "No, Thanks" = "Nej tak";
4 | "Remind me later" = "Påmind mig senere";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/fa.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "اگر از استفاده برنامه %@ لذت میبرید، زمان دارید بهش امتیاز دهید؟ بیشتر از یک دقیقه زمان نخواهد گرفت. با تشکر از اینکه ما را همایت میکنید.";
2 | "Rate %@" = "ارزیابی کردن %@";
3 | "No, Thanks" = "نه، مرسی";
4 | "Remind me later" = "بعدا";
5 |
6 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/vi.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Cảm ơn bạn đã sử dụng ứng dụng %@ trong thời gian qua, bạn có thể dành chút thời gian để đánh giá ứng dụng trong AppStore không?";
2 | "Rate %@" = "Đánh giá %@";
3 | "No, Thanks" = "Không, xin cảm ơn";
4 | "Remind me later" = "Hãy nhắc nhở tôi sau";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/cs.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Pokud se Vám aplikace %@ líbí, mohli byste ji prosím ohodnotit v App Store? Zabere to jen chvilku. Díky za Vaši podporu!";
2 | "Rate %@" = "Ohodnotit %@";
3 | "No, Thanks" = "Ne, díky";
4 | "Remind me later" = "Možná později";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/en.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!";
2 | "Rate %@" = "Rate %@";
3 | "No, Thanks" = "No, thanks";
4 | "Remind me later" = "Remind me later";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/sv.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Om du gillar att använda %@, kan du tänka dig att betygsätta det åt oss? Det tar bara en minut. Tack för hjälpen!";
2 | "Rate %@" = "Betygsätt %@";
3 | "No, Thanks" = "Nej tack";
4 | "Remind me later" = "Påminn mig senare";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/th.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "ถ้าคุณกำลังใช้ %@ โปรดสละเวลาสักครู่ในการให้อันดับแก่เรา คุณจะเสียเวลาไม่เกินหนึ่งนาที ขอบคุณสำหรับการสนับสนุน!";
2 | "Rate %@" = "ให้อันดับ %@";
3 | "No, Thanks" = "ไม่ ขอบคุณ";
4 | "Remind me later" = "เตือนฉันภายหลัง";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ca.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si li agrada utilitzar %@, li importaria prendre’s un moment per a valorar-lo? No trigarà més d’un minut. Gràcies por la seva col·laboració!";
2 | "Rate %@" = "Valorar %@";
3 | "No, Thanks" = "No, gràcies";
4 | "Remind me later" = "Recordar-m’ho més tard";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/de.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Sie nutzen %@ gerne? Dann nehmen Sie sich bitte für eine Bewertung einen Moment Zeit! Es dauert nicht länger als eine Minute. Vielen Dank!";
2 | "Rate %@" = "Bewerte %@";
3 | "No, Thanks" = "Nein, danke";
4 | "Remind me later" = "Später erinnern";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/fr.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si vous aimez %@, voulez-vous prendre un moment pour l'évaluer ? Cela ne vous prendra pas plus d'une minute. Merci de votre soutien !";
2 | "Rate %@" = "Évaluer %@";
3 | "No, Thanks" = "Non, merci";
4 | "Remind me later" = "Me rappeler plus tard";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/ms.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jika anda suka %@, bolehkah luangkan sedikit masa untuk beri penarafan? Tak sampai seminit pun. Terima kasih atas sokongan anda!";
2 | "Rate %@" = "Tarafkan %@";
3 | "No, Thanks" = "Terima kasih saja";
4 | "Remind me later" = "Ingatkan saya lain kali";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/es.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si te ha gustado %@, ¿te gustaría calificarnos? No te tomará más de un minuto. ¡Gracias por tu colaboración!";
2 | "Rate %@" = "Calificar %@";
3 | "No, Thanks" = "No, gracias";
4 | "Remind me later" = "Recuérdame más tarde";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/fi.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jos käytät mielelläsi %@, voisitko käyttää hetken ja arvostella sen? Se ei kestä minuuttia kauempaa. Kiitos tuestasi!";
2 | "Rate %@" = "Arvioi %@";
3 | "No, Thanks" = "Ei kiitos";
4 | "Remind me later" = "Muistuta minua myöhemmin";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/hu.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Ha tetszik a %@, ne felejtsd el értékelni az App Store-ban! Csak egy perc az egész. Köszönet a támogatásért!";
2 | "Rate %@" = "%@ értékelése";
3 | "No, Thanks" = "Most inkább nem";
4 | "Remind me later" = "Emlékeztess később";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/uk.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Якщо вам сподобалося %@, будь ласка, поставте свою оцінку. Це займає не більше однієї хвилини.\n Дякуємо за підтримку!";
2 | "Rate %@" = "Оцінити %@";
3 | "No, Thanks" = "Ні, дякую";
4 | "Remind me later" = "Нагадати пізніше";
5 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/it.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se ti piace %@, perché non dedichi qualche istante a darne una valutazione sull'App Store? Non richiederà più di un minuto. Grazie per il supporto!";
2 | "Rate %@" = "Valuta %@";
3 | "No, Thanks" = "No, grazie";
4 | "Remind me later" = "Ricordamelo più tardi";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/nb.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Hvis du liker å bruke %@, kan du ta deg et øyeblikk for å vurdere den? Det vil ikke ta mer enn ett minutt. Takk for din støtte!";
2 | "Rate %@" = "Vurder %@";
3 | "No, Thanks" = "Nei, takk";
4 | "Remind me later" = "Påminn meg senere";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ru.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Если Вам нравится %@, пожалуйста, поставьте свою оценку. Это займет у Вас не больше одной минуты.\n Спасибо за поддержку!";
2 | "Rate %@" = "Оценить %@";
3 | "No, Thanks" = "Нет, спасибо";
4 | "Remind me later" = "Напомнить позже";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/sk.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Pokiaľ sa Vám páči aplikácia %@, mohli by ste ju prosím ohodnotiť v App Store? Zaberie to len chvíľu. Vďaka za Vašu podporu!";
2 | "Rate %@" = "Ohodnotiť %@";
3 | "No, Thanks" = "Nie, ďakujem";
4 | "Remind me later" = "Pripomenúť neskôr";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/el.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Αν σου αρέσει το %@, θα μπορούσες να αφιερώσεις μια στιγμή για να το βαθμολογήσεις; Η διαδικασία είναι πολύ σύντομη. Ευχαριστούμε για τη στήριξη!";
2 | "Rate %@" = "Βαθμολόγηση του %@";
3 | "No, Thanks" = "Όχι, ευχαριστώ";
4 | "Remind me later" = "Υπενθύμιση αργότερα";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-he/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | דרג את %s
4 | אם נהנת להשתמש ב %s, האם תסכים לדרג אותה? זה לא יקח יותר מדקה. תודה על התמיכה!
5 | דרג את %s
6 | מאוחר יותר
7 | לא תודה
8 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/vi.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Cảm ơn bạn đã sử dụng ứng dụng %@ trong thời gian qua, bạn có thể dành chút thời gian để đánh giá ứng dụng trong AppStore không?";
2 | "Rate %@" = "Đánh giá %@";
3 | "No, Thanks" = "Không, xin cảm ơn";
4 | "Remind me later" = "Hãy nhắc nhở tôi sau";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/pl.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jeżeli podoba Ci się korzystanie z %@, może zechciałbyś poświęcić chwilę czasu, aby ocenić aplikację? Nie zajmie Ci to więcej niż minutę. Dziękujemy za pomoc!";
2 | "Rate %@" = "Oceń %@";
3 | "No, Thanks" = "Nie, dziękuję";
4 | "Remind me later" = "Przypomnij później";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/tr.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Eğer %@ uygulamasını kullanmaktan keyif alıyorsanız, onu değerlendirmek için zaman ayırabilir misiniz? Desteğiniz için teşekkür ederiz!";
2 | "Rate %@" = "%@ uygulamasını değerlendir";
3 | "No, Thanks" = "Hayır, teşekkürler";
4 | "Remind me later" = "Daha sonra hatırlat";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/da.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Hvis du synes om at bruge %@, vil du have noget imod at bruge et kort øjeblik på at bedømme det? Det tager kun et minut. Tak for din støtte!";
2 | "Rate %@" = "Bedøm %@";
3 | "No, Thanks" = "Nej tak";
4 | "Remind me later" = "Påmind mig senere";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/de.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Sie nutzen %@ gerne? Dann nehmen Sie sich bitte für eine Bewertung einen Moment Zeit! Es dauert nicht länger als eine Minute. Vielen Dank!";
2 | "Rate %@" = "Bewerte %@";
3 | "No, Thanks" = "Nein, danke";
4 | "Remind me later" = "Später erinnern";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/fa.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "اگر از استفاده برنامه %@ لذت میبرید، زمان دارید بهش امتیاز دهید؟ بیشتر از یک دقیقه زمان نخواهد گرفت. با تشکر از اینکه ما را همایت میکنید.";
2 | "Rate %@" = "ارزیابی کردن %@";
3 | "No, Thanks" = "نه، مرسی";
4 | "Remind me later" = "بعدا";
5 |
6 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/fr.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si vous aimez %@, voulez-vous prendre un moment pour l'évaluer ? Cela ne vous prendra pas plus d'une minute. Merci de votre soutien !";
2 | "Rate %@" = "Évaluer %@";
3 | "No, Thanks" = "Non, merci";
4 | "Remind me later" = "Me rappeler plus tard";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ms.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jika anda suka %@, bolehkah luangkan sedikit masa untuk beri penarafan? Tak sampai seminit pun. Terima kasih atas sokongan anda!";
2 | "Rate %@" = "Tarafkan %@";
3 | "No, Thanks" = "Terima kasih saja";
4 | "Remind me later" = "Ingatkan saya lain kali";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/id.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jika anda menyukai %@, maukah anda memberikan rating kepada aplikasi ini? Rating hanya memakan waktu kurang dari 1 menit. Terimakasih untuk dukungan anda!";
2 | "Rate %@" = "Rating %@";
3 | "No, Thanks" = "Tidak, terimakasih";
4 | "Remind me later" = "Silakan ingatkan saya lagi";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/nl.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Als het gebruik van %@ je bevalt, zou je dan een momentje de tijd willen nemen om het te beoordelen? Het duurt nog geen minuut. Bedankt voor je steun!";
2 | "Rate %@" = "%@ beoordelen";
3 | "No, Thanks" = "Nee, bedankt";
4 | "Remind me later" = "Herinner me er later aan";
5 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/ca.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Si li agrada utilitzar %@, li importaria prendre’s un moment per a valorar-lo? No trigarà més d’un minut. Gràcies por la seva col·laboració!";
2 | "Rate %@" = "Valorar %@";
3 | "No, Thanks" = "No, gràcies";
4 | "Remind me later" = "Recordar-m’ho més tard";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/it.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Se ti piace %@, perché non dedichi qualche istante a darne una valutazione sull'App Store? Non richiederà più di un minuto. Grazie per il supporto!";
2 | "Rate %@" = "Valuta %@";
3 | "No, Thanks" = "No, grazie";
4 | "Remind me later" = "Ricordamelo più tardi";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/el.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Αν σου αρέσει το %@, θα μπορούσες να αφιερώσεις μια στιγμή για να το βαθμολογήσεις; Η διαδικασία είναι πολύ σύντομη. Ευχαριστούμε για τη στήριξη!";
2 | "Rate %@" = "Βαθμολόγηση του %@";
3 | "No, Thanks" = "Όχι, ευχαριστώ";
4 | "Remind me later" = "Υπενθύμιση αργότερα";
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ar/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | قيم %s
4 | إذا كنت تستمع باستخدام %s، فهل تمانع بأن تأخذ دقيقة من وقتك لتقيمه؟ لن يستغرق الأمر أكثر من دقيقة. شكرا لدعمك!
5 | قيم %s
6 | ذكرني لاحقا
7 | لا شكرا
8 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/pl.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jeżeli podoba Ci się korzystanie z %@, może zechciałbyś poświęcić chwilę czasu, aby ocenić aplikację? Nie zajmie Ci to więcej niż minutę. Dziękujemy za pomoc!";
2 | "Rate %@" = "Oceń %@";
3 | "No, Thanks" = "Nie, dziękuję";
4 | "Remind me later" = "Przypomnij później";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/tr.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Eğer %@ uygulamasını kullanmaktan keyif alıyorsanız, onu değerlendirmek için zaman ayırabilir misiniz? Desteğiniz için teşekkür ederiz!";
2 | "Rate %@" = "%@ uygulamasını değerlendir";
3 | "No, Thanks" = "Hayır, teşekkürler";
4 | "Remind me later" = "Daha sonra hatırlat";
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/nl.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Als het gebruik van %@ je bevalt, zou je dan een momentje de tijd willen nemen om het te beoordelen? Het duurt nog geen minuut. Bedankt voor je steun!";
2 | "Rate %@" = "%@ beoordelen";
3 | "No, Thanks" = "Nee, bedankt";
4 | "Remind me later" = "Herinner me er later aan";
5 |
--------------------------------------------------------------------------------
/thirdparty/libjpeg/jversion.h:
--------------------------------------------------------------------------------
1 | /*
2 | * jversion.h
3 | *
4 | * Copyright (C) 1991-2014, Thomas G. Lane, Guido Vollbeding.
5 | * This file is part of the Independent JPEG Group's software.
6 | * For conditions of distribution and use, see the accompanying README file.
7 | *
8 | * This file contains software version identification.
9 | */
10 |
11 |
12 | #define JVERSION "9a 19-Jan-2014"
13 |
14 | #define JCOPYRIGHT "Copyright (C) 2014, Thomas G. Lane, Guido Vollbeding"
15 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/.gitignore:
--------------------------------------------------------------------------------
1 | /*.sdf
2 | /*.suo
3 | /*.opensdf
4 | /ipch/*
5 | /Debug/*
6 | /Release/*
7 | /ARM/*
8 | FlappyLuna/Debug/*
9 | FlappyLuna/Release/*
10 | FlappyLuna/ARM/*
11 | FlappyLuna/Generated Files/*
12 | FlappyLuna/*.vcxproj.user
13 | FlappyLuna/Assets/game/*
14 | FlappyLuna/AppPackages/*
15 | FlappyLuna/BundleArtifacts/*
16 | luna2d DeployTool/*
17 | !luna2d DeployTool/luna2d DeployTool.vcxproj
18 | !luna2d DeployTool/luna2d DeployTool.vcxproj.filters
19 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-pt/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Avaliar o %s
4 | Se você gosta de usar o %s, que tal avaliá-lo? Não levará mais de um minuto. Agradecemos o seu apoio!
5 | Avaliar o %s
6 | Mais tarde
7 | Não, obrigado
8 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Localizable/id.lproj/AppiraterLocalizable.strings:
--------------------------------------------------------------------------------
1 | "If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!" = "Jika anda menyukai %@, maukah anda memberikan rating kepada aplikasi ini? Rating hanya memakan waktu kurang dari 1 menit. Terimakasih untuk dukungan anda!";
2 | "Rate %@" = "Rating %@";
3 | "No, Thanks" = "Tidak, terimakasih";
4 | "Remind me later" = "Silakan ingatkan saya lagi";
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | Change Log
2 | ==========
3 |
4 | Version 2.1.0 *(2016-11-04)*
5 | ----------------------------
6 | * Fix and suppress various Xcode warnings
7 | * Switch to NSURLSession
8 | * Serialize incrementing events
9 |
10 | Version 2.0.4 *(2014-09-18)*
11 | ----------------------------
12 | * Change: Better URL for iOS 7.1 and 8 support
13 |
14 | Version 2.0.3 *(2014-05-14)*
15 | ----------------------------
16 | * New: Make alert content customizable
17 |
--------------------------------------------------------------------------------
/thirdparty/zlib/inffast.h:
--------------------------------------------------------------------------------
1 | /* inffast.h -- header to use inffast.c
2 | * Copyright (C) 1995-2003, 2010 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* WARNING: this file should *not* be used by applications. It is
7 | part of the implementation of the compression library and is
8 | subject to change. Applications should only use zlib.h.
9 | */
10 |
11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
12 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-es/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Valorar %s
4 | Si le gusta utilizar %s, ¿le importaría valorarlo? No le llevará más de un minuto. ¡Gracias por su colaboración!
5 | Valorar %s
6 | Recordar más tarde
7 | No, gracias
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-th/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | ให้อันดับ %s
4 | ถ้าคุณกำลังใช้ %s โปรดสละเวลาสักครู่ในการให้อันดับแก่เรา คุณจะเสียเวลาไม่เกินหนึ่งนาที ขอบคุณสำหรับการสนับสนุน!
5 | ให้อันดับ %s
6 | เตือนฉันภายหลัง
7 | ไม่ ขอบคุณ
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-cs/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Ohodnotit %s
4 | Pokud se Vám aplikace %s líbí, mohli byste ji prosím ohodnotit v App Store? Zabere to jen chvilku. Díky za Vaši podporu!
5 | Ohodnotit %s
6 | Možná později
7 | Ne, díky
8 |
--------------------------------------------------------------------------------
/luna2d/platform/wp/application/OpenGLESPage.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-fi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Arvioi %s
4 | Jos käytät mielelläsi %s, voisitko käyttää hetken ja arvostella sen? Se ei kestä minuuttia kauempaa. Kiitos tuestasi!
5 | Arvioi %s
6 | Muistuta minua myöhemmin
7 | Ei kiitos
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-hu/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | %s értékelése
4 | Ha tetszik a %s, ne felejtsd el értékelni az App Store-ban! Csak egy perc az egész. Köszönet a támogatásért!
5 | %s értékelése
6 | Emlékeztess később
7 | Most inkább nem
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | LUNA_PROJECT_NAME
3 |
4 | Rate %s
5 | If you enjoy playing %s, would you mind taking a moment to rate it? Thanks for your support!
6 | Yes, Rate %s
7 | Remind me later
8 | No, Thanks
9 |
10 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-nb/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Vurder %s
4 | Hvis du liker å bruke %s, kan du ta deg et øyeblikk for å vurdere den? Det vil ikke ta mer enn ett minutt. Takk for din støtte!
5 | Vurder %s
6 | Påminn meg senere
7 | Nei, takk du
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ru/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Оценить %s
4 | Если Вам понравилась игра %s, пожалуйста поставьте свою оценку. Это займет у Вас не более одной минуты. Спасибо за поддержку!
5 | Оценить %s
6 | Напомнить позже
7 | Нет, спасибо--
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-da/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bedøm %s
4 | Hvis du synes om at bruge %s, vil du have noget imod at bruge et kort øjeblik på at bedømme det? Det tager kun et minut. Tak for din støtte!
5 | Bedøm %s
6 | Påmind mig senere
7 | Nej tak
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-fr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Notez %s
4 | Si vous aimez %s, voulez-vous prendre un moment pour l\'évaluer? Cela ne vous prendra pas plus d\'une minute. Merci de votre soutien!
5 | Notez %s
6 | Rappelez-moi plus tard
7 | Non, Merci
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-sk/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Ohodnotiť %s
4 | Pokiaľ sa Vám páči aplikácia %s, mohli by ste ju prosím ohodnotiť v App Store? Zaberie to len chvíľu. Vďaka za Vašu podporu!
5 | Ohodnotiť %s
6 | Pripomenúť neskôr
7 | Nie, ďakujem
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-sv/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Betygsätt %s
4 | Om du tycker att %s är ett praktiskt verktyg, kan du tänka dig att betygsätta det åt oss? Det tar bara en minut. Tack för hjälpen!
5 | Betygsätt %s
6 | Påminn mig senare
7 | Nej tack
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-tr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | %s Oylayın
4 | Eğer %s uygulamasını beğendiyseniz, oy verip bize destek olmak ister misiniz? Desteğiniz için teşekkürler!
5 | Evet, %s oylamak istiyorum
6 | Daha sonra hatırlat
7 | Hayır, Teşekkürler
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-de/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bewerte %s
4 | Sie nutzen %s gerne? Dann nehmen Sie sich bitte für eine Bewertung einen Moment Zeit! Es dauert nicht länger als eine Minute. Vielen Dank!
5 | Bewerte %s
6 | Später erinnern
7 | Nein, Danke
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-it/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Valuta %s
4 | Se trovi utile %s, perchè non spendere qualche momento per dare una valutazione? Non richiederà più di un minuto. Grazie per il supporto!
5 | Valuta %s
6 | Ricordamelo più tardi
7 | No, grazie
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ms/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tarafkan %s
4 | Jika anda suka %s, bolehkah luangkan sedikit masa untuk beri penarafan? Tak sampai seminit pun. Terima kasih atas sokongan anda!
5 | Tarafkan %s
6 | Ingatkan saya lain kali
7 | Terima kasih saja
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-vi/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Đánh giá %s
4 | Cảm ơn bạn đã sử dụng ứng dụng %s trong thời gian qua, bạn có thể dành chút thời gian để đánh giá ứng dụng trong AppStore không?
5 | Đánh giá %s
6 | Hãy nhắc nhở tôi sau
7 | Không, xin cảm ơn
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-ca/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Valorar %s
4 | Si li agrada utilitzar %s, li importaria prendre’s un moment per a valorar-lo? No trigarà més d’un minut. Gràcies por la seva col·laboració!
5 | Valorar %s
6 | Recordar-m’ho més tard
7 | No, gràcies
8 |
--------------------------------------------------------------------------------
/templates/project-wp/.gitignore:
--------------------------------------------------------------------------------
1 | /*.sdf
2 | /*.suo
3 | /*.opensdf
4 | /ipch/*
5 | /Debug/*
6 | /Release/*
7 | /ARM/*
8 | LUNA_PROJECT_NAME/Debug/*
9 | LUNA_PROJECT_NAME/Release/*
10 | LUNA_PROJECT_NAME/ARM/*
11 | LUNA_PROJECT_NAME/Generated Files/*
12 | LUNA_PROJECT_NAME/*.vcxproj.user
13 | LUNA_PROJECT_NAME/Assets/game/*
14 | LUNA_PROJECT_NAME/AppPackages/*
15 | LUNA_PROJECT_NAME/BundleArtifacts/*
16 | luna2d DeployTool/*
17 | !luna2d DeployTool/luna2d DeployTool.vcxproj
18 | !luna2d DeployTool/luna2d DeployTool.vcxproj.filters
19 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-pl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Oceń %s
4 | Jeżeli podoba Ci się korzystanie z %s, może zechciałbyś poświęcić chwilę czasu, aby ocenić aplikację? Nie zajmie Ci to więcej niż minutę. Dziękujemy za pomoc!
5 | Oceń %s
6 | Przypomnij później
7 | Nie, dziękuję
8 |
--------------------------------------------------------------------------------
/tools/luac/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | project(luac)
2 | cmake_minimum_required(VERSION 2.8)
3 |
4 | set(LUA_PATH ${PROJECT_SOURCE_DIR}/../../thirdparty/lua)
5 |
6 | option(BUILD_64BIT "Build 64-version" OFF)
7 |
8 | include_directories(${LUA_PATH})
9 | aux_source_directory(${LUA_PATH} SOURCES)
10 |
11 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR})
12 |
13 | if(BUILD_64BIT)
14 | set(CMAKE_C_FLAGS "-m64")
15 | add_executable("luac64" ${SOURCES})
16 | else()
17 | set(CMAKE_C_FLAGS "-m32")
18 | add_executable("luac" ${SOURCES})
19 | endif()
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-el/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Βαθμολόγηση του %s
4 | Αν σου αρέσει το %s, θα μπορούσες να αφιερώσεις μια στιγμή για να το βαθμολογήσεις; Η διαδικασία είναι πολύ σύντομη. Ευχαριστούμε για τη στήριξη!
5 | Βαθμολόγηση του %s
6 | Υπενθύμιση αργότερα
7 | Όχι, ευχαριστώ
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-id/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Rating %s
4 | Jika anda menyukai %s, maukah anda memberikan rating kepada aplikasi ini? Rating hanya memakan waktu kurang dari 1 menit. Terimakasih untuk dukungan anda!
5 | Rating %s
6 | Silakan ingatkan saya lagi
7 | Tidak, terimakasih
8 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/res/values-nl/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | %s beoordelen
4 | Als het gebruik van %s je bevalt, zou je dan een momentje de tijd willen nemen om het te beoordelen? Het duurt nog geen minuut. Bedankt voor je steun!
5 | %s beoordelen
6 | Herinner me er later aan
7 | Nee, bedankt
8 |
--------------------------------------------------------------------------------
/tools/Emulator/src/resources.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | images/placeholder_image.png
4 | images/phonex_margin_top.png
5 | images/phonex_margin_bottom.png
6 | images/phonex_bottom_bar_portrait.png
7 | images/phonex_bottom_bar_landscape.png
8 |
9 |
10 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/BlankPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.0.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/App.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // App.xaml.h
3 | // Declaration of the App class.
4 | //
5 |
6 | #pragma once
7 |
8 | #include "App.g.h"
9 |
10 | namespace FlappyLuna
11 | {
12 | ///
13 | /// Provides application-specific behavior to supplement the default Application class.
14 | ///
15 | ref class App sealed
16 | {
17 | public:
18 | App();
19 |
20 | virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
21 |
22 | private:
23 | luna2d::OpenGLESPage^ mPage;
24 | };
25 | }
26 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/BlankPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/App.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // App.xaml.h
3 | // Declaration of the App class.
4 | //
5 |
6 | #pragma once
7 |
8 | #include "App.g.h"
9 |
10 | namespace LUNA_PROJECT_NAME
11 | {
12 | ///
13 | /// Provides application-specific behavior to supplement the default Application class.
14 | ///
15 | ref class App sealed
16 | {
17 | public:
18 | App();
19 |
20 | virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
21 |
22 | private:
23 | luna2d::OpenGLESPage^ mPage;
24 | };
25 | }
26 |
--------------------------------------------------------------------------------
/cmake/wp/gen.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import os
3 | import shutil
4 | import sys
5 |
6 | LUNA2D_PATH = os.path.realpath(__file__) + "/../../../"
7 | VS_VERSION = "Visual Studio 12 2013 ARM"
8 | BUILD_TYPE = sys.argv[1] if len(sys.argv) > 1 else "Release"
9 | BUILD_PATH = LUNA2D_PATH + "/build/wp/" + BUILD_TYPE.lower()
10 |
11 | shutil.rmtree(BUILD_PATH, ignore_errors=True)
12 | os.makedirs(BUILD_PATH)
13 |
14 | subprocess.call(["cmake", "-G", VS_VERSION,
15 | "-DCMAKE_SYSTEM_NAME=WindowsPhone",
16 | "-DCMAKE_SYSTEM_VERSION=8.1",
17 | "-DCMAKE_BUILD_TYPE=" + BUILD_TYPE,
18 | LUNA2D_PATH], cwd=BUILD_PATH)
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/BlankPage.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // BlankPage.xaml.h
3 | // Declaration of the BlankPage class
4 | //
5 |
6 | #pragma once
7 |
8 | #include "BlankPage.g.h"
9 |
10 | namespace FlappyLuna
11 | {
12 | ///
13 | /// An empty page that can be used on its own or navigated to within a Frame.
14 | ///
15 | [Windows::Foundation::Metadata::WebHostHidden]
16 | public ref class BlankPage sealed
17 | {
18 | public:
19 | BlankPage();
20 |
21 | protected:
22 | virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
23 | };
24 | }
25 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/BlankPage.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // BlankPage.xaml.h
3 | // Declaration of the BlankPage class
4 | //
5 |
6 | #pragma once
7 |
8 | #include "BlankPage.g.h"
9 |
10 | namespace LUNA_PROJECT_NAME
11 | {
12 | ///
13 | /// An empty page that can be used on its own or navigated to within a Frame.
14 | ///
15 | [Windows::Foundation::Metadata::WebHostHidden]
16 | public ref class BlankPage sealed
17 | {
18 | public:
19 | BlankPage();
20 |
21 | protected:
22 | virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
23 | };
24 | }
25 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/luna2d/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can edit the include path and order by changing the proguardFiles
3 | # directive in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # Add any project specific keep options here:
9 |
10 | # If your project uses WebView with JS, uncomment the following
11 | # and specify the fully qualified class name to the JavaScript interface
12 | # class:
13 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
14 | # public *;
15 | #}
16 |
--------------------------------------------------------------------------------
/templates/project-android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 |
3 | # You can edit the include path and order by changing the proguardFiles
4 | # directive in build.gradle.
5 | #
6 | # For more details, see
7 | # http://developer.android.com/guide/developing/tools/proguard.html
8 |
9 | # Add any project specific keep options here:
10 |
11 | # If your project uses WebView with JS, uncomment the following
12 | # and specify the fully qualified class name to the JavaScript interface
13 | # class:
14 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
15 | # public *;
16 | #}
17 |
--------------------------------------------------------------------------------
/templates/project-android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.1.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/templates/sdkmodule-android/sdkmodule/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can edit the include path and order by changing the proguardFiles
3 | # directive in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # Add any project specific keep options here:
9 |
10 | # If your project uses WebView with JS, uncomment the following
11 | # and specify the fully qualified class name to the JavaScript interface
12 | # class:
13 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
14 | # public *;
15 | #}
16 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.0.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/thirdparty/ogg/config_types.h:
--------------------------------------------------------------------------------
1 | #ifndef __CONFIG_TYPES_H__
2 | #define __CONFIG_TYPES_H__
3 |
4 | /* these are filled in by configure */
5 | #define INCLUDE_INTTYPES_H 1
6 | #define INCLUDE_STDINT_H 1
7 | #define INCLUDE_SYS_TYPES_H 1
8 |
9 | #if INCLUDE_INTTYPES_H
10 | # include
11 | #endif
12 | #if INCLUDE_STDINT_H
13 | # include
14 | #endif
15 | #if INCLUDE_SYS_TYPES_H
16 | # include
17 | #endif
18 |
19 | typedef short ogg_int16_t;
20 | typedef unsigned short ogg_uint16_t;
21 | typedef int ogg_int32_t;
22 | typedef unsigned int ogg_uint32_t;
23 | typedef long long ogg_int64_t;
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/cmake/ios/gen.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import os
3 | import shutil
4 | import sys
5 |
6 | LUNA2D_PATH = os.path.dirname(os.path.abspath(__file__)) + "/../../"
7 | IOS_TOOLCHAIN_PATH = LUNA2D_PATH + "cmake/ios/ios.toolchain.cmake"
8 | BUILD_TYPE = sys.argv[1] if len(sys.argv) > 1 else "Release"
9 | BUILD_PATH = LUNA2D_PATH + "/build/ios/" + BUILD_TYPE.lower()
10 |
11 | shutil.rmtree(BUILD_PATH, ignore_errors=True)
12 | os.makedirs(BUILD_PATH)
13 |
14 | subprocess.call(["cmake", "-G", "Xcode",
15 | "-DCMAKE_TOOLCHAIN_FILE=" + IOS_TOOLCHAIN_PATH,
16 | "-IOS_PLATFORM=OS",
17 | "-DCMAKE_BUILD_TYPE=" + BUILD_TYPE,
18 | LUNA2D_PATH], cwd=BUILD_PATH)
--------------------------------------------------------------------------------
/luna2d/platform/wp/application/OpenGLES.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "lunagl.h"
4 |
5 | class OpenGLES
6 | {
7 | public:
8 | OpenGLES();
9 | ~OpenGLES();
10 |
11 | EGLSurface CreateSurface(Windows::UI::Xaml::Controls::SwapChainPanel^ panel, const Windows::Foundation::Size* renderSurfaceSize);
12 | void DestroySurface(const EGLSurface surface);
13 | void MakeCurrent(const EGLSurface surface);
14 | EGLBoolean SwapBuffers(const EGLSurface surface);
15 | void Reset();
16 |
17 | private:
18 | void Initialize();
19 | void Cleanup();
20 |
21 | private:
22 | EGLDisplay mEglDisplay;
23 | EGLContext mEglContext;
24 | EGLConfig mEglConfig;
25 | };
26 |
--------------------------------------------------------------------------------
/thirdparty/lua/lapi.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: lapi.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $
3 | ** Auxiliary functions from Lua API
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef lapi_h
8 | #define lapi_h
9 |
10 |
11 | #include "llimits.h"
12 | #include "lstate.h"
13 |
14 | #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
15 | "stack overflow");}
16 |
17 | #define adjustresults(L,nres) \
18 | { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
19 |
20 | #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
21 | "not enough elements in the stack")
22 |
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/tools/compatible/lunacompatible_0.5.lua:
--------------------------------------------------------------------------------
1 |
2 | -- This file provides backward compability with version 0.5
3 |
4 | local _lines = luna.intersect.lines
5 |
6 | luna.intersect.lines = function(line1, line2)
7 | return _lines(math.Vec2(line1.x1, line1.y1), math.Vec2(line1.x2, line1.y2),
8 | math.Vec2(line2.x1, line2.y1), math.Vec2(line2.x2, line2.y2))
9 | end
10 |
11 | local _pointBetweenLines = luna.intersect.pointBetweenLines
12 |
13 | luna.intersect.pointBetweenLines = function(line1, line2)
14 | return _pointBetweenLines(math.Vec2(line1.x1, line1.y1), math.Vec2(line1.x2, line1.y2),
15 | math.Vec2(line2.x1, line2.y1), math.Vec2(line2.x2, line2.y2))
16 | end
17 |
--------------------------------------------------------------------------------
/thirdparty/angle/include/angle_gl.h:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 | // Use of this source code is governed by a BSD-style license that can be
4 | // found in the LICENSE file.
5 | //
6 | // angle_gl.h:
7 | // Includes all necessary GL headers and definitions for ANGLE.
8 | //
9 |
10 | #ifndef ANGLE_GL_H_
11 | #define ANGLE_GL_H_
12 |
13 | #include "GLES2/gl2.h"
14 | #include "GLES2/gl2ext.h"
15 | #include "GLES3/gl3.h"
16 | #include "GLES3/gl3ext.h"
17 |
18 | // The following enum is used in ANGLE, but is from desktop GL
19 | #ifndef GL_SAMPLER_2D_RECT_ARB
20 | #define GL_SAMPLER_2D_RECT_ARB 0x8B63
21 | #endif
22 |
23 | #endif // ANGLE_GL_H_
24 |
--------------------------------------------------------------------------------
/cmake/android/copyopenal.py:
--------------------------------------------------------------------------------
1 | import os
2 | import shutil
3 |
4 | LUNA2D_PATH = os.path.abspath(os.path.realpath(__file__) + "/../../../")
5 | OPENAL_PATH = LUNA2D_PATH + "/thirdparty/OpenAL/prebuilt/android"
6 | GRADLE_PATH = LUNA2D_PATH + "/cmake/android/gradle-project/luna2d/src/main/jniLibs"
7 |
8 | for root, dirs, files in os.walk(OPENAL_PATH):
9 | for file in files:
10 | arch = root[len(OPENAL_PATH) + 1:]
11 | out_path = GRADLE_PATH + "/" + arch
12 | in_file = os.path.realpath(os.path.join(root, file))
13 | out_file = os.path.realpath(os.path.join(out_path, file))
14 |
15 | print("Copying " + arch + "/" + file + "...")
16 |
17 | try:
18 | os.makedirs(out_path)
19 | except:
20 | pass
21 | shutil.copy(in_file, out_file)
--------------------------------------------------------------------------------
/thirdparty/zlib/gzclose.c:
--------------------------------------------------------------------------------
1 | /* gzclose.c -- zlib gzclose() function
2 | * Copyright (C) 2004, 2010 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | #include "gzguts.h"
7 |
8 | /* gzclose() is in a separate file so that it is linked in only if it is used.
9 | That way the other gzclose functions can be used instead to avoid linking in
10 | unneeded compression or decompression routines. */
11 | int ZEXPORT gzclose(file)
12 | gzFile file;
13 | {
14 | #ifndef NO_GZCOMPRESS
15 | gz_statep state;
16 |
17 | if (file == NULL)
18 | return Z_STREAM_ERROR;
19 | state = (gz_statep)file;
20 |
21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
22 | #else
23 | return gzclose_r(file);
24 | #endif
25 | }
26 |
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/AppiraterDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppiraterDelegate.h
3 | // Banana Stand
4 | //
5 | // Created by Robert Haining on 9/25/12.
6 | // Copyright (c) 2012 News.me. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @class Appirater;
12 |
13 | @protocol AppiraterDelegate
14 |
15 | @optional
16 | -(BOOL)appiraterShouldDisplayAlert:(Appirater *)appirater;
17 | -(void)appiraterDidDisplayAlert:(Appirater *)appirater;
18 | -(void)appiraterDidDeclineToRate:(Appirater *)appirater;
19 | -(void)appiraterDidOptToRate:(Appirater *)appirater;
20 | -(void)appiraterDidOptToRemindLater:(Appirater *)appirater;
21 | -(void)appiraterWillPresentModalView:(Appirater *)appirater animated:(BOOL)animated;
22 | -(void)appiraterDidDismissModalView:(Appirater *)appirater animated:(BOOL)animated;
23 | @end
24 |
--------------------------------------------------------------------------------
/thirdparty/angle/include/GLES3/gl3ext.h:
--------------------------------------------------------------------------------
1 | #ifndef __gl3ext_h_
2 | #define __gl3ext_h_
3 |
4 | /* $Revision: 17809 $ on $Date:: 2012-05-14 08:03:36 -0700 #$ */
5 |
6 | /*
7 | * This document is licensed under the SGI Free Software B License Version
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 | */
10 |
11 | /* OpenGL ES 3 Extensions
12 | *
13 | * After an OES extension's interactions with OpenGl ES 3.0 have been documented,
14 | * its tokens and function definitions should be added to this file in a manner
15 | * that does not conflict with gl2ext.h or gl3.h.
16 | *
17 | * Tokens and function definitions for extensions that have become standard
18 | * features in OpenGL ES 3.0 will not be added to this file.
19 | *
20 | * Applications using OpenGL-ES-2-only extensions should include gl2ext.h
21 | */
22 |
23 | #endif /* __gl3ext_h_ */
24 |
25 |
--------------------------------------------------------------------------------
/thirdparty/lua/lundump.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: lundump.h,v 1.39.1.1 2013/04/12 18:48:47 roberto Exp $
3 | ** load precompiled Lua chunks
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef lundump_h
8 | #define lundump_h
9 |
10 | #include "lobject.h"
11 | #include "lzio.h"
12 |
13 | /* load one chunk; from lundump.c */
14 | LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
15 |
16 | /* make header; from lundump.c */
17 | LUAI_FUNC void luaU_header (lu_byte* h);
18 |
19 | /* dump one chunk; from ldump.c */
20 | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
21 |
22 | /* data to catch conversion errors */
23 | #define LUAC_TAIL "\x19\x93\r\n\x1a\n"
24 |
25 | /* size in bytes of header of binary files */
26 | #define LUAC_HEADERSIZE (sizeof(LUA_SIGNATURE)-sizeof(char)+2+6+sizeof(LUAC_TAIL)-sizeof(char))
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/cmake/android/build.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import os
3 | import shutil
4 | import sys
5 |
6 | LUNA2D_PATH = os.path.realpath(__file__) + "/../../../"
7 | ANDROID_TOOLCHAIN_PATH = LUNA2D_PATH + "cmake/android/android.toolchain.cmake";
8 | BUILD_TYPE = sys.argv[1] if len(sys.argv) > 1 else "Release"
9 | ARCHS = ["armeabi-v7a", "armeabi", "x86"]
10 |
11 | for arch in ARCHS:
12 | BUILD_PATH = os.path.realpath(LUNA2D_PATH + "build/android/" + BUILD_TYPE.lower() + "/" + arch)
13 |
14 | if not os.path.exists(BUILD_PATH):
15 | os.makedirs(BUILD_PATH)
16 |
17 | subprocess.call(["cmake", "-G", "Ninja",
18 | "-DCMAKE_MAKE_PROGRAM=ninja",
19 | "-DCMAKE_TOOLCHAIN_FILE=" + ANDROID_TOOLCHAIN_PATH,
20 | "-DANDROID_NATIVE_API_LEVEL=android-9",
21 | "-DANDROID_ABI=" + arch,
22 | "-DANDROID_STL=gnustl_static",
23 | "-DCMAKE_BUILD_TYPE=" + BUILD_TYPE,
24 | LUNA2D_PATH], cwd=BUILD_PATH)
25 | subprocess.call(["cmake", "--build", BUILD_PATH])
--------------------------------------------------------------------------------
/thirdparty/appirater/ios/Appirater.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Appirater",
3 | "version": "2.1.0",
4 | "platforms": {
5 | "ios": "5.0"
6 | },
7 | "summary": "A utility that reminds your iPhone app's users to review the app.",
8 | "homepage": "https://arashpayan.com/blog/2009/09/07/presenting-appirater/",
9 | "authors": {
10 | "Arash Payan": "arash@ara.sh"
11 | },
12 | "source": {
13 | "git": "https://github.com/arashpayan/appirater.git",
14 | "tag": "2.1.0"
15 | },
16 | "source_files": "*.{h,m}",
17 | "resource_bundles": {
18 | "Appirater": [
19 | "*.lproj"
20 | ]
21 | },
22 | "requires_arc": true,
23 | "frameworks": [
24 | "CFNetwork",
25 | "SystemConfiguration"
26 | ],
27 | "weak_frameworks": "StoreKit",
28 | "license": {
29 | "type": "MIT",
30 | "text": "Copyright 2016. Arash Payan. This library is distributed under the terms of the MIT/X11."
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/cmake/android/gradle-project/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/templates/project-android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/templates/sdkmodule-android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/thirdparty/freetype/src/gzip/infcodes.h:
--------------------------------------------------------------------------------
1 | /* infcodes.h -- header to use infcodes.c
2 | * Copyright (C) 1995-2002 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* WARNING: this file should *not* be used by applications. It is
7 | part of the implementation of the compression library and is
8 | subject to change. Applications should only use zlib.h.
9 | */
10 |
11 | #ifndef _INFCODES_H
12 | #define _INFCODES_H
13 |
14 | struct inflate_codes_state;
15 | typedef struct inflate_codes_state FAR inflate_codes_statef;
16 |
17 | local inflate_codes_statef *inflate_codes_new OF((
18 | uInt, uInt,
19 | inflate_huft *, inflate_huft *,
20 | z_streamp ));
21 |
22 | local int inflate_codes OF((
23 | inflate_blocks_statef *,
24 | z_streamp ,
25 | int));
26 |
27 | local void inflate_codes_free OF((
28 | inflate_codes_statef *,
29 | z_streamp ));
30 |
31 | #endif /* _INFCODES_H */
32 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | Cross-platform game engine for mobile platforms. Engine is aimed to write all game logic in Lua. But general features written in native code. Uses OpenGL ES 2.0\OpenGL 2.1 on mobile\desktop platofrms.
4 |
5 | ## Supported platforms
6 | * Desktop Qt platforms
7 | * Android 4.0+
8 | * iOS 6.0+
9 | * Windows Phone\RT 8.1
10 |
11 | ## Build requirements
12 | * Destkop Windows: Qt 5.4+, compiler with support C++11 (e.g. MinGW 4.8)
13 | * Android: Eclipse, Android SDK, NDK r9+
14 | * iOS: XCode, iOS SDK 8.1+
15 | * Windows Phone\RT: VS2013 Update 4+
16 |
17 | ## Tools
18 | All tools written in C++\Qt and supports same desktop platforms as the engine.
19 |
20 | #### Emulator
21 | Emulator for testing games on desktop. Can run games in different screen resolutions.
22 |
23 | #### Pipeline
24 | A tool for automatic graphical assets preparation. Includes image resizer and texture packer.
25 | Supports PSD using **[libqpsd](https://github.com/Code-ReaQtor/libqpsd)**.
26 |
--------------------------------------------------------------------------------
/tools/DeployTool/ui/DeployTool.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2016-01-09T12:04:17
4 | #
5 | #-------------------------------------------------
6 |
7 | QT += core gui
8 |
9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10 |
11 | TARGET = DeployTool
12 | TEMPLATE = app
13 | CONFIG += c++11
14 |
15 | CONFIG(debug, debug|release) {
16 | TARGET = DeployToold
17 | }
18 |
19 | CONFIG(release, debug|release) {
20 | TARGET = DeployTool
21 | }
22 |
23 | QMAKE_CFLAGS_WARN_ON -= -Wextra
24 | QMAKE_CXXFLAGS_WARN_ON -= -Wextra
25 |
26 | QMAKE_CFLAGS_WARN_ON += -Werror=return-type
27 | QMAKE_CXXFLAGS_WARN_ON += -Werror=return-type
28 |
29 | DESTDIR = $$PWD/../
30 |
31 | INCLUDEPATH += ../../../thirdparty/json11/
32 |
33 | SOURCES += main.cpp\
34 | mainwindow.cpp \
35 | ../../../thirdparty/json11/json11.cpp \
36 | utils.cpp \
37 | template.cpp
38 |
39 | HEADERS += mainwindow.h \
40 | utils.h \
41 | template.h
42 |
43 | FORMS += mainwindow.ui
44 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@HVGA.atlas:
--------------------------------------------------------------------------------
1 | {
2 | "bg": {
3 | "height": 320,
4 | "width": 551,
5 | "x": 2,
6 | "y": 2
7 | },
8 | "bird": {
9 | "height": 32,
10 | "width": 32,
11 | "x": 557,
12 | "y": 2
13 | },
14 | "bird_flap": {
15 | "height": 32,
16 | "width": 32,
17 | "x": 593,
18 | "y": 2
19 | },
20 | "buildings": {
21 | "height": 157,
22 | "width": 551,
23 | "x": 2,
24 | "y": 326
25 | },
26 | "gameover": {
27 | "height": 82,
28 | "width": 158,
29 | "x": 629,
30 | "y": 2
31 | },
32 | "moon": {
33 | "height": 53,
34 | "width": 53,
35 | "x": 557,
36 | "y": 38
37 | },
38 | "tube_body": {
39 | "height": 1,
40 | "width": 40,
41 | "x": 791,
42 | "y": 2
43 | },
44 | "tube_head": {
45 | "height": 16,
46 | "width": 40,
47 | "x": 835,
48 | "y": 2
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@WVGA.atlas:
--------------------------------------------------------------------------------
1 | {
2 | "bg": {
3 | "height": 480,
4 | "width": 826,
5 | "x": 2,
6 | "y": 2
7 | },
8 | "bird": {
9 | "height": 48,
10 | "width": 48,
11 | "x": 832,
12 | "y": 2
13 | },
14 | "bird_flap": {
15 | "height": 48,
16 | "width": 48,
17 | "x": 884,
18 | "y": 2
19 | },
20 | "buildings": {
21 | "height": 236,
22 | "width": 826,
23 | "x": 2,
24 | "y": 486
25 | },
26 | "gameover": {
27 | "height": 123,
28 | "width": 238,
29 | "x": 2,
30 | "y": 726
31 | },
32 | "moon": {
33 | "height": 80,
34 | "width": 80,
35 | "x": 936,
36 | "y": 2
37 | },
38 | "tube_body": {
39 | "height": 1,
40 | "width": 60,
41 | "x": 832,
42 | "y": 54
43 | },
44 | "tube_head": {
45 | "height": 24,
46 | "width": 60,
47 | "x": 832,
48 | "y": 59
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /lib/*
2 | /build*
3 | CMakeLists.txt.user
4 |
5 | cmake/android/eclipse-project/bin/*
6 | cmake/android/eclipse-project/gen/*
7 | cmake/android/eclipse-project/obj/*
8 | cmake/android/eclipse-project/.settings/*
9 |
10 | projects/ios-xcode/luna2d.xcodeproj/project.xcworkspace/*
11 | projects/ios-xcode/luna2d.xcodeproj/xcuserdata/*
12 | projects/ios-xcode/build/*
13 |
14 | tools/Emulator/build*
15 | tools/Emulator/Emulator.exe
16 | tools/Emulator/Emulatord.exe
17 | tools/Emulator/Emulator.app/*
18 | tools/Emulator/Emulatord.app/*
19 | tools/Emulator/src/Emulator.pro.user
20 |
21 | tools/Pipeline/build*
22 | tools/Pipeline/Pipeline.exe
23 | tools/Pipeline/Pipelined.exe
24 | tools/Pipeline/Pipeline.app/*
25 | tools/Pipeline/Pipelined.app/*
26 | tools/Pipeline/src/Pipeline.pro.user
27 |
28 | samples/FlappyLuna/project-android/bin/*
29 | samples/FlappyLuna/project-android/gen/*
30 | samples/FlappyLuna/project-android/obj/*
31 | samples/FlappyLuna/project-ios/FlappyLuna.xcodeproj/project.xcworkspace/*
32 | samples/FlappyLuna/project-ios/FlappyLuna.xcodeproj/xcuserdata/*
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/art/items@HD.atlas:
--------------------------------------------------------------------------------
1 | {
2 | "bg": {
3 | "height": 720,
4 | "width": 1240,
5 | "x": 2,
6 | "y": 2
7 | },
8 | "bird": {
9 | "height": 72,
10 | "width": 72,
11 | "x": 1246,
12 | "y": 2
13 | },
14 | "bird_flap": {
15 | "height": 72,
16 | "width": 72,
17 | "x": 1322,
18 | "y": 2
19 | },
20 | "buildings": {
21 | "height": 355,
22 | "width": 1240,
23 | "x": 2,
24 | "y": 726
25 | },
26 | "gameover": {
27 | "height": 185,
28 | "width": 357,
29 | "x": 1398,
30 | "y": 2
31 | },
32 | "moon": {
33 | "height": 120,
34 | "width": 120,
35 | "x": 1246,
36 | "y": 78
37 | },
38 | "tube_body": {
39 | "height": 1,
40 | "width": 90,
41 | "x": 1759,
42 | "y": 2
43 | },
44 | "tube_head": {
45 | "height": 36,
46 | "width": 90,
47 | "x": 1853,
48 | "y": 2
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/thirdparty/angle/include/GLES2/gl2platform.h:
--------------------------------------------------------------------------------
1 | #ifndef __gl2platform_h_
2 | #define __gl2platform_h_
3 |
4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
5 |
6 | /*
7 | * This document is licensed under the SGI Free Software B License Version
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 | */
10 |
11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
12 | *
13 | * Adopters may modify khrplatform.h and this file to suit their platform.
14 | * You are encouraged to submit all modifications to the Khronos group so that
15 | * they can be included in future versions of this file. Please submit changes
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
17 | * by filing a bug against product "OpenGL-ES" component "Registry".
18 | */
19 |
20 | #include
21 |
22 | #ifndef GL_APICALL
23 | #define GL_APICALL KHRONOS_APICALL
24 | #endif
25 |
26 | #ifndef GL_APIENTRY
27 | #define GL_APIENTRY KHRONOS_APIENTRY
28 | #endif
29 |
30 | #endif /* __gl2platform_h_ */
31 |
--------------------------------------------------------------------------------
/thirdparty/angle/include/GLES3/gl3platform.h:
--------------------------------------------------------------------------------
1 | #ifndef __gl3platform_h_
2 | #define __gl3platform_h_
3 |
4 | /* $Revision: 18437 $ on $Date:: 2012-07-08 23:31:39 -0700 #$ */
5 |
6 | /*
7 | * This document is licensed under the SGI Free Software B License Version
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 | */
10 |
11 | /* Platform-specific types and definitions for OpenGL ES 3.X gl3.h
12 | *
13 | * Adopters may modify khrplatform.h and this file to suit their platform.
14 | * You are encouraged to submit all modifications to the Khronos group so that
15 | * they can be included in future versions of this file. Please submit changes
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
17 | * by filing a bug against product "OpenGL-ES" component "Registry".
18 | */
19 |
20 | #include
21 |
22 | #ifndef GL_APICALL
23 | #define GL_APICALL KHRONOS_APICALL
24 | #endif
25 |
26 | #ifndef GL_APIENTRY
27 | #define GL_APIENTRY KHRONOS_APIENTRY
28 | #endif
29 |
30 | #endif /* __gl3platform_h_ */
31 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | luna2d engine
4 | Copyright 2014-2017 Stepan Prokofjev
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to
8 | deal in the Software without restriction, including without limitation the
9 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 | sell copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 | IN THE SOFTWARE.
--------------------------------------------------------------------------------
/thirdparty/lua/lfunc.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: lfunc.h,v 2.8.1.1 2013/04/12 18:48:47 roberto Exp $
3 | ** Auxiliary functions to manipulate prototypes and closures
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef lfunc_h
8 | #define lfunc_h
9 |
10 |
11 | #include "lobject.h"
12 |
13 |
14 | #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \
15 | cast(int, sizeof(TValue)*((n)-1)))
16 |
17 | #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \
18 | cast(int, sizeof(TValue *)*((n)-1)))
19 |
20 |
21 | LUAI_FUNC Proto *luaF_newproto (lua_State *L);
22 | LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 | LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
24 | LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
25 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26 | LUAI_FUNC void luaF_close (lua_State *L, StkId level);
27 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
28 | LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
29 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
30 | int pc);
31 |
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/gzip/infblock.h:
--------------------------------------------------------------------------------
1 | /* infblock.h -- header to use infblock.c
2 | * Copyright (C) 1995-2002 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* WARNING: this file should *not* be used by applications. It is
7 | part of the implementation of the compression library and is
8 | subject to change. Applications should only use zlib.h.
9 | */
10 |
11 | #ifndef _INFBLOCK_H
12 | #define _INFBLOCK_H
13 |
14 | struct inflate_blocks_state;
15 | typedef struct inflate_blocks_state FAR inflate_blocks_statef;
16 |
17 | local inflate_blocks_statef * inflate_blocks_new OF((
18 | z_streamp z,
19 | check_func c, /* check function */
20 | uInt w)); /* window size */
21 |
22 | local int inflate_blocks OF((
23 | inflate_blocks_statef *,
24 | z_streamp ,
25 | int)); /* initial return code */
26 |
27 | local void inflate_blocks_reset OF((
28 | inflate_blocks_statef *,
29 | z_streamp ,
30 | uLongf *)); /* check value on output */
31 |
32 | local int inflate_blocks_free OF((
33 | inflate_blocks_statef *,
34 | z_streamp));
35 |
36 | #endif /* _INFBLOCK_H */
37 |
--------------------------------------------------------------------------------
/thirdparty/lua/ldebug.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: ldebug.h,v 2.7.1.1 2013/04/12 18:48:47 roberto Exp $
3 | ** Auxiliary functions from Debug Interface module
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef ldebug_h
8 | #define ldebug_h
9 |
10 |
11 | #include "lstate.h"
12 |
13 |
14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
15 |
16 | #define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
17 |
18 | #define resethookcount(L) (L->hookcount = L->basehookcount)
19 |
20 | /* Active Lua function (given call info) */
21 | #define ci_func(ci) (clLvalue((ci)->func))
22 |
23 |
24 | LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
25 | const char *opname);
26 | LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
27 | LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
28 | const TValue *p2);
29 | LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
30 | const TValue *p2);
31 | LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
32 | LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-wp/FlappyLuna/BlankPage.xaml.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // BlankPage.xaml.cpp
3 | // Implementation of the BlankPage class
4 | //
5 |
6 | #include "pch.h"
7 | #include "BlankPage.xaml.h"
8 |
9 | using namespace FlappyLuna;
10 |
11 | using namespace Platform;
12 | using namespace Windows::Foundation;
13 | using namespace Windows::Foundation::Collections;
14 | using namespace Windows::UI::Xaml;
15 | using namespace Windows::UI::Xaml::Controls;
16 | using namespace Windows::UI::Xaml::Controls::Primitives;
17 | using namespace Windows::UI::Xaml::Data;
18 | using namespace Windows::UI::Xaml::Input;
19 | using namespace Windows::UI::Xaml::Media;
20 | using namespace Windows::UI::Xaml::Navigation;
21 |
22 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=390556
23 |
24 | BlankPage::BlankPage()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | ///
30 | /// Invoked when this page is about to be displayed in a Frame.
31 | ///
32 | /// Event data that describes how this page was reached.
33 | /// This parameter is typically used to configure the page.
34 | void BlankPage::OnNavigatedTo(NavigationEventArgs^ e)
35 | {
36 | (void) e; // Unused parameter
37 | }
38 |
--------------------------------------------------------------------------------
/templates/project-wp/LUNA_PROJECT_NAME/BlankPage.xaml.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // BlankPage.xaml.cpp
3 | // Implementation of the BlankPage class
4 | //
5 |
6 | #include "pch.h"
7 | #include "BlankPage.xaml.h"
8 |
9 | using namespace LUNA_PROJECT_NAME;
10 |
11 | using namespace Platform;
12 | using namespace Windows::Foundation;
13 | using namespace Windows::Foundation::Collections;
14 | using namespace Windows::UI::Xaml;
15 | using namespace Windows::UI::Xaml::Controls;
16 | using namespace Windows::UI::Xaml::Controls::Primitives;
17 | using namespace Windows::UI::Xaml::Data;
18 | using namespace Windows::UI::Xaml::Input;
19 | using namespace Windows::UI::Xaml::Media;
20 | using namespace Windows::UI::Xaml::Navigation;
21 |
22 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=390556
23 |
24 | BlankPage::BlankPage()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | ///
30 | /// Invoked when this page is about to be displayed in a Frame.
31 | ///
32 | /// Event data that describes how this page was reached.
33 | /// This parameter is typically used to configure the page.
34 | void BlankPage::OnNavigatedTo(NavigationEventArgs^ e)
35 | {
36 | (void) e; // Unused parameter
37 | }
38 |
--------------------------------------------------------------------------------
/templates/project-android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
12 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/window.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: window functions
14 | last mod: $Id: window.h 13293 2007-07-24 00:09:47Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_WINDOW_
19 | #define _V_WINDOW_
20 |
21 | extern float *_vorbis_window_get(int n);
22 | extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
23 | int lW,int W,int nW);
24 |
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/templates/project-android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 23
5 | buildToolsVersion "23.0.2"
6 |
7 | defaultConfig {
8 | applicationId "LUNA_PACKAGE_NAME"
9 | minSdkVersion 16
10 | targetSdkVersion 23
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 |
21 | sourceSets.main.assets.srcDirs = ["../.luna2d/assets"]
22 | }
23 |
24 | repositories{
25 | flatDir{
26 | dirs "../.luna2d/libs"
27 | }
28 | }
29 |
30 | dependencies {
31 | compile fileTree(include: ['*.jar'], dir: 'libs')
32 | compile ('com.android.support:appcompat-v7:+')
33 | compile ('com.google.android.gms:play-services-games:10.0.1')
34 | }
35 |
36 | exec {
37 | executable "python"
38 | args "${projectDir}/../.luna2d/update.py"
39 | }
40 |
41 | fileTree(dir: "../.luna2d/libs", include: '**/*.aar').each { File file ->
42 | def filename = file.name.lastIndexOf('.').with { it != -1 ? file.name[0..flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e]))
43 |
44 | #define fasttm(l,et,e) gfasttm(G(l), et, e)
45 |
46 | #define ttypename(x) luaT_typenames_[(x) + 1]
47 | #define objtypename(x) ttypename(ttypenv(x))
48 |
49 | LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS];
50 |
51 |
52 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename);
53 | LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
54 | TMS event);
55 | LUAI_FUNC void luaT_init (lua_State *L);
56 |
57 | #endif
58 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/bdf/bdf.c:
--------------------------------------------------------------------------------
1 | /* bdf.c
2 |
3 | FreeType font driver for bdf files
4 |
5 | Copyright (C) 2001, 2002 by
6 | Francesco Zappa Nardelli
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in
16 | all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | THE SOFTWARE.
25 | */
26 |
27 | #define FT_MAKE_OPTION_SINGLE_OBJECT
28 |
29 | #include
30 | #include "bdflib.c"
31 | #include "bdfdrivr.c"
32 |
33 |
34 | /* END */
35 |
--------------------------------------------------------------------------------
/thirdparty/Box2D/Common/b2Draw.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2011 Erin Catto http://box2d.org
3 | *
4 | * This software is provided 'as-is', without any express or implied
5 | * warranty. In no event will the authors be held liable for any damages
6 | * arising from the use of this software.
7 | * Permission is granted to anyone to use this software for any purpose,
8 | * including commercial applications, and to alter it and redistribute it
9 | * freely, subject to the following restrictions:
10 | * 1. The origin of this software must not be misrepresented; you must not
11 | * claim that you wrote the original software. If you use this software
12 | * in a product, an acknowledgment in the product documentation would be
13 | * appreciated but is not required.
14 | * 2. Altered source versions must be plainly marked as such, and must not be
15 | * misrepresented as being the original software.
16 | * 3. This notice may not be removed or altered from any source distribution.
17 | */
18 |
19 | #include
20 |
21 | b2Draw::b2Draw()
22 | {
23 | m_drawFlags = 0;
24 | }
25 |
26 | void b2Draw::SetFlags(uint32 flags)
27 | {
28 | m_drawFlags = flags;
29 | }
30 |
31 | uint32 b2Draw::GetFlags() const
32 | {
33 | return m_drawFlags;
34 | }
35 |
36 | void b2Draw::AppendFlags(uint32 flags)
37 | {
38 | m_drawFlags |= flags;
39 | }
40 |
41 | void b2Draw::ClearFlags(uint32 flags)
42 | {
43 | m_drawFlags &= ~flags;
44 | }
45 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/smallft.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: fft transform
14 | last mod: $Id: smallft.h 13293 2007-07-24 00:09:47Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_SMFT_H_
19 | #define _V_SMFT_H_
20 |
21 | #include "vorbis/codec.h"
22 |
23 | typedef struct {
24 | int n;
25 | float *trigcache;
26 | int *splitcache;
27 | } drft_lookup;
28 |
29 | extern void drft_forward(drft_lookup *l,float *data);
30 | extern void drft_backward(drft_lookup *l,float *data);
31 | extern void drft_init(drft_lookup *l,int n);
32 | extern void drft_clear(drft_lookup *l);
33 |
34 | #endif
35 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/pcf/pcf.c:
--------------------------------------------------------------------------------
1 | /* pcf.c
2 |
3 | FreeType font driver for pcf fonts
4 |
5 | Copyright 2000-2001, 2003 by
6 | Francesco Zappa Nardelli
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in
16 | all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | THE SOFTWARE.
25 | */
26 |
27 |
28 | #define FT_MAKE_OPTION_SINGLE_OBJECT
29 |
30 |
31 | #include
32 | #include "pcfutil.c"
33 | #include "pcfread.c"
34 | #include "pcfdrivr.c"
35 |
36 | /* END */
37 |
--------------------------------------------------------------------------------
/thirdparty/libjpeg/rdgif.c:
--------------------------------------------------------------------------------
1 | /*
2 | * rdgif.c
3 | *
4 | * Copyright (C) 1991-1997, Thomas G. Lane.
5 | * This file is part of the Independent JPEG Group's software.
6 | * For conditions of distribution and use, see the accompanying README file.
7 | *
8 | * This file contains routines to read input images in GIF format.
9 | *
10 | *****************************************************************************
11 | * NOTE: to avoid entanglements with Unisys' patent on LZW compression, *
12 | * the ability to read GIF files has been removed from the IJG distribution. *
13 | * Sorry about that. *
14 | *****************************************************************************
15 | *
16 | * We are required to state that
17 | * "The Graphics Interchange Format(c) is the Copyright property of
18 | * CompuServe Incorporated. GIF(sm) is a Service Mark property of
19 | * CompuServe Incorporated."
20 | */
21 |
22 | #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
23 |
24 | #ifdef GIF_SUPPORTED
25 |
26 | /*
27 | * The module selection routine for GIF format input.
28 | */
29 |
30 | GLOBAL(cjpeg_source_ptr)
31 | jinit_read_gif (j_compress_ptr cinfo)
32 | {
33 | fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
34 | exit(EXIT_FAILURE);
35 | return NULL; /* keep compiler happy */
36 | }
37 |
38 | #endif /* GIF_SUPPORTED */
39 |
--------------------------------------------------------------------------------
/luna2d/services/lunastore.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #include "lunastore.h"
25 |
26 | using namespace luna2d;
27 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/lookup.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: lookup based functions
14 | last mod: $Id: lookup.h 16227 2009-07-08 06:58:46Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_LOOKUP_H_
19 |
20 | #ifdef FLOAT_LOOKUP
21 | extern float vorbis_coslook(float a);
22 | extern float vorbis_invsqlook(float a);
23 | extern float vorbis_invsq2explook(int a);
24 | extern float vorbis_fromdBlook(float a);
25 | #endif
26 | #ifdef INT_LOOKUP
27 | extern long vorbis_invsqlook_i(long a,long e);
28 | extern long vorbis_coslook_i(long a);
29 | extern float vorbis_fromdBlook_i(long a);
30 | #endif
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/thirdparty/vorbis/registry.h:
--------------------------------------------------------------------------------
1 | /********************************************************************
2 | * *
3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7 | * *
8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 *
9 | * by the Xiph.Org Foundation http://www.xiph.org/ *
10 | * *
11 | ********************************************************************
12 |
13 | function: registry for time, floor, res backends and channel mappings
14 | last mod: $Id: registry.h 15531 2008-11-24 23:50:06Z xiphmont $
15 |
16 | ********************************************************************/
17 |
18 | #ifndef _V_REG_H_
19 | #define _V_REG_H_
20 |
21 | #define VI_TRANSFORMB 1
22 | #define VI_WINDOWB 1
23 | #define VI_TIMEB 1
24 | #define VI_FLOORB 2
25 | #define VI_RESB 3
26 | #define VI_MAPB 1
27 |
28 | extern const vorbis_func_floor *const _floor_P[];
29 | extern const vorbis_func_residue *const _residue_P[];
30 | extern const vorbis_func_mapping *const _mapping_P[];
31 |
32 | #endif
33 |
--------------------------------------------------------------------------------
/luna2d/services/lunaleaderboards.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #include "lunaleaderboards.h"
25 |
26 | using namespace luna2d;
27 |
--------------------------------------------------------------------------------
/thirdparty/lua/lstring.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: lstring.h,v 1.49.1.1 2013/04/12 18:48:47 roberto Exp $
3 | ** String table (keep all strings handled by Lua)
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef lstring_h
8 | #define lstring_h
9 |
10 | #include "lgc.h"
11 | #include "lobject.h"
12 | #include "lstate.h"
13 |
14 |
15 | #define sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char))
16 |
17 | #define sizeudata(u) (sizeof(union Udata)+(u)->len)
18 |
19 | #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
20 | (sizeof(s)/sizeof(char))-1))
21 |
22 | #define luaS_fix(s) l_setbit((s)->tsv.marked, FIXEDBIT)
23 |
24 |
25 | /*
26 | ** test whether a string is a reserved word
27 | */
28 | #define isreserved(s) ((s)->tsv.tt == LUA_TSHRSTR && (s)->tsv.extra > 0)
29 |
30 |
31 | /*
32 | ** equality for short strings, which are always internalized
33 | */
34 | #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
35 |
36 |
37 | LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
38 | LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b);
39 | LUAI_FUNC int luaS_eqstr (TString *a, TString *b);
40 | LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
41 | LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
42 | LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43 | LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
44 |
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/project-ios/FlappyLuna/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.luna2d.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UIRequiredDeviceCapabilities
26 |
27 | armv7
28 |
29 | UIStatusBarHidden
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationLandscapeLeft
34 | UIInterfaceOrientationLandscapeRight
35 |
36 | UISupportedInterfaceOrientations~ipad
37 |
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/psnames/psnames.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* psnames.c */
4 | /* */
5 | /* FreeType PSNames module component (body only). */
6 | /* */
7 | /* Copyright 1996-2001 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 |
19 | #define FT_MAKE_OPTION_SINGLE_OBJECT
20 |
21 | #include
22 | #include "pspic.c"
23 | #include "psmodule.c"
24 |
25 |
26 | /* END */
27 |
--------------------------------------------------------------------------------
/thirdparty/libzip/zip_err_str.c:
--------------------------------------------------------------------------------
1 | /*
2 | This file was generated automatically by ./make_zip_err_str.sh
3 | from ./zip.h; make changes there.
4 | */
5 |
6 | #include "zipint.h"
7 |
8 |
9 |
10 | const char * const _zip_err_str[] = {
11 | "No error",
12 | "Multi-disk zip archives not supported",
13 | "Renaming temporary file failed",
14 | "Closing zip archive failed",
15 | "Seek error",
16 | "Read error",
17 | "Write error",
18 | "CRC error",
19 | "Containing zip archive was closed",
20 | "No such file",
21 | "File already exists",
22 | "Can't open file",
23 | "Failure to create temporary file",
24 | "Zlib error",
25 | "Malloc failure",
26 | "Entry has been changed",
27 | "Compression method not supported",
28 | "Premature EOF",
29 | "Invalid argument",
30 | "Not a zip archive",
31 | "Internal error",
32 | "Zip archive inconsistent",
33 | "Can't remove file",
34 | "Entry has been deleted",
35 | };
36 |
37 | const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]);
38 |
39 | #define N ZIP_ET_NONE
40 | #define S ZIP_ET_SYS
41 | #define Z ZIP_ET_ZLIB
42 |
43 | const int _zip_err_type[] = {
44 | N,
45 | N,
46 | S,
47 | S,
48 | S,
49 | S,
50 | S,
51 | N,
52 | N,
53 | N,
54 | N,
55 | S,
56 | S,
57 | Z,
58 | N,
59 | N,
60 | N,
61 | N,
62 | N,
63 | N,
64 | N,
65 | N,
66 | S,
67 | N,
68 | };
69 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/gzip/adler32.c:
--------------------------------------------------------------------------------
1 | /* adler32.c -- compute the Adler-32 checksum of a data stream
2 | * Copyright (C) 1995-2002 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* @(#) $Id$ */
7 |
8 | #include "zlib.h"
9 |
10 | #define BASE 65521L /* largest prime smaller than 65536 */
11 | #define NMAX 5552
12 | /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
13 |
14 | #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
15 | #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
16 | #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
17 | #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4);
18 | #define DO16(buf) DO8(buf,0); DO8(buf,8);
19 |
20 | /* ========================================================================= */
21 | ZEXPORT(uLong) adler32( /* adler, buf, len) */
22 | uLong adler,
23 | const Bytef *buf,
24 | uInt len )
25 | {
26 | unsigned long s1 = adler & 0xffff;
27 | unsigned long s2 = (adler >> 16) & 0xffff;
28 | int k;
29 |
30 | if (buf == Z_NULL) return 1L;
31 |
32 | while (len > 0) {
33 | k = len < NMAX ? len : NMAX;
34 | len -= k;
35 | while (k >= 16) {
36 | DO16(buf);
37 | buf += 16;
38 | k -= 16;
39 | }
40 | if (k != 0) do {
41 | s1 += *buf++;
42 | s2 += s1;
43 | } while (--k);
44 | s1 %= BASE;
45 | s2 %= BASE;
46 | }
47 | return (s2 << 16) | s1;
48 | }
49 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/type42/type42.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* type42.c */
4 | /* */
5 | /* FreeType Type 42 driver component. */
6 | /* */
7 | /* Copyright 2002 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 | #define FT_MAKE_OPTION_SINGLE_OBJECT
19 |
20 | #include
21 | #include "t42objs.c"
22 | #include "t42parse.c"
23 | #include "t42drivr.c"
24 |
25 | /* END */
26 |
--------------------------------------------------------------------------------
/samples/FlappyLuna/game/scripts/background.lua:
--------------------------------------------------------------------------------
1 |
2 | Background = class()
3 |
4 | function Background:onInit()
5 | self.sprites = self:makeSprites(luna.assets.art.items.bg)
6 | self.buildings = self:makeSprites(luna.assets.art.items.buildings)
7 | self.moon = luna.graphics.Sprite(luna.assets.art.items.moon)
8 | self.moon:setPos(luna.sizes.getScreenWidth() - 100, luna.sizes.getScreenHeight() - 100)
9 | end
10 |
11 | function Background:makeSprites(asset)
12 | local ret = {}
13 |
14 | for i = 1, 2 do
15 | local spr = luna.graphics.Sprite(asset)
16 | spr:setX(spr:getWidth() * (i - 1))
17 | table.insert(ret, spr)
18 | end
19 |
20 | return ret
21 | end
22 |
23 | function Background:updateSprites(sprites, velocity, dt)
24 | for i, spr in pairs(sprites) do
25 | local dx = velocity * dt
26 | spr:setX(spr:getX() - dx)
27 | if spr:getX() + spr:getWidth() <= 0 then
28 | local anotherSpr = i == 1 and sprites[2] or sprites[1]
29 | spr:setX(anotherSpr:getX() + anotherSpr:getWidth() - dx)
30 | end
31 | end
32 | end
33 |
34 | function Background:update(dt)
35 | self:updateSprites(self.sprites, settings.bgVelocity, dt)
36 | self:updateSprites(self.buildings, settings.bgVelocity * settings.bgBuildingsMultipler, dt)
37 | end
38 |
39 | function Background:renderSprites(sprites)
40 | for _, spr in pairs(sprites) do
41 | spr:render()
42 | end
43 | end
44 |
45 | function Background:render()
46 | self:renderSprites(self.sprites)
47 | self:renderSprites(self.buildings)
48 | self.moon:render()
49 | end
--------------------------------------------------------------------------------
/thirdparty/freetype/src/raster/raster.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* raster.c */
4 | /* */
5 | /* FreeType monochrome rasterer module component (body only). */
6 | /* */
7 | /* Copyright 1996-2001 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 |
19 | #define FT_MAKE_OPTION_SINGLE_OBJECT
20 |
21 | #include
22 | #include "rastpic.c"
23 | #include "ftraster.c"
24 | #include "ftrend1.c"
25 |
26 |
27 | /* END */
28 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/smooth/smooth.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* smooth.c */
4 | /* */
5 | /* FreeType anti-aliasing rasterer module component (body only). */
6 | /* */
7 | /* Copyright 1996-2001 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 |
19 | #define FT_MAKE_OPTION_SINGLE_OBJECT
20 |
21 | #include
22 | #include "ftspic.c"
23 | #include "ftgrays.c"
24 | #include "ftsmooth.c"
25 |
26 |
27 | /* END */
28 |
--------------------------------------------------------------------------------
/luna2d/services/lunabindservices.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | #include "lunaengine.h"
27 |
28 | namespace luna2d{
29 |
30 | void BindServices();
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/luna2d/physics/shapes/lunaphysicsshape.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #include "lunaphysicsshape.h"
25 |
26 | using namespace luna2d;
27 |
28 | b2Shape* LUNAPhysicsShape::GetB2Shape()
29 | {
30 | return shape;
31 | }
32 |
--------------------------------------------------------------------------------
/thirdparty/freetype/include/config/ftmodule.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This file registers the FreeType modules compiled into the library.
3 | *
4 | * If you use GNU make, this file IS NOT USED! Instead, it is created in
5 | * the objects directory (normally `/objs/') based on information
6 | * from `/modules.cfg'.
7 | *
8 | * Please read `docs/INSTALL.ANY' and `docs/CUSTOMIZE' how to compile
9 | * FreeType without GNU make.
10 | *
11 | */
12 |
13 | FT_USE_MODULE( FT_Module_Class, autofit_module_class )
14 | FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )
15 | FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )
16 | FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )
17 | FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )
18 | FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
19 | FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
20 | FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
21 | FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
22 | FT_USE_MODULE( FT_Module_Class, psaux_module_class )
23 | FT_USE_MODULE( FT_Module_Class, psnames_module_class )
24 | FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
25 | FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
26 | FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
27 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
28 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class )
29 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class )
30 | FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )
31 |
32 | /* EOF */
33 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/pshinter/pshinter.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* pshinter.c */
4 | /* */
5 | /* FreeType PostScript Hinting module */
6 | /* */
7 | /* Copyright 2001, 2003 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 |
19 | #define FT_MAKE_OPTION_SINGLE_OBJECT
20 |
21 | #include
22 | #include "pshpic.c"
23 | #include "pshrec.c"
24 | #include "pshglob.c"
25 | #include "pshalgo.c"
26 | #include "pshmod.c"
27 |
28 |
29 | /* END */
30 |
--------------------------------------------------------------------------------
/thirdparty/Box2D/Common/b2Settings.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
3 | *
4 | * This software is provided 'as-is', without any express or implied
5 | * warranty. In no event will the authors be held liable for any damages
6 | * arising from the use of this software.
7 | * Permission is granted to anyone to use this software for any purpose,
8 | * including commercial applications, and to alter it and redistribute it
9 | * freely, subject to the following restrictions:
10 | * 1. The origin of this software must not be misrepresented; you must not
11 | * claim that you wrote the original software. If you use this software
12 | * in a product, an acknowledgment in the product documentation would be
13 | * appreciated but is not required.
14 | * 2. Altered source versions must be plainly marked as such, and must not be
15 | * misrepresented as being the original software.
16 | * 3. This notice may not be removed or altered from any source distribution.
17 | */
18 |
19 | #include
20 | #include
21 | #include
22 | #include
23 |
24 | b2Version b2_version = {2, 3, 0};
25 |
26 | // Memory allocators. Modify these to use your own allocator.
27 | void* b2Alloc(int32 size)
28 | {
29 | return malloc(size);
30 | }
31 |
32 | void b2Free(void* mem)
33 | {
34 | free(mem);
35 | }
36 |
37 | // You can modify this to use your logging facility.
38 | void b2Log(const char* string, ...)
39 | {
40 | va_list args;
41 | va_start(args, string);
42 | vprintf(string, args);
43 | va_end(args);
44 | }
45 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/cid/type1cid.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* type1cid.c */
4 | /* */
5 | /* FreeType OpenType driver component (body only). */
6 | /* */
7 | /* Copyright 1996-2001 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 |
19 | #define FT_MAKE_OPTION_SINGLE_OBJECT
20 |
21 | #include
22 | #include "cidparse.c"
23 | #include "cidload.c"
24 | #include "cidobjs.c"
25 | #include "cidriver.c"
26 | #include "cidgload.c"
27 |
28 |
29 | /* END */
30 |
--------------------------------------------------------------------------------
/tools/Pipeline/src/project/filenode.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d Pipeline
3 | // This is part of luna2d engine
4 | // Copyright 2014-2017 Stepan Prokofjev
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to
8 | // deal in the Software without restriction, including without limitation the
9 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 | // sell copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 | // IN THE SOFTWARE.
23 | //-----------------------------------------------------------------------------
24 |
25 | #include "filenode.h"
26 |
27 | FileNode::FileNode(const QString& path) :
28 | TaskNode(path, TaskNodeType::FILE)
29 | {
30 | }
31 |
--------------------------------------------------------------------------------
/luna2d/platform/android/lunaandroidgl.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | //-----------------------
27 | // OpenGL ES 2.0 includes
28 | //-----------------------
29 | #include
30 | #include
31 |
--------------------------------------------------------------------------------
/luna2d/platform/ios/lunaiosgl.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | //-----------------------
27 | // OpenGL ES 2.0 includes
28 | //-----------------------
29 | #include
30 | #include
31 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/pfr/pfr.c:
--------------------------------------------------------------------------------
1 | /***************************************************************************/
2 | /* */
3 | /* pfr.c */
4 | /* */
5 | /* FreeType PFR driver component. */
6 | /* */
7 | /* Copyright 2002 by */
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 | /* */
10 | /* This file is part of the FreeType project, and may only be used, */
11 | /* modified, and distributed under the terms of the FreeType project */
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 | /* this file you indicate that you have read the license and */
14 | /* understand and accept it fully. */
15 | /* */
16 | /***************************************************************************/
17 |
18 | #define FT_MAKE_OPTION_SINGLE_OBJECT
19 |
20 | #include
21 |
22 | #include "pfrload.c"
23 | #include "pfrgload.c"
24 | #include "pfrcmap.c"
25 | #include "pfrobjs.c"
26 | #include "pfrdrivr.c"
27 | #include "pfrsbit.c"
28 |
29 | /* END */
30 |
--------------------------------------------------------------------------------
/luna2d/physics/lunaphysicsmodule.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | #include "lunalua.h"
27 |
28 | namespace luna2d{
29 |
30 | class LUNAPhysicsModule
31 | {
32 | public:
33 | virtual void Load(LuaScript *lua);
34 | };
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/tools/Pipeline/src/project/filenode.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d Pipeline
3 | // This is part of luna2d engine
4 | // Copyright 2014-2017 Stepan Prokofjev
5 | //
6 | // Permission is hereby granted, free of charge, to any person obtaining a copy
7 | // of this software and associated documentation files (the "Software"), to
8 | // deal in the Software without restriction, including without limitation the
9 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 | // sell copies of the Software, and to permit persons to whom the Software is
11 | // furnished to do so, subject to the following conditions:
12 | //
13 | // The above copyright notice and this permission notice shall be included in
14 | // all copies or substantial portions of the Software.
15 | //
16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22 | // IN THE SOFTWARE.
23 | //-----------------------------------------------------------------------------
24 |
25 | #pragma once
26 |
27 | #include "tasknode.h"
28 |
29 | class FileNode : public TaskNode
30 | {
31 | public:
32 | FileNode(const QString& path);
33 | };
34 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/pcf/pcfread.h:
--------------------------------------------------------------------------------
1 | /* pcfread.h
2 |
3 | FreeType font driver for pcf fonts
4 |
5 | Copyright 2003 by
6 | Francesco Zappa Nardelli
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy
9 | of this software and associated documentation files (the "Software"), to deal
10 | in the Software without restriction, including without limitation the rights
11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | copies of the Software, and to permit persons to whom the Software is
13 | furnished to do so, subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be included in
16 | all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | THE SOFTWARE.
25 | */
26 |
27 |
28 | #ifndef __PCFREAD_H__
29 | #define __PCFREAD_H__
30 |
31 |
32 | #include
33 |
34 | FT_BEGIN_HEADER
35 |
36 | FT_LOCAL( PCF_Property )
37 | pcf_find_property( PCF_Face face,
38 | const FT_String* prop );
39 |
40 | FT_END_HEADER
41 |
42 | #endif /* __PCFREAD_H__ */
43 |
44 |
45 | /* END */
46 |
--------------------------------------------------------------------------------
/templates/project-ios/LUNA_PROJECT_NAME/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIcons
10 |
11 | CFBundleIcons~ipad
12 |
13 | CFBundleIdentifier
14 | $(PRODUCT_BUNDLE_IDENTIFIER)
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | $(PRODUCT_NAME)
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | 1.0
23 | CFBundleSignature
24 | ????
25 | CFBundleVersion
26 | 1
27 | LSRequiresIPhoneOS
28 |
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UIRequiresFullScreen
34 |
35 | UIStatusBarHidden
36 |
37 | UISupportedInterfaceOrientations
38 |
39 | UIInterfaceOrientationLandscapeRight
40 | UIInterfaceOrientationLandscapeLeft
41 |
42 | UISupportedInterfaceOrientations~ipad
43 |
44 | UIInterfaceOrientationLandscapeLeft
45 | UIInterfaceOrientationLandscapeRight
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/thirdparty/lua/ltable.h:
--------------------------------------------------------------------------------
1 | /*
2 | ** $Id: ltable.h,v 2.16.1.2 2013/08/30 15:49:41 roberto Exp $
3 | ** Lua tables (hash)
4 | ** See Copyright Notice in lua.h
5 | */
6 |
7 | #ifndef ltable_h
8 | #define ltable_h
9 |
10 | #include "lobject.h"
11 |
12 |
13 | #define gnode(t,i) (&(t)->node[i])
14 | #define gkey(n) (&(n)->i_key.tvk)
15 | #define gval(n) (&(n)->i_val)
16 | #define gnext(n) ((n)->i_key.nk.next)
17 |
18 | #define invalidateTMcache(t) ((t)->flags = 0)
19 |
20 | /* returns the key, given the value of a table entry */
21 | #define keyfromval(v) \
22 | (gkey(cast(Node *, cast(char *, (v)) - offsetof(Node, i_val))))
23 |
24 |
25 | LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
26 | LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
27 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
28 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
29 | LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
30 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
31 | LUAI_FUNC Table *luaH_new (lua_State *L);
32 | LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize);
33 | LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
34 | LUAI_FUNC void luaH_free (lua_State *L, Table *t);
35 | LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
36 | LUAI_FUNC int luaH_getn (Table *t);
37 |
38 |
39 | #if defined(LUA_DEBUG)
40 | LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
41 | LUAI_FUNC int luaH_isdummy (Node *n);
42 | #endif
43 |
44 |
45 | #endif
46 |
--------------------------------------------------------------------------------
/luna2d/platform/qt/lunaqtgl.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #include "lunaqtgl.h"
25 |
26 | QOpenGLFunctions* luna2d::LUNAQtGl::functions = nullptr;
27 |
28 | void luna2d::LUNAQtGl::InitFunctions()
29 | {
30 | functions = QOpenGLContext::currentContext()->functions();
31 | }
32 |
--------------------------------------------------------------------------------
/luna2d/services/platform/qt/lunaqtservices.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | #include "lunaservices.h"
27 |
28 | namespace luna2d{
29 |
30 | class LUNAQtServices : public LUNAServices
31 | {
32 | public:
33 | virtual void LoadServices();
34 | };
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/thirdparty/freetype/src/base/md5.h:
--------------------------------------------------------------------------------
1 | /*
2 | * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
3 | * MD5 Message-Digest Algorithm (RFC 1321).
4 | *
5 | * Homepage:
6 | * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
7 | *
8 | * Author:
9 | * Alexander Peslyak, better known as Solar Designer
10 | *
11 | * This software was written by Alexander Peslyak in 2001. No copyright is
12 | * claimed, and the software is hereby placed in the public domain.
13 | * In case this attempt to disclaim copyright and place the software in the
14 | * public domain is deemed null and void, then the software is
15 | * Copyright (c) 2001 Alexander Peslyak and it is hereby released to the
16 | * general public under the following terms:
17 | *
18 | * Redistribution and use in source and binary forms, with or without
19 | * modification, are permitted.
20 | *
21 | * There's ABSOLUTELY NO WARRANTY, express or implied.
22 | *
23 | * See md5.c for more information.
24 | */
25 |
26 | #ifdef HAVE_OPENSSL
27 | #include
28 | #elif !defined(_MD5_H)
29 | #define _MD5_H
30 |
31 | /* Any 32-bit or wider unsigned integer data type will do */
32 | typedef unsigned int MD5_u32plus;
33 |
34 | typedef struct {
35 | MD5_u32plus lo, hi;
36 | MD5_u32plus a, b, c, d;
37 | unsigned char buffer[64];
38 | MD5_u32plus block[16];
39 | } MD5_CTX;
40 |
41 | extern void MD5_Init(MD5_CTX *ctx);
42 | extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size);
43 | extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
44 |
45 | #endif
46 |
--------------------------------------------------------------------------------
/luna2d/audio/lunaal.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | #if LUNA_PLATFORM == LUNA_PLATFORM_ANDROID
27 | #define AL_ALEXT_PROTOTYPES
28 | #include
29 | #include
30 | #include
31 | #else
32 | #include
33 | #include
34 | #endif
35 |
--------------------------------------------------------------------------------
/luna2d/services/platform/qt/lunaqtads.cpp:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #include "lunaqtads.h"
25 |
26 | using namespace luna2d;
27 |
28 | // Load service instance by name
29 | std::shared_ptr LUNAQtAds::LoadService(const std::string& name)
30 | {
31 | return nullptr;
32 | }
33 |
--------------------------------------------------------------------------------
/thirdparty/glm/detail/intrinsic_exponential.inl:
--------------------------------------------------------------------------------
1 | ///////////////////////////////////////////////////////////////////////////////////
2 | /// OpenGL Mathematics (glm.g-truc.net)
3 | ///
4 | /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
5 | /// Permission is hereby granted, free of charge, to any person obtaining a copy
6 | /// of this software and associated documentation files (the "Software"), to deal
7 | /// in the Software without restriction, including without limitation the rights
8 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | /// copies of the Software, and to permit persons to whom the Software is
10 | /// furnished to do so, subject to the following conditions:
11 | ///
12 | /// The above copyright notice and this permission notice shall be included in
13 | /// all copies or substantial portions of the Software.
14 | ///
15 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | /// THE SOFTWARE.
22 | ///
23 | /// @ref core
24 | /// @file glm/detail/intrinsic_exponential.inl
25 | /// @date 2011-06-15 / 2011-06-15
26 | /// @author Christophe Riccio
27 | ///////////////////////////////////////////////////////////////////////////////////
28 |
--------------------------------------------------------------------------------
/luna2d/services/platform/android/lunaandroidservices.h:
--------------------------------------------------------------------------------
1 | //-----------------------------------------------------------------------------
2 | // luna2d engine
3 | // Copyright 2014-2017 Stepan Prokofjev
4 | //
5 | // Permission is hereby granted, free of charge, to any person obtaining a copy
6 | // of this software and associated documentation files (the "Software"), to
7 | // deal in the Software without restriction, including without limitation the
8 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 | // sell copies of the Software, and to permit persons to whom the Software is
10 | // furnished to do so, subject to the following conditions:
11 | //
12 | // The above copyright notice and this permission notice shall be included in
13 | // all copies or substantial portions of the Software.
14 | //
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 | // IN THE SOFTWARE.
22 | //-----------------------------------------------------------------------------
23 |
24 | #pragma once
25 |
26 | #include "lunaservices.h"
27 |
28 | namespace luna2d{
29 |
30 | class LUNAAndroidServices : public LUNAServices
31 | {
32 | public:
33 | virtual void LoadServices();
34 | };
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/thirdparty/glm/detail/intrinsic_trigonometric.inl:
--------------------------------------------------------------------------------
1 | ///////////////////////////////////////////////////////////////////////////////////
2 | /// OpenGL Mathematics (glm.g-truc.net)
3 | ///
4 | /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
5 | /// Permission is hereby granted, free of charge, to any person obtaining a copy
6 | /// of this software and associated documentation files (the "Software"), to deal
7 | /// in the Software without restriction, including without limitation the rights
8 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | /// copies of the Software, and to permit persons to whom the Software is
10 | /// furnished to do so, subject to the following conditions:
11 | ///
12 | /// The above copyright notice and this permission notice shall be included in
13 | /// all copies or substantial portions of the Software.
14 | ///
15 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | /// THE SOFTWARE.
22 | ///
23 | /// @ref core
24 | /// @file glm/detail/intrinsic_trigonometric.inl
25 | /// @date 2011-06-15 / 2011-06-15
26 | /// @author Christophe Riccio
27 | ///////////////////////////////////////////////////////////////////////////////////
28 |
--------------------------------------------------------------------------------