├── .gitignore
├── 3rdPartyTools
├── BMFont
│ ├── bmfont.bmfc
│ ├── bmfont.com
│ ├── bmfont.exe
│ ├── doc
│ │ ├── command_line.html
│ │ ├── export_options.html
│ │ ├── export_options.png
│ │ ├── file_format.html
│ │ ├── font_settings.html
│ │ ├── font_settings.png
│ │ ├── known_issues.html
│ │ ├── measures.png
│ │ ├── pixel_shader.html
│ │ └── render_text.html
│ ├── documentation.html
│ ├── readme.txt
│ └── uninstall.exe
├── PVRTexToolCLI.exe
├── PVRTexToolCLI_64.exe
├── linux
│ ├── PVRTexToolCLI
│ └── PVRTexToolCLI_64
└── macosx
│ └── PVRTexToolCLI
├── Android.mk
├── CMakeLists.txt
├── Doxyfile
├── cmake
└── FindSDL2.cmake
├── doc
├── doc.zip
├── index.html
└── wiki.zip
├── examples
├── Demo
│ ├── build_atlasses.bat
│ ├── build_atlasses.sh
│ ├── build_atlasses_etc1.bat
│ ├── build_atlasses_etc2.bat
│ ├── build_atlasses_low.bat
│ ├── build_atlasses_pvrtc.bat
│ ├── build_atlasses_pvrtc.sh
│ ├── build_atlasses_pvrtc_high_quality.sh
│ ├── data
│ │ ├── etc
│ │ │ ├── buch-outdoor.png
│ │ │ ├── num_fnt_shdr.fnt
│ │ │ ├── num_fnt_shdr.png
│ │ │ └── orthogonal-outside.tmx
│ │ ├── images
│ │ │ ├── anim1.png
│ │ │ ├── batterfly.png
│ │ │ ├── bg.png
│ │ │ ├── blob.png
│ │ │ ├── box9.png
│ │ │ ├── box9a.png
│ │ │ ├── brush.png
│ │ │ ├── defnormal.png
│ │ │ ├── edges.png
│ │ │ ├── flower.png
│ │ │ ├── grad.png
│ │ │ ├── gray.png
│ │ │ ├── gray_alpha.png
│ │ │ ├── light.png
│ │ │ ├── map.png
│ │ │ ├── mask.png
│ │ │ ├── n0.png
│ │ │ ├── n1.png
│ │ │ ├── n2.png
│ │ │ ├── n3.png
│ │ │ ├── n4.png
│ │ │ ├── n5.png
│ │ │ ├── n6.png
│ │ │ ├── n7.png
│ │ │ ├── n8.png
│ │ │ ├── n9.png
│ │ │ ├── normal.png
│ │ │ ├── palette.png
│ │ │ ├── pl.png
│ │ │ ├── score_table.png
│ │ │ ├── sky.png
│ │ │ ├── slide.png
│ │ │ ├── snow.png
│ │ │ ├── t2p.png
│ │ │ ├── tiled.png
│ │ │ └── tiled2.png
│ │ ├── light_fs.glsl
│ │ ├── light_vs.glsl
│ │ ├── sdf
│ │ │ ├── font.fnt
│ │ │ └── font_0.png
│ │ └── xmls
│ │ │ └── res.xml
│ ├── proj.android
│ │ ├── AndroidManifest.xml
│ │ ├── build-run.bat
│ │ ├── build-run.sh
│ │ ├── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ ├── jni
│ │ │ ├── Android.mk
│ │ │ ├── Application.mk
│ │ │ └── src
│ │ │ │ └── Android.mk
│ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── layout
│ │ │ │ └── main.xml
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ ├── settings.gradle
│ │ └── src
│ │ │ └── org
│ │ │ └── oxygine
│ │ │ └── Demo
│ │ │ └── MainActivity.java
│ ├── proj.cmake
│ │ ├── CMakeLists.txt
│ │ ├── build_emsc.bat
│ │ ├── build_emsc_release.bat
│ │ └── run.sh
│ ├── proj.ios
│ │ ├── Demo
│ │ │ ├── Demo_ios-Info.plist
│ │ │ ├── Demo_ios-Prefix.pch
│ │ │ ├── Images.xcassets
│ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ ├── LaunchImage.launchimage
│ │ │ │ └── Contents.json
│ │ │ └── LaunchScreen.storyboard
│ │ └── demo_ios.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.macosx
│ │ ├── Demo
│ │ │ └── Demo_macosx-Prefix.pch
│ │ ├── Demo_macosx-Info.plist
│ │ ├── demo
│ │ │ └── Images.xcassets
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ └── demo_macosx.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.win32
│ │ ├── Demo.sln
│ │ ├── Demo.vcxproj
│ │ ├── Demo.vcxproj.filters
│ │ └── Demo.vcxproj.user
│ └── src
│ │ ├── Counter.cpp
│ │ ├── Counter.h
│ │ ├── TestAlphaHitTest.h
│ │ ├── TestBox9Sprite.h
│ │ ├── TestCamera.h
│ │ ├── TestClipRect.h
│ │ ├── TestColorFont.h
│ │ ├── TestCounter.h
│ │ ├── TestDrag.h
│ │ ├── TestEdges.h
│ │ ├── TestHttp.h
│ │ ├── TestInputText.h
│ │ ├── TestManageRes.h
│ │ ├── TestMask.h
│ │ ├── TestOpenGL.h
│ │ ├── TestPerf.h
│ │ ├── TestPolygon.h
│ │ ├── TestProgressBar.h
│ │ ├── TestRender2Texture.h
│ │ ├── TestSignedDistanceFont.h
│ │ ├── TestSliding.h
│ │ ├── TestTexel2Pixel.h
│ │ ├── TestText.h
│ │ ├── TestTextureFormat.h
│ │ ├── TestTiled.h
│ │ ├── TestTouches.h
│ │ ├── TestTweenPostProcessing.h
│ │ ├── TestTweenShine.h
│ │ ├── TestTweenText.h
│ │ ├── TestTweens.h
│ │ ├── TestUserShader.h
│ │ ├── example.cpp
│ │ ├── example.h
│ │ ├── main.cpp
│ │ ├── test.cpp
│ │ └── test.h
├── DemoBox2D
│ ├── box2d
│ │ ├── Box2D
│ │ │ ├── Box2D.h
│ │ │ ├── Collision
│ │ │ │ ├── Shapes
│ │ │ │ │ ├── b2ChainShape.cpp
│ │ │ │ │ ├── b2ChainShape.h
│ │ │ │ │ ├── b2CircleShape.cpp
│ │ │ │ │ ├── b2CircleShape.h
│ │ │ │ │ ├── b2EdgeShape.cpp
│ │ │ │ │ ├── b2EdgeShape.h
│ │ │ │ │ ├── b2PolygonShape.cpp
│ │ │ │ │ ├── b2PolygonShape.h
│ │ │ │ │ └── b2Shape.h
│ │ │ │ ├── b2BroadPhase.cpp
│ │ │ │ ├── b2BroadPhase.h
│ │ │ │ ├── b2CollideCircle.cpp
│ │ │ │ ├── b2CollideEdge.cpp
│ │ │ │ ├── b2CollidePolygon.cpp
│ │ │ │ ├── b2Collision.cpp
│ │ │ │ ├── b2Collision.h
│ │ │ │ ├── b2Distance.cpp
│ │ │ │ ├── b2Distance.h
│ │ │ │ ├── b2DynamicTree.cpp
│ │ │ │ ├── b2DynamicTree.h
│ │ │ │ ├── b2TimeOfImpact.cpp
│ │ │ │ └── b2TimeOfImpact.h
│ │ │ ├── Common
│ │ │ │ ├── b2BlockAllocator.cpp
│ │ │ │ ├── b2BlockAllocator.h
│ │ │ │ ├── b2Draw.cpp
│ │ │ │ ├── b2Draw.h
│ │ │ │ ├── b2GrowableStack.h
│ │ │ │ ├── b2Math.cpp
│ │ │ │ ├── b2Math.h
│ │ │ │ ├── b2Settings.cpp
│ │ │ │ ├── b2Settings.h
│ │ │ │ ├── b2StackAllocator.cpp
│ │ │ │ ├── b2StackAllocator.h
│ │ │ │ ├── b2Timer.cpp
│ │ │ │ └── b2Timer.h
│ │ │ ├── Dynamics
│ │ │ │ ├── Contacts
│ │ │ │ │ ├── b2ChainAndCircleContact.cpp
│ │ │ │ │ ├── b2ChainAndCircleContact.h
│ │ │ │ │ ├── b2ChainAndPolygonContact.cpp
│ │ │ │ │ ├── b2ChainAndPolygonContact.h
│ │ │ │ │ ├── b2CircleContact.cpp
│ │ │ │ │ ├── b2CircleContact.h
│ │ │ │ │ ├── b2Contact.cpp
│ │ │ │ │ ├── b2Contact.h
│ │ │ │ │ ├── b2ContactSolver.cpp
│ │ │ │ │ ├── b2ContactSolver.h
│ │ │ │ │ ├── b2EdgeAndCircleContact.cpp
│ │ │ │ │ ├── b2EdgeAndCircleContact.h
│ │ │ │ │ ├── b2EdgeAndPolygonContact.cpp
│ │ │ │ │ ├── b2EdgeAndPolygonContact.h
│ │ │ │ │ ├── b2PolygonAndCircleContact.cpp
│ │ │ │ │ ├── b2PolygonAndCircleContact.h
│ │ │ │ │ ├── b2PolygonContact.cpp
│ │ │ │ │ └── b2PolygonContact.h
│ │ │ │ ├── Joints
│ │ │ │ │ ├── b2DistanceJoint.cpp
│ │ │ │ │ ├── b2DistanceJoint.h
│ │ │ │ │ ├── b2FrictionJoint.cpp
│ │ │ │ │ ├── b2FrictionJoint.h
│ │ │ │ │ ├── b2GearJoint.cpp
│ │ │ │ │ ├── b2GearJoint.h
│ │ │ │ │ ├── b2Joint.cpp
│ │ │ │ │ ├── b2Joint.h
│ │ │ │ │ ├── b2MotorJoint.cpp
│ │ │ │ │ ├── b2MotorJoint.h
│ │ │ │ │ ├── b2MouseJoint.cpp
│ │ │ │ │ ├── b2MouseJoint.h
│ │ │ │ │ ├── b2PrismaticJoint.cpp
│ │ │ │ │ ├── b2PrismaticJoint.h
│ │ │ │ │ ├── b2PulleyJoint.cpp
│ │ │ │ │ ├── b2PulleyJoint.h
│ │ │ │ │ ├── b2RevoluteJoint.cpp
│ │ │ │ │ ├── b2RevoluteJoint.h
│ │ │ │ │ ├── b2RopeJoint.cpp
│ │ │ │ │ ├── b2RopeJoint.h
│ │ │ │ │ ├── b2WeldJoint.cpp
│ │ │ │ │ ├── b2WeldJoint.h
│ │ │ │ │ ├── b2WheelJoint.cpp
│ │ │ │ │ └── b2WheelJoint.h
│ │ │ │ ├── b2Body.cpp
│ │ │ │ ├── b2Body.h
│ │ │ │ ├── b2ContactManager.cpp
│ │ │ │ ├── b2ContactManager.h
│ │ │ │ ├── b2Fixture.cpp
│ │ │ │ ├── b2Fixture.h
│ │ │ │ ├── b2Island.cpp
│ │ │ │ ├── b2Island.h
│ │ │ │ ├── b2TimeStep.h
│ │ │ │ ├── b2World.cpp
│ │ │ │ ├── b2World.h
│ │ │ │ ├── b2WorldCallbacks.cpp
│ │ │ │ └── b2WorldCallbacks.h
│ │ │ └── Rope
│ │ │ │ ├── b2Rope.cpp
│ │ │ │ └── b2Rope.h
│ │ ├── box2d.mkf
│ │ └── box2d_library.mkf
│ ├── data
│ │ ├── fonts
│ │ │ ├── main.fnt
│ │ │ └── main_0.png
│ │ ├── images
│ │ │ ├── anim1.png
│ │ │ ├── button.png
│ │ │ ├── circle.png
│ │ │ ├── pen.png
│ │ │ └── shot.png
│ │ └── res.xml
│ ├── proj.android
│ │ ├── AndroidManifest.xml
│ │ ├── build-run.bat
│ │ ├── build-run.sh
│ │ ├── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ ├── jni
│ │ │ ├── Android.mk
│ │ │ ├── Application.mk
│ │ │ └── src
│ │ │ │ └── Android.mk
│ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── layout
│ │ │ │ └── main.xml
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ ├── settings.gradle
│ │ └── src
│ │ │ └── org
│ │ │ └── oxygine
│ │ │ └── DemoBox2D
│ │ │ └── MainActivity.java
│ ├── proj.cmake
│ │ ├── CMakeLists.txt
│ │ ├── build_emsc.bat
│ │ ├── build_emsc_release.bat
│ │ └── run.sh
│ ├── proj.ios
│ │ ├── DemoBox2D
│ │ │ ├── DemoBox2D_ios-Info.plist
│ │ │ ├── DemoBox2D_ios-Prefix.pch
│ │ │ ├── Images.xcassets
│ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ ├── LaunchImage.launchimage
│ │ │ │ └── Contents.json
│ │ │ └── LaunchScreen.storyboard
│ │ └── DemoBox2D_ios.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.macosx
│ │ ├── DemoBox2D
│ │ │ ├── DemoBox2D_macosx-Prefix.pch
│ │ │ └── Images.xcassets
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── DemoBox2D_macosx-Info.plist
│ │ └── DemoBox2D_macosx.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.win32
│ │ ├── DemoBox2D.sln
│ │ ├── DemoBox2D.vcxproj
│ │ ├── DemoBox2D.vcxproj.filters
│ │ └── DemoBox2D.vcxproj.user
│ └── src
│ │ ├── Box2DDebugDraw.cpp
│ │ ├── Box2DDebugDraw.h
│ │ ├── example.cpp
│ │ ├── example.h
│ │ └── main.cpp
├── Game
│ ├── part1
│ │ ├── data
│ │ │ ├── images
│ │ │ │ ├── finger.png
│ │ │ │ ├── joystick.png
│ │ │ │ ├── ship.png
│ │ │ │ ├── shipengine.png
│ │ │ │ └── sky.jpg
│ │ │ └── xmls
│ │ │ │ └── ui.xml
│ │ ├── proj.android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build-run.bat
│ │ │ ├── build-run.sh
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ ├── jni
│ │ │ │ ├── Android.mk
│ │ │ │ ├── Application.mk
│ │ │ │ └── src
│ │ │ │ │ └── Android.mk
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── GamePart1
│ │ │ │ └── MainActivity.java
│ │ ├── proj.cmake
│ │ │ ├── CMakeLists.txt
│ │ │ ├── build_emsc.bat
│ │ │ ├── build_emsc_release.bat
│ │ │ └── run.sh
│ │ ├── proj.ios
│ │ │ ├── GamePart1
│ │ │ │ ├── GamePart1_ios-Info.plist
│ │ │ │ ├── GamePart1_ios-Prefix.pch
│ │ │ │ ├── Images.xcassets
│ │ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ │ └── Contents.json
│ │ │ │ ├── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchScreen.storyboard
│ │ │ └── GamePart1_ios.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.macosx
│ │ │ ├── GamePart1
│ │ │ │ ├── GamePart1_macosx-Prefix.pch
│ │ │ │ └── Images.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── GamePart1_macosx-Info.plist
│ │ │ └── GamePart1_macosx.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.win32
│ │ │ ├── GamePart1.sln
│ │ │ ├── GamePart1.vcxproj
│ │ │ ├── GamePart1.vcxproj.filters
│ │ │ └── GamePart1.vcxproj.user
│ │ └── src
│ │ │ ├── Game.cpp
│ │ │ ├── Game.h
│ │ │ ├── Joystick.cpp
│ │ │ ├── Joystick.h
│ │ │ ├── Player.cpp
│ │ │ ├── Player.h
│ │ │ ├── Unit.cpp
│ │ │ ├── Unit.h
│ │ │ ├── example.cpp
│ │ │ ├── example.h
│ │ │ ├── main.cpp
│ │ │ ├── res.cpp
│ │ │ └── res.h
│ ├── part2
│ │ ├── data
│ │ │ ├── images
│ │ │ │ ├── asteroid.png
│ │ │ │ ├── explosion.png
│ │ │ │ ├── finger.png
│ │ │ │ ├── joystick.png
│ │ │ │ ├── rocket.png
│ │ │ │ ├── ship.png
│ │ │ │ ├── shipengine.png
│ │ │ │ └── sky.jpg
│ │ │ └── xmls
│ │ │ │ └── ui.xml
│ │ ├── proj.android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build-run.bat
│ │ │ ├── build-run.sh
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ ├── jni
│ │ │ │ ├── Android.mk
│ │ │ │ ├── Application.mk
│ │ │ │ └── src
│ │ │ │ │ └── Android.mk
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── GamePart2
│ │ │ │ └── MainActivity.java
│ │ ├── proj.cmake
│ │ │ ├── CMakeLists.txt
│ │ │ ├── build_emsc.bat
│ │ │ ├── build_emsc_release.bat
│ │ │ └── run.sh
│ │ ├── proj.ios
│ │ │ ├── GamePart2
│ │ │ │ ├── GamePart2_ios-Info.plist
│ │ │ │ ├── GamePart2_ios-Prefix.pch
│ │ │ │ ├── Images.xcassets
│ │ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ │ └── Contents.json
│ │ │ │ ├── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchScreen.storyboard
│ │ │ └── GamePart2_ios.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.macosx
│ │ │ ├── GamePart2
│ │ │ │ ├── GamePart2_macosx-Prefix.pch
│ │ │ │ └── Images.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── GamePart2_macosx-Info.plist
│ │ │ └── GamePart2_macosx.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.win32
│ │ │ ├── GamePart2.sln
│ │ │ ├── GamePart2.vcxproj
│ │ │ ├── GamePart2.vcxproj.filters
│ │ │ └── GamePart2.vcxproj.user
│ │ └── src
│ │ │ ├── Enemy.cpp
│ │ │ ├── Enemy.h
│ │ │ ├── Game.cpp
│ │ │ ├── Game.h
│ │ │ ├── Joystick.cpp
│ │ │ ├── Joystick.h
│ │ │ ├── Player.cpp
│ │ │ ├── Player.h
│ │ │ ├── Rocket.cpp
│ │ │ ├── Rocket.h
│ │ │ ├── Unit.cpp
│ │ │ ├── Unit.h
│ │ │ ├── example.cpp
│ │ │ ├── example.h
│ │ │ ├── main.cpp
│ │ │ ├── res.cpp
│ │ │ └── res.h
│ ├── part3
│ │ ├── data
│ │ │ ├── images
│ │ │ │ ├── asteroid.png
│ │ │ │ ├── explosion.png
│ │ │ │ ├── rocket.png
│ │ │ │ ├── ship.png
│ │ │ │ ├── shipengine.png
│ │ │ │ ├── sky.jpg
│ │ │ │ └── ui
│ │ │ │ │ ├── bg.jpg
│ │ │ │ │ ├── finger.png
│ │ │ │ │ ├── joystick.png
│ │ │ │ │ ├── logo2.png
│ │ │ │ │ ├── menu.png
│ │ │ │ │ └── play.png
│ │ │ └── xmls
│ │ │ │ └── ui.xml
│ │ ├── proj.android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build-run.bat
│ │ │ ├── build-run.sh
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ ├── jni
│ │ │ │ ├── Android.mk
│ │ │ │ ├── Application.mk
│ │ │ │ └── src
│ │ │ │ │ └── Android.mk
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── GamePart3
│ │ │ │ └── MainActivity.java
│ │ ├── proj.cmake
│ │ │ ├── CMakeLists.txt
│ │ │ ├── build_emsc.bat
│ │ │ ├── build_emsc_release.bat
│ │ │ └── run.sh
│ │ ├── proj.ios
│ │ │ ├── GamePart3
│ │ │ │ ├── GamePart3_ios-Info.plist
│ │ │ │ ├── GamePart3_ios-Prefix.pch
│ │ │ │ ├── Images.xcassets
│ │ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ │ └── Contents.json
│ │ │ │ ├── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchScreen.storyboard
│ │ │ └── GamePart3_ios.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.macosx
│ │ │ ├── GamePart3
│ │ │ │ ├── GamePart3_macosx-Prefix.pch
│ │ │ │ └── Images.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── GamePart3_macosx-Info.plist
│ │ │ └── GamePart3_macosx.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.win32
│ │ │ ├── GamePart3.sln
│ │ │ ├── GamePart3.vcxproj
│ │ │ ├── GamePart3.vcxproj.filters
│ │ │ └── GamePart3.vcxproj.user
│ │ └── src
│ │ │ ├── Enemy.cpp
│ │ │ ├── Enemy.h
│ │ │ ├── Game.cpp
│ │ │ ├── Game.h
│ │ │ ├── GameScene.cpp
│ │ │ ├── GameScene.h
│ │ │ ├── Joystick.cpp
│ │ │ ├── Joystick.h
│ │ │ ├── MainMenuScene.cpp
│ │ │ ├── MainMenuScene.h
│ │ │ ├── MyButton.cpp
│ │ │ ├── MyButton.h
│ │ │ ├── Player.cpp
│ │ │ ├── Player.h
│ │ │ ├── Rocket.cpp
│ │ │ ├── Rocket.h
│ │ │ ├── Scene.cpp
│ │ │ ├── Scene.h
│ │ │ ├── Unit.cpp
│ │ │ ├── Unit.h
│ │ │ ├── example.cpp
│ │ │ ├── example.h
│ │ │ ├── main.cpp
│ │ │ ├── res.cpp
│ │ │ └── res.h
│ ├── part4
│ │ ├── data
│ │ │ ├── fonts
│ │ │ │ ├── huge.fnt
│ │ │ │ ├── huge_0.png
│ │ │ │ ├── normal.fnt
│ │ │ │ └── normal_0.png
│ │ │ ├── images
│ │ │ │ ├── asteroid.png
│ │ │ │ ├── explosion.png
│ │ │ │ ├── rocket.png
│ │ │ │ ├── ship.png
│ │ │ │ ├── shipengine.png
│ │ │ │ ├── sky.jpg
│ │ │ │ └── ui
│ │ │ │ │ ├── bg.jpg
│ │ │ │ │ ├── box9.png
│ │ │ │ │ ├── buttons.png
│ │ │ │ │ ├── finger.png
│ │ │ │ │ ├── joystick.png
│ │ │ │ │ ├── logo2.png
│ │ │ │ │ ├── menu.png
│ │ │ │ │ └── play.png
│ │ │ └── xmls
│ │ │ │ └── ui.xml
│ │ ├── proj.android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build-run.bat
│ │ │ ├── build-run.sh
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ ├── jni
│ │ │ │ ├── Android.mk
│ │ │ │ ├── Application.mk
│ │ │ │ └── src
│ │ │ │ │ └── Android.mk
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── GamePart4
│ │ │ │ └── MainActivity.java
│ │ ├── proj.cmake
│ │ │ ├── CMakeLists.txt
│ │ │ ├── build_emsc.bat
│ │ │ ├── build_emsc_release.bat
│ │ │ └── run.sh
│ │ ├── proj.ios
│ │ │ ├── GamePart4
│ │ │ │ ├── GamePart4_ios-Info.plist
│ │ │ │ ├── GamePart4_ios-Prefix.pch
│ │ │ │ ├── Images.xcassets
│ │ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ │ └── Contents.json
│ │ │ │ ├── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchScreen.storyboard
│ │ │ └── GamePart4_ios.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.macosx
│ │ │ ├── GamePart4
│ │ │ │ ├── GamePart4_macosx-Prefix.pch
│ │ │ │ └── Images.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── GamePart4_macosx-Info.plist
│ │ │ └── GamePart4_macosx.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.win32
│ │ │ ├── GamePart4.sln
│ │ │ ├── GamePart4.vcxproj
│ │ │ ├── GamePart4.vcxproj.filters
│ │ │ └── GamePart4.vcxproj.user
│ │ └── src
│ │ │ ├── Enemy.cpp
│ │ │ ├── Enemy.h
│ │ │ ├── Game.cpp
│ │ │ ├── Game.h
│ │ │ ├── GameMenu.cpp
│ │ │ ├── GameMenu.h
│ │ │ ├── GameScene.cpp
│ │ │ ├── GameScene.h
│ │ │ ├── Joystick.cpp
│ │ │ ├── Joystick.h
│ │ │ ├── MainMenuScene.cpp
│ │ │ ├── MainMenuScene.h
│ │ │ ├── MyButton.cpp
│ │ │ ├── MyButton.h
│ │ │ ├── Player.cpp
│ │ │ ├── Player.h
│ │ │ ├── Rocket.cpp
│ │ │ ├── Rocket.h
│ │ │ ├── Scene.cpp
│ │ │ ├── Scene.h
│ │ │ ├── Unit.cpp
│ │ │ ├── Unit.h
│ │ │ ├── example.cpp
│ │ │ ├── example.h
│ │ │ ├── main.cpp
│ │ │ ├── res.cpp
│ │ │ └── res.h
│ ├── part5
│ │ ├── data
│ │ │ ├── fonts
│ │ │ │ ├── huge.fnt
│ │ │ │ ├── huge_0.png
│ │ │ │ ├── normal.fnt
│ │ │ │ └── normal_0.png
│ │ │ ├── ui.xml.ox
│ │ │ │ ├── atlas
│ │ │ │ │ ├── 1_0.png
│ │ │ │ │ └── 2_0.png
│ │ │ │ └── meta.xml
│ │ │ └── xmls
│ │ │ │ └── ui.xml
│ │ ├── gen-atlasses-android(ETC1).bat
│ │ ├── gen-atlasses-android(ETC1).sh
│ │ ├── gen-atlasses-ios(PVRTC).bat
│ │ ├── gen-atlasses-ios(PVRTC).sh
│ │ ├── gen-atlasses-low-definition.bat
│ │ ├── gen-atlasses-low-definition.sh
│ │ ├── gen-atlasses.bat
│ │ ├── gen-atlasses.sh
│ │ ├── images
│ │ │ ├── asteroid.png
│ │ │ ├── explosion.png
│ │ │ ├── rocket.png
│ │ │ ├── ship.png
│ │ │ ├── shipengine.png
│ │ │ ├── sky.jpg
│ │ │ └── ui
│ │ │ │ ├── bg.jpg
│ │ │ │ ├── box9.png
│ │ │ │ ├── buttons.png
│ │ │ │ ├── finger.png
│ │ │ │ ├── joystick.png
│ │ │ │ ├── logo2.png
│ │ │ │ ├── menu.png
│ │ │ │ └── play.png
│ │ ├── proj.android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build-run.bat
│ │ │ ├── build-run.sh
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ ├── jni
│ │ │ │ ├── Android.mk
│ │ │ │ ├── Application.mk
│ │ │ │ └── src
│ │ │ │ │ └── Android.mk
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── GamePart5
│ │ │ │ └── MainActivity.java
│ │ ├── proj.cmake
│ │ │ ├── CMakeLists.txt
│ │ │ ├── build_emsc.bat
│ │ │ ├── build_emsc_release.bat
│ │ │ └── run.sh
│ │ ├── proj.ios
│ │ │ ├── GamePart5
│ │ │ │ ├── GamePart5_ios-Info.plist
│ │ │ │ ├── GamePart5_ios-Prefix.pch
│ │ │ │ ├── Images.xcassets
│ │ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ │ └── Contents.json
│ │ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ │ └── Contents.json
│ │ │ │ ├── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchScreen.storyboard
│ │ │ └── GamePart5_ios.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.macosx
│ │ │ ├── GamePart5
│ │ │ │ ├── GamePart5_macosx-Prefix.pch
│ │ │ │ └── Images.xcassets
│ │ │ │ │ └── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ ├── GamePart5_macosx-Info.plist
│ │ │ └── GamePart5_macosx.xcodeproj
│ │ │ │ └── project.pbxproj
│ │ ├── proj.win32
│ │ │ ├── GamePart5.sln
│ │ │ ├── GamePart5.vcxproj
│ │ │ ├── GamePart5.vcxproj.filters
│ │ │ └── GamePart5.vcxproj.user
│ │ └── src
│ │ │ ├── Enemy.cpp
│ │ │ ├── Enemy.h
│ │ │ ├── Game.cpp
│ │ │ ├── Game.h
│ │ │ ├── GameMenu.cpp
│ │ │ ├── GameMenu.h
│ │ │ ├── GameScene.cpp
│ │ │ ├── GameScene.h
│ │ │ ├── Joystick.cpp
│ │ │ ├── Joystick.h
│ │ │ ├── MainMenuScene.cpp
│ │ │ ├── MainMenuScene.h
│ │ │ ├── MyButton.cpp
│ │ │ ├── MyButton.h
│ │ │ ├── Player.cpp
│ │ │ ├── Player.h
│ │ │ ├── Rocket.cpp
│ │ │ ├── Rocket.h
│ │ │ ├── Scene.cpp
│ │ │ ├── Scene.h
│ │ │ ├── Unit.cpp
│ │ │ ├── Unit.h
│ │ │ ├── example.cpp
│ │ │ ├── example.h
│ │ │ ├── main.cpp
│ │ │ ├── res.cpp
│ │ │ └── res.h
│ └── readme.txt
├── HelloWorld
│ ├── data
│ │ ├── fonts
│ │ │ ├── main.fnt
│ │ │ └── main_0.png
│ │ ├── images
│ │ │ ├── anim.png
│ │ │ └── button.png
│ │ └── res.xml
│ ├── proj.android
│ │ ├── AndroidManifest.xml
│ │ ├── build-run.bat
│ │ ├── build-run.sh
│ │ ├── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ ├── jni
│ │ │ ├── Android.mk
│ │ │ ├── Application.mk
│ │ │ └── src
│ │ │ │ └── Android.mk
│ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── layout
│ │ │ │ └── main.xml
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ ├── settings.gradle
│ │ └── src
│ │ │ └── org
│ │ │ └── oxygine
│ │ │ └── HelloWorld
│ │ │ └── MainActivity.java
│ ├── proj.cmake
│ │ ├── CMakeLists.txt
│ │ ├── build_emsc.bat
│ │ ├── build_emsc_release.bat
│ │ └── run.sh
│ ├── proj.ios
│ │ ├── HelloWorld
│ │ │ ├── HelloWorld_ios-Info.plist
│ │ │ ├── HelloWorld_ios-Prefix.pch
│ │ │ ├── Images.xcassets
│ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ │ └── LaunchImage.launchimage
│ │ │ │ │ └── Contents.json
│ │ │ ├── LaunchImage.launchimage
│ │ │ │ └── Contents.json
│ │ │ └── LaunchScreen.storyboard
│ │ └── HelloWorld_ios.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.macosx
│ │ ├── HelloWorld
│ │ │ ├── HelloWorld_macosx-Prefix.pch
│ │ │ └── Images.xcassets
│ │ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── HelloWorld_macosx-Info.plist
│ │ └── HelloWorld_macosx.xcodeproj
│ │ │ └── project.pbxproj
│ ├── proj.win32
│ │ ├── HelloWorld.sln
│ │ ├── HelloWorld.vcxproj
│ │ ├── HelloWorld.vcxproj.filters
│ │ └── HelloWorld.vcxproj.user
│ └── src
│ │ ├── example.cpp
│ │ ├── example.h
│ │ └── main.cpp
└── Match3
│ ├── data
│ ├── fonts
│ │ ├── main.fnt
│ │ └── main_0.png
│ ├── images
│ │ ├── bg.png
│ │ └── jewels
│ │ │ ├── air.png
│ │ │ ├── coin.png
│ │ │ ├── earth.png
│ │ │ ├── fire.png
│ │ │ ├── skull.png
│ │ │ └── water.png
│ └── resources.xml
│ ├── proj.android
│ ├── AndroidManifest.xml
│ ├── build-run.bat
│ ├── build-run.sh
│ ├── build.gradle
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── jni
│ │ ├── Android.mk
│ │ ├── Application.mk
│ │ └── src
│ │ │ └── Android.mk
│ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ │ └── ic_launcher.png
│ │ ├── layout
│ │ │ └── main.xml
│ │ └── values
│ │ │ └── strings.xml
│ ├── settings.gradle
│ └── src
│ │ └── org
│ │ └── oxygine
│ │ └── Match3
│ │ └── MainActivity.java
│ ├── proj.cmake
│ ├── CMakeLists.txt
│ ├── build_emsc.bat
│ ├── build_emsc_release.bat
│ └── run.sh
│ ├── proj.ios
│ ├── Match3
│ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ │ └── LaunchImage.launchimage
│ │ │ │ └── Contents.json
│ │ ├── LaunchImage.launchimage
│ │ │ └── Contents.json
│ │ ├── LaunchScreen.storyboard
│ │ ├── Match3_ios-Info.plist
│ │ └── Match3_ios-Prefix.pch
│ └── Match3_ios.xcodeproj
│ │ └── project.pbxproj
│ ├── proj.macosx
│ ├── Match3
│ │ ├── Images.xcassets
│ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ └── Match3_macosx-Prefix.pch
│ ├── Match3_macosx-Info.plist
│ └── Match3_macosx.xcodeproj
│ │ └── project.pbxproj
│ ├── proj.win32
│ ├── Match3.sln
│ ├── Match3.vcxproj
│ ├── Match3.vcxproj.filters
│ └── Match3.vcxproj.user
│ └── src
│ ├── Board.cpp
│ ├── Board.h
│ ├── Jewel.cpp
│ ├── Jewel.h
│ ├── example.cpp
│ ├── example.h
│ ├── main.cpp
│ ├── shared.cpp
│ └── shared.h
├── libs
├── .empty
├── SDL2.dll
├── SDL2.lib
└── SDL2main.lib
├── license.txt
├── oxygine
├── SDL
│ ├── android
│ │ ├── extension
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ant.properties
│ │ │ ├── build.gradle
│ │ │ ├── build.xml
│ │ │ ├── extension.iml
│ │ │ ├── proguard-project.txt
│ │ │ ├── project.properties
│ │ │ ├── res
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── oxygine
│ │ │ │ └── lib
│ │ │ │ └── extension
│ │ │ │ ├── ActivityObservable.java
│ │ │ │ └── ActivityObserver.java
│ │ └── lib
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ant.properties
│ │ │ ├── build.gradle
│ │ │ ├── build.xml
│ │ │ ├── genNative.bat
│ │ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew.bat
│ │ │ ├── javapp.bat
│ │ │ ├── lib.iml
│ │ │ ├── proguard-project.txt
│ │ │ ├── project.properties
│ │ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-ldpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── layout
│ │ │ │ └── main.xml
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ │ ├── settings.gradle
│ │ │ └── src
│ │ │ └── org
│ │ │ ├── libsdl
│ │ │ └── app
│ │ │ │ ├── .empty
│ │ │ │ ├── HIDDevice.java
│ │ │ │ ├── HIDDeviceBLESteamController.java
│ │ │ │ ├── HIDDeviceManager.java
│ │ │ │ ├── HIDDeviceUSB.java
│ │ │ │ ├── SDL.java
│ │ │ │ ├── SDLActivity.java
│ │ │ │ ├── SDLAudioManager.java
│ │ │ │ └── SDLControllerManager.java
│ │ │ └── oxygine
│ │ │ └── lib
│ │ │ ├── HttpRequests.java
│ │ │ ├── OxygineActivity.java
│ │ │ └── Utils.java
│ ├── ios
│ │ └── oxygine
│ │ │ └── oxygine_ios.xcodeproj
│ │ │ ├── project.pbxproj
│ │ │ └── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ ├── ios_mac
│ │ └── oxygine
│ │ │ └── oxygine_ios_mac.xcodeproj
│ │ │ ├── project.pbxproj
│ │ │ └── project.xcworkspace
│ │ │ └── xcshareddata
│ │ │ └── WorkspaceSettings.xcsettings
│ ├── macosx
│ │ └── oxygine_macosx
│ │ │ └── oxygine_macosx.xcodeproj
│ │ │ ├── project.pbxproj
│ │ │ └── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ ├── qt
│ │ └── oxygine-framework
│ │ │ └── oxygine-framework.pro
│ └── win32
│ │ ├── oxygine.vcxproj
│ │ └── oxygine.vcxproj.filters
├── colors.png
├── src
│ ├── ox
│ │ ├── Actor.hpp
│ │ ├── AffineTransform.hpp
│ │ ├── AnimationFrame.hpp
│ │ ├── AsyncTask.hpp
│ │ ├── AtlasBuilder.hpp
│ │ ├── Box9Sprite.hpp
│ │ ├── Button.hpp
│ │ ├── ClipRectActor.hpp
│ │ ├── Clock.hpp
│ │ ├── Color.hpp
│ │ ├── ColorRectSprite.hpp
│ │ ├── CreateResourceContext.hpp
│ │ ├── DebugActor.hpp
│ │ ├── Draggable.hpp
│ │ ├── Event.hpp
│ │ ├── EventDispatcher.hpp
│ │ ├── FileSystem.hpp
│ │ ├── Font.hpp
│ │ ├── HttpRequestTask.hpp
│ │ ├── Image.hpp
│ │ ├── ImageData.hpp
│ │ ├── ImageDataOperations.hpp
│ │ ├── ImageUtils.hpp
│ │ ├── Input.hpp
│ │ ├── InputText.hpp
│ │ ├── KeyEvent.hpp
│ │ ├── MaskedRenderer.hpp
│ │ ├── MaskedSprite.hpp
│ │ ├── Material.hpp
│ │ ├── MaterialCache.hpp
│ │ ├── Matrix.hpp
│ │ ├── Mem2Native.hpp
│ │ ├── MemoryTexture.hpp
│ │ ├── Mutex.hpp
│ │ ├── NativeTexture.hpp
│ │ ├── OBBox.hpp
│ │ ├── Object.hpp
│ │ ├── PointerState.hpp
│ │ ├── Polygon.hpp
│ │ ├── PostProcess.hpp
│ │ ├── ProgressBar.hpp
│ │ ├── Property.hpp
│ │ ├── Rect.hpp
│ │ ├── RenderDelegate.hpp
│ │ ├── RenderState.hpp
│ │ ├── Renderer.hpp
│ │ ├── ResAnim.hpp
│ │ ├── ResAtlas.hpp
│ │ ├── ResAtlasGeneric.hpp
│ │ ├── ResAtlasPrebuilt.hpp
│ │ ├── ResBuffer.hpp
│ │ ├── ResFont.hpp
│ │ ├── ResFontBM.hpp
│ │ ├── ResStarlingAtlas.hpp
│ │ ├── Resource.hpp
│ │ ├── Resources.hpp
│ │ ├── Restorable.hpp
│ │ ├── STDFileSystem.hpp
│ │ ├── STDRenderDelegate.hpp
│ │ ├── STDRenderer.hpp
│ │ ├── ScalarMath.hpp
│ │ ├── Serializable.hpp
│ │ ├── Serialize.hpp
│ │ ├── ShaderProgram.hpp
│ │ ├── SingleResAnim.hpp
│ │ ├── SlidingActor.hpp
│ │ ├── Sprite.hpp
│ │ ├── Stage.hpp
│ │ ├── TextField.hpp
│ │ ├── TextStyle.hpp
│ │ ├── Texture.hpp
│ │ ├── ThreadDispatcher.hpp
│ │ ├── ThreadLoader.hpp
│ │ ├── ThreadMessages.hpp
│ │ ├── TouchEvent.hpp
│ │ ├── Tween.hpp
│ │ ├── TweenAlphaFade.hpp
│ │ ├── TweenAnim.hpp
│ │ ├── TweenGlow.hpp
│ │ ├── TweenOutline.hpp
│ │ ├── TweenQueue.hpp
│ │ ├── UberShaderProgram.hpp
│ │ ├── UpdateState.hpp
│ │ ├── Vector2.hpp
│ │ ├── Vector3.hpp
│ │ ├── Vector4.hpp
│ │ ├── VertexDeclaration.hpp
│ │ ├── VideoDriver.hpp
│ │ ├── VisualStyle.hpp
│ │ ├── WebImage.hpp
│ │ ├── ZipFileSystem.hpp
│ │ ├── file.hpp
│ │ ├── initActor.hpp
│ │ ├── intrusive_list.hpp
│ │ ├── intrusive_ptr.hpp
│ │ ├── json.hpp
│ │ ├── key.hpp
│ │ ├── log.hpp
│ │ ├── ox_debug.hpp
│ │ ├── oxygine-framework.hpp
│ │ ├── oxygine.hpp
│ │ ├── oxygine_include.hpp
│ │ ├── pixel.hpp
│ │ ├── pugixml.hpp
│ │ ├── ref_counter.hpp
│ │ ├── stringUtils.hpp
│ │ └── vertex.hpp
│ ├── oxygine-framework.h
│ ├── oxygine-include.h
│ └── oxygine
│ │ ├── AnimationFrame.cpp
│ │ ├── AnimationFrame.h
│ │ ├── AsyncTask.cpp
│ │ ├── AsyncTask.h
│ │ ├── Clock.cpp
│ │ ├── Clock.h
│ │ ├── Draggable.cpp
│ │ ├── Draggable.h
│ │ ├── Event.h
│ │ ├── EventDispatcher.cpp
│ │ ├── EventDispatcher.h
│ │ ├── Font.cpp
│ │ ├── Font.h
│ │ ├── HttpRequestTask.cpp
│ │ ├── HttpRequestTask.h
│ │ ├── Image.cpp
│ │ ├── Image.h
│ │ ├── Input.cpp
│ │ ├── Input.h
│ │ ├── InputText.cpp
│ │ ├── InputText.h
│ │ ├── KeyEvent.h
│ │ ├── MaskedRenderer.cpp
│ │ ├── MaskedRenderer.h
│ │ ├── Material.cpp
│ │ ├── Material.h
│ │ ├── MaterialCache.cpp
│ │ ├── MaterialCache.h
│ │ ├── PointerState.cpp
│ │ ├── PointerState.h
│ │ ├── PostProcess.cpp
│ │ ├── PostProcess.h
│ │ ├── Property.h
│ │ ├── RenderDelegate.cpp
│ │ ├── RenderDelegate.h
│ │ ├── RenderState.h
│ │ ├── STDRenderDelegate.cpp
│ │ ├── STDRenderDelegate.h
│ │ ├── STDRenderer.cpp
│ │ ├── STDRenderer.h
│ │ ├── Serializable.cpp
│ │ ├── Serializable.h
│ │ ├── Serialize.cpp
│ │ ├── Serialize.h
│ │ ├── TextStyle.h
│ │ ├── ThreadLoader.cpp
│ │ ├── ThreadLoader.h
│ │ ├── TouchEvent.h
│ │ ├── UpdateState.h
│ │ ├── VisualStyle.cpp
│ │ ├── VisualStyle.h
│ │ ├── actor
│ │ ├── Actor.cpp
│ │ ├── Actor.h
│ │ ├── Box9Sprite.cpp
│ │ ├── Box9Sprite.h
│ │ ├── Button.cpp
│ │ ├── Button.h
│ │ ├── ClipRectActor.cpp
│ │ ├── ClipRectActor.h
│ │ ├── ColorRectSprite.cpp
│ │ ├── ColorRectSprite.h
│ │ ├── DebugActor.cpp
│ │ ├── DebugActor.h
│ │ ├── MaskedSprite.cpp
│ │ ├── MaskedSprite.h
│ │ ├── Polygon.cpp
│ │ ├── Polygon.h
│ │ ├── ProgressBar.cpp
│ │ ├── ProgressBar.h
│ │ ├── SlidingActor.cpp
│ │ ├── SlidingActor.h
│ │ ├── Sprite.cpp
│ │ ├── Sprite.h
│ │ ├── Stage.cpp
│ │ ├── Stage.h
│ │ ├── TextField.cpp
│ │ ├── TextField.h
│ │ ├── WebImage.cpp
│ │ └── WebImage.h
│ │ ├── closure
│ │ ├── closure.h
│ │ └── closure_impl.h
│ │ ├── core
│ │ ├── FileSystem.cpp
│ │ ├── FileSystem.h
│ │ ├── ImageData.cpp
│ │ ├── ImageData.h
│ │ ├── ImageDataOperations.cpp
│ │ ├── ImageDataOperations.h
│ │ ├── Mutex.cpp
│ │ ├── Mutex.h
│ │ ├── NativeTexture.cpp
│ │ ├── NativeTexture.h
│ │ ├── Object.cpp
│ │ ├── Object.h
│ │ ├── Renderer.cpp
│ │ ├── Renderer.h
│ │ ├── Restorable.cpp
│ │ ├── Restorable.h
│ │ ├── STDFileSystem.cpp
│ │ ├── STDFileSystem.h
│ │ ├── ShaderProgram.h
│ │ ├── Texture.cpp
│ │ ├── Texture.h
│ │ ├── ThreadDispatcher.cpp
│ │ ├── ThreadDispatcher.h
│ │ ├── ThreadMessages.h
│ │ ├── UberShaderProgram.cpp
│ │ ├── UberShaderProgram.h
│ │ ├── VertexDeclaration.h
│ │ ├── VideoDriver.cpp
│ │ ├── VideoDriver.h
│ │ ├── ZipFileSystem.cpp
│ │ ├── ZipFileSystem.h
│ │ ├── Zips.cpp
│ │ ├── Zips.h
│ │ ├── android
│ │ │ ├── HttpRequestJavaTask.cpp
│ │ │ ├── HttpRequestJavaTask.h
│ │ │ ├── jniHelper.cpp
│ │ │ ├── jniHelper.h
│ │ │ ├── jniUtils.cpp
│ │ │ └── jniUtils.h
│ │ ├── curl
│ │ │ ├── HttpRequestCurlTask.cpp
│ │ │ └── HttpRequestCurlTask.h
│ │ ├── emscripten
│ │ │ ├── HttpRequestEmscriptenTask.cpp
│ │ │ ├── HttpRequestEmscriptenTask.h
│ │ │ ├── emsc.cpp
│ │ │ ├── emsc.h
│ │ │ └── main.js
│ │ ├── file.cpp
│ │ ├── file.h
│ │ ├── gl
│ │ │ ├── NativeTextureGLES.cpp
│ │ │ ├── NativeTextureGLES.h
│ │ │ ├── ShaderProgramGL.cpp
│ │ │ ├── ShaderProgramGL.h
│ │ │ ├── VertexDeclarationGL.cpp
│ │ │ ├── VertexDeclarationGL.h
│ │ │ ├── VideoDriverGL.cpp
│ │ │ ├── VideoDriverGL.h
│ │ │ ├── VideoDriverGLES20.cpp
│ │ │ ├── VideoDriverGLES20.h
│ │ │ ├── oxgl.cpp
│ │ │ └── oxgl.h
│ │ ├── intrusive_ptr.h
│ │ ├── ios
│ │ │ ├── HttpRequestCocoaTask.h
│ │ │ ├── HttpRequestCocoaTask.mm
│ │ │ ├── ios.h
│ │ │ └── ios.mm
│ │ ├── log.cpp
│ │ ├── log.h
│ │ ├── ox_debug.h
│ │ ├── oxygine.cpp
│ │ ├── oxygine.h
│ │ ├── pixel.h
│ │ ├── ref_counter.h
│ │ ├── system_data.cpp
│ │ ├── system_data.h
│ │ └── vertex.h
│ │ ├── dev_tools
│ │ ├── DeveloperMenu.cpp
│ │ ├── DeveloperMenu.h
│ │ ├── TexturesInspector.cpp
│ │ ├── TexturesInspector.h
│ │ ├── TreeInspector.cpp
│ │ ├── TreeInspector.h
│ │ ├── TreeInspectorLine.cpp
│ │ ├── TreeInspectorLine.h
│ │ ├── TreeInspectorPage.cpp
│ │ ├── TreeInspectorPage.h
│ │ ├── TreeInspectorPreview.cpp
│ │ └── TreeInspectorPreview.h
│ │ ├── initActor.h
│ │ ├── json
│ │ ├── json-forwards.h
│ │ ├── json.h
│ │ └── jsoncpp.cpp
│ │ ├── key.cpp
│ │ ├── key.h
│ │ ├── math
│ │ ├── AffineTransform.cpp
│ │ ├── AffineTransform.h
│ │ ├── Color.cpp
│ │ ├── Color.h
│ │ ├── Matrix.h
│ │ ├── OBBox.h
│ │ ├── Rect.h
│ │ ├── ScalarMath.h
│ │ ├── Vector2.h
│ │ ├── Vector3.h
│ │ └── Vector4.h
│ │ ├── minizip
│ │ ├── ioapi.c
│ │ ├── ioapi.h
│ │ ├── ioapi_mem.c
│ │ ├── ioapi_mem.h
│ │ ├── unzip.c
│ │ └── unzip.h
│ │ ├── oxygine-forwards.h
│ │ ├── oxygine-include.h
│ │ ├── pugixml
│ │ ├── pugiconfig.hpp
│ │ ├── pugixml.cpp
│ │ ├── pugixml.hpp
│ │ └── readme.txt
│ │ ├── res
│ │ ├── CreateResourceContext.cpp
│ │ ├── CreateResourceContext.h
│ │ ├── ResAnim.cpp
│ │ ├── ResAnim.h
│ │ ├── ResAtlas.cpp
│ │ ├── ResAtlas.h
│ │ ├── ResAtlasGeneric.cpp
│ │ ├── ResAtlasGeneric.h
│ │ ├── ResAtlasPrebuilt.cpp
│ │ ├── ResAtlasPrebuilt.h
│ │ ├── ResBuffer.cpp
│ │ ├── ResBuffer.h
│ │ ├── ResFont.cpp
│ │ ├── ResFont.h
│ │ ├── ResFontBM.cpp
│ │ ├── ResFontBM.h
│ │ ├── ResStarlingAtlas.cpp
│ │ ├── ResStarlingAtlas.h
│ │ ├── Resource.cpp
│ │ ├── Resource.h
│ │ ├── Resources.cpp
│ │ ├── Resources.h
│ │ ├── SingleResAnim.cpp
│ │ └── SingleResAnim.h
│ │ ├── text_utils
│ │ ├── Aligner.cpp
│ │ ├── Aligner.h
│ │ ├── Node.cpp
│ │ ├── Node.h
│ │ ├── TextBuilder.cpp
│ │ └── TextBuilder.h
│ │ ├── tween
│ │ ├── Tween.cpp
│ │ ├── Tween.h
│ │ ├── TweenAlphaFade.cpp
│ │ ├── TweenAlphaFade.h
│ │ ├── TweenAnim.cpp
│ │ ├── TweenAnim.h
│ │ ├── TweenGlow.cpp
│ │ ├── TweenGlow.h
│ │ ├── TweenOutline.cpp
│ │ ├── TweenOutline.h
│ │ ├── TweenQueue.cpp
│ │ └── TweenQueue.h
│ │ ├── utils
│ │ ├── AtlasBuilder.cpp
│ │ ├── AtlasBuilder.h
│ │ ├── ImageUtils.cpp
│ │ ├── ImageUtils.h
│ │ ├── cdecode.c
│ │ ├── cdecode.h
│ │ ├── intrusive_list.h
│ │ ├── stringUtils.cpp
│ │ └── stringUtils.h
│ │ └── winnie_alloc
│ │ ├── LICENSE_1_0.txt
│ │ ├── system_alloc.cpp
│ │ ├── system_alloc.h
│ │ ├── winnie_alloc.cpp
│ │ ├── winnie_alloc.h
│ │ └── winnie_alloc_config.h
├── system_data
│ ├── build.py
│ ├── font.bmfc
│ └── original
│ │ └── system
│ │ ├── anims
│ │ ├── btn.png
│ │ ├── button.png
│ │ ├── checkbox.png
│ │ ├── checker.png
│ │ ├── finger.png
│ │ ├── images.png
│ │ ├── logo.png
│ │ ├── remove.png
│ │ ├── t2p.png
│ │ ├── template.png
│ │ └── tree.png
│ │ ├── fonts
│ │ ├── mono.fnt
│ │ ├── mono_0.tga
│ │ ├── system.fnt
│ │ └── system_0.tga
│ │ ├── pp_blit_fs.glsl
│ │ ├── pp_blit_vs.glsl
│ │ ├── pp_hblur_vs.glsl
│ │ ├── pp_rast_fs.glsl
│ │ ├── pp_rast_fs2.glsl
│ │ ├── pp_vblur_vs.glsl
│ │ ├── res.xml
│ │ └── shader.glsl
├── system_data_demo
│ ├── build.py
│ └── original
│ │ └── sys_demo
│ │ ├── anims
│ │ └── loading.png
│ │ ├── fonts
│ │ ├── big.fnt
│ │ ├── big_0.tga
│ │ ├── main.fnt
│ │ └── main_0.tga
│ │ └── res.xml
└── third_party
│ ├── android
│ ├── libjpeg
│ │ ├── jconfig.h
│ │ ├── jerror.h
│ │ ├── jmorecfg.h
│ │ └── jpeglib.h
│ ├── libpng
│ │ ├── png.h
│ │ ├── pngconf.h
│ │ └── pnglibconf.h
│ ├── libraries
│ │ ├── arm64-v8a
│ │ │ ├── libjpeg.a
│ │ │ ├── libpng.a
│ │ │ └── libz.a
│ │ ├── armeabi-v7a
│ │ │ ├── libjpeg.a
│ │ │ ├── libpng.a
│ │ │ └── libz.a
│ │ └── x86
│ │ │ ├── libjpeg.a
│ │ │ ├── libpng.a
│ │ │ └── libz.a
│ └── libz
│ │ ├── zconf.h
│ │ └── zlib.h
│ ├── emscripten
│ ├── libjpeg
│ │ ├── jconfig.h
│ │ ├── jerror.h
│ │ ├── jinclude.h
│ │ ├── jmorecfg.h
│ │ └── jpeglib.h
│ └── libraries
│ │ └── libjpeg.a
│ ├── ios
│ ├── libjpeg
│ │ ├── jconfig.h
│ │ ├── jerror.h
│ │ ├── jmorecfg.h
│ │ └── jpeglib.h
│ ├── libpng
│ │ ├── png.h
│ │ ├── pngconf.h
│ │ └── pnglibconf.h
│ └── libraries
│ │ ├── libjpeg.a
│ │ └── libpng.a
│ ├── macosx
│ ├── libjpeg
│ │ ├── jconfig.h
│ │ ├── jmorecfg.h
│ │ └── jpeglib.h
│ ├── libpng
│ │ ├── png.h
│ │ ├── pngconf.h
│ │ └── pnglibconf.h
│ └── libraries
│ │ ├── libjpeg.a
│ │ └── libpng.a
│ ├── win32
│ ├── curl
│ │ └── curl
│ │ │ ├── curl.h
│ │ │ ├── curlbuild.h
│ │ │ ├── curlrules.h
│ │ │ ├── curlver.h
│ │ │ ├── easy.h
│ │ │ ├── mprintf.h
│ │ │ ├── multi.h
│ │ │ ├── stdcheaders.h
│ │ │ └── typecheck-gcc.h
│ ├── dlls
│ │ ├── libcurl.dll
│ │ ├── libeay32.dll
│ │ ├── libssh2.dll
│ │ ├── pthreadVCE2.dll
│ │ ├── ssleay32.dll
│ │ └── zlib.dll
│ ├── libjpeg
│ │ ├── jconfig.h
│ │ ├── jmorecfg.h
│ │ └── jpeglib.h
│ ├── libpng
│ │ ├── png.h
│ │ ├── pngconf.h
│ │ └── pnglibconf.h
│ ├── libraries
│ │ ├── libcurl_imp.lib
│ │ ├── libjpeg-2015.lib
│ │ ├── libjpeg.lib
│ │ ├── libpng-2015.lib
│ │ ├── libpng.lib
│ │ ├── libzlib.lib
│ │ └── pthreadVCE2.lib
│ ├── pthreads
│ │ └── include
│ │ │ ├── pthread.h
│ │ │ ├── sched.h
│ │ │ └── semaphore.h
│ └── zlib
│ │ ├── zconf.h
│ │ └── zlib.h
│ └── win32_mingw
│ ├── curl
│ └── curl
│ │ ├── curl.h
│ │ ├── curlbuild.h
│ │ ├── curlbuild.h.in
│ │ ├── curlrules.h
│ │ ├── curlver.h
│ │ ├── easy.h
│ │ ├── mprintf.h
│ │ ├── multi.h
│ │ ├── stdcheaders.h
│ │ └── typecheck-gcc.h
│ ├── dlls
│ ├── libpng16.dll
│ └── libzlib.dll
│ ├── glew
│ ├── glew.h
│ ├── glxew.h
│ └── wglew.h
│ ├── libpng
│ ├── png.h
│ ├── pngconf.h
│ ├── pngdebug.h
│ ├── pnginfo.h
│ ├── pnglibconf.h
│ ├── pngpriv.h
│ └── pngstruct.h
│ ├── libraries
│ ├── libcurl_imp.lib
│ ├── libpng.a
│ ├── libpng.dll.a
│ ├── libpng16.a
│ ├── libpng16.dll.a
│ ├── libzlib.dll.a
│ └── pthreadVCE2.lib
│ ├── pthreads
│ └── include
│ │ ├── pthread.h
│ │ ├── sched.h
│ │ └── semaphore.h
│ └── zlib
│ ├── zconf.h
│ └── zlib.h
├── readme.md
├── readme
├── Android.txt
├── CMake+MinGW.txt
├── CMake.txt
├── MacOSX.txt
├── VisualStudio.txt
├── emscripten.txt
├── iOS.txt
└── readme.txt
└── tools
├── gen_template
├── gen_template.cmd
├── gen_template.py
├── install.py
├── others
├── build_oxygine_with_sdl.py
├── convert_font2sd.py
├── embed_folder_js.py
├── export_starling.py
├── fileslist.py
├── format.bat
├── gen_includes.py
├── gen_ox.py
├── gen_single_header.py
├── gen_templates.py
├── gen_xml_resources.py
├── genfn.py
├── include.py
├── oxyresbuild_tests.py
├── png_strip.py
├── single_strip.py
├── sort_includes.py
├── tests
│ ├── images
│ │ └── test.png
│ ├── res1.xml
│ └── res2.xml
└── update_examples_entry.py
├── oxygine.py
├── oxyresbuild
├── oxyresbuild.cmd
├── oxyresbuild.py
├── readme.txt
├── resbuild
├── __init__.py
├── atlas.py
├── oxygine_helper.py
├── process.py
├── process_atlas.py
├── process_font.py
├── process_starling_atlas.py
└── xml_processor.py
└── templates
├── proj.android
├── AndroidManifest.xml
├── build-run.bat
├── build-run.sh
├── build.gradle
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── jni
│ ├── Android.mk
│ ├── Application.mk
│ └── src
│ │ └── Android.mk
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ └── main.xml
│ └── values
│ │ └── strings.xml
├── settings.gradle
└── src
│ └── org
│ └── oxygine
│ └── ${PROJECT}
│ └── MainActivity.java
├── proj.cmake
├── CMakeLists.txt
├── build_emsc.bat
├── build_emsc_release.bat
└── run.sh
├── proj.ios
├── ${PROJECT}
│ ├── ${PROJECT}_ios-Info.plist
│ ├── ${PROJECT}_ios-Prefix.pch
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ └── LaunchImage.launchimage
│ │ │ └── Contents.json
│ ├── LaunchImage.launchimage
│ │ └── Contents.json
│ └── LaunchScreen.storyboard
└── ${PROJECT}_ios.xcodeproj
│ └── project.pbxproj
├── proj.ios_mac
├── ${PROJECT}.xcodeproj
│ ├── project.pbxproj
│ └── project.xcworkspace
│ │ └── contents.xcworkspacedata
├── ios
│ ├── Images.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ └── LaunchImage.launchimage
│ │ │ └── Contents.json
│ ├── Info.plist
│ ├── LaunchImage.launchimage
│ │ └── Contents.json
│ ├── LaunchScreen.storyboard
│ └── Prefix.pch
└── mac
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── Info.plist
│ ├── MainMenu.xib
│ └── Prefix.pch
├── proj.macosx
├── ${PROJECT}
│ ├── ${PROJECT}_macosx-Prefix.pch
│ └── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ └── Contents.json
├── ${PROJECT}_macosx-Info.plist
└── ${PROJECT}_macosx.xcodeproj
│ └── project.pbxproj
└── proj.win32
├── ${PROJECT}.sln
├── ${PROJECT}.vcxproj
├── ${PROJECT}.vcxproj.filters
└── ${PROJECT}.vcxproj.user
/3rdPartyTools/BMFont/bmfont.com:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/bmfont.com
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/bmfont.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/bmfont.exe
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/doc/export_options.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/doc/export_options.png
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/doc/font_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/doc/font_settings.png
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/doc/measures.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/doc/measures.png
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/readme.txt
--------------------------------------------------------------------------------
/3rdPartyTools/BMFont/uninstall.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/BMFont/uninstall.exe
--------------------------------------------------------------------------------
/3rdPartyTools/PVRTexToolCLI.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/PVRTexToolCLI.exe
--------------------------------------------------------------------------------
/3rdPartyTools/PVRTexToolCLI_64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/PVRTexToolCLI_64.exe
--------------------------------------------------------------------------------
/3rdPartyTools/linux/PVRTexToolCLI:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/linux/PVRTexToolCLI
--------------------------------------------------------------------------------
/3rdPartyTools/linux/PVRTexToolCLI_64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/linux/PVRTexToolCLI_64
--------------------------------------------------------------------------------
/3rdPartyTools/macosx/PVRTexToolCLI:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/3rdPartyTools/macosx/PVRTexToolCLI
--------------------------------------------------------------------------------
/doc/doc.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/doc/doc.zip
--------------------------------------------------------------------------------
/doc/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/doc/index.html
--------------------------------------------------------------------------------
/doc/wiki.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/doc/wiki.zip
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses.bat:
--------------------------------------------------------------------------------
1 | ..\..\tools\oxyresbuild -x xmls\res.xml --src_data data --dest_data data
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../tools/oxyresbuild -x xmls/res.xml --src_data data --dest_data data
3 |
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_etc1.bat:
--------------------------------------------------------------------------------
1 | ..\..\tools\oxyresbuild -x xmls/res.xml --src_data data --dest_data data --compress etc1
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_etc2.bat:
--------------------------------------------------------------------------------
1 | ..\..\tools\oxyresbuild -x xmls/res.xml --src_data data --dest_data data --compress etc2 -q best
2 |
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_low.bat:
--------------------------------------------------------------------------------
1 | ..\..\tools\oxyresbuild -x xmls\res.xml --src_data data --dest_data data -s 0.5 -r
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_pvrtc.bat:
--------------------------------------------------------------------------------
1 | ..\..\tools\oxyresbuild -x xmls\res.xml --src_data data --dest_data data --compress pvrtc
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_pvrtc.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../tools/oxyresbuild -x xmls/res.xml --src_data data --dest_data data --compress pvrtc
3 |
--------------------------------------------------------------------------------
/examples/Demo/build_atlasses_pvrtc_high_quality.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../tools/oxyresbuild -x xmls/res.xml --src_data data --dest_data data --compress pvrtc -q best
3 |
--------------------------------------------------------------------------------
/examples/Demo/data/etc/buch-outdoor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/etc/buch-outdoor.png
--------------------------------------------------------------------------------
/examples/Demo/data/etc/num_fnt_shdr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/etc/num_fnt_shdr.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/anim1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/anim1.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/batterfly.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/batterfly.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/bg.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/blob.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/blob.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/box9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/box9.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/box9a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/box9a.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/brush.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/brush.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/defnormal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/defnormal.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/edges.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/edges.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/flower.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/flower.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/grad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/grad.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/gray.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/gray_alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/gray_alpha.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/light.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/map.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/mask.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n0.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n1.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n2.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n3.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n4.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n5.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n6.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n7.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n8.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/n9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/n9.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/normal.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/palette.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/palette.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/pl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/pl.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/score_table.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/score_table.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/sky.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/sky.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/slide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/slide.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/snow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/snow.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/t2p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/t2p.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/tiled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/tiled.png
--------------------------------------------------------------------------------
/examples/Demo/data/images/tiled2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/images/tiled2.png
--------------------------------------------------------------------------------
/examples/Demo/data/light_vs.glsl:
--------------------------------------------------------------------------------
1 | //shared data between vs/ps
2 | varying lowp vec4 result_color;
3 | varying mediump vec2 result_uv;
4 | varying mediump vec2 result_uv2;
5 | varying mediump vec2 result_pos;
6 |
7 | uniform mediump mat4 mat;
8 |
9 | attribute vec3 position;
10 | attribute vec4 color;
11 | attribute vec2 uv;
12 | attribute vec2 uv2;
13 |
14 | void main()
15 | {
16 | gl_Position = mat * vec4(position, 1.0);
17 | result_color = color;
18 | result_uv = uv;
19 | result_uv2 = uv2;
20 |
21 | result_pos = position.xy;
22 | }
--------------------------------------------------------------------------------
/examples/Demo/data/sdf/font_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/data/sdf/font_0.png
--------------------------------------------------------------------------------
/examples/Demo/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.Demo/org.oxygine.Demo.MainActivity
--------------------------------------------------------------------------------
/examples/Demo/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.Demo/org.oxygine.Demo.MainActivity
--------------------------------------------------------------------------------
/examples/Demo/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Demo/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Demo/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Demo/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Demo/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Demo/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Demo
4 |
5 |
--------------------------------------------------------------------------------
/examples/Demo/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Demo/proj.android/src/org/oxygine/Demo/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.Demo;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Demo/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Demo/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Demo/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/Demo
17 |
--------------------------------------------------------------------------------
/examples/Demo/proj.ios/Demo/Demo_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Demo/proj.macosx/Demo/Demo_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Demo/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/fonts/main_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/fonts/main_0.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/images/anim1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/images/anim1.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/images/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/images/button.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/images/circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/images/circle.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/images/pen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/images/pen.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/images/shot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/data/images/shot.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/data/res.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.DemoBox2D/org.oxygine.DemoBox2D.MainActivity
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.DemoBox2D/org.oxygine.DemoBox2D.MainActivity
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/DemoBox2D/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | DemoBox2D
4 |
5 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.android/src/org/oxygine/DemoBox2D/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.DemoBox2D;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/DemoBox2D
17 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.ios/DemoBox2D/DemoBox2D_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/proj.macosx/DemoBox2D/DemoBox2D_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/DemoBox2D/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
--------------------------------------------------------------------------------
/examples/Game/part1/data/images/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/data/images/finger.png
--------------------------------------------------------------------------------
/examples/Game/part1/data/images/joystick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/data/images/joystick.png
--------------------------------------------------------------------------------
/examples/Game/part1/data/images/ship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/data/images/ship.png
--------------------------------------------------------------------------------
/examples/Game/part1/data/images/shipengine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/data/images/shipengine.png
--------------------------------------------------------------------------------
/examples/Game/part1/data/images/sky.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/data/images/sky.jpg
--------------------------------------------------------------------------------
/examples/Game/part1/data/xmls/ui.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.GamePart1/org.oxygine.GamePart1.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.GamePart1/org.oxygine.GamePart1.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part1/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GamePart1
4 |
5 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Game/part1/proj.android/src/org/oxygine/GamePart1/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.GamePart1;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part1/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part1/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/GamePart1
17 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.ios/GamePart1/GamePart1_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Game/part1/proj.macosx/GamePart1/GamePart1_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Game/part1/src/Game.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Player, spPlayer);
6 | DECLARE_SMART(Joystick, spJoystick);
7 | DECLARE_SMART(Game, spGame);
8 | class Game: public Actor
9 | {
10 | public:
11 | Game();
12 |
13 | void init();
14 |
15 | private:
16 | friend class Player;
17 | void doUpdate(const UpdateState& us);
18 |
19 | spJoystick _move;
20 |
21 | spPlayer _player;
22 | };
--------------------------------------------------------------------------------
/examples/Game/part1/src/Joystick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Joystick, spController);
6 | class Joystick: public Sprite
7 | {
8 | public:
9 | Joystick();
10 |
11 | bool getDirection(Vector2& dir) const;
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | bool _pressed;
16 | Vector2 _dir;
17 |
18 | spSprite _finger;
19 | };
--------------------------------------------------------------------------------
/examples/Game/part1/src/Player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Player, spPlayer);
5 | class Player: public Unit
6 | {
7 | public:
8 |
9 |
10 | protected:
11 | void _init();
12 | void _update(const UpdateState& us);
13 |
14 | spSprite _engine;
15 | spSprite _ship;
16 | };
17 |
--------------------------------------------------------------------------------
/examples/Game/part1/src/Unit.cpp:
--------------------------------------------------------------------------------
1 | #include "Unit.h"
2 | #include "Game.h"
3 |
4 | Unit::Unit(): _game(0)
5 | {
6 |
7 | }
8 |
9 | void Unit::init(Game* game)
10 | {
11 | //initialize base
12 | _game = game;
13 | _view = new Actor;
14 | _view->attachTo(game);
15 |
16 | //virtual method was overload in Player
17 | _init();
18 | }
19 |
20 | void Unit::update(const UpdateState& us)
21 | {
22 | //virtual method was overload in Player
23 | _update(us);
24 | }
--------------------------------------------------------------------------------
/examples/Game/part1/src/Unit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | class Game;
6 | class Unit: public Object
7 | {
8 | public:
9 | Unit();
10 |
11 | void init(Game* game);
12 |
13 | void update(const UpdateState& us);
14 |
15 | protected:
16 | virtual void _init() {}
17 | virtual void _update(const UpdateState& us) {}
18 |
19 | spActor _view;
20 | Game* _game;
21 | };
--------------------------------------------------------------------------------
/examples/Game/part1/src/example.cpp:
--------------------------------------------------------------------------------
1 | #include "oxygine-framework.h"
2 | #include "res.h"
3 | #include "Game.h"
4 | using namespace oxygine;
5 |
6 | void example_preinit()
7 | {
8 | }
9 |
10 | void example_init()
11 | {
12 | //load resources
13 | res::load();
14 |
15 | //create scene with game
16 | spGame game = new Game;
17 | game->init();
18 | game->attachTo(getStage());
19 | }
20 |
21 | void example_update()
22 | {
23 |
24 | }
25 |
26 | void example_destroy()
27 | {
28 | res::free();
29 | }
--------------------------------------------------------------------------------
/examples/Game/part1/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 |
--------------------------------------------------------------------------------
/examples/Game/part1/src/res.cpp:
--------------------------------------------------------------------------------
1 | #include "res.h"
2 |
3 | namespace res
4 | {
5 | Resources ui;
6 |
7 | void load()
8 | {
9 | //load our resources
10 | ui.loadXML("xmls/ui.xml");
11 | }
12 |
13 | void free()
14 | {
15 | //unload
16 | ui.free();
17 | }
18 | }
--------------------------------------------------------------------------------
/examples/Game/part1/src/res.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | namespace res
6 | {
7 | extern Resources ui;
8 | void load();
9 | void free();
10 | }
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/asteroid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/asteroid.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/explosion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/explosion.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/finger.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/joystick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/joystick.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/rocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/rocket.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/ship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/ship.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/shipengine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/shipengine.png
--------------------------------------------------------------------------------
/examples/Game/part2/data/images/sky.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/data/images/sky.jpg
--------------------------------------------------------------------------------
/examples/Game/part2/data/xmls/ui.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.GamePart2/org.oxygine.GamePart2.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.GamePart2/org.oxygine.GamePart2.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part2/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GamePart2
4 |
5 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Game/part2/proj.android/src/org/oxygine/GamePart2/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.GamePart2;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part2/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part2/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/GamePart2
17 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.ios/GamePart2/GamePart2_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Game/part2/proj.macosx/GamePart2/GamePart2_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Game/part2/src/Enemy.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Enemy, spEnemy);
5 | class Enemy: public Unit
6 | {
7 | public:
8 |
9 | void explode();
10 |
11 | private:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | int _hp;
15 | };
--------------------------------------------------------------------------------
/examples/Game/part2/src/Joystick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Joystick, spController);
6 | class Joystick: public Sprite
7 | {
8 | public:
9 | Joystick();
10 |
11 | bool getDirection(Vector2& dir) const;
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | bool _pressed;
16 | Vector2 _dir;
17 |
18 | spSprite _finger;
19 | };
--------------------------------------------------------------------------------
/examples/Game/part2/src/Player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Player, spPlayer);
5 | class Player: public Unit
6 | {
7 | public:
8 | Player();
9 |
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 |
15 | spSprite _engine;
16 | spSprite _ship;
17 | timeMS _lastRocketSpawn;
18 | };
19 |
--------------------------------------------------------------------------------
/examples/Game/part2/src/Rocket.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | #include "Unit.h"
4 |
5 | DECLARE_SMART(Rocket, spRocket);
6 | class Rocket: public Unit
7 | {
8 | public:
9 | Rocket(const Vector2& dir);
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | void explode();
15 |
16 | Vector2 _dir;
17 | };
--------------------------------------------------------------------------------
/examples/Game/part2/src/Unit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | class Game;
6 | DECLARE_SMART(Unit, spUnit);
7 | class Unit: public Object
8 | {
9 | public:
10 | Unit();
11 |
12 | void init(const Vector2& pos, Game* game);
13 |
14 | const Vector2& getPosition() const;
15 |
16 | void update(const UpdateState& us);
17 | bool isDead() const {return _dead;}
18 |
19 | protected:
20 | virtual void _init() {}
21 | virtual void _update(const UpdateState& us) {}
22 |
23 | spActor _view;
24 | Game* _game;
25 | bool _dead;
26 | };
--------------------------------------------------------------------------------
/examples/Game/part2/src/example.cpp:
--------------------------------------------------------------------------------
1 | #include "oxygine-framework.h"
2 | #include "res.h"
3 | #include "Game.h"
4 | using namespace oxygine;
5 |
6 | void example_preinit()
7 | {
8 | }
9 |
10 | void example_init()
11 | {
12 | //load resources
13 | res::load();
14 |
15 | //create scene with game
16 | spGame game = new Game;
17 | game->init();
18 | game->attachTo(getStage());
19 | }
20 |
21 | void example_update()
22 | {
23 |
24 | }
25 |
26 | void example_destroy()
27 | {
28 | res::free();
29 | }
--------------------------------------------------------------------------------
/examples/Game/part2/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 |
--------------------------------------------------------------------------------
/examples/Game/part2/src/res.cpp:
--------------------------------------------------------------------------------
1 | #include "res.h"
2 |
3 | namespace res
4 | {
5 | Resources ui;
6 |
7 | void load()
8 | {
9 | ui.loadXML("xmls/ui.xml");
10 | }
11 |
12 | void free()
13 | {
14 | ui.free();
15 |
16 | }
17 | }
--------------------------------------------------------------------------------
/examples/Game/part2/src/res.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | namespace res
6 | {
7 | extern Resources ui;
8 | void load();
9 | void free();
10 | }
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/asteroid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/asteroid.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/explosion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/explosion.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/rocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/rocket.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ship.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/shipengine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/shipengine.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/sky.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/sky.jpg
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/bg.jpg
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/finger.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/joystick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/joystick.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/logo2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/logo2.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/menu.png
--------------------------------------------------------------------------------
/examples/Game/part3/data/images/ui/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/data/images/ui/play.png
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.GamePart3/org.oxygine.GamePart3.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.GamePart3/org.oxygine.GamePart3.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part3/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GamePart3
4 |
5 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Game/part3/proj.android/src/org/oxygine/GamePart3/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.GamePart3;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part3/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part3/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/GamePart3
17 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.ios/GamePart3/GamePart3_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Game/part3/proj.macosx/GamePart3/GamePart3_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Game/part3/src/Enemy.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Enemy, spEnemy);
5 | class Enemy: public Unit
6 | {
7 | public:
8 |
9 | void explode();
10 |
11 | private:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | int _hp;
15 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/GameScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 | #include "Game.h"
4 |
5 | DECLARE_SMART(GameScene, spGameScene);
6 | class GameScene: public Scene
7 | {
8 | public:
9 | static spGameScene instance;
10 | GameScene();
11 |
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | spGame _game;
16 | };
17 |
--------------------------------------------------------------------------------
/examples/Game/part3/src/Joystick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Joystick, spController);
6 | class Joystick: public Sprite
7 | {
8 | public:
9 | Joystick();
10 |
11 | bool getDirection(Vector2& dir) const;
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | bool _pressed;
16 | Vector2 _dir;
17 |
18 | spSprite _finger;
19 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/MainMenuScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 |
4 | DECLARE_SMART(MainMenuScene, spMainMenuScene);
5 | class MainMenuScene: public Scene
6 | {
7 | public:
8 | static spMainMenuScene instance;
9 |
10 | MainMenuScene();
11 |
12 | private:
13 | void onEvent(Event* ev);
14 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/MyButton.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(MyButton, spMyButton);
6 | class MyButton: public Sprite
7 | {
8 | public:
9 | MyButton();
10 |
11 | private:
12 | void onEvent(Event*);
13 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/Player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Player, spPlayer);
5 | class Player: public Unit
6 | {
7 | public:
8 | Player();
9 |
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 |
15 | spSprite _engine;
16 | spSprite _ship;
17 | timeMS _lastRocketSpawn;
18 | };
19 |
--------------------------------------------------------------------------------
/examples/Game/part3/src/Rocket.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | #include "Unit.h"
4 |
5 | DECLARE_SMART(Rocket, spRocket);
6 | class Rocket: public Unit
7 | {
8 | public:
9 | Rocket(const Vector2& dir);
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | void explode();
15 |
16 | Vector2 _dir;
17 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/Scene.cpp:
--------------------------------------------------------------------------------
1 | #include "Scene.h"
2 |
3 | Scene::Scene()
4 | {
5 | _view = new Actor;
6 | _view->setSize(getStage()->getSize());
7 | }
8 |
9 | void Scene::changeScene(spScene next)
10 | {
11 | //hide current scene
12 | spTween tween = _view->addTween(Actor::TweenAlpha(0), 300);
13 | //detach when done
14 | tween->detachWhenDone();
15 |
16 | //show next scene
17 | getStage()->addChild(next->getView());
18 | next->getView()->setAlpha(0);
19 | next->getView()->addTween(Actor::TweenAlpha(255), 300);
20 | }
--------------------------------------------------------------------------------
/examples/Game/part3/src/Scene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | #include
4 | using namespace oxygine;
5 |
6 | DECLARE_SMART(Scene, spScene);
7 | class Scene: public Object
8 | {
9 | public:
10 | Scene();
11 |
12 | void changeScene(spScene next);
13 |
14 | spActor getView() const {return _view;}
15 |
16 | spActor _view;
17 | };
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/examples/Game/part3/src/Unit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | class Game;
6 | DECLARE_SMART(Unit, spUnit);
7 | class Unit: public Object
8 | {
9 | public:
10 | Unit();
11 |
12 | void init(const Vector2& pos, Game* game);
13 |
14 | const Vector2& getPosition() const;
15 |
16 | void update(const UpdateState& us);
17 | bool isDead() const {return _dead;}
18 |
19 | protected:
20 | virtual void _init() {}
21 | virtual void _update(const UpdateState& us) {}
22 |
23 | spActor _view;
24 | Game* _game;
25 | bool _dead;
26 | };
--------------------------------------------------------------------------------
/examples/Game/part3/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 |
--------------------------------------------------------------------------------
/examples/Game/part3/src/res.cpp:
--------------------------------------------------------------------------------
1 | #include "res.h"
2 |
3 | namespace res
4 | {
5 | Resources ui;
6 |
7 | void load()
8 | {
9 | ui.loadXML("xmls/ui.xml");
10 | }
11 |
12 | void free()
13 | {
14 | ui.free();
15 |
16 | }
17 | }
--------------------------------------------------------------------------------
/examples/Game/part3/src/res.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | namespace res
6 | {
7 | extern Resources ui;
8 | void load();
9 | void free();
10 | }
--------------------------------------------------------------------------------
/examples/Game/part4/data/fonts/huge_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/fonts/huge_0.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/fonts/normal_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/fonts/normal_0.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/asteroid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/asteroid.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/explosion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/explosion.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/rocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/rocket.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ship.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/shipengine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/shipengine.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/sky.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/sky.jpg
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/bg.jpg
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/box9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/box9.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/buttons.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/finger.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/joystick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/joystick.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/logo2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/logo2.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/menu.png
--------------------------------------------------------------------------------
/examples/Game/part4/data/images/ui/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/data/images/ui/play.png
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.GamePart4/org.oxygine.GamePart4.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.GamePart4/org.oxygine.GamePart4.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part4/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GamePart4
4 |
5 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Game/part4/proj.android/src/org/oxygine/GamePart4/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.GamePart4;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part4/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part4/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/GamePart4
17 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.ios/GamePart4/GamePart4_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Game/part4/proj.macosx/GamePart4/GamePart4_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Game/part4/src/Enemy.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Enemy, spEnemy);
5 | class Enemy: public Unit
6 | {
7 | public:
8 |
9 | void explode();
10 |
11 | private:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | int _hp;
15 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/GameMenu.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 |
4 | DECLARE_SMART(GameMenu, spGameMenu);
5 | class GameMenu: public Scene
6 | {
7 | public:
8 | static spGameMenu instance;
9 |
10 | GameMenu();
11 | const string& getLastClicked() const {return _lastClicked;}
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | void showButtons(Event* ev);
16 | void _show();
17 |
18 | spBox9Sprite _bg;
19 | spActor _buttons;
20 | string _lastClicked;
21 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/GameScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 | #include "Game.h"
4 |
5 | DECLARE_SMART(GameScene, spGameScene);
6 | class GameScene: public Scene
7 | {
8 | public:
9 | static spGameScene instance;
10 | GameScene();
11 |
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | spGame _game;
16 | };
17 |
--------------------------------------------------------------------------------
/examples/Game/part4/src/Joystick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Joystick, spController);
6 | class Joystick: public Sprite
7 | {
8 | public:
9 | Joystick();
10 |
11 | bool getDirection(Vector2& dir) const;
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | bool _pressed;
16 | Vector2 _dir;
17 |
18 | spSprite _finger;
19 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/MainMenuScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 |
4 | DECLARE_SMART(MainMenuScene, spMainMenuScene);
5 | class MainMenuScene: public Scene
6 | {
7 | public:
8 | static spMainMenuScene instance;
9 |
10 | MainMenuScene();
11 |
12 | private:
13 | void onEvent(Event* ev);
14 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/MyButton.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 | using namespace std;
5 |
6 | DECLARE_SMART(MyButton, spMyButton);
7 | class MyButton: public Sprite
8 | {
9 | public:
10 | MyButton();
11 |
12 | void setText(const string& txt);
13 |
14 | private:
15 | void onEvent(Event*);
16 |
17 | spTextField _text;
18 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/Player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Player, spPlayer);
5 | class Player: public Unit
6 | {
7 | public:
8 | Player();
9 |
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 |
15 | spSprite _engine;
16 | spSprite _ship;
17 | timeMS _lastRocketSpawn;
18 | };
19 |
--------------------------------------------------------------------------------
/examples/Game/part4/src/Rocket.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | #include "Unit.h"
4 |
5 | DECLARE_SMART(Rocket, spRocket);
6 | class Rocket: public Unit
7 | {
8 | public:
9 | Rocket(const Vector2& dir);
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | void explode();
15 |
16 | Vector2 _dir;
17 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/Unit.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | class Game;
6 | DECLARE_SMART(Unit, spUnit);
7 | class Unit: public Object
8 | {
9 | public:
10 | Unit();
11 |
12 | void init(const Vector2& pos, Game* game);
13 |
14 | const Vector2& getPosition() const;
15 |
16 | void update(const UpdateState& us);
17 | bool isDead() const {return _dead;}
18 |
19 | protected:
20 | virtual void _init() {}
21 | virtual void _update(const UpdateState& us) {}
22 |
23 | spActor _view;
24 | Game* _game;
25 | bool _dead;
26 | };
--------------------------------------------------------------------------------
/examples/Game/part4/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 |
--------------------------------------------------------------------------------
/examples/Game/part4/src/res.cpp:
--------------------------------------------------------------------------------
1 | #include "res.h"
2 |
3 | namespace res
4 | {
5 | Resources ui;
6 |
7 | void load()
8 | {
9 | ui.loadXML("xmls/ui.xml");
10 | }
11 |
12 | void free()
13 | {
14 | ui.free();
15 |
16 | }
17 | }
--------------------------------------------------------------------------------
/examples/Game/part4/src/res.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | namespace res
6 | {
7 | extern Resources ui;
8 | void load();
9 | void free();
10 | }
--------------------------------------------------------------------------------
/examples/Game/part5/data/fonts/huge_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/data/fonts/huge_0.png
--------------------------------------------------------------------------------
/examples/Game/part5/data/fonts/normal_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/data/fonts/normal_0.png
--------------------------------------------------------------------------------
/examples/Game/part5/data/ui.xml.ox/atlas/1_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/data/ui.xml.ox/atlas/1_0.png
--------------------------------------------------------------------------------
/examples/Game/part5/data/ui.xml.ox/atlas/2_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/data/ui.xml.ox/atlas/2_0.png
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-android(ETC1).bat:
--------------------------------------------------------------------------------
1 | ..\..\..\tools\oxyresbuild -x xmls\ui.xml --src_data data --dest_data data --compress etc1
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-android(ETC1).sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../../tools/oxyresbuild -x xmls/ui.xml --src_data data --dest_data data --compress etc1
3 |
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-ios(PVRTC).bat:
--------------------------------------------------------------------------------
1 | ..\..\..\tools\oxyresbuild -x xmls\ui.xml --src_data data --dest_data data --compress pvrtc --quality best
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-ios(PVRTC).sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../../tools/oxyresbuild -x xmls/ui.xml --src_data data --dest_data data --compress pvrtc --quality best
3 |
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-low-definition.bat:
--------------------------------------------------------------------------------
1 | ..\..\..\tools\oxyresbuild -x xmls\ui.xml --src_data data --dest_data data -s 0.5 -r
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses-low-definition.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../../tools/oxyresbuild -x xmls/ui.xml --src_data data --dest_data data -s 0.5 -r
3 |
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses.bat:
--------------------------------------------------------------------------------
1 | ..\..\..\tools\oxyresbuild -x xmls\ui.xml --src_data data --dest_data data
--------------------------------------------------------------------------------
/examples/Game/part5/gen-atlasses.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 | ./../../../tools/oxyresbuild -x xmls/ui.xml --src_data data --dest_data data
3 |
--------------------------------------------------------------------------------
/examples/Game/part5/images/asteroid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/asteroid.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/explosion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/explosion.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/rocket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/rocket.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ship.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/shipengine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/shipengine.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/sky.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/sky.jpg
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/bg.jpg
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/box9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/box9.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/buttons.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/finger.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/joystick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/joystick.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/logo2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/logo2.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/menu.png
--------------------------------------------------------------------------------
/examples/Game/part5/images/ui/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/images/ui/play.png
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.GamePart5/org.oxygine.GamePart5.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.GamePart5/org.oxygine.GamePart5.MainActivity
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Game/part5/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | GamePart5
4 |
5 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Game/part5/proj.android/src/org/oxygine/GamePart5/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.GamePart5;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part5/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Game/part5/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/GamePart5
17 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.ios/GamePart5/GamePart5_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Game/part5/proj.macosx/GamePart5/GamePart5_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Game/part5/src/Enemy.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Enemy, spEnemy);
5 | class Enemy: public Unit
6 | {
7 | public:
8 |
9 | void explode();
10 |
11 | private:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | int _hp;
15 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/GameMenu.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 |
4 | DECLARE_SMART(GameMenu, spGameMenu);
5 | class GameMenu: public Scene
6 | {
7 | public:
8 | static spGameMenu instance;
9 |
10 | GameMenu();
11 | const string& getLastClicked() const {return _lastClicked;}
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | void showButtons(Event* ev);
16 | void _show();
17 |
18 | spBox9Sprite _bg;
19 | spActor _buttons;
20 | string _lastClicked;
21 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/GameScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 | #include "Game.h"
4 |
5 | DECLARE_SMART(GameScene, spGameScene);
6 | class GameScene: public Scene
7 | {
8 | public:
9 | static spGameScene instance;
10 | GameScene();
11 |
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | spGame _game;
16 | };
17 |
--------------------------------------------------------------------------------
/examples/Game/part5/src/Joystick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | DECLARE_SMART(Joystick, spController);
6 | class Joystick: public Sprite
7 | {
8 | public:
9 | Joystick();
10 |
11 | bool getDirection(Vector2& dir) const;
12 |
13 | private:
14 | void onEvent(Event* ev);
15 | bool _pressed;
16 | Vector2 _dir;
17 |
18 | spSprite _finger;
19 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/MainMenuScene.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Scene.h"
3 |
4 | DECLARE_SMART(MainMenuScene, spMainMenuScene);
5 | class MainMenuScene: public Scene
6 | {
7 | public:
8 | static spMainMenuScene instance;
9 |
10 | MainMenuScene();
11 |
12 | private:
13 | void onEvent(Event* ev);
14 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/MyButton.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 | using namespace std;
5 |
6 | DECLARE_SMART(MyButton, spMyButton);
7 | class MyButton: public Sprite
8 | {
9 | public:
10 | MyButton();
11 |
12 | void setText(const string& txt);
13 |
14 | private:
15 | void onEvent(Event*);
16 |
17 | spTextField _text;
18 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/Player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Unit.h"
3 |
4 | DECLARE_SMART(Player, spPlayer);
5 | class Player: public Unit
6 | {
7 | public:
8 | Player();
9 |
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 |
15 | spSprite _engine;
16 | spSprite _ship;
17 | timeMS _lastRocketSpawn;
18 | };
19 |
--------------------------------------------------------------------------------
/examples/Game/part5/src/Rocket.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | #include "Unit.h"
4 |
5 | DECLARE_SMART(Rocket, spRocket);
6 | class Rocket: public Unit
7 | {
8 | public:
9 | Rocket(const Vector2& dir);
10 |
11 | protected:
12 | void _init();
13 | void _update(const UpdateState& us);
14 | void explode();
15 |
16 | Vector2 _dir;
17 | };
--------------------------------------------------------------------------------
/examples/Game/part5/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 |
--------------------------------------------------------------------------------
/examples/Game/part5/src/res.cpp:
--------------------------------------------------------------------------------
1 | #include "res.h"
2 |
3 | namespace res
4 | {
5 | Resources ui;
6 |
7 | void load()
8 | {
9 | ui.loadXML("xmls/ui.xml");
10 | }
11 |
12 | void free()
13 | {
14 | ui.free();
15 |
16 | }
17 | }
--------------------------------------------------------------------------------
/examples/Game/part5/src/res.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 |
5 | namespace res
6 | {
7 | extern Resources ui;
8 | void load();
9 | void free();
10 | }
--------------------------------------------------------------------------------
/examples/HelloWorld/data/fonts/main_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/data/fonts/main_0.png
--------------------------------------------------------------------------------
/examples/HelloWorld/data/images/anim.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/data/images/anim.png
--------------------------------------------------------------------------------
/examples/HelloWorld/data/images/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/data/images/button.png
--------------------------------------------------------------------------------
/examples/HelloWorld/data/res.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.HelloWorld/org.oxygine.HelloWorld.MainActivity
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.HelloWorld/org.oxygine.HelloWorld.MainActivity
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/HelloWorld/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | HelloWorld
4 |
5 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.android/src/org/oxygine/HelloWorld/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.HelloWorld;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/HelloWorld
17 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.ios/HelloWorld/HelloWorld_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/HelloWorld/proj.macosx/HelloWorld/HelloWorld_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/HelloWorld/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
5 | void example_flush();
6 |
--------------------------------------------------------------------------------
/examples/Match3/data/fonts/main_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/fonts/main_0.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/bg.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/air.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/air.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/coin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/coin.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/earth.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/earth.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/fire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/fire.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/skull.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/skull.png
--------------------------------------------------------------------------------
/examples/Match3/data/images/jewels/water.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/data/images/jewels/water.png
--------------------------------------------------------------------------------
/examples/Match3/data/resources.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.Match3/org.oxygine.Match3.MainActivity
--------------------------------------------------------------------------------
/examples/Match3/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.Match3/org.oxygine.Match3.MainActivity
--------------------------------------------------------------------------------
/examples/Match3/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/Match3/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/examples/Match3/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Match3
4 |
5 |
--------------------------------------------------------------------------------
/examples/Match3/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('../../../..//oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/examples/Match3/proj.android/src/org/oxygine/Match3/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.Match3;
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/examples/Match3/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Match3/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ../../..//tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/examples/Match3/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/Match3
17 |
--------------------------------------------------------------------------------
/examples/Match3/proj.ios/Match3/Match3_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/examples/Match3/proj.macosx/Match3/Match3_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------
/examples/Match3/src/example.h:
--------------------------------------------------------------------------------
1 | void example_preinit();
2 | void example_init();
3 | void example_destroy();
4 | void example_update();
--------------------------------------------------------------------------------
/examples/Match3/src/shared.cpp:
--------------------------------------------------------------------------------
1 | #include "shared.h"
2 |
3 | Resources res;
--------------------------------------------------------------------------------
/examples/Match3/src/shared.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-framework.h"
3 | using namespace oxygine;
4 | extern Resources res;
--------------------------------------------------------------------------------
/libs/.empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/libs/.empty
--------------------------------------------------------------------------------
/libs/SDL2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/libs/SDL2.dll
--------------------------------------------------------------------------------
/libs/SDL2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/libs/SDL2.lib
--------------------------------------------------------------------------------
/libs/SDL2main.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/libs/SDL2main.lib
--------------------------------------------------------------------------------
/oxygine/SDL/android/extension/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/extension/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/extension/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | ACTIVITY_ENTRY_NAME
4 |
5 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/genNative.bat:
--------------------------------------------------------------------------------
1 | javah -force -jni -classpath build\intermediates\classes\debug\org\oxygine\lib\ -o f.h org.oxygine.lib.HttpRequest.nativeHttpRequestResponseSuccess
2 | PAUSE
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/SDL/android/lib/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Feb 03 15:44:28 YEKT 2017
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.14.1-bin.zip
7 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/javapp.bat:
--------------------------------------------------------------------------------
1 |
2 | javap -s -p -classpath build\intermediates\classes\debug\org\oxygine\lib\ HttpRequests
3 | PAUSE
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/SDL/android/lib/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/SDL/android/lib/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/SDL/android/lib/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/SDL/android/lib/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | ACTIVITY_ENTRY_NAME
4 |
5 |
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-extension'
2 | project(':oxygine-extension').projectDir = new File('../extension')
--------------------------------------------------------------------------------
/oxygine/SDL/android/lib/src/org/libsdl/app/.empty:
--------------------------------------------------------------------------------
1 | copy sdl java source
--------------------------------------------------------------------------------
/oxygine/SDL/ios/oxygine/oxygine_ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/oxygine/SDL/ios_mac/oxygine/oxygine_ios_mac.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/oxygine/SDL/macosx/oxygine_macosx/oxygine_macosx.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/oxygine/colors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/colors.png
--------------------------------------------------------------------------------
/oxygine/src/ox/Actor.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Actor.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/AffineTransform.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/AffineTransform.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/AnimationFrame.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/AnimationFrame.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/AsyncTask.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/AsyncTask.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/AtlasBuilder.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/utils/AtlasBuilder.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Box9Sprite.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Box9Sprite.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Button.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Button.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ClipRectActor.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/ClipRectActor.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Clock.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Clock.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Color.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Color.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ColorRectSprite.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/ColorRectSprite.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/CreateResourceContext.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/CreateResourceContext.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/DebugActor.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/DebugActor.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Draggable.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Draggable.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Event.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Event.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/EventDispatcher.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/EventDispatcher.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/FileSystem.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/FileSystem.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Font.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Font.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/HttpRequestTask.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/HttpRequestTask.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Image.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Image.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ImageData.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ImageData.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ImageDataOperations.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ImageDataOperations.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ImageUtils.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/utils/ImageUtils.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Input.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Input.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/InputText.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/InputText.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/KeyEvent.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/KeyEvent.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/MaskedRenderer.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/MaskedRenderer.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/MaskedSprite.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/MaskedSprite.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Material.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Material.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/MaterialCache.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/MaterialCache.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Matrix.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Matrix.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Mem2Native.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Mem2Native.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/MemoryTexture.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Image.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Mutex.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Mutex.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/NativeTexture.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/NativeTexture.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/OBBox.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/OBBox.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Object.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Object.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/PointerState.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/PointerState.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Polygon.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Polygon.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/PostProcess.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/PostProcess.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ProgressBar.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/ProgressBar.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Property.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Property.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Rect.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Rect.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/RenderDelegate.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/RenderDelegate.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/RenderState.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/RenderState.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Renderer.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Renderer.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResAnim.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResAnim.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResAtlas.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResAtlas.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResAtlasGeneric.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResAtlasGeneric.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResAtlasPrebuilt.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResAtlasPrebuilt.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResBuffer.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResBuffer.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResFont.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResFont.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResFontBM.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResFontBM.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ResStarlingAtlas.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/ResStarlingAtlas.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Resource.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/Resource.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Resources.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/Resources.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Restorable.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Restorable.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/STDFileSystem.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/STDFileSystem.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/STDRenderDelegate.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/STDRenderDelegate.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/STDRenderer.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/STDRenderer.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ScalarMath.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/ScalarMath.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Serializable.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Serializable.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Serialize.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/Serialize.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ShaderProgram.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ShaderProgram.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/SingleResAnim.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/res/SingleResAnim.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/SlidingActor.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/SlidingActor.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Sprite.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Sprite.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Stage.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/Stage.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TextField.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/TextField.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TextStyle.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/TextStyle.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Texture.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/Texture.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ThreadDispatcher.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ThreadDispatcher.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ThreadLoader.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/ThreadLoader.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ThreadMessages.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ThreadMessages.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TouchEvent.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/TouchEvent.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Tween.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/tween/Tween.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TweenAlphaFade.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/tween/TweenAlphaFade.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TweenAnim.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/tween/TweenAnim.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TweenGlow.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/TweenGlow.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TweenOutline.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/TweenOutline.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/TweenQueue.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/tween/TweenQueue.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/UberShaderProgram.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/UberShaderProgram.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/UpdateState.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/UpdateState.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Vector2.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Vector2.h"
2 |
--------------------------------------------------------------------------------
/oxygine/src/ox/Vector3.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Vector3.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/Vector4.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/math/Vector4.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/VertexDeclaration.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/VertexDeclaration.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/VideoDriver.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/VideoDriver.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/VisualStyle.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/VisualStyle.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/WebImage.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/actor/WebImage.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ZipFileSystem.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ZipFileSystem.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/file.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/file.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/initActor.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/initActor.h"
2 |
--------------------------------------------------------------------------------
/oxygine/src/ox/intrusive_list.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/utils/intrusive_list.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/intrusive_ptr.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/intrusive_ptr.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/json.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/json/json.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/key.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/key.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/log.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/log.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/ox_debug.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ox_debug.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/oxygine-framework.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/oxygine-framework.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/oxygine.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/oxygine.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/oxygine_include.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/oxygine_include.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/pixel.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/pixel.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/pugixml.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/pugixml/pugixml.hpp"
--------------------------------------------------------------------------------
/oxygine/src/ox/ref_counter.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/ref_counter.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/stringUtils.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/utils/stringUtils.h"
--------------------------------------------------------------------------------
/oxygine/src/ox/vertex.hpp:
--------------------------------------------------------------------------------
1 | #include "oxygine/core/vertex.h"
--------------------------------------------------------------------------------
/oxygine/src/oxygine-include.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine/oxygine-include.h"
--------------------------------------------------------------------------------
/oxygine/src/oxygine/KeyEvent.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Event.h"
3 |
4 | #ifdef KEY_EVENT
5 | #undef KEY_EVENT
6 | #endif
7 |
8 | namespace oxygine
9 | {
10 | /**supported only on SDL*/
11 | class KeyEvent : public Event
12 | {
13 | public:
14 | enum KEY_EVENT
15 | {
16 | KEY_DOWN = sysEventID('K', 'E', 'D'),
17 | KEY_UP = sysEventID('K', 'E', 'U')
18 | };
19 |
20 | SDL_KeyboardEvent* data;
21 | KeyEvent(KEY_EVENT k, SDL_KeyboardEvent* d) : Event(k), data(d) {}
22 | };
23 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/PointerState.cpp:
--------------------------------------------------------------------------------
1 | #include "PointerState.h"
2 | #include "actor/Actor.h"
3 |
4 | namespace oxygine
5 | {
6 | PointerState::PointerState(): _index(1)
7 | {
8 | init(_index);
9 | }
10 |
11 | void PointerState::init(pointer_index index)
12 | {
13 | _index = index;
14 | _pressed = 0;
15 | _position.setZero();
16 | }
17 |
18 | bool PointerState::isPressed(MouseButton mb) const
19 | {
20 | return (_pressed & (1 << mb)) != 0;
21 | }
22 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/RenderDelegate.cpp:
--------------------------------------------------------------------------------
1 | #include "RenderDelegate.h"
2 |
3 | namespace oxygine
4 | {
5 | RenderDelegate::~RenderDelegate()
6 | {
7 | }
8 |
9 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/Serializable.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/src/oxygine/Serializable.cpp
--------------------------------------------------------------------------------
/oxygine/src/oxygine/Serializable.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-include.h"
3 |
4 | namespace oxygine
5 | {
6 | class Serializable
7 | {
8 | public:
9 | virtual void serialize(serializedata*) {}
10 | virtual void deserialize(const deserializedata*) {}
11 | /**link phase, called when all actors already created*/
12 | virtual void deserializeLink(const deserializeLinkData*) {}
13 | };
14 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/Renderer.cpp:
--------------------------------------------------------------------------------
1 | #include "Renderer.h"
2 | #include "ImageDataOperations.h"
3 | #include "UberShaderProgram.h"
4 | #include "VertexDeclaration.h"
5 | #include "ZipFileSystem.h"
6 | #include "system_data.h"
7 | #include "../AnimationFrame.h"
8 | #include "../Image.h"
9 | #include "../RenderState.h"
10 | #include "../VisualStyle.h"
11 | #include "../math/Rect.h"
12 | #include "gl/VideoDriverGLES20.h"
13 |
14 | namespace oxygine
15 | {
16 | //bool _restored = false;
17 |
18 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/ShaderProgram.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../oxygine-include.h"
3 | #include "Object.h"
4 |
5 | namespace oxygine
6 | {
7 | class ShaderProgram: public Object
8 | {
9 | public:
10 | //virtual void bind() = 0;
11 |
12 | virtual unsigned int getID() const = 0;
13 | };
14 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/Texture.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/src/oxygine/core/Texture.cpp
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/ThreadMessages.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "ThreadDispatcher.h"
3 |
4 |
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/emscripten/emsc.cpp:
--------------------------------------------------------------------------------
1 | #include "emsc.h"
2 |
3 | namespace oxygine
4 | {
5 | void emscSyncFS(bool read)
6 | {
7 | #ifdef EMSCRIPTEN
8 | EM_ASM_ARGS(
9 | {
10 | FS.mkdir('/data');
11 | FS.mount(IDBFS, {}, '/data');
12 |
13 | FS.syncfs(true, function(err)
14 | {
15 | // handle callback
16 | });
17 | }, 0);
18 | #else
19 |
20 | #endif
21 | }
22 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/emscripten/emsc.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Event.h"
3 | #include "oxygine_include.h"
4 |
5 | namespace oxygine
6 | {
7 | class EmscSyncFsEvent: public Event
8 | {
9 | public:
10 | enum
11 | {
12 | EVENT = sysEventID('E', 'S', 'F')
13 | };
14 | };
15 |
16 |
17 | /**will dispatch EmscSyncFsEvent to core::dispatcher*/
18 | void emscSyncFS(bool read);
19 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/emscripten/main.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/src/oxygine/core/emscripten/main.js
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/ios/ios.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../ImageData.h"
3 | #include
4 |
5 | namespace oxygine
6 | {
7 | namespace file
8 | {
9 | std::string getSupportFolder();
10 | }
11 |
12 | class Image;
13 |
14 |
15 | bool nsImageLoad(Image& mt, void* pData, int nDatalen, bool premultiplied, TextureFormat format);
16 |
17 | void iosGetMemoryUsage(size_t& a);
18 | void iosNavigate(const char*);
19 |
20 | int64 iosGetFreeDiskspace();
21 | }
22 |
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/ox_debug.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../oxygine-include.h"
3 | #include "log.h"
4 | #include
5 |
6 |
--------------------------------------------------------------------------------
/oxygine/src/oxygine/core/system_data.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 | #ifndef SYSTEM_DATA
4 | #define SYSTEM_DATA
5 | extern unsigned int system_size;
6 | extern const unsigned char system_data[];
7 | #endif
8 |
--------------------------------------------------------------------------------
/oxygine/src/oxygine/dev_tools/TexturesInspector.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../oxygine-include.h"
3 | #include "../actor/Actor.h"
4 | #include "../actor/Box9Sprite.h"
5 |
6 | namespace oxygine
7 | {
8 | DECLARE_SMART(TexturesInspector, spTexturesInspector);
9 | class TexturesInspector: public Actor
10 | {
11 | public:
12 | TexturesInspector(const Vector2& size);
13 | ~TexturesInspector();
14 | };
15 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/math/AffineTransform.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/src/oxygine/math/AffineTransform.cpp
--------------------------------------------------------------------------------
/oxygine/src/oxygine/math/Color.cpp:
--------------------------------------------------------------------------------
1 | #include "Color.h"
2 |
3 | namespace oxygine
4 | {
5 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/minizip/ioapi_mem.h:
--------------------------------------------------------------------------------
1 | #ifndef _ZLIBIOAPI_MEM_H
2 | #define _ZLIBIOAPI_MEM_H
3 | #include "unzip.h"
4 |
5 | extern "C"
6 | {
7 | typedef struct
8 | {
9 | char* data;
10 | uLong size;
11 | } zmemdata;
12 |
13 | void fill_memory_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
14 | }
15 | #endif
--------------------------------------------------------------------------------
/oxygine/src/oxygine/res/ResAtlasPrebuilt.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "ResAtlas.h"
3 |
4 | namespace oxygine
5 | {
6 |
7 | class ResAtlasPrebuilt : public ResAtlas
8 | {
9 | public:
10 |
11 | ResAtlasPrebuilt(CreateResourceContext& context);
12 |
13 | protected:
14 | };
15 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/res/ResFont.cpp:
--------------------------------------------------------------------------------
1 | #include "ResFont.h"
2 |
3 | namespace oxygine
4 | {
5 | const oxygine::Font* ResFont::getClosestFont(float worldScale, int styleFontSize, float& resScale) const
6 | {
7 | resScale = 1.0f;
8 | return getFont(0, styleFontSize);
9 | }
10 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/text_utils/TextBuilder.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../oxygine-include.h"
3 | #include
4 |
5 | namespace oxygine
6 | {
7 | namespace text
8 | {
9 | class Node;
10 |
11 | class TextBuilder
12 | {
13 | public:
14 | TextBuilder();
15 | virtual ~TextBuilder();
16 |
17 | text::Node* parse(const std::string& str);
18 | };
19 | }
20 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/tween/TweenAlphaFade.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-include.h"
3 | #include "Tween.h"
4 | #include "../PostProcess.h"
5 |
6 | namespace oxygine
7 | {
8 | class TweenAlphaFade: public TweenProxy
9 | {
10 | public:
11 | TweenAlphaFade(bool fadeIn, const PostProcessOptions& opt = PostProcessOptions());
12 | };
13 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/tween/TweenGlow.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-include.h"
3 | #include "../PostProcess.h"
4 |
5 | namespace oxygine
6 | {
7 | class TweenGlow : public TweenProxy
8 | {
9 | public:
10 | TweenGlow(const Color& color, const PostProcessOptions& opt = PostProcessOptions());
11 | };
12 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/tween/TweenOutline.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "oxygine-include.h"
3 | #include "../PostProcess.h"
4 |
5 | namespace oxygine
6 | {
7 | class TweenOutline : public TweenProxy
8 | {
9 | public:
10 | TweenOutline(const Color& color, const PostProcessOptions& opt = PostProcessOptions());
11 | };
12 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/utils/ImageUtils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "../oxygine-include.h"
3 | #include "../core/file.h"
4 |
5 | namespace oxygine
6 | {
7 | class ImageData;
8 | /**
9 | supported formats = "tga"
10 | */
11 | void saveImage(const ImageData& im, const char* path, const char* format = "tga");
12 |
13 | /**
14 | supported formats = "jpg"
15 | */
16 | //void serializeImage(const ImageData &im, file::buffer &bf, const char *format);
17 | }
--------------------------------------------------------------------------------
/oxygine/src/oxygine/winnie_alloc/system_alloc.cpp:
--------------------------------------------------------------------------------
1 | //system_alloc.cpp
2 | //OS-specific memory allocation functions
3 | //this is part of winnie_alloc library
4 | //you may rewrite this functions if you like
5 |
6 | #include "system_alloc.h"
7 |
8 | void *SystemAlloc(size_t size)
9 | {
10 | return malloc(size);
11 | }
12 |
13 | void SystemFree(void *p)
14 | {
15 | free(p);
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/oxygine/src/oxygine/winnie_alloc/system_alloc.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef SYSTEM_ALLOC_HEADER_
3 | #define SYSTEM_ALLOC_HEADER_
4 |
5 | //system_alloc.h
6 | //OS-specific memory allocation functions
7 |
8 | #ifdef _MSC_VER
9 | # pragma once
10 | #endif
11 |
12 | #include "stdlib.h"
13 |
14 | void *SystemAlloc(size_t size);
15 | void SystemFree(void *p);
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/btn.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/button.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/checkbox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/checkbox.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/checker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/checker.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/finger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/finger.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/images.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/images.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/logo.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/remove.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/remove.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/t2p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/t2p.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/template.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/template.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/anims/tree.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/anims/tree.png
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/fonts/mono_0.tga:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/fonts/mono_0.tga
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/fonts/system_0.tga:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data/original/system/fonts/system_0.tga
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/pp_blit_fs.glsl:
--------------------------------------------------------------------------------
1 | /* BlurFragmentShader.glsl */
2 | //precision mediump float;
3 |
4 | uniform mediump sampler2D s_texture;
5 |
6 | varying mediump vec2 v_texCoord;
7 |
8 | void main()
9 | {
10 | gl_FragColor = texture2D(s_texture, v_texCoord);
11 | }
--------------------------------------------------------------------------------
/oxygine/system_data/original/system/pp_blit_vs.glsl:
--------------------------------------------------------------------------------
1 | /* VBlurVertexShader.glsl */
2 | attribute vec3 position;
3 | attribute vec4 color;
4 | attribute vec2 uv;
5 |
6 | uniform mediump float step;
7 |
8 | varying mediump vec2 v_texCoord;
9 | varying mediump vec4 v_color;
10 |
11 | void main()
12 | {
13 | gl_Position = vec4(position.xyz, 1.0);
14 | v_texCoord = uv;
15 | v_color = color;
16 | }
--------------------------------------------------------------------------------
/oxygine/system_data_demo/original/sys_demo/anims/loading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data_demo/original/sys_demo/anims/loading.png
--------------------------------------------------------------------------------
/oxygine/system_data_demo/original/sys_demo/fonts/big_0.tga:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data_demo/original/sys_demo/fonts/big_0.tga
--------------------------------------------------------------------------------
/oxygine/system_data_demo/original/sys_demo/fonts/main_0.tga:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/system_data_demo/original/sys_demo/fonts/main_0.tga
--------------------------------------------------------------------------------
/oxygine/system_data_demo/original/sys_demo/res.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/arm64-v8a/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/arm64-v8a/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/arm64-v8a/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/arm64-v8a/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/arm64-v8a/libz.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/arm64-v8a/libz.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/armeabi-v7a/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/armeabi-v7a/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/armeabi-v7a/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/armeabi-v7a/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/armeabi-v7a/libz.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/armeabi-v7a/libz.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/x86/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/x86/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/x86/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/x86/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/android/libraries/x86/libz.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/android/libraries/x86/libz.a
--------------------------------------------------------------------------------
/oxygine/third_party/emscripten/libraries/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/emscripten/libraries/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/ios/libraries/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/ios/libraries/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/ios/libraries/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/ios/libraries/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/macosx/libraries/libjpeg.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/macosx/libraries/libjpeg.a
--------------------------------------------------------------------------------
/oxygine/third_party/macosx/libraries/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/macosx/libraries/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/libcurl.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/libcurl.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/libeay32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/libeay32.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/libssh2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/libssh2.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/pthreadVCE2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/pthreadVCE2.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/ssleay32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/ssleay32.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/dlls/zlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/dlls/zlib.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libcurl_imp.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libcurl_imp.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libjpeg-2015.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libjpeg-2015.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libjpeg.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libjpeg.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libpng-2015.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libpng-2015.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libpng.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libpng.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/libzlib.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/libzlib.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32/libraries/pthreadVCE2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32/libraries/pthreadVCE2.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/dlls/libpng16.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/dlls/libpng16.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/dlls/libzlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/dlls/libzlib.dll
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libcurl_imp.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libcurl_imp.lib
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libpng.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libpng.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libpng.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libpng.dll.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libpng16.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libpng16.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libpng16.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libpng16.dll.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/libzlib.dll.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/libzlib.dll.a
--------------------------------------------------------------------------------
/oxygine/third_party/win32_mingw/libraries/pthreadVCE2.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/oxygine/third_party/win32_mingw/libraries/pthreadVCE2.lib
--------------------------------------------------------------------------------
/tools/gen_template:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | PROGDIR=`dirname $0`
4 | PROGDIR=`cd $PROGDIR && pwd -P`
5 | python $PROGDIR/gen_template.py "$@"
6 |
--------------------------------------------------------------------------------
/tools/gen_template.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | python "%~dp0gen_template.py" %*
--------------------------------------------------------------------------------
/tools/install.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 |
4 | import os
5 |
6 | oxygine_path = os.path.realpath(".\\..\\")
7 |
8 | if os.name == "posix":
9 | cmd = "export OXYGINE=%(path)s" % {"path": oxygine_path, }
10 | else:
11 | cmd = "setx OXYGINE %(path)s" % {"path": oxygine_path, }
12 |
13 | os.system(cmd)
14 |
--------------------------------------------------------------------------------
/tools/others/fileslist.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | # -*- coding: utf-8 -*-
3 |
4 | import os
5 | import sys
6 |
7 | path = sys.argv[1]
8 | prefix = sys.argv[2]
9 | ls = os.listdir(path)
10 | ext = [".c", ".cpp", ".h"]
11 | fn = open("ls.txt", "w")
12 |
13 |
14 | def write(*ext):
15 | for name in ls:
16 | e = os.path.splitext(name)[1]
17 | if e in ext:
18 | nm = "\t" + prefix + "/" + name
19 | fn.write(nm + " \ \n")
20 |
21 | write(".c", ".cpp")
22 | write(".h", ".hpp")
23 |
--------------------------------------------------------------------------------
/tools/others/tests/images/test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/others/tests/images/test.png
--------------------------------------------------------------------------------
/tools/others/tests/res1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/tools/others/tests/res2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/tools/oxyresbuild:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | PROGDIR=`dirname $0`
4 | PROGDIR=`cd $PROGDIR && pwd -P`
5 | python $PROGDIR/oxyresbuild.py "$@"
6 |
--------------------------------------------------------------------------------
/tools/oxyresbuild.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | python "%~dp0oxyresbuild.py" %*
--------------------------------------------------------------------------------
/tools/readme.txt:
--------------------------------------------------------------------------------
1 | how to use "oxyresbuild.py":
2 | 1. download and install Python2 or Python3 (http://python.org/download/)
3 | 2. add to your system environment variable 'PATH' path to Python folder
4 | 3. install Pillow library for Python. run:
5 | easy_install pillow
6 | or
7 | pip install pillow
8 | *or (Python2) install Python Imaging Library from http://www.pythonware.com/products/pil/
9 |
10 |
11 | 4. run install.py. It would add current path of Oxygine to System global variable
--------------------------------------------------------------------------------
/tools/resbuild/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/resbuild/__init__.py
--------------------------------------------------------------------------------
/tools/resbuild/process.py:
--------------------------------------------------------------------------------
1 | class Process:
2 | create_folder = True
3 | def meta(self):
4 | return
5 |
6 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/build-run.bat:
--------------------------------------------------------------------------------
1 | rem call ndk-build NDK_MODULE_PATH="../../../../"
2 | call gradlew assembleDebug
3 | call adb install -r build/outputs/apk/debug/proj.android-debug.apk
4 | call adb shell am start -n org.oxygine.${PROJECT}/org.oxygine.${PROJECT}.MainActivity
--------------------------------------------------------------------------------
/tools/templates/proj.android/build-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | #ndk-build NDK_MODULE_PATH="../../../../"
4 | ./gradlew assembleDebug
5 | adb install -r build/outputs/apk/debug/proj.android-debug.apk
6 | adb shell am start -n org.oxygine.${PROJECT}/org.oxygine.${PROJECT}.MainActivity
--------------------------------------------------------------------------------
/tools/templates/proj.android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/templates/proj.android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/tools/templates/proj.android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Sep 26 23:45:11 YEKT 2018
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-4.6-all.zip
7 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/jni/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/jni/Application.mk:
--------------------------------------------------------------------------------
1 | APP_STL := c++_static
2 | APP_CPPFLAGS += -fexceptions
3 | APP_CPPFLAGS += -frtti
4 | APP_CPPFLAGS += -std=c++11
5 | APP_ABI := armeabi-v7a
6 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/jni/src/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 | include $(CLEAR_VARS)
3 |
4 | LOCAL_MODULE := main
5 |
6 | #SDK_ROOT points to folder with SDL and oxygine-framework
7 | LOCAL_SRC_FILES := ../../${ROOT}/SDL/src/main/android/SDL_android_main.c
8 |
9 | LOCAL_SRC_FILES += ${SRC}
10 |
11 |
12 | LOCAL_STATIC_LIBRARIES := oxygine-framework_static
13 | LOCAL_SHARED_LIBRARIES := SDL2
14 |
15 | include $(BUILD_SHARED_LIBRARY)
16 |
17 |
18 | #import from NDK_MODULE_PATH defined in build.cmd
19 | $(call import-module, oxygine-framework)
20 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/templates/proj.android/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/templates/proj.android/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/templates/proj.android/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oxygine/oxygine-framework/1e9f923aee380c84a2809768654fdc2c5d0f654c/tools/templates/proj.android/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | ${PROJECT}
4 |
5 |
--------------------------------------------------------------------------------
/tools/templates/proj.android/settings.gradle:
--------------------------------------------------------------------------------
1 | include 'oxygine-lib'
2 | project(':oxygine-lib').projectDir = new File('${ROOT}/oxygine-framework/oxygine/SDL/android/lib')
3 |
4 | include 'oxygine-extension'
5 | project(':oxygine-extension').projectDir = new File('${ROOT}/oxygine-framework/oxygine/SDL/android/extension')
--------------------------------------------------------------------------------
/tools/templates/proj.android/src/org/oxygine/${PROJECT}/MainActivity.java:
--------------------------------------------------------------------------------
1 | package org.oxygine.${PROJECT};
2 |
3 | import org.oxygine.lib.OxygineActivity;
4 |
5 | public class MainActivity extends OxygineActivity
6 | {
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/tools/templates/proj.cmake/build_emsc.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ${OXYGINE}/tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc
6 | cd build_emsc
7 | cmake -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/tools/templates/proj.cmake/build_emsc_release.bat:
--------------------------------------------------------------------------------
1 | call emsdk activate latest
2 |
3 | python ${OXYGINE}/tools/others/embed_folder_js.py -s ../data
4 |
5 | mkdir build_emsc_release
6 | cd build_emsc_release
7 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="%EMSCRIPTEN%/cmake/Modules/Platform/emscripten.cmake" -G"Unix Makefiles" ..
8 | make
9 | cd ..
--------------------------------------------------------------------------------
/tools/templates/proj.cmake/run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | mkdir build
4 | cd build
5 |
6 | #generate cmake project in the "build" folder
7 | cmake ..
8 |
9 | #build it
10 | make
11 |
12 | #move to working data folder with resources
13 | cd ../../data
14 |
15 | #run executable
16 | ./../proj.cmake/build/${PROJECT}
17 |
--------------------------------------------------------------------------------
/tools/templates/proj.ios/${PROJECT}/${PROJECT}_ios-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/tools/templates/proj.ios_mac/${PROJECT}.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
--------------------------------------------------------------------------------
/tools/templates/proj.ios_mac/ios/Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #import
8 |
9 | #ifndef __IPHONE_5_0
10 | #warning "This project uses features only available in iOS SDK 5.0 and later."
11 | #endif
12 |
13 | #ifdef __OBJC__
14 | #import
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/tools/templates/proj.ios_mac/mac/Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 |
8 | #ifdef __OBJC__
9 | #import
10 | #endif
11 |
--------------------------------------------------------------------------------
/tools/templates/proj.macosx/${PROJECT}/${PROJECT}_macosx-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header
3 | //
4 | // The contents of this file are implicitly included at the beginning of every source file.
5 | //
6 |
7 | #ifdef __OBJC__
8 | #import
9 | #endif
10 |
--------------------------------------------------------------------------------