Commit Graph

12173 Commits

Author SHA1 Message Date
folecr 952cefa036 Accelerometer 2013-08-05 02:05:47 -07:00
folecr 7510a55c6a Update TestJavaScript 2013-08-05 02:05:47 -07:00
folecr 5531272979 Update a bunch of JS projects for android 2013-08-05 02:05:47 -07:00
folecr 23061fb312 AssetsManagerTest 2013-08-05 02:05:47 -07:00
folecr ff079791e5 TestCpp 2013-08-05 02:05:47 -07:00
folecr d3476bec17 HelloCpp 2013-08-05 02:05:46 -07:00
folecr b56df6d28c Separate log macro for logging event processing 2013-08-05 02:05:46 -07:00
folecr 5889cc2218 Shift by correct amount 2013-08-05 02:05:46 -07:00
Rohan Kuruvilla fa940ec292 Add touch input processing 2013-08-05 02:05:46 -07:00
folecr 81318d72ed Update target sdk version to 13 so that the game can handle all configuration changes 2013-08-05 02:05:46 -07:00
Rohan Kuruvilla 388edc144b Adding additional android:configChanges parameters to AndroidManifest 2013-08-05 02:05:46 -07:00
Rohan Kuruvilla 3c20c6d9a8 Fixing bug where engine wouldn't start animating when coming into foreground 2013-08-05 02:05:46 -07:00
folecr f40fe3b028 Fix signature of Java method used in JNI 2013-08-05 02:05:46 -07:00
folecr c4fe5de7a4 cddandroidOpenSLEngine.h with updated method declaration 2013-08-05 02:05:45 -07:00
folecr c308d37a4b cddandroidOpenSLEngine.cpp with updated method declaration 2013-08-05 02:05:45 -07:00
folecr b01e27abc0 cddandroidAndroidJavaEngine.cpp with updated method declaration 2013-08-05 02:05:45 -07:00
folecr b8db689e3a cddandroidAndroidJavaEngine.h with updated method declaration 2013-08-05 02:05:45 -07:00
folecr 74c928bafc Empty implementation updated to match method declarations and getInstance() instead of sharedEngine() 2013-08-05 02:05:45 -07:00
folecr 8e897d1902 Use getInstance() instead of deprecated sharedFileUtils() 2013-08-05 02:05:45 -07:00
folecr ca8bc2ca4a Use Java audio for all devices while compatibility is tested. 2013-08-05 02:05:44 -07:00
folecr 2d7d918fa5 Set pointer to singleton instance to NULL after delete-ing it. 2013-08-05 02:05:44 -07:00
folecr f3141826b2 Remove unnecessary DeleteLocalRef (?) and clean up checking code 2013-08-05 02:05:44 -07:00
folecr 210cf68cab Remove OpenSL code. Add empty implementation for OpenSL Audio Engine. 2013-08-05 02:05:44 -07:00
folecr 3a7c5628c5 Empty implementation of SimpleAudioEngine to satisfy compiler. 2013-08-05 02:05:44 -07:00
folecr 1709a15b79 SimpleAudioEngine using Java helper class via JNI. 2013-08-05 02:05:44 -07:00
folecr 6a2b8ae271 Remove duplicate copy of jni utils. Remove old code. 2013-08-05 02:05:44 -07:00
folecr 7ead0522ab ::end() is implemented by deleting the object 2013-08-05 02:05:43 -07:00
folecr 4215565492 makefile modification to match rename 2013-08-05 02:05:43 -07:00
folecr 8c047b7217 Subclasses for Java and OpenSL variants of SimpleAudioEngine. SimpleAudioEngine factory chooses between the two. 2013-08-05 02:05:43 -07:00
folecr 10d9ea45fe Make methods in SimpleAudioEngine virtual 2013-08-05 02:05:43 -07:00
folecr 6750d9c51e Utility functions for Android CocosDenshion 2013-08-05 02:05:43 -07:00
folecr 325892eb82 Remove dependency on cocos extensions 2013-08-05 02:05:43 -07:00
folecr d0bacb8818 Clean up includes 2013-08-05 02:05:43 -07:00
folecr d70954d30f Remove copies of android system headers. 2013-08-05 02:05:42 -07:00
folecr 5737d4cd25 strip out old accelerometer implementation 2013-08-05 02:05:42 -07:00
folecr a10c9c74a1 Remove Accelerometer and TextEdit implementations. 2013-08-05 02:05:42 -07:00
folecr 4567ab96b8 Helper and LocalStorage now use NativeActivity directly 2013-08-05 02:05:42 -07:00
folecr 9cefb85bea Use getInstance() instead of various deprecated singleton access methods 2013-08-05 02:05:42 -07:00
folecr af1e450fe6 Remove spurious LOGI (use appropriate LOG_RENDER_DEBUG in its place.) 2013-08-05 02:05:42 -07:00
folecr c1e88b79ba Initialize JniHelper with the Acitivity. Load the native library that is specified in the Activity's meta-data. 2013-08-05 02:05:42 -07:00
folecr 76a684c556 Initialize Cocos2dxHelper from JNI. Call System.loadLibrary() in Java so functions implemented in native code are available from Java. 2013-08-05 02:05:42 -07:00
folecr 2951504b46 Actually obtain a reference to the Java class 2013-08-05 02:05:41 -07:00
folecr dd79d9bbc2 Use default class loader to obtain the ClassLoader for this NativeActivity 2013-08-05 02:05:41 -07:00
folecr e67698116c Cache JNIEnv 2013-08-05 02:05:41 -07:00
folecr d96f54d4e0 Separate calls to setvm reference and to set classloader 2013-08-05 02:05:41 -07:00
folecr 53b1a92773 Use an obtained class loader instead of the default 2013-08-05 02:05:41 -07:00
folecr 669427363f Clean up JNIHelper 2013-08-05 02:05:41 -07:00
folecr dc6b6ecc69 Remove unused Java files for Activity and GLSurfaceView (now in C code.) 2013-08-05 02:05:40 -07:00
folecr 921ed14a87 Use OpenGLES 2.0 2013-08-05 02:05:40 -07:00
folecr 9da4b9798f Use android.appNativeActivity directly 2013-08-05 02:05:40 -07:00