diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-05-14 01:22:15 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-05-14 01:22:15 -0300 |
commit | b324ff7ea584676fcc3292808d7e7ea609982f8e (patch) | |
tree | b80e9aa0b8f2926a398e25ef904f6229cb3e28dd /platform/android | |
parent | 45a509282e912d85c46b40974a2deb926be5be42 (diff) |
A bit of everything:
-IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM.
-New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally.
-Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept.
-Several fixes and improvements to SurfaceTool.
-Anti Aliasing added to WorldEnvironment effects (using FXAA)
-2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which.
-2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before)
-Viewport render target textures can now be filtered.
-Few fixes in GDscript make it easier to work with static functions and class members.
-Several and many bugfixes.
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/os_android.cpp | 7 | ||||
-rw-r--r-- | platform/android/os_android.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 3a101515da..5bc433e85f 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -676,7 +676,7 @@ String OS_Android::get_unique_ID() const { return OS::get_unique_ID(); } -Error OS_Android::native_video_play(String p_path) { +Error OS_Android::native_video_play(String p_path, float p_volume) { if (video_play_func) video_play_func(p_path); return OK; @@ -719,6 +719,11 @@ OS_Android::OS_Android(GFXInitFunc p_gfx_init_func,void*p_gfx_init_ud, OpenURIFu get_locale_func=p_get_locale_func; get_model_func=p_get_model_func; get_unique_id_func=p_get_unique_id; + + video_play_func = p_video_play_func; + video_is_playing_func = p_video_is_playing_func; + video_pause_func = p_video_pause_func; + video_stop_func = p_video_stop_func; show_virtual_keyboard_func = p_show_vk; hide_virtual_keyboard_func = p_hide_vk; diff --git a/platform/android/os_android.h b/platform/android/os_android.h index 76139c8a2d..e6d0f7eded 100644 --- a/platform/android/os_android.h +++ b/platform/android/os_android.h @@ -208,7 +208,7 @@ public: void process_event(InputEvent p_event); void init_video_mode(int p_video_width,int p_video_height); - virtual Error native_video_play(String p_path); + virtual Error native_video_play(String p_path, float p_volume); virtual bool native_video_is_playing(); virtual void native_video_pause(); virtual void native_video_stop(); |