ruby2d 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/assets/README.md +20 -7
  3. data/assets/include/SDL2/SDL.h +135 -0
  4. data/assets/include/SDL2/SDL_assert.h +291 -0
  5. data/assets/include/SDL2/SDL_atomic.h +277 -0
  6. data/assets/include/SDL2/SDL_audio.h +826 -0
  7. data/assets/include/SDL2/SDL_bits.h +112 -0
  8. data/assets/include/SDL2/SDL_blendmode.h +120 -0
  9. data/assets/include/SDL2/SDL_clipboard.h +71 -0
  10. data/assets/include/SDL2/SDL_config.h +421 -0
  11. data/assets/include/SDL2/SDL_cpuinfo.h +188 -0
  12. data/assets/include/SDL2/SDL_egl.h +1673 -0
  13. data/assets/include/SDL2/SDL_endian.h +260 -0
  14. data/assets/include/SDL2/SDL_error.h +76 -0
  15. data/assets/include/SDL2/SDL_events.h +788 -0
  16. data/assets/include/SDL2/SDL_filesystem.h +136 -0
  17. data/assets/include/SDL2/SDL_gamecontroller.h +390 -0
  18. data/assets/include/SDL2/SDL_gesture.h +87 -0
  19. data/assets/include/SDL2/SDL_haptic.h +1238 -0
  20. data/assets/include/SDL2/SDL_hints.h +1135 -0
  21. data/assets/include/SDL2/SDL_image.h +161 -0
  22. data/assets/include/SDL2/SDL_joystick.h +408 -0
  23. data/assets/include/SDL2/SDL_keyboard.h +217 -0
  24. data/assets/include/SDL2/SDL_keycode.h +349 -0
  25. data/assets/include/SDL2/SDL_loadso.h +81 -0
  26. data/assets/include/SDL2/SDL_log.h +211 -0
  27. data/assets/include/SDL2/SDL_main.h +168 -0
  28. data/assets/include/SDL2/SDL_messagebox.h +144 -0
  29. data/assets/include/SDL2/SDL_mixer.h +651 -0
  30. data/assets/include/SDL2/SDL_mouse.h +302 -0
  31. data/assets/include/SDL2/SDL_mutex.h +251 -0
  32. data/assets/include/SDL2/SDL_name.h +33 -0
  33. data/assets/include/SDL2/SDL_opengl.h +2183 -0
  34. data/assets/include/SDL2/SDL_opengl_glext.h +11177 -0
  35. data/assets/include/SDL2/SDL_opengles.h +39 -0
  36. data/assets/include/SDL2/SDL_opengles2.h +52 -0
  37. data/assets/include/SDL2/SDL_opengles2_gl2.h +621 -0
  38. data/assets/include/SDL2/SDL_opengles2_gl2ext.h +2050 -0
  39. data/assets/include/SDL2/SDL_opengles2_gl2platform.h +30 -0
  40. data/assets/include/SDL2/SDL_opengles2_khrplatform.h +282 -0
  41. data/assets/include/SDL2/SDL_pixels.h +470 -0
  42. data/assets/include/SDL2/SDL_platform.h +198 -0
  43. data/assets/include/SDL2/SDL_power.h +75 -0
  44. data/assets/include/SDL2/SDL_quit.h +58 -0
  45. data/assets/include/SDL2/SDL_rect.h +148 -0
  46. data/assets/include/SDL2/SDL_render.h +931 -0
  47. data/assets/include/SDL2/SDL_revision.h +2 -0
  48. data/assets/include/SDL2/SDL_rwops.h +254 -0
  49. data/assets/include/SDL2/SDL_scancode.h +413 -0
  50. data/assets/include/SDL2/SDL_sensor.h +251 -0
  51. data/assets/include/SDL2/SDL_shape.h +144 -0
  52. data/assets/include/SDL2/SDL_stdinc.h +607 -0
  53. data/assets/include/SDL2/SDL_surface.h +553 -0
  54. data/assets/include/SDL2/SDL_system.h +279 -0
  55. data/assets/include/SDL2/SDL_syswm.h +324 -0
  56. data/assets/include/SDL2/SDL_test.h +69 -0
  57. data/assets/include/SDL2/SDL_test_assert.h +105 -0
  58. data/assets/include/SDL2/SDL_test_common.h +188 -0
  59. data/assets/include/SDL2/SDL_test_compare.h +69 -0
  60. data/assets/include/SDL2/SDL_test_crc32.h +124 -0
  61. data/assets/include/SDL2/SDL_test_font.h +81 -0
  62. data/assets/include/SDL2/SDL_test_fuzzer.h +384 -0
  63. data/assets/include/SDL2/SDL_test_harness.h +134 -0
  64. data/assets/include/SDL2/SDL_test_images.h +78 -0
  65. data/assets/include/SDL2/SDL_test_log.h +67 -0
  66. data/assets/include/SDL2/SDL_test_md5.h +129 -0
  67. data/assets/include/SDL2/SDL_test_memory.h +63 -0
  68. data/assets/include/SDL2/SDL_test_random.h +115 -0
  69. data/assets/include/SDL2/SDL_thread.h +343 -0
  70. data/assets/include/SDL2/SDL_timer.h +115 -0
  71. data/assets/include/SDL2/SDL_touch.h +86 -0
  72. data/assets/include/SDL2/SDL_ttf.h +294 -0
  73. data/assets/include/SDL2/SDL_types.h +29 -0
  74. data/assets/include/SDL2/SDL_version.h +162 -0
  75. data/assets/include/SDL2/SDL_video.h +1276 -0
  76. data/assets/include/SDL2/SDL_vulkan.h +278 -0
  77. data/assets/include/SDL2/begin_code.h +167 -0
  78. data/assets/include/SDL2/close_code.h +37 -0
  79. data/assets/include/glew.h +23686 -0
  80. data/assets/include/simple2d.h +735 -0
  81. data/assets/ios/MRuby.framework/Headers/mrbconf.h +3 -5
  82. data/assets/ios/MRuby.framework/Headers/mruby.h +35 -32
  83. data/assets/ios/MRuby.framework/Headers/mruby/array.h +1 -0
  84. data/assets/ios/MRuby.framework/Headers/mruby/boxing_word.h +9 -1
  85. data/assets/ios/MRuby.framework/Headers/mruby/class.h +14 -11
  86. data/assets/ios/MRuby.framework/Headers/mruby/common.h +5 -0
  87. data/assets/ios/MRuby.framework/Headers/mruby/compile.h +4 -3
  88. data/assets/ios/MRuby.framework/Headers/mruby/debug.h +3 -2
  89. data/assets/ios/MRuby.framework/Headers/mruby/dump.h +2 -2
  90. data/assets/ios/MRuby.framework/Headers/mruby/hash.h +38 -5
  91. data/assets/ios/MRuby.framework/Headers/mruby/irep.h +17 -4
  92. data/assets/ios/MRuby.framework/Headers/mruby/object.h +4 -5
  93. data/assets/ios/MRuby.framework/Headers/mruby/opcode.h +47 -139
  94. data/assets/ios/MRuby.framework/Headers/mruby/ops.h +117 -0
  95. data/assets/ios/MRuby.framework/Headers/mruby/proc.h +4 -4
  96. data/assets/ios/MRuby.framework/Headers/mruby/string.h +11 -7
  97. data/assets/ios/MRuby.framework/Headers/mruby/throw.h +4 -4
  98. data/assets/ios/MRuby.framework/Headers/mruby/variable.h +2 -4
  99. data/assets/ios/MRuby.framework/Headers/mruby/version.h +6 -6
  100. data/assets/ios/MRuby.framework/MRuby +0 -0
  101. data/assets/ios/MyApp.xcodeproj/project.pbxproj +24 -18
  102. data/assets/ios/MyApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  103. data/assets/ios/main.c +1 -1
  104. data/assets/macos/lib/libFLAC.a +0 -0
  105. data/assets/macos/lib/libSDL2.a +0 -0
  106. data/assets/macos/lib/libSDL2_image.a +0 -0
  107. data/assets/macos/lib/libSDL2_mixer.a +0 -0
  108. data/assets/macos/lib/libSDL2_ttf.a +0 -0
  109. data/assets/macos/lib/libfreetype.a +0 -0
  110. data/assets/macos/lib/libjpeg.a +0 -0
  111. data/assets/macos/lib/libmpg123.a +0 -0
  112. data/assets/macos/lib/libogg.a +0 -0
  113. data/assets/macos/lib/libpng16.a +0 -0
  114. data/assets/macos/lib/libsimple2d.a +0 -0
  115. data/assets/macos/lib/libtiff.a +0 -0
  116. data/assets/macos/lib/libvorbis.a +0 -0
  117. data/assets/macos/lib/libvorbisfile.a +0 -0
  118. data/assets/macos/lib/libwebp.a +0 -0
  119. data/assets/mingw/bin/SDL2.dll +0 -0
  120. data/assets/mingw/bin/SDL2_image.dll +0 -0
  121. data/assets/mingw/bin/SDL2_mixer.dll +0 -0
  122. data/assets/mingw/bin/SDL2_ttf.dll +0 -0
  123. data/assets/mingw/bin/glew32.dll +0 -0
  124. data/assets/mingw/bin/libFLAC-8.dll +0 -0
  125. data/assets/mingw/bin/libfreetype-6.dll +0 -0
  126. data/assets/mingw/bin/libjpeg-9.dll +0 -0
  127. data/assets/mingw/bin/libmodplug-1.dll +0 -0
  128. data/assets/mingw/bin/libmpg123-0.dll +0 -0
  129. data/assets/mingw/bin/libogg-0.dll +0 -0
  130. data/assets/mingw/bin/libopus-0.dll +0 -0
  131. data/assets/mingw/bin/libopusfile-0.dll +0 -0
  132. data/assets/mingw/bin/libpng16-16.dll +0 -0
  133. data/assets/mingw/bin/libtiff-5.dll +0 -0
  134. data/assets/mingw/bin/libvorbis-0.dll +0 -0
  135. data/assets/mingw/bin/libvorbisfile-3.dll +0 -0
  136. data/assets/mingw/bin/libwebp-7.dll +0 -0
  137. data/assets/mingw/bin/zlib1.dll +0 -0
  138. data/assets/mingw/lib/libSDL2.a +0 -0
  139. data/assets/mingw/lib/libSDL2.dll.a +0 -0
  140. data/assets/mingw/lib/libSDL2_image.a +0 -0
  141. data/assets/mingw/lib/libSDL2_image.dll.a +0 -0
  142. data/assets/mingw/lib/libSDL2_mixer.a +0 -0
  143. data/assets/mingw/lib/libSDL2_mixer.dll.a +0 -0
  144. data/assets/mingw/lib/libSDL2_test.a +0 -0
  145. data/assets/mingw/lib/libSDL2_ttf.a +0 -0
  146. data/assets/mingw/lib/libSDL2_ttf.dll.a +0 -0
  147. data/assets/mingw/lib/libSDL2main.a +0 -0
  148. data/assets/mingw/lib/libglew32.a +0 -0
  149. data/assets/mingw/lib/libglew32.dll.a +0 -0
  150. data/assets/mingw/lib/libsimple2d.a +0 -0
  151. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json +4 -0
  152. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json +4 -0
  153. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json +4 -0
  154. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json +4 -0
  155. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json +4 -0
  156. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json +4 -0
  157. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json +4 -0
  158. data/assets/tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json +4 -0
  159. data/assets/tvos/Assets.xcassets/LaunchImage.launchimage/Contents.json +7 -0
  160. data/assets/tvos/MRuby.framework/Headers/mrbconf.h +3 -5
  161. data/assets/tvos/MRuby.framework/Headers/mruby.h +35 -32
  162. data/assets/tvos/MRuby.framework/Headers/mruby/array.h +1 -0
  163. data/assets/tvos/MRuby.framework/Headers/mruby/boxing_word.h +9 -1
  164. data/assets/tvos/MRuby.framework/Headers/mruby/class.h +14 -11
  165. data/assets/tvos/MRuby.framework/Headers/mruby/common.h +5 -0
  166. data/assets/tvos/MRuby.framework/Headers/mruby/compile.h +4 -3
  167. data/assets/tvos/MRuby.framework/Headers/mruby/debug.h +3 -2
  168. data/assets/tvos/MRuby.framework/Headers/mruby/dump.h +2 -2
  169. data/assets/tvos/MRuby.framework/Headers/mruby/hash.h +38 -5
  170. data/assets/tvos/MRuby.framework/Headers/mruby/irep.h +17 -4
  171. data/assets/tvos/MRuby.framework/Headers/mruby/object.h +4 -5
  172. data/assets/tvos/MRuby.framework/Headers/mruby/opcode.h +47 -139
  173. data/assets/tvos/MRuby.framework/Headers/mruby/ops.h +117 -0
  174. data/assets/tvos/MRuby.framework/Headers/mruby/proc.h +4 -4
  175. data/assets/tvos/MRuby.framework/Headers/mruby/string.h +11 -7
  176. data/assets/tvos/MRuby.framework/Headers/mruby/throw.h +4 -4
  177. data/assets/tvos/MRuby.framework/Headers/mruby/variable.h +2 -4
  178. data/assets/tvos/MRuby.framework/Headers/mruby/version.h +6 -6
  179. data/assets/tvos/MRuby.framework/MRuby +0 -0
  180. data/assets/tvos/MyApp.xcodeproj/project.pbxproj +25 -19
  181. data/assets/tvos/MyApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  182. data/assets/tvos/main.c +1 -1
  183. data/ext/ruby2d/extconf.rb +59 -50
  184. data/ext/ruby2d/ruby2d.c +0 -1
  185. data/lib/ruby2d.rb +1 -7
  186. data/lib/ruby2d/cli/launch.rb +1 -1
  187. data/lib/ruby2d/font.rb +32 -7
  188. data/lib/ruby2d/version.rb +1 -1
  189. metadata +132 -6
  190. data/assets/opal.js +0 -21637
  191. data/assets/simple2d.js +0 -1379
  192. 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) do { try {
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) } } while(0)
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) do { if (MRB_SETJMP((buf)->impl) == 0) {
37
+ #define MRB_TRY(buf) if (MRB_SETJMP((buf)->impl) == 0) {
38
38
  #define MRB_CATCH(buf) } else {
39
- #define MRB_END_EXC(buf) } } while(0)
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 mrb_iv_p(mrb_state *mrb, mrb_sym sym);
46
- MRB_API void mrb_iv_check(mrb_state *mrb, mrb_sym sym);
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 "1.9"
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 1
40
+ #define MRUBY_RELEASE_MAJOR 2
41
41
 
42
42
  /*
43
43
  * Minor release version number.
44
44
  */
45
- #define MRUBY_RELEASE_MINOR 3
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 2017
65
+ #define MRUBY_RELEASE_YEAR 2018
66
66
 
67
67
  /*
68
68
  * Release month.
69
69
  */
70
- #define MRUBY_RELEASE_MONTH 7
70
+ #define MRUBY_RELEASE_MONTH 12
71
71
 
72
72
  /*
73
73
  * Release day.
74
74
  */
75
- #define MRUBY_RELEASE_DAY 4
75
+ #define MRUBY_RELEASE_DAY 11
76
76
 
77
77
  /*
78
78
  * Release date as a string.
@@ -3,12 +3,12 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 48;
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
- E2D0E9111F764AB0000AF870 /* MRuby.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2D0E9101F764AB0000AF870 /* MRuby.framework */; };
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
- E2D0E9101F764AB0000AF870 /* MRuby.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MRuby.framework; sourceTree = "<group>"; };
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
- E2D0E9111F764AB0000AF870 /* MRuby.framework in Frameworks */,
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
- E2D0E9101F764AB0000AF870 /* MRuby.framework */,
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 = 0910;
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 8.0";
150
- developmentRegion = English;
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
- IPHONEOS_DEPLOYMENT_TARGET = 11.1;
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
- IPHONEOS_DEPLOYMENT_TARGET = 11.1;
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 = "$(inherited) @executable_path/Frameworks";
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 = "$(inherited) @executable_path/Frameworks";
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
  };
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -1 +1 @@
1
- // Your Ruby 2D app here
1
+ // Your app here
Binary file
Binary file
@@ -3,6 +3,10 @@
3
3
  {
4
4
  "idiom" : "tv",
5
5
  "scale" : "1x"
6
+ },
7
+ {
8
+ "idiom" : "tv",
9
+ "scale" : "2x"
6
10
  }
7
11
  ],
8
12
  "info" : {
@@ -3,6 +3,10 @@
3
3
  {
4
4
  "idiom" : "tv",
5
5
  "scale" : "1x"
6
+ },
7
+ {
8
+ "idiom" : "tv",
9
+ "scale" : "2x"
6
10
  }
7
11
  ],
8
12
  "info" : {