ruby2d 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/README.md +20 -7
- data/assets/include/SDL2/SDL.h +135 -0
- data/assets/include/SDL2/SDL_assert.h +291 -0
- data/assets/include/SDL2/SDL_atomic.h +277 -0
- data/assets/include/SDL2/SDL_audio.h +826 -0
- data/assets/include/SDL2/SDL_bits.h +112 -0
- data/assets/include/SDL2/SDL_blendmode.h +120 -0
- data/assets/include/SDL2/SDL_clipboard.h +71 -0
- data/assets/include/SDL2/SDL_config.h +421 -0
- data/assets/include/SDL2/SDL_cpuinfo.h +188 -0
- data/assets/include/SDL2/SDL_egl.h +1673 -0
- data/assets/include/SDL2/SDL_endian.h +260 -0
- data/assets/include/SDL2/SDL_error.h +76 -0
- data/assets/include/SDL2/SDL_events.h +788 -0
- data/assets/include/SDL2/SDL_filesystem.h +136 -0
- data/assets/include/SDL2/SDL_gamecontroller.h +390 -0
- data/assets/include/SDL2/SDL_gesture.h +87 -0
- data/assets/include/SDL2/SDL_haptic.h +1238 -0
- data/assets/include/SDL2/SDL_hints.h +1135 -0
- data/assets/include/SDL2/SDL_image.h +161 -0
- data/assets/include/SDL2/SDL_joystick.h +408 -0
- data/assets/include/SDL2/SDL_keyboard.h +217 -0
- data/assets/include/SDL2/SDL_keycode.h +349 -0
- data/assets/include/SDL2/SDL_loadso.h +81 -0
- data/assets/include/SDL2/SDL_log.h +211 -0
- data/assets/include/SDL2/SDL_main.h +168 -0
- data/assets/include/SDL2/SDL_messagebox.h +144 -0
- data/assets/include/SDL2/SDL_mixer.h +651 -0
- data/assets/include/SDL2/SDL_mouse.h +302 -0
- data/assets/include/SDL2/SDL_mutex.h +251 -0
- data/assets/include/SDL2/SDL_name.h +33 -0
- data/assets/include/SDL2/SDL_opengl.h +2183 -0
- data/assets/include/SDL2/SDL_opengl_glext.h +11177 -0
- data/assets/include/SDL2/SDL_opengles.h +39 -0
- data/assets/include/SDL2/SDL_opengles2.h +52 -0
- data/assets/include/SDL2/SDL_opengles2_gl2.h +621 -0
- data/assets/include/SDL2/SDL_opengles2_gl2ext.h +2050 -0
- data/assets/include/SDL2/SDL_opengles2_gl2platform.h +30 -0
- data/assets/include/SDL2/SDL_opengles2_khrplatform.h +282 -0
- data/assets/include/SDL2/SDL_pixels.h +470 -0
- data/assets/include/SDL2/SDL_platform.h +198 -0
- data/assets/include/SDL2/SDL_power.h +75 -0
- data/assets/include/SDL2/SDL_quit.h +58 -0
- data/assets/include/SDL2/SDL_rect.h +148 -0
- data/assets/include/SDL2/SDL_render.h +931 -0
- data/assets/include/SDL2/SDL_revision.h +2 -0
- data/assets/include/SDL2/SDL_rwops.h +254 -0
- data/assets/include/SDL2/SDL_scancode.h +413 -0
- data/assets/include/SDL2/SDL_sensor.h +251 -0
- data/assets/include/SDL2/SDL_shape.h +144 -0
- data/assets/include/SDL2/SDL_stdinc.h +607 -0
- data/assets/include/SDL2/SDL_surface.h +553 -0
- data/assets/include/SDL2/SDL_system.h +279 -0
- data/assets/include/SDL2/SDL_syswm.h +324 -0
- data/assets/include/SDL2/SDL_test.h +69 -0
- data/assets/include/SDL2/SDL_test_assert.h +105 -0
- data/assets/include/SDL2/SDL_test_common.h +188 -0
- data/assets/include/SDL2/SDL_test_compare.h +69 -0
- data/assets/include/SDL2/SDL_test_crc32.h +124 -0
- data/assets/include/SDL2/SDL_test_font.h +81 -0
- data/assets/include/SDL2/SDL_test_fuzzer.h +384 -0
- data/assets/include/SDL2/SDL_test_harness.h +134 -0
- data/assets/include/SDL2/SDL_test_images.h +78 -0
- data/assets/include/SDL2/SDL_test_log.h +67 -0
- data/assets/include/SDL2/SDL_test_md5.h +129 -0
- data/assets/include/SDL2/SDL_test_memory.h +63 -0
- data/assets/include/SDL2/SDL_test_random.h +115 -0
- data/assets/include/SDL2/SDL_thread.h +343 -0
- data/assets/include/SDL2/SDL_timer.h +115 -0
- data/assets/include/SDL2/SDL_touch.h +86 -0
- data/assets/include/SDL2/SDL_ttf.h +294 -0
- data/assets/include/SDL2/SDL_types.h +29 -0
- data/assets/include/SDL2/SDL_version.h +162 -0
- data/assets/include/SDL2/SDL_video.h +1276 -0
- data/assets/include/SDL2/SDL_vulkan.h +278 -0
- data/assets/include/SDL2/begin_code.h +167 -0
- data/assets/include/SDL2/close_code.h +37 -0
- data/assets/include/glew.h +23686 -0
- data/assets/include/simple2d.h +735 -0
- data/assets/ios/MRuby.framework/Headers/mrbconf.h +3 -5
- data/assets/ios/MRuby.framework/Headers/mruby.h +35 -32
- data/assets/ios/MRuby.framework/Headers/mruby/array.h +1 -0
- data/assets/ios/MRuby.framework/Headers/mruby/boxing_word.h +9 -1
- data/assets/ios/MRuby.framework/Headers/mruby/class.h +14 -11
- data/assets/ios/MRuby.framework/Headers/mruby/common.h +5 -0
- data/assets/ios/MRuby.framework/Headers/mruby/compile.h +4 -3
- data/assets/ios/MRuby.framework/Headers/mruby/debug.h +3 -2
- data/assets/ios/MRuby.framework/Headers/mruby/dump.h +2 -2
- data/assets/ios/MRuby.framework/Headers/mruby/hash.h +38 -5
- data/assets/ios/MRuby.framework/Headers/mruby/irep.h +17 -4
- data/assets/ios/MRuby.framework/Headers/mruby/object.h +4 -5
- data/assets/ios/MRuby.framework/Headers/mruby/opcode.h +47 -139
- data/assets/ios/MRuby.framework/Headers/mruby/ops.h +117 -0
- data/assets/ios/MRuby.framework/Headers/mruby/proc.h +4 -4
- data/assets/ios/MRuby.framework/Headers/mruby/string.h +11 -7
- data/assets/ios/MRuby.framework/Headers/mruby/throw.h +4 -4
- data/assets/ios/MRuby.framework/Headers/mruby/variable.h +2 -4
- data/assets/ios/MRuby.framework/Headers/mruby/version.h +6 -6
- data/assets/ios/MRuby.framework/MRuby +0 -0
- data/assets/ios/MyApp.xcodeproj/project.pbxproj +24 -18
- data/assets/ios/MyApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/assets/ios/main.c +1 -1
- data/assets/macos/lib/libFLAC.a +0 -0
- data/assets/macos/lib/libSDL2.a +0 -0
- data/assets/macos/lib/libSDL2_image.a +0 -0
- data/assets/macos/lib/libSDL2_mixer.a +0 -0
- data/assets/macos/lib/libSDL2_ttf.a +0 -0
- data/assets/macos/lib/libfreetype.a +0 -0
- data/assets/macos/lib/libjpeg.a +0 -0
- data/assets/macos/lib/libmpg123.a +0 -0
- data/assets/macos/lib/libogg.a +0 -0
- data/assets/macos/lib/libpng16.a +0 -0
- data/assets/macos/lib/libsimple2d.a +0 -0
- data/assets/macos/lib/libtiff.a +0 -0
- data/assets/macos/lib/libvorbis.a +0 -0
- data/assets/macos/lib/libvorbisfile.a +0 -0
- data/assets/macos/lib/libwebp.a +0 -0
- data/assets/mingw/bin/SDL2.dll +0 -0
- data/assets/mingw/bin/SDL2_image.dll +0 -0
- data/assets/mingw/bin/SDL2_mixer.dll +0 -0
- data/assets/mingw/bin/SDL2_ttf.dll +0 -0
- data/assets/mingw/bin/glew32.dll +0 -0
- data/assets/mingw/bin/libFLAC-8.dll +0 -0
- data/assets/mingw/bin/libfreetype-6.dll +0 -0
- data/assets/mingw/bin/libjpeg-9.dll +0 -0
- data/assets/mingw/bin/libmodplug-1.dll +0 -0
- data/assets/mingw/bin/libmpg123-0.dll +0 -0
- data/assets/mingw/bin/libogg-0.dll +0 -0
- data/assets/mingw/bin/libopus-0.dll +0 -0
- data/assets/mingw/bin/libopusfile-0.dll +0 -0
- data/assets/mingw/bin/libpng16-16.dll +0 -0
- data/assets/mingw/bin/libtiff-5.dll +0 -0
- data/assets/mingw/bin/libvorbis-0.dll +0 -0
- data/assets/mingw/bin/libvorbisfile-3.dll +0 -0
- data/assets/mingw/bin/libwebp-7.dll +0 -0
- data/assets/mingw/bin/zlib1.dll +0 -0
- data/assets/mingw/lib/libSDL2.a +0 -0
- data/assets/mingw/lib/libSDL2.dll.a +0 -0
- data/assets/mingw/lib/libSDL2_image.a +0 -0
- data/assets/mingw/lib/libSDL2_image.dll.a +0 -0
- data/assets/mingw/lib/libSDL2_mixer.a +0 -0
- data/assets/mingw/lib/libSDL2_mixer.dll.a +0 -0
- data/assets/mingw/lib/libSDL2_test.a +0 -0
- data/assets/mingw/lib/libSDL2_ttf.a +0 -0
- data/assets/mingw/lib/libSDL2_ttf.dll.a +0 -0
- data/assets/mingw/lib/libSDL2main.a +0 -0
- data/assets/mingw/lib/libglew32.a +0 -0
- data/assets/mingw/lib/libglew32.dll.a +0 -0
- data/assets/mingw/lib/libsimple2d.a +0 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json +4 -0
- data/assets/tvos/Assets.xcassets/LaunchImage.launchimage/Contents.json +7 -0
- data/assets/tvos/MRuby.framework/Headers/mrbconf.h +3 -5
- data/assets/tvos/MRuby.framework/Headers/mruby.h +35 -32
- data/assets/tvos/MRuby.framework/Headers/mruby/array.h +1 -0
- data/assets/tvos/MRuby.framework/Headers/mruby/boxing_word.h +9 -1
- data/assets/tvos/MRuby.framework/Headers/mruby/class.h +14 -11
- data/assets/tvos/MRuby.framework/Headers/mruby/common.h +5 -0
- data/assets/tvos/MRuby.framework/Headers/mruby/compile.h +4 -3
- data/assets/tvos/MRuby.framework/Headers/mruby/debug.h +3 -2
- data/assets/tvos/MRuby.framework/Headers/mruby/dump.h +2 -2
- data/assets/tvos/MRuby.framework/Headers/mruby/hash.h +38 -5
- data/assets/tvos/MRuby.framework/Headers/mruby/irep.h +17 -4
- data/assets/tvos/MRuby.framework/Headers/mruby/object.h +4 -5
- data/assets/tvos/MRuby.framework/Headers/mruby/opcode.h +47 -139
- data/assets/tvos/MRuby.framework/Headers/mruby/ops.h +117 -0
- data/assets/tvos/MRuby.framework/Headers/mruby/proc.h +4 -4
- data/assets/tvos/MRuby.framework/Headers/mruby/string.h +11 -7
- data/assets/tvos/MRuby.framework/Headers/mruby/throw.h +4 -4
- data/assets/tvos/MRuby.framework/Headers/mruby/variable.h +2 -4
- data/assets/tvos/MRuby.framework/Headers/mruby/version.h +6 -6
- data/assets/tvos/MRuby.framework/MRuby +0 -0
- data/assets/tvos/MyApp.xcodeproj/project.pbxproj +25 -19
- data/assets/tvos/MyApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/assets/tvos/main.c +1 -1
- data/ext/ruby2d/extconf.rb +59 -50
- data/ext/ruby2d/ruby2d.c +0 -1
- data/lib/ruby2d.rb +1 -7
- data/lib/ruby2d/cli/launch.rb +1 -1
- data/lib/ruby2d/font.rb +32 -7
- data/lib/ruby2d/version.rb +1 -1
- metadata +132 -6
- data/assets/opal.js +0 -21637
- data/assets/simple2d.js +0 -1379
- data/assets/template.html +0 -18
@@ -15,9 +15,9 @@
|
|
15
15
|
|
16
16
|
#if defined(MRB_ENABLE_CXX_EXCEPTION) && defined(__cplusplus)
|
17
17
|
|
18
|
-
#define MRB_TRY(buf)
|
18
|
+
#define MRB_TRY(buf) try {
|
19
19
|
#define MRB_CATCH(buf) } catch(mrb_jmpbuf_impl e) { if (e != (buf)->impl) { throw e; }
|
20
|
-
#define MRB_END_EXC(buf) }
|
20
|
+
#define MRB_END_EXC(buf) }
|
21
21
|
|
22
22
|
#define MRB_THROW(buf) throw((buf)->impl)
|
23
23
|
typedef mrb_int mrb_jmpbuf_impl;
|
@@ -34,9 +34,9 @@ typedef mrb_int mrb_jmpbuf_impl;
|
|
34
34
|
#define MRB_LONGJMP longjmp
|
35
35
|
#endif
|
36
36
|
|
37
|
-
#define MRB_TRY(buf)
|
37
|
+
#define MRB_TRY(buf) if (MRB_SETJMP((buf)->impl) == 0) {
|
38
38
|
#define MRB_CATCH(buf) } else {
|
39
|
-
#define MRB_END_EXC(buf) }
|
39
|
+
#define MRB_END_EXC(buf) }
|
40
40
|
|
41
41
|
#define MRB_THROW(buf) MRB_LONGJMP((buf)->impl, 1);
|
42
42
|
#define mrb_jmpbuf_impl jmp_buf
|
@@ -31,8 +31,6 @@ struct global_entry {
|
|
31
31
|
|
32
32
|
mrb_value mrb_vm_special_get(mrb_state*, mrb_sym);
|
33
33
|
void mrb_vm_special_set(mrb_state*, mrb_sym, mrb_value);
|
34
|
-
mrb_value mrb_vm_iv_get(mrb_state*, mrb_sym);
|
35
|
-
void mrb_vm_iv_set(mrb_state*, mrb_sym, mrb_value);
|
36
34
|
mrb_value mrb_vm_cv_get(mrb_state*, mrb_sym);
|
37
35
|
void mrb_vm_cv_set(mrb_state*, mrb_sym, mrb_value);
|
38
36
|
mrb_value mrb_vm_const_get(mrb_state*, mrb_sym);
|
@@ -42,8 +40,8 @@ MRB_API void mrb_const_set(mrb_state*, mrb_value, mrb_sym, mrb_value);
|
|
42
40
|
MRB_API mrb_bool mrb_const_defined(mrb_state*, mrb_value, mrb_sym);
|
43
41
|
MRB_API void mrb_const_remove(mrb_state*, mrb_value, mrb_sym);
|
44
42
|
|
45
|
-
MRB_API mrb_bool
|
46
|
-
MRB_API void
|
43
|
+
MRB_API mrb_bool mrb_iv_name_sym_p(mrb_state *mrb, mrb_sym sym);
|
44
|
+
MRB_API void mrb_iv_name_sym_check(mrb_state *mrb, mrb_sym sym);
|
47
45
|
MRB_API mrb_value mrb_obj_iv_get(mrb_state *mrb, struct RObject *obj, mrb_sym sym);
|
48
46
|
MRB_API void mrb_obj_iv_set(mrb_state *mrb, struct RObject *obj, mrb_sym sym, mrb_value v);
|
49
47
|
MRB_API mrb_bool mrb_obj_iv_defined(mrb_state *mrb, struct RObject *obj, mrb_sym sym);
|
@@ -27,7 +27,7 @@ MRB_BEGIN_DECL
|
|
27
27
|
/*
|
28
28
|
* The version of Ruby used by mruby.
|
29
29
|
*/
|
30
|
-
#define MRUBY_RUBY_VERSION "
|
30
|
+
#define MRUBY_RUBY_VERSION "2.0"
|
31
31
|
|
32
32
|
/*
|
33
33
|
* Ruby engine.
|
@@ -37,12 +37,12 @@ MRB_BEGIN_DECL
|
|
37
37
|
/*
|
38
38
|
* Major release version number.
|
39
39
|
*/
|
40
|
-
#define MRUBY_RELEASE_MAJOR
|
40
|
+
#define MRUBY_RELEASE_MAJOR 2
|
41
41
|
|
42
42
|
/*
|
43
43
|
* Minor release version number.
|
44
44
|
*/
|
45
|
-
#define MRUBY_RELEASE_MINOR
|
45
|
+
#define MRUBY_RELEASE_MINOR 0
|
46
46
|
|
47
47
|
/*
|
48
48
|
* Tiny release version number.
|
@@ -62,17 +62,17 @@ MRB_BEGIN_DECL
|
|
62
62
|
/*
|
63
63
|
* Release year.
|
64
64
|
*/
|
65
|
-
#define MRUBY_RELEASE_YEAR
|
65
|
+
#define MRUBY_RELEASE_YEAR 2018
|
66
66
|
|
67
67
|
/*
|
68
68
|
* Release month.
|
69
69
|
*/
|
70
|
-
#define MRUBY_RELEASE_MONTH
|
70
|
+
#define MRUBY_RELEASE_MONTH 12
|
71
71
|
|
72
72
|
/*
|
73
73
|
* Release day.
|
74
74
|
*/
|
75
|
-
#define MRUBY_RELEASE_DAY
|
75
|
+
#define MRUBY_RELEASE_DAY 11
|
76
76
|
|
77
77
|
/*
|
78
78
|
* Release date as a string.
|
Binary file
|
@@ -3,12 +3,12 @@
|
|
3
3
|
archiveVersion = 1;
|
4
4
|
classes = {
|
5
5
|
};
|
6
|
-
objectVersion =
|
6
|
+
objectVersion = 51;
|
7
7
|
objects = {
|
8
8
|
|
9
9
|
/* Begin PBXBuildFile section */
|
10
10
|
E2206BB21F4AB341002BD456 /* Simple2D.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2206BB11F4AB341002BD456 /* Simple2D.framework */; };
|
11
|
-
|
11
|
+
E2309DBE22532AD60005CB0C /* MRuby.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2309DBD22532AD60005CB0C /* MRuby.framework */; };
|
12
12
|
E2EA16241F157410003F048F /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = E2EA16231F157410003F048F /* main.c */; };
|
13
13
|
E2EA163D1F1574C9003F048F /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2EA16321F1574C9003F048F /* AudioToolbox.framework */; };
|
14
14
|
E2EA163E1F1574C9003F048F /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2EA16331F1574C9003F048F /* AVFoundation.framework */; };
|
@@ -25,7 +25,7 @@
|
|
25
25
|
|
26
26
|
/* Begin PBXFileReference section */
|
27
27
|
E2206BB11F4AB341002BD456 /* Simple2D.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Simple2D.framework; path = ../../../../../../../usr/local/Frameworks/Simple2D/iOS/Simple2D.framework; sourceTree = "<group>"; };
|
28
|
-
|
28
|
+
E2309DBD22532AD60005CB0C /* MRuby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MRuby.framework; sourceTree = "<group>"; };
|
29
29
|
E2EA15E61F15728D003F048F /* MyApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
30
30
|
E2EA15F51F15728D003F048F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
31
31
|
E2EA15F81F15728D003F048F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
@@ -49,7 +49,7 @@
|
|
49
49
|
isa = PBXFrameworksBuildPhase;
|
50
50
|
buildActionMask = 2147483647;
|
51
51
|
files = (
|
52
|
-
|
52
|
+
E2309DBE22532AD60005CB0C /* MRuby.framework in Frameworks */,
|
53
53
|
E2206BB21F4AB341002BD456 /* Simple2D.framework in Frameworks */,
|
54
54
|
E2EA163D1F1574C9003F048F /* AudioToolbox.framework in Frameworks */,
|
55
55
|
E2EA163E1F1574C9003F048F /* AVFoundation.framework in Frameworks */,
|
@@ -94,7 +94,7 @@
|
|
94
94
|
E2EA16251F15742F003F048F /* Frameworks */ = {
|
95
95
|
isa = PBXGroup;
|
96
96
|
children = (
|
97
|
-
|
97
|
+
E2309DBD22532AD60005CB0C /* MRuby.framework */,
|
98
98
|
E2206BB11F4AB341002BD456 /* Simple2D.framework */,
|
99
99
|
E2EA16321F1574C9003F048F /* AudioToolbox.framework */,
|
100
100
|
E2EA16331F1574C9003F048F /* AVFoundation.framework */,
|
@@ -137,7 +137,7 @@
|
|
137
137
|
E2EA15DE1F15728D003F048F /* Project object */ = {
|
138
138
|
isa = PBXProject;
|
139
139
|
attributes = {
|
140
|
-
LastUpgradeCheck =
|
140
|
+
LastUpgradeCheck = 1020;
|
141
141
|
TargetAttributes = {
|
142
142
|
E2EA15E51F15728D003F048F = {
|
143
143
|
CreatedOnToolsVersion = 8.3.3;
|
@@ -146,8 +146,8 @@
|
|
146
146
|
};
|
147
147
|
};
|
148
148
|
buildConfigurationList = E2EA15E11F15728D003F048F /* Build configuration list for PBXProject "MyApp" */;
|
149
|
-
compatibilityVersion = "Xcode
|
150
|
-
developmentRegion =
|
149
|
+
compatibilityVersion = "Xcode 10.0";
|
150
|
+
developmentRegion = en;
|
151
151
|
hasScannedForEncodings = 0;
|
152
152
|
knownRegions = (
|
153
153
|
en,
|
@@ -201,6 +201,7 @@
|
|
201
201
|
isa = XCBuildConfiguration;
|
202
202
|
buildSettings = {
|
203
203
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
204
|
+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
204
205
|
CLANG_ANALYZER_NONNULL = YES;
|
205
206
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
206
207
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
@@ -211,17 +212,17 @@
|
|
211
212
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
212
213
|
CLANG_WARN_COMMA = YES;
|
213
214
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
215
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
214
216
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
215
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
216
217
|
CLANG_WARN_EMPTY_BODY = YES;
|
217
218
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
218
219
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
219
220
|
CLANG_WARN_INT_CONVERSION = YES;
|
220
221
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
222
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
221
223
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
222
224
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
223
225
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
224
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
225
226
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
226
227
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
227
228
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
@@ -244,7 +245,7 @@
|
|
244
245
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
245
246
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
246
247
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
247
|
-
|
248
|
+
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/MRuby.framework/Headers\"";
|
248
249
|
MTL_ENABLE_DEBUG_INFO = YES;
|
249
250
|
ONLY_ACTIVE_ARCH = YES;
|
250
251
|
SDKROOT = iphoneos;
|
@@ -256,6 +257,7 @@
|
|
256
257
|
isa = XCBuildConfiguration;
|
257
258
|
buildSettings = {
|
258
259
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
260
|
+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
259
261
|
CLANG_ANALYZER_NONNULL = YES;
|
260
262
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
261
263
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
@@ -266,17 +268,17 @@
|
|
266
268
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
267
269
|
CLANG_WARN_COMMA = YES;
|
268
270
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
271
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
269
272
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
270
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
271
273
|
CLANG_WARN_EMPTY_BODY = YES;
|
272
274
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
273
275
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
274
276
|
CLANG_WARN_INT_CONVERSION = YES;
|
275
277
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
278
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
276
279
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
277
280
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
278
281
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
279
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
280
282
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
281
283
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
282
284
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
@@ -293,7 +295,7 @@
|
|
293
295
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
294
296
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
295
297
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
296
|
-
|
298
|
+
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/MRuby.framework/Headers\"";
|
297
299
|
MTL_ENABLE_DEBUG_INFO = NO;
|
298
300
|
SDKROOT = iphoneos;
|
299
301
|
TARGETED_DEVICE_FAMILY = "1,2";
|
@@ -310,9 +312,11 @@
|
|
310
312
|
/usr/local/Frameworks/Simple2D/iOS,
|
311
313
|
"$(PROJECT_DIR)",
|
312
314
|
);
|
313
|
-
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/MRuby.framework/Headers\"";
|
314
315
|
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
|
315
|
-
LD_RUNPATH_SEARCH_PATHS =
|
316
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
317
|
+
"$(inherited)",
|
318
|
+
"@executable_path/Frameworks",
|
319
|
+
);
|
316
320
|
PRODUCT_BUNDLE_IDENTIFIER = Ruby2D.MyApp;
|
317
321
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
318
322
|
};
|
@@ -327,9 +331,11 @@
|
|
327
331
|
/usr/local/Frameworks/Simple2D/iOS,
|
328
332
|
"$(PROJECT_DIR)",
|
329
333
|
);
|
330
|
-
HEADER_SEARCH_PATHS = "\"$(SRCROOT)/MRuby.framework/Headers\"";
|
331
334
|
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
|
332
|
-
LD_RUNPATH_SEARCH_PATHS =
|
335
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
336
|
+
"$(inherited)",
|
337
|
+
"@executable_path/Frameworks",
|
338
|
+
);
|
333
339
|
PRODUCT_BUNDLE_IDENTIFIER = Ruby2D.MyApp;
|
334
340
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
335
341
|
};
|
data/assets/ios/main.c
CHANGED
@@ -1 +1 @@
|
|
1
|
-
// Your
|
1
|
+
// Your app here
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|