ruby2d 0.11.3 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/assets/{windows/glew → include/GL}/glew.h +26427 -23686
  3. data/assets/include/GLES2/gl2.h +656 -0
  4. data/assets/include/GLES2/gl2ext.h +3949 -0
  5. data/assets/include/GLES2/gl2ext_angle.h +701 -0
  6. data/assets/include/GLES2/gl2platform.h +27 -0
  7. data/assets/include/GLES3/gl3.h +1192 -0
  8. data/assets/include/GLES3/gl31.h +1507 -0
  9. data/assets/include/GLES3/gl32.h +1808 -0
  10. data/assets/include/GLES3/gl3platform.h +27 -0
  11. data/assets/include/KHR/khrplatform.h +290 -0
  12. data/assets/include/SDL2/SDL.h +1 -0
  13. data/assets/include/SDL2/SDL_assert.h +4 -2
  14. data/assets/include/SDL2/SDL_atomic.h +20 -0
  15. data/assets/include/SDL2/SDL_audio.h +40 -4
  16. data/assets/include/SDL2/SDL_blendmode.h +4 -6
  17. data/assets/include/SDL2/SDL_clipboard.h +47 -0
  18. data/assets/include/SDL2/SDL_config.h +6 -2
  19. data/assets/include/SDL2/SDL_config_android.h +2 -0
  20. data/assets/include/SDL2/SDL_config_emscripten.h +2 -0
  21. data/assets/include/SDL2/SDL_config_iphoneos.h +3 -1
  22. data/assets/include/SDL2/SDL_config_macosx.h +3 -6
  23. data/assets/include/SDL2/SDL_config_minimal.h +18 -11
  24. data/assets/include/SDL2/SDL_config_ngage.h +89 -0
  25. data/assets/include/SDL2/SDL_config_os2.h +5 -3
  26. data/assets/include/SDL2/SDL_config_pandora.h +1 -0
  27. data/assets/include/SDL2/SDL_config_windows.h +71 -45
  28. data/assets/include/SDL2/SDL_config_wingdk.h +253 -0
  29. data/assets/include/SDL2/SDL_config_winrt.h +11 -49
  30. data/assets/include/SDL2/SDL_config_xbox.h +235 -0
  31. data/assets/include/SDL2/SDL_cpuinfo.h +39 -4
  32. data/assets/include/SDL2/SDL_egl.h +59 -9
  33. data/assets/include/SDL2/SDL_endian.h +34 -3
  34. data/assets/include/SDL2/SDL_events.h +32 -1
  35. data/assets/include/SDL2/SDL_filesystem.h +5 -1
  36. data/assets/include/SDL2/SDL_gamecontroller.h +78 -5
  37. data/assets/include/SDL2/SDL_guid.h +100 -0
  38. data/assets/include/SDL2/SDL_hints.h +645 -43
  39. data/assets/include/SDL2/SDL_image.h +2045 -33
  40. data/assets/include/SDL2/SDL_joystick.h +127 -7
  41. data/assets/include/SDL2/SDL_keyboard.h +38 -1
  42. data/assets/include/SDL2/SDL_keycode.h +6 -1
  43. data/assets/include/SDL2/SDL_log.h +2 -2
  44. data/assets/include/SDL2/SDL_main.h +42 -2
  45. data/assets/include/SDL2/SDL_metal.h +2 -1
  46. data/assets/include/SDL2/SDL_mixer.h +2529 -396
  47. data/assets/include/SDL2/SDL_mouse.h +12 -1
  48. data/assets/include/SDL2/SDL_opengl.h +0 -51
  49. data/assets/include/SDL2/SDL_opengl_glext.h +2260 -231
  50. data/assets/include/SDL2/SDL_opengles2_gl2.h +374 -339
  51. data/assets/include/SDL2/SDL_opengles2_gl2ext.h +3479 -1496
  52. data/assets/include/SDL2/SDL_opengles2_gl2platform.h +6 -9
  53. data/assets/include/SDL2/SDL_opengles2_khrplatform.h +43 -14
  54. data/assets/include/SDL2/SDL_platform.h +32 -6
  55. data/assets/include/SDL2/SDL_rect.h +154 -2
  56. data/assets/include/SDL2/SDL_render.h +46 -17
  57. data/assets/include/SDL2/SDL_revision.h +4 -0
  58. data/assets/include/SDL2/SDL_rwops.h +1 -15
  59. data/assets/include/SDL2/SDL_scancode.h +46 -21
  60. data/assets/include/SDL2/SDL_sensor.h +24 -3
  61. data/assets/include/SDL2/SDL_stdinc.h +119 -8
  62. data/assets/include/SDL2/SDL_surface.h +3 -1
  63. data/assets/include/SDL2/SDL_system.h +66 -6
  64. data/assets/include/SDL2/SDL_syswm.h +2 -0
  65. data/assets/include/SDL2/SDL_test_common.h +1 -0
  66. data/assets/include/SDL2/SDL_test_font.h +90 -3
  67. data/assets/include/SDL2/SDL_thread.h +3 -3
  68. data/assets/include/SDL2/SDL_touch.h +8 -0
  69. data/assets/include/SDL2/SDL_ttf.h +2084 -155
  70. data/assets/include/SDL2/SDL_version.h +19 -3
  71. data/assets/include/SDL2/SDL_video.h +71 -9
  72. data/assets/include/SDL2/begin_code.h +4 -4
  73. data/assets/include/mrbconf.h +15 -17
  74. data/assets/include/mruby/array.h +8 -21
  75. data/assets/include/mruby/boxing_nan.h +115 -86
  76. data/assets/include/mruby/boxing_word.h +104 -78
  77. data/assets/include/mruby/common.h +6 -0
  78. data/assets/include/mruby/compile.h +3 -4
  79. data/assets/include/mruby/debug.h +4 -2
  80. data/assets/include/mruby/dump.h +5 -2
  81. data/assets/include/mruby/error.h +12 -2
  82. data/assets/include/mruby/gc.h +2 -0
  83. data/assets/include/mruby/hash.h +1 -3
  84. data/assets/include/mruby/irep.h +4 -4
  85. data/assets/include/mruby/numeric.h +21 -13
  86. data/assets/include/mruby/opcode.h +30 -0
  87. data/assets/include/mruby/ops.h +99 -101
  88. data/assets/include/mruby/presym/scanning.h +15 -9
  89. data/assets/include/mruby/proc.h +4 -2
  90. data/assets/include/mruby/string.h +3 -24
  91. data/assets/include/mruby/value.h +80 -40
  92. data/assets/include/mruby/variable.h +0 -15
  93. data/assets/include/mruby/version.h +5 -5
  94. data/assets/include/mruby.h +86 -16
  95. data/assets/macos/universal/bin/mrbc +0 -0
  96. data/assets/macos/universal/lib/libFLAC.a +0 -0
  97. data/assets/macos/universal/lib/libSDL2.a +0 -0
  98. data/assets/macos/universal/lib/libSDL2_image.a +0 -0
  99. data/assets/macos/universal/lib/libSDL2_mixer.a +0 -0
  100. data/assets/macos/universal/lib/libSDL2_ttf.a +0 -0
  101. data/assets/macos/universal/lib/libavif.a +0 -0
  102. data/assets/macos/universal/lib/libbrotlicommon-static.a +0 -0
  103. data/assets/macos/universal/lib/libbrotlidec-static.a +0 -0
  104. data/assets/macos/universal/lib/libfreetype.a +0 -0
  105. data/assets/macos/universal/lib/libgraphite2.a +0 -0
  106. data/assets/macos/universal/lib/libharfbuzz.a +0 -0
  107. data/assets/macos/universal/lib/libhwy.a +0 -0
  108. data/assets/macos/universal/lib/libjpeg.a +0 -0
  109. data/assets/macos/universal/lib/libjxl.a +0 -0
  110. data/assets/macos/universal/lib/libmodplug.a +0 -0
  111. data/assets/macos/universal/lib/libmpg123.a +0 -0
  112. data/assets/macos/universal/lib/libmruby.a +0 -0
  113. data/assets/macos/universal/lib/libogg.a +0 -0
  114. data/assets/macos/universal/lib/libpng.a +0 -0
  115. data/assets/macos/universal/lib/libtiff.a +0 -0
  116. data/assets/macos/universal/lib/libvorbis.a +0 -0
  117. data/assets/macos/universal/lib/libvorbisfile.a +0 -0
  118. data/assets/macos/universal/lib/libwebp.a +0 -0
  119. data/assets/macos/universal/lib/libzstd.a +0 -0
  120. data/assets/wasm/template.html +2 -1
  121. data/assets/windows/mingw-w64-ucrt-x86_64/bin/mrbc.exe +0 -0
  122. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a +0 -0
  123. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libLerc.a +0 -0
  124. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a +0 -0
  125. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_image.a +0 -0
  126. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a +0 -0
  127. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_ttf.a +0 -0
  128. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlicommon.a +0 -0
  129. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlidec.a +0 -0
  130. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libdeflate.a +0 -0
  131. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libfreetype.a +0 -0
  132. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a +0 -0
  133. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libharfbuzz.a +0 -0
  134. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libhwy.a +0 -0
  135. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjpeg.a +0 -0
  136. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjxl.a +0 -0
  137. data/assets/windows/mingw-w64-ucrt-x86_64/lib/liblzma.a +0 -0
  138. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a +0 -0
  139. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmruby.a +0 -0
  140. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a +0 -0
  141. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libpng.a +0 -0
  142. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a +0 -0
  143. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a +0 -0
  144. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a +0 -0
  145. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libtiff.a +0 -0
  146. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libwebp.a +0 -0
  147. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a +0 -0
  148. data/assets/windows/mingw-w64-x86_64/bin/mrbc.exe +0 -0
  149. data/assets/windows/mingw-w64-x86_64/lib/libFLAC.a +0 -0
  150. data/assets/windows/mingw-w64-x86_64/lib/libLerc.a +0 -0
  151. data/assets/windows/mingw-w64-x86_64/lib/libSDL2.a +0 -0
  152. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_image.a +0 -0
  153. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a +0 -0
  154. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_ttf.a +0 -0
  155. data/assets/windows/mingw-w64-x86_64/lib/libbrotlicommon.a +0 -0
  156. data/assets/windows/mingw-w64-x86_64/lib/libbrotlidec.a +0 -0
  157. data/assets/windows/mingw-w64-x86_64/lib/libdeflate.a +0 -0
  158. data/assets/windows/mingw-w64-x86_64/lib/libfreetype.a +0 -0
  159. data/assets/windows/mingw-w64-x86_64/lib/libglew32.a +0 -0
  160. data/assets/windows/mingw-w64-x86_64/lib/libharfbuzz.a +0 -0
  161. data/assets/windows/mingw-w64-x86_64/lib/libhwy.a +0 -0
  162. data/assets/windows/mingw-w64-x86_64/lib/libjpeg.a +0 -0
  163. data/assets/windows/mingw-w64-x86_64/lib/libjxl.a +0 -0
  164. data/assets/windows/mingw-w64-x86_64/lib/liblzma.a +0 -0
  165. data/assets/windows/mingw-w64-x86_64/lib/libmpg123.a +0 -0
  166. data/assets/windows/mingw-w64-x86_64/lib/libmruby.a +0 -0
  167. data/assets/windows/mingw-w64-x86_64/lib/libopus.a +0 -0
  168. data/assets/windows/mingw-w64-x86_64/lib/libpng.a +0 -0
  169. data/assets/windows/mingw-w64-x86_64/lib/libsndfile.a +0 -0
  170. data/assets/windows/mingw-w64-x86_64/lib/libssp.a +0 -0
  171. data/assets/windows/mingw-w64-x86_64/lib/libstdc++.a +0 -0
  172. data/assets/windows/mingw-w64-x86_64/lib/libtiff.a +0 -0
  173. data/assets/windows/mingw-w64-x86_64/lib/libwebp.a +0 -0
  174. data/assets/windows/mingw-w64-x86_64/lib/libz.a +0 -0
  175. data/assets/windows/mingw-w64-x86_64/lib/libzstd.a +0 -0
  176. data/ext/ruby2d/canvas.c +540 -0
  177. data/ext/ruby2d/extconf.rb +33 -20
  178. data/ext/ruby2d/gl.c +3 -3
  179. data/ext/ruby2d/image.c +7 -7
  180. data/ext/ruby2d/ruby2d.c +741 -24
  181. data/ext/ruby2d/ruby2d.h +66 -3
  182. data/ext/ruby2d/sound.c +16 -2
  183. data/lib/ruby2d/canvas.rb +315 -0
  184. data/lib/ruby2d/circle.rb +30 -15
  185. data/lib/ruby2d/cli/build.rb +5 -3
  186. data/lib/ruby2d/cli/enable_console.rb +3 -1
  187. data/lib/ruby2d/color.rb +133 -77
  188. data/lib/ruby2d/core.rb +32 -0
  189. data/lib/ruby2d/dsl.rb +38 -32
  190. data/lib/ruby2d/exceptions.rb +2 -1
  191. data/lib/ruby2d/font.rb +97 -62
  192. data/lib/ruby2d/image.rb +48 -27
  193. data/lib/ruby2d/line.rb +84 -45
  194. data/lib/ruby2d/music.rb +33 -23
  195. data/lib/ruby2d/pixel.rb +10 -9
  196. data/lib/ruby2d/pixmap.rb +39 -0
  197. data/lib/ruby2d/pixmap_atlas.rb +56 -0
  198. data/lib/ruby2d/quad.rb +98 -49
  199. data/lib/ruby2d/rectangle.rb +35 -36
  200. data/lib/ruby2d/renderable.rb +7 -6
  201. data/lib/ruby2d/sound.rb +23 -17
  202. data/lib/ruby2d/sprite.rb +181 -140
  203. data/lib/ruby2d/square.rb +21 -20
  204. data/lib/ruby2d/text.rb +47 -19
  205. data/lib/ruby2d/texture.rb +13 -3
  206. data/lib/ruby2d/tileset.rb +97 -44
  207. data/lib/ruby2d/triangle.rb +91 -42
  208. data/lib/ruby2d/version.rb +3 -1
  209. data/lib/ruby2d/vertices.rb +81 -45
  210. data/lib/ruby2d/window.rb +508 -371
  211. data/lib/ruby2d.rb +11 -29
  212. metadata +66 -16
  213. data/assets/include/SDL2/SDL_config_psp.h +0 -165
  214. data/assets/include/SDL2/SDL_config_wiz.h +0 -154
  215. data/assets/include/glew.h +0 -23686
  216. data/assets/macos/universal/lib/libpng16.a +0 -0
  217. data/assets/windows/glew/README.md +0 -10
  218. data/assets/windows/glew/libglew32.a +0 -0
  219. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libpng16.a +0 -0
  220. data/assets/windows/mingw-w64-x86_64/lib/libpng16.a +0 -0
  221. data/lib/ruby2d/entity.rb +0 -17

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.