You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Cleanup Android C++ code
This commit is contained in:
@@ -48,30 +48,30 @@ private:
|
||||
jclass godot_class;
|
||||
jclass activity_class;
|
||||
|
||||
jmethodID _on_video_init = 0;
|
||||
jmethodID _create_offscreen_gl = 0;
|
||||
jmethodID _destroy_offscreen_gl = 0;
|
||||
jmethodID _set_offscreen_gl_current = 0;
|
||||
jmethodID _restart = 0;
|
||||
jmethodID _finish = 0;
|
||||
jmethodID _set_keep_screen_on = 0;
|
||||
jmethodID _alert = 0;
|
||||
jmethodID _get_GLES_version_code = 0;
|
||||
jmethodID _get_clipboard = 0;
|
||||
jmethodID _set_clipboard = 0;
|
||||
jmethodID _has_clipboard = 0;
|
||||
jmethodID _request_permission = 0;
|
||||
jmethodID _request_permissions = 0;
|
||||
jmethodID _get_granted_permissions = 0;
|
||||
jmethodID _init_input_devices = 0;
|
||||
jmethodID _get_surface = 0;
|
||||
jmethodID _is_activity_resumed = 0;
|
||||
jmethodID _vibrate = 0;
|
||||
jmethodID _get_input_fallback_mapping = 0;
|
||||
jmethodID _on_godot_setup_completed = 0;
|
||||
jmethodID _on_godot_main_loop_started = 0;
|
||||
jmethodID _get_class_loader = 0;
|
||||
jmethodID _create_new_godot_instance = 0;
|
||||
jmethodID _on_video_init = nullptr;
|
||||
jmethodID _create_offscreen_gl = nullptr;
|
||||
jmethodID _destroy_offscreen_gl = nullptr;
|
||||
jmethodID _set_offscreen_gl_current = nullptr;
|
||||
jmethodID _restart = nullptr;
|
||||
jmethodID _finish = nullptr;
|
||||
jmethodID _set_keep_screen_on = nullptr;
|
||||
jmethodID _alert = nullptr;
|
||||
jmethodID _get_GLES_version_code = nullptr;
|
||||
jmethodID _get_clipboard = nullptr;
|
||||
jmethodID _set_clipboard = nullptr;
|
||||
jmethodID _has_clipboard = nullptr;
|
||||
jmethodID _request_permission = nullptr;
|
||||
jmethodID _request_permissions = nullptr;
|
||||
jmethodID _get_granted_permissions = nullptr;
|
||||
jmethodID _init_input_devices = nullptr;
|
||||
jmethodID _get_surface = nullptr;
|
||||
jmethodID _is_activity_resumed = nullptr;
|
||||
jmethodID _vibrate = nullptr;
|
||||
jmethodID _get_input_fallback_mapping = nullptr;
|
||||
jmethodID _on_godot_setup_completed = nullptr;
|
||||
jmethodID _on_godot_main_loop_started = nullptr;
|
||||
jmethodID _get_class_loader = nullptr;
|
||||
jmethodID _create_new_godot_instance = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_activity, jobject p_godot_instance);
|
||||
@@ -82,7 +82,6 @@ public:
|
||||
|
||||
jobject get_class_loader();
|
||||
|
||||
void gfx_init(bool gl2);
|
||||
bool create_offscreen_gl(JNIEnv *p_env);
|
||||
void destroy_offscreen_gl(JNIEnv *p_env);
|
||||
void set_offscreen_gl_current(JNIEnv *p_env, bool p_current);
|
||||
@@ -111,4 +110,4 @@ public:
|
||||
void create_new_godot_instance(List<String> args);
|
||||
};
|
||||
|
||||
#endif /* !JAVA_GODOT_WRAPPER_H */
|
||||
#endif // JAVA_GODOT_WRAPPER_H
|
||||
|
||||
Reference in New Issue
Block a user