stylet 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.travis.yml +4 -0
  4. data/.yardopts +2 -0
  5. data/Gemfile +16 -0
  6. data/README.org +19 -0
  7. data/Rakefile +17 -0
  8. data/bin/setup +63 -0
  9. data/bin/stylet +8 -0
  10. data/examples/.ruby-version +1 -0
  11. data/examples/00100_lib_hello_world.rb +8 -0
  12. data/examples/00110_lib_sge_check.rb +6 -0
  13. data/examples/00120_lib_/343/202/254/343/203/263/343/203/236/345/200/244/343/201/256/345/244/211/346/233/264.rb +22 -0
  14. data/examples/00130_lib_window_title.rb +8 -0
  15. data/examples/00140_lib_callbacks.rb +8 -0
  16. data/examples/00150_lib_vector.rb +5 -0
  17. data/examples/00160_lib_run.rb +4 -0
  18. data/examples/00170_lib_frame.rb +4 -0
  19. data/examples/00180_lib_config/347/242/272/350/252/215.rb +7 -0
  20. data/examples/00190_lib_/343/201/231/343/201/271/343/201/246/345/220/214/343/201/230/343/202/252/343/203/226/343/202/270/343/202/247/343/202/257/343/203/210.rb +10 -0
  21. data/examples/00200_lib_/343/203/254/343/202/267/343/203/274/343/203/220/343/203/274/343/202/222/347/234/201/347/225/245/343/201/231/343/202/213/346/226/271/346/263/225/343/201/256/343/203/206/343/202/271/343/203/210.rb +28 -0
  22. data/examples/00210_lib_delegators.rb +7 -0
  23. data/examples/00220_lib_template_method.rb +13 -0
  24. data/examples/00230_lib_/350/203/214/346/231/257/347/224/273/345/203/217/350/241/250/347/244/272.rb +9 -0
  25. data/examples/00240_lib_/350/203/214/346/231/257/347/224/273/345/203/217/343/202/222/346/232/227/343/201/2171_/351/273/222/343/201/256/344/270/212/343/201/253/350/203/214/346/231/257.rb +18 -0
  26. data/examples/00250_lib_/350/203/214/346/231/257/347/224/273/345/203/217/343/202/222/346/232/227/343/201/2172_/350/203/214/346/231/257/343/201/256/344/270/212/343/201/253/351/273/222.rb +17 -0
  27. data/examples/00260_lib_/350/203/214/346/231/257/347/224/273/345/203/217/343/202/222/346/232/227/343/201/2173_/350/203/214/346/231/257/343/201/256/344/270/212/343/201/253/351/273/222_/347/224/273/351/235/242/343/202/265/343/202/244/343/202/272/343/203/225/343/202/243/343/203/203/343/203/210_/351/207/215/343/201/204.rb +27 -0
  28. data/examples/00270_lib_/350/203/214/346/231/257/347/224/273/345/203/217/343/202/222/346/232/227/343/201/2173_/350/203/214/346/231/257/343/201/256/344/270/212/343/201/253/351/273/222_/347/224/273/351/235/242/343/202/265/343/202/244/343/202/272/343/203/225/343/202/243/343/203/203/343/203/210_/351/253/230/351/200/237/345/214/226.rb +44 -0
  29. data/examples/00280_lib_/347/211/271/345/256/232/343/201/256/343/202/250/343/203/252/343/202/242/343/201/240/343/201/221/345/276/220/343/200/205/343/201/253/346/266/210/343/201/231.rb +26 -0
  30. data/examples/00290_lib_/350/203/214/346/231/257/350/211/262/345/244/211/346/233/264.rb +5 -0
  31. data/examples/00300_lib_/343/202/255/343/203/243/343/203/251/343/202/257/343/202/277/347/224/273/345/203/217/343/202/222/350/241/250/347/244/272/343/201/231/343/202/213/344/276/213.rb +17 -0
  32. data/examples/00310_lib_/343/202/255/343/203/243/343/203/251/343/202/257/343/202/277/347/224/273/345/203/217/343/201/256/343/202/242/343/203/213/343/203/241/343/203/274/343/202/267/343/203/247/343/203/263.rb +18 -0
  33. data/examples/00320_lib_/343/202/255/343/203/243/343/203/251/343/202/257/343/202/277/346/213/241/345/244/247/347/270/256/345/260/217/345/233/236/350/273/242.rb +21 -0
  34. data/examples/00330_joystick.rb +5 -0
  35. data/examples/00340_joystick_PS3/343/202/242/343/203/212/343/203/255/343/202/260/343/203/254/343/203/220/343/203/274/343/201/256/345/213/225/343/201/215/343/201/214/345/206/205/351/203/250/343/201/247/343/201/257/345/233/233/350/247/222.rb +30 -0
  36. data/examples/00350_joystick_PS3/343/202/242/343/203/212/343/203/255/343/202/260/343/203/254/343/203/220/343/203/274/343/201/256/350/252/277/346/225/264/346/270/210/343/201/277/343/203/231/343/202/257/343/203/210/343/203/253.rb +12 -0
  37. data/examples/00360_lib_mouse.rb +5 -0
  38. data/examples/00370_lib_input.rb +29 -0
  39. data/examples/00380_lib_vputs_align.rb +8 -0
  40. data/examples/00390_/343/203/225/343/202/251/343/203/263/343/203/210/344/270/200/350/246/247.rb +15 -0
  41. data/examples/00400_lib_draw_circle.rb +8 -0
  42. data/examples/00410_SDL/343/201/256draw_rect/343/201/2571/343/203/224/343/202/257/343/202/273/343/203/253/344/275/231/345/210/206/343/201/253/346/217/217/347/224/273/343/201/225/343/202/214/343/202/213/343/201/256/343/201/247/346/263/250/346/204/217.rb +7 -0
  43. data/examples/00420_circle_on_circle.rb +10 -0
  44. data/examples/00430_rotate.rb +16 -0
  45. data/examples/00440_draw_triangle.rb +7 -0
  46. data/examples/00450_parabora_triangle.rb +37 -0
  47. data/examples/00460_ice_hockey.rb +88 -0
  48. data/examples/00470_collision_block_vs_block.rb +120 -0
  49. data/examples/00480_simple_circle_controll.rb +37 -0
  50. data/examples/00490_/347/255/211/351/200/237/347/247/273/345/213/225_uniform_velocity_rain.rb +51 -0
  51. data/examples/00500_/345/212/240/351/200/237/346/224/276/347/211/251/347/267/232_parabora_volcano.rb +94 -0
  52. data/examples/00510_3d.rb +53 -0
  53. data/examples/00520_/343/203/210/343/203/253/343/203/215/343/201/256/343/203/241/343/203/213/343/203/245/343/203/274/351/242/250/343/201/256/345/213/225/343/201/215.rb +77 -0
  54. data/examples/00530_curve_2/346/254/241/343/203/231/343/202/270/343/202/247/346/233/262/347/267/232/343/201/250/347/233/264/347/267/232/343/201/250/343/201/256/344/272/244/347/202/271.rb +43 -0
  55. data/examples/00540_curve_3/346/254/241/343/203/231/343/202/270/343/202/247/346/233/262/347/267/232.rb +40 -0
  56. data/examples/00550_curve_N/346/254/241/343/203/231/343/202/270/343/202/247/346/233/262/347/267/232.rb +92 -0
  57. data/examples/00560_curve_/343/202/271/343/203/227/343/203/251/343/202/244/343/203/263/346/233/262/347/267/232.rb +113 -0
  58. data/examples/00570_/345/206/206/351/201/213/345/213/225_circle_jet_coaster.rb +52 -0
  59. data/examples/00580_/345/206/206/343/202/222/346/212/274/343/201/231/343/201/262/343/201/243/343/201/261/343/202/213_collision_circle_vs_circle_push_or_pull.rb +56 -0
  60. data/examples/00590_/350/212/213/350/231/253/343/202/264/343/203/240/347/264/220/343/203/207/343/203/242_collision_demo_circle_worm.rb +104 -0
  61. data/examples/00600_/346/214/257/343/202/212/345/255/220_swing.rb +145 -0
  62. data/examples/00610_/345/206/205/347/251/215/343/201/250/345/244/226/347/251/215_inner_product.rb +36 -0
  63. data/examples/00620_/346/263/225/347/267/232/343/203/231/343/202/257/343/203/210/343/203/253.rb +23 -0
  64. data/examples/00630_/345/206/206/343/201/250/345/206/206/343/201/256/345/217/215/345/260/204_collision_reflect_circle_vs_circle.rb +222 -0
  65. data/examples/00640_/347/202/271/343/201/250/347/267/232/345/210/206/343/201/256/344/272/244/345/267/256/345/210/244/345/256/232_collision_ray_circle_vs_line.rb +261 -0
  66. data/examples/00650_/345/206/206/343/201/250/347/202/271/343/201/256/345/217/215/345/260/204_collision_circle_vs_dot.rb +36 -0
  67. data/examples/00660_/345/206/206/343/201/250/345/206/206/343/201/250/347/267/232/345/210/206/343/201/256/345/217/215/345/260/204/343/203/207/343/203/242_collision_demo.rb +305 -0
  68. data/examples/00670_/343/203/251/343/202/244/343/203/225/343/202/262/343/203/274/343/203/240.rb +86 -0
  69. data/examples/00680_2/347/202/271/343/202/222/351/200/232/343/202/213/347/233/264/347/267/232/343/201/256/346/226/271/347/250/213/345/274/217.rb +81 -0
  70. data/examples/00690_/343/203/222/343/203/253/343/203/231/343/203/253/343/203/210/346/233/262/347/267/232.rb +77 -0
  71. data/examples/00700_/343/202/263/343/203/203/343/203/233/346/233/262/347/267/232.rb +79 -0
  72. data/examples/00710_/343/202/267/343/202/260/343/203/242/343/202/244/343/203/211/346/233/262/347/267/232.rb +40 -0
  73. data/examples/00720_/343/202/267/343/203/200/346/244/215/347/211/251.rb +44 -0
  74. data/examples/00730_/343/202/257/343/203/252/343/203/225/343/202/251/343/203/274/343/203/211/343/202/242/343/203/210/343/203/251/343/202/257/343/202/277_/345/237/272/346/234/254.rb +29 -0
  75. data/examples/00740_/343/202/257/343/203/252/343/203/225/343/202/251/343/203/274/343/203/211/343/202/242/343/203/210/343/203/251/343/202/257/343/202/277_/346/224/271/350/211/257_/350/211/262/344/273/230/343/201/215.rb +68 -0
  76. data/examples/00750_/343/202/257/343/203/252/343/203/225/343/202/251/343/203/274/343/203/211/343/202/242/343/203/210/343/203/251/343/202/257/343/202/277_/343/203/211/343/203/274/343/203/212/343/203/204/345/236/213.rb +44 -0
  77. data/examples/00760_/347/201/253/350/212/261.rb +42 -0
  78. data/examples/00770_atan/343/201/247atan2/343/202/222/346/233/270/343/201/217.rb +26 -0
  79. data/examples/00780_/346/250/231/346/272/226/343/203/251/343/202/244/343/203/226/343/203/251/343/203/252/343/201/256atan2_sin_cos/343/202/222/344/275/277/343/201/206.rb +15 -0
  80. data/examples/00790_/350/247/222/345/272/246/343/201/250/343/203/251/343/202/270/343/202/242/343/203/263/343/201/256/347/233/270/344/272/222/345/244/211/346/217/233.rb +22 -0
  81. data/examples/00800_/347/220/203/343/201/214/347/233/264/347/267/232/347/232/204/343/201/253/345/213/225/343/201/204/343/201/246/343/201/204/343/202/213/343/201/240/343/201/221/343/201/247/345/233/236/350/273/242/343/201/227/343/201/246/343/201/204/343/202/213/343/202/210/343/201/206/343/201/253/350/246/213/343/201/210/343/202/213.rb +27 -0
  82. data/examples/00810_/343/202/267/343/203/237/343/203/245/343/203/254/343/203/274/343/202/267/343/203/247/343/203/263_/350/273/212.rb +75 -0
  83. data/examples/00820_/343/202/267/343/203/237/343/203/245/343/203/254/343/203/274/343/202/267/343/203/247/343/203/263_/346/210/246/350/273/212.rb +90 -0
  84. data/examples/00830_/350/247/222/345/272/246/345/267/256.rb +36 -0
  85. data/examples/00840_/346/224/276/347/211/251/347/267/232/343/201/247/347/213/231/346/222/203_/346/231/202/351/226/223/345/233/272/345/256/232.rb +61 -0
  86. data/examples/00850_/346/224/276/347/211/251/347/267/232/343/201/247/347/213/231/346/222/203_/350/247/222/345/272/246/345/233/272/345/256/232.rb +84 -0
  87. data/examples/00860_/346/224/276/347/211/251/347/267/232/343/201/247/347/213/231/346/222/203_/351/200/237/345/272/246/345/233/272/345/256/232.rb +66 -0
  88. data/examples/00870_/350/247/222/345/272/246/350/243/234/346/255/243_/345/212/240/351/200/237/343/203/237/343/202/265/343/202/244/343/203/253.rb +60 -0
  89. data/examples/00880_/345/210/235/351/200/237/343/201/214/351/200/237/343/201/204/343/203/237/343/202/265/343/202/244/343/203/253.rb +51 -0
  90. data/examples/00890_/346/255/243/350/246/217/344/271/261/346/225/260/343/201/250/346/250/231/346/272/226/345/201/217/345/267/256/343/201/256/345/217/257/350/246/226/345/214/226.rb +72 -0
  91. data/examples/00900_/345/220/221/345/277/203/345/212/233/343/201/247/345/233/236/350/273/242/343/200/220/350/247/222/345/272/2460/345/272/246/343/201/213/343/202/211/343/200/221.rb +23 -0
  92. data/examples/00910_/345/220/221/345/277/203/345/212/233/343/201/247/345/233/236/350/273/242/343/200/220/344/273/273/346/204/217/343/201/256/350/247/222/345/272/246/343/201/213/343/202/211/343/200/221.rb +33 -0
  93. data/examples/00920_/343/203/236/343/203/252/343/202/252/343/203/226/343/203/251/343/202/266/343/203/274/343/202/272/351/242/250/343/201/253/347/224/273/351/235/242/344/270/241/347/253/257/343/201/214/347/271/213/343/201/243/343/201/246/343/201/204/343/202/213/344/276/213.rb +29 -0
  94. data/examples/00930_/345/212/271/346/236/234/351/237/263.rb +17 -0
  95. data/examples/00940_/343/203/236/343/203/203/343/203/227/343/203/201/343/203/203/343/203/227/343/201/256/343/203/236/343/203/203/343/203/227/351/205/215/347/275/256.rb +71 -0
  96. data/examples/00950_/343/203/236/343/203/203/343/203/227/343/203/201/343/203/203/343/203/227/343/201/256/350/241/250/347/244/272/344/276/213.rb +28 -0
  97. data/examples/00960_/343/203/236/343/203/203/343/203/227/343/203/201/343/203/203/343/203/227/343/201/250/345/215/230/344/270/200/347/224/273/345/203/217/343/201/256/351/201/225/343/201/204/343/202/222/345/220/270/345/217/216/343/201/231/343/202/213/344/276/213.rb +47 -0
  98. data/examples/00970_observer_/343/201/235/343/201/2561_/347/233/264/346/216/245.rb +28 -0
  99. data/examples/00980_observer_/343/201/235/343/201/2562_/346/231/256/351/200/232/343/201/253Singleton/347/211/210.rb +30 -0
  100. data/examples/00990_observer_/343/201/235/343/201/2563_SimpleDelegator/347/211/210.rb +28 -0
  101. data/examples/01000_observer_/343/201/235/343/201/2564_/351/200/206/343/201/253/343/203/253/343/203/274/343/203/227/344/270/273/345/260/216.rb +28 -0
  102. data/examples/01010_observer_/343/201/235/343/201/2565_/343/201/204/343/202/215/343/202/223/343/201/252/346/211/200/343/201/213/343/202/211/345/221/274/343/202/223/343/201/247/343/201/204/343/202/213/343/201/221/343/201/251Singleton/343/201/252/343/201/256/343/201/247/345/256/211/345/205/250.rb +37 -0
  103. data/examples/01020_observer_/343/201/235/343/201/2566_/343/201/204/343/202/215/343/202/223/343/201/252/346/211/200/343/201/213/343/202/211/345/221/274/343/201/266/345/240/264/345/220/210callbacks/343/202/222/344/275/277/343/202/217/343/201/252/343/201/204/343/202/210/343/201/206/343/201/253.rb +30 -0
  104. data/examples/01030_observer_/343/201/235/343/201/2567_/343/202/250/343/203/225/343/202/247/343/202/257/343/203/210/343/202/277/343/202/271/343/202/257/343/202/222/345/233/236/343/201/231/344/276/213.rb +57 -0
  105. data/examples/01040_/343/203/236/343/202/246/343/202/271/343/201/256/344/275/215/347/275/256/343/201/253/343/203/224/343/202/257/343/202/273/343/203/253/343/202/222/346/211/223/343/201/244.rb +18 -0
  106. data/examples/01050_/343/203/224/343/202/257/343/202/273/343/203/253/345/205/250/344/275/223/343/202/222/346/233/270/343/201/215/350/276/274/343/202/200.rb +27 -0
  107. data/examples/01060_effect_/347/224/273/345/203/217/343/201/256/343/202/263/343/203/263/343/203/234/343/203/252/343/203/245/343/203/274/343/203/210/346/263/225/343/201/253/343/202/210/343/202/213/343/202/250/343/203/225/343/202/247/343/202/257/343/203/210/345/207/246/347/220/206.rb +116 -0
  108. data/examples/01070_effect_FF7/343/201/256/346/210/246/351/227/230/343/201/253/345/205/245/343/202/213/343/201/250/343/201/215/343/201/256/343/202/250/343/203/225/343/202/247/343/202/257/343/203/210.rb +33 -0
  109. data/examples/01080_effect_/350/203/214/346/231/257/343/202/222/347/267/251/343/201/217/346/266/210/343/201/227/343/201/246/343/201/204/343/201/217/343/201/250/343/202/271/343/203/240/343/203/274/343/202/272/343/201/253/343/201/252/343/202/213.rb +16 -0
  110. data/examples/01090_/347/224/273/345/203/217/343/201/256/343/202/257/343/203/255/343/202/271/343/203/225/343/202/247/343/203/274/343/203/211.rb +37 -0
  111. data/examples/01100_/343/202/271/343/202/257/343/203/252/343/203/274/343/203/263/346/203/205/345/240/261.rb +8 -0
  112. data/examples/01110_lib_contrib_menu.rb +19 -0
  113. data/examples/01120_/351/233/233/345/236/213_2P/345/257/276/346/210/246/351/242/250STG.rb +109 -0
  114. data/examples/01130_/351/233/233/345/236/213_/346/210/246/350/273/212/345/257/276/346/210/246.rb +396 -0
  115. data/examples/01140_/351/233/233/345/236/213_2P/345/257/276/346/210/246.rb +60 -0
  116. data/examples/01150_/351/233/233/345/236/213_/343/202/271/343/203/274/343/203/221/343/203/274/343/203/236/343/203/252/343/202/252/351/242/250/343/202/242/343/202/257/343/202/267/343/203/247/343/203/263.rb +1251 -0
  117. data/examples/01160_2D/343/202/242/343/203/225/343/202/243/343/203/263/345/244/211/346/217/233.rb +40 -0
  118. data/examples/01170_stackprof.rb +10 -0
  119. data/examples/01180_sdl_/343/202/242/343/203/253/343/203/225/343/202/241/343/203/226/343/203/254/343/203/263/343/203/207/343/202/243/343/203/263/343/202/260/343/201/247/351/207/215/343/201/255/345/220/210/343/201/233/345/241/227/343/202/212/346/275/260/343/201/227.rb +11 -0
  120. data/examples/01190_/343/203/221/343/203/274/343/203/206/343/202/243/343/202/257/343/203/253/345/220/214/345/243/253/343/201/247/344/270/255/345/244/256/343/201/253/345/220/221/343/201/213/343/201/206.rb +79 -0
  121. data/examples/01200_lib_OpenGL.rb +55 -0
  122. data/examples/bezier.rb +202 -0
  123. data/examples/cursor.rb +50 -0
  124. data/examples/helper.rb +38 -0
  125. data/examples/lifegame_patterns.rb +102 -0
  126. data/examples/movable_point.rb +64 -0
  127. data/examples/mtx33.rb +294 -0
  128. data/examples/setup.rb +5 -0
  129. data/examples/stage_infos.rb +1 -0
  130. data/examples/start.sh +2 -0
  131. data/examples/test_all.rb +5 -0
  132. data/examples/testgl.rb +228 -0
  133. data/examples/trash/__0060_shooting2.rb +37 -0
  134. data/examples/trash/__0090_collision_circle1.rb +50 -0
  135. data/examples/trash/__0125_circle_collision.rb +103 -0
  136. data/examples/trash/__0130_circle_collision2.rb +60 -0
  137. data/examples/trash/__0270_circle_cycle_shift.rb +29 -0
  138. data/examples/trash/__bullet_algos.rb +224 -0
  139. data/examples/trash/gunship.rb +39 -0
  140. data/examples//343/203/227/343/203/255/343/202/270/343/202/247/343/202/257/343/202/277/343/203/274/343/201/253/350/241/250/347/244/272/343/201/231/343/202/213/343/201/250/343/201/215.sh +2 -0
  141. data/lib/stylet.rb +1 -0
  142. data/lib/stylet/application_memory_record.rb +33 -0
  143. data/lib/stylet/audio.rb +455 -0
  144. data/lib/stylet/axis_support.rb +62 -0
  145. data/lib/stylet/base.rb +76 -0
  146. data/lib/stylet/callbacks.rb +62 -0
  147. data/lib/stylet/cli.rb +54 -0
  148. data/lib/stylet/collision_support.rb +56 -0
  149. data/lib/stylet/config.rb +39 -0
  150. data/lib/stylet/contrib/menu.rb +508 -0
  151. data/lib/stylet/contrib/shared_pad.rb +32 -0
  152. data/lib/stylet/contrib/sprity.rb +149 -0
  153. data/lib/stylet/core.rb +118 -0
  154. data/lib/stylet/cpu_stat.rb +58 -0
  155. data/lib/stylet/delegators.rb +54 -0
  156. data/lib/stylet/draw.rb +256 -0
  157. data/lib/stylet/draw_support/arrow.rb +56 -0
  158. data/lib/stylet/draw_support/circle.rb +63 -0
  159. data/lib/stylet/draw_support/polygon.rb +22 -0
  160. data/lib/stylet/font.rb +172 -0
  161. data/lib/stylet/fps_adjust.rb +23 -0
  162. data/lib/stylet/fps_stat.rb +41 -0
  163. data/lib/stylet/input.rb +8 -0
  164. data/lib/stylet/input/base.rb +105 -0
  165. data/lib/stylet/input/hardware_bindings.rb +65 -0
  166. data/lib/stylet/input/key_one.rb +162 -0
  167. data/lib/stylet/input/support.rb +72 -0
  168. data/lib/stylet/joystick.rb +31 -0
  169. data/lib/stylet/joystick_adapter.rb +130 -0
  170. data/lib/stylet/joystick_adapters/buffalo_snes_adapter.rb +47 -0
  171. data/lib/stylet/joystick_adapters/elecom_usb_pad_adapter.rb +30 -0
  172. data/lib/stylet/joystick_adapters/hori_rap_v3_sa_adapter.rb +46 -0
  173. data/lib/stylet/joystick_adapters/ps3_standard_adapter.rb +40 -0
  174. data/lib/stylet/joystick_adapters/unknown_adapter.rb +13 -0
  175. data/lib/stylet/keyboard.rb +15 -0
  176. data/lib/stylet/logger.rb +12 -0
  177. data/lib/stylet/mouse.rb +58 -0
  178. data/lib/stylet/palette.rb +17 -0
  179. data/lib/stylet/rect.rb +113 -0
  180. data/lib/stylet/shortcut.rb +8 -0
  181. data/lib/stylet/state.rb +87 -0
  182. data/lib/stylet/stylet.rb +44 -0
  183. data/lib/stylet/system_pause.rb +24 -0
  184. data/lib/stylet/version.rb +3 -0
  185. data/log/.gitkeep +0 -0
  186. data/stylet.gemspec +31 -0
  187. data/test/test_helper.rb +6 -0
  188. data/test/test_input_base.rb +12 -0
  189. data/test/test_input_key_one.rb +43 -0
  190. data/test/test_input_support.rb +47 -0
  191. data/test/test_sample.rb +13 -0
  192. data/test/test_state.rb +26 -0
  193. data/tips.org +16 -0
  194. metadata +391 -0
@@ -0,0 +1,44 @@
1
+ require_relative 'version'
2
+ require_relative 'base'
3
+ require_relative 'input'
4
+ require_relative 'state'
5
+ require_relative 'contrib/menu'
6
+
7
+ module Stylet
8
+ extend self
9
+
10
+ # ショートカット
11
+ # Stylet.run { vputs "Hello" }
12
+ def run(*args, &block)
13
+ Base.run(*args, &block)
14
+ end
15
+
16
+ # Stylet.context {|e| e.vputs "Hello" }
17
+ # Stylet.context { vputs "Hello" }
18
+ # Stylet.context.vputs "Hello"
19
+ # Stylet.context.instance_exec(args{|args|...}
20
+ def context(&block)
21
+ if block
22
+ if block.arity == 1
23
+ block.call(Base.active_frame)
24
+ else
25
+ Base.active_frame.instance_eval(&block)
26
+ end
27
+ else
28
+ Base.active_frame
29
+ end
30
+ end
31
+
32
+ def hello_world
33
+ run { vputs "Hello, World" }
34
+ end
35
+ end
36
+
37
+ if $0 == __FILE__
38
+ Stylet.run do
39
+ vputs "a"
40
+ Stylet.context.vputs "b"
41
+ Stylet.context { vputs "c" }
42
+ Stylet.context {|f| f.vputs "d" }
43
+ end
44
+ end
@@ -0,0 +1,24 @@
1
+ module Stylet
2
+ module Pause
3
+ def initialize
4
+ super
5
+ @pause = false
6
+ end
7
+
8
+ def polling
9
+ super
10
+ if Stylet.config.pause_keys.any? {|key| key_down?(key) }
11
+ @pause = !@pause
12
+ end
13
+ end
14
+
15
+ def pause?
16
+ @pause
17
+ end
18
+ end
19
+ end
20
+
21
+ if $0 == __FILE__
22
+ require_relative "../stylet"
23
+ Stylet.run
24
+ end
@@ -0,0 +1,3 @@
1
+ module Stylet
2
+ VERSION = "0.0.1"
3
+ end
File without changes
@@ -0,0 +1,31 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require "stylet/version"
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "stylet"
6
+ s.version = Stylet::VERSION
7
+ s.summary = "Simple SDL library"
8
+ s.description = "Simple SDL library description"
9
+ s.author = "akicho8"
10
+ s.homepage = "http://github.com/akicho8/stylet"
11
+ s.email = "akicho8@gmail.com"
12
+
13
+ s.files = `git ls-files`.split("\n")
14
+ s.test_files = `git ls-files -- {s,features}/*`.split("\n")
15
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
16
+ s.require_paths = ["lib"]
17
+
18
+ s.add_dependency "rsdl"
19
+ s.add_dependency "rubysdl"
20
+ s.add_dependency "activesupport"
21
+ s.add_dependency "activemodel"
22
+ s.add_dependency "i18n"
23
+ s.add_dependency "rake"
24
+ s.add_dependency "memory_record"
25
+ # s.add_dependency "stylet_support"
26
+ s.add_dependency "rgb"
27
+
28
+ s.add_development_dependency "rcodetools"
29
+ s.add_development_dependency "test-unit"
30
+ s.add_development_dependency "rspec"
31
+ end
@@ -0,0 +1,6 @@
1
+ require "test/unit"
2
+
3
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
4
+ require 'stylet'
5
+
6
+ Stylet.logger = ActiveSupport::Logger.new("#{__dir__}/../log/test.log")
@@ -0,0 +1,12 @@
1
+ require "test_helper"
2
+
3
+ class TestInputBase < Test::Unit::TestCase
4
+ setup do
5
+ @klass = Class.new { include Stylet::Input::Base }
6
+ end
7
+
8
+ test "new" do
9
+ obj = @klass.new
10
+ assert_kind_of Stylet::Input::KeyOne, obj.button.to_a.first
11
+ end
12
+ end
@@ -0,0 +1,43 @@
1
+ require "test_helper"
2
+
3
+ class TestInputKeyOne < Test::Unit::TestCase
4
+ setup do
5
+ @key_one = Stylet::Input::KeyOne.new(name: "A", match_chars: "A", store_char: "A", index: 0)
6
+ end
7
+
8
+ test "repeat" do
9
+ cnt_ary = []
10
+ rep_ary = []
11
+ 6.times do
12
+ @key_one.counter_update(true)
13
+ rep_ary << @key_one.repeat(3)
14
+ cnt_ary << @key_one.counter
15
+ end
16
+ assert_equal [1, 0, 0, 0, 2, 3], rep_ary
17
+ assert_equal [1, 2, 3, 4, 5, 6], cnt_ary
18
+ end
19
+
20
+ test "<<" do
21
+ @key_one << true
22
+ @key_one.counter_update
23
+ assert_equal 1, @key_one.counter
24
+
25
+ @key_one << "A"
26
+ @key_one.counter_update
27
+ assert_equal 2, @key_one.counter
28
+ end
29
+
30
+ test "キーを離した瞬間がわかる" do
31
+ @key_one.counter_update(true)
32
+ assert_false @key_one.free_trigger?
33
+ @key_one.counter_update(false)
34
+ assert_true @key_one.free_trigger?
35
+ end
36
+
37
+ test "0.0 or 1.0 を返す(キーリピート対応)" do
38
+ @key_one.counter_update(true)
39
+ assert_equal 1.0, @key_one.repeat_0or1
40
+ @key_one.counter_update(false)
41
+ assert_equal 0.0, @key_one.repeat_0or1
42
+ end
43
+ end
@@ -0,0 +1,47 @@
1
+ require "test_helper"
2
+
3
+ class TestInputSupport < Test::Unit::TestCase
4
+ setup do
5
+ @left = Stylet::Input::KeyOne.new(name: "L", match_chars: "L", store_char: "L", index: 0)
6
+ @right = Stylet::Input::KeyOne.new(name: "R", match_chars: "R", store_char: "R", index: 0)
7
+ end
8
+
9
+ # 入力優先順位テスト
10
+ test "preference_key" do
11
+ # 最初は両方押されていないので nil が返る。
12
+ assert_equal nil, preference_key
13
+
14
+ # 左だけ押されると、もちろん左が優先される。
15
+ @left.counter_update(true)
16
+ @right.counter_update(false)
17
+ assert_equal @left, preference_key
18
+
19
+ # 次のフレーム。左は押しっぱなし。右を初めて押した。すると右が優先される。
20
+ @left.counter_update(true)
21
+ @right.counter_update(true)
22
+ assert_equal @right, preference_key
23
+
24
+ # 次のフレーム。両方離した。nil が返る。
25
+ @left.counter_update(false)
26
+ @right.counter_update(false)
27
+ assert_equal nil, preference_key
28
+
29
+ # 次のフレーム。両方同時押し。左が優先される。
30
+ @left.counter_update(true)
31
+ @right.counter_update(true)
32
+ assert_equal @left, preference_key
33
+ end
34
+
35
+ test "key_power_effective?" do
36
+ @right.counter_update(true)
37
+ assert_false Stylet::Input::Support.key_power_effective?(@left, @right, 2)
38
+ @right.counter_update(true)
39
+ assert_false Stylet::Input::Support.key_power_effective?(@left, @right, 2)
40
+ @right.counter_update(true)
41
+ assert_true Stylet::Input::Support.key_power_effective?(@left, @right, 2)
42
+ end
43
+
44
+ def preference_key
45
+ Stylet::Input::Support.preference_key(@left, @right)
46
+ end
47
+ end
@@ -0,0 +1,13 @@
1
+ require "test_helper"
2
+
3
+ class Foo < Test::Unit::TestCase
4
+ setup do
5
+ @a = 1
6
+ end
7
+ test "a" do
8
+ assert_equal 1, @a
9
+ end
10
+ test "b" do
11
+ assert_equal 1, 1
12
+ end
13
+ end
@@ -0,0 +1,26 @@
1
+ require "test_helper"
2
+
3
+ class TestState < Test::Unit::TestCase
4
+ description "あいうえお"
5
+ test "all" do
6
+ trace_ary = []
7
+ state = State.new(:idle)
8
+ loop_flag = true
9
+ while loop_flag
10
+ state.loop_in do
11
+ trace_ary << [state.key, state.counter]
12
+ case state.key
13
+ when :active
14
+ if state.counter_at?(1)
15
+ loop_flag = false
16
+ end
17
+ when :idle
18
+ if state.counter_at?(1)
19
+ state.jump_to :active
20
+ end
21
+ end
22
+ end
23
+ end
24
+ assert_equal [[:idle, 0], [:idle, 1], [:active, 0], [:active, 1]], trace_ary
25
+ end
26
+ end
@@ -0,0 +1,16 @@
1
+ #+OPTIONS: toc:nil num:nil author:nil creator:nil \n:nil |:t
2
+ #+OPTIONS: @:t ::t ^:t -:t f:t *:t <:t
3
+
4
+ ** PS3コントローラーのアナログレバーの方向を取得するには?
5
+
6
+ : if (joy = frame.joys.first) && (al = joy.adjusted_analog_levers[:left]) && al.magnitude >= 0.5
7
+ : if al.magnitude >= 0.5
8
+ : rotate = al.angle
9
+ : end
10
+ : end
11
+
12
+ ** A, B ボタンで変数の値を増減するには?
13
+
14
+ : index += button.btA.repeat_0or1 - button.btB.repeat_0or1
15
+
16
+ : rotate += (1.0 / 24) * (button.btA.repeat_0or1 - button.btB.repeat_0or1)
metadata ADDED
@@ -0,0 +1,391 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stylet
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - akicho8
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-07-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rsdl
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubysdl
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: activemodel
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: i18n
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: memory_record
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rgb
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rcodetools
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: test-unit
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Simple SDL library description
168
+ email: akicho8@gmail.com
169
+ executables:
170
+ - setup
171
+ - stylet
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - ".gitignore"
176
+ - ".travis.yml"
177
+ - ".yardopts"
178
+ - Gemfile
179
+ - README.org
180
+ - Rakefile
181
+ - assets/fonts/ipag-mona.ttf
182
+ - bin/setup
183
+ - bin/stylet
184
+ - examples/.ruby-version
185
+ - examples/00100_lib_hello_world.rb
186
+ - examples/00110_lib_sge_check.rb
187
+ - examples/00120_lib_ガンマ値の変更.rb
188
+ - examples/00130_lib_window_title.rb
189
+ - examples/00140_lib_callbacks.rb
190
+ - examples/00150_lib_vector.rb
191
+ - examples/00160_lib_run.rb
192
+ - examples/00170_lib_frame.rb
193
+ - examples/00180_lib_config確認.rb
194
+ - examples/00190_lib_すべて同じオブジェクト.rb
195
+ - examples/00200_lib_レシーバーを省略する方法のテスト.rb
196
+ - examples/00210_lib_delegators.rb
197
+ - examples/00220_lib_template_method.rb
198
+ - examples/00230_lib_背景画像表示.rb
199
+ - examples/00240_lib_背景画像を暗く1_黒の上に背景.rb
200
+ - examples/00250_lib_背景画像を暗く2_背景の上に黒.rb
201
+ - examples/00260_lib_背景画像を暗く3_背景の上に黒_画面サイズフィット_重い.rb
202
+ - examples/00270_lib_背景画像を暗く3_背景の上に黒_画面サイズフィット_高速化.rb
203
+ - examples/00280_lib_特定のエリアだけ徐々に消す.rb
204
+ - examples/00290_lib_背景色変更.rb
205
+ - examples/00300_lib_キャラクタ画像を表示する例.rb
206
+ - examples/00310_lib_キャラクタ画像のアニメーション.rb
207
+ - examples/00320_lib_キャラクタ拡大縮小回転.rb
208
+ - examples/00330_joystick.rb
209
+ - examples/00340_joystick_PS3アナログレバーの動きが内部では四角.rb
210
+ - examples/00350_joystick_PS3アナログレバーの調整済みベクトル.rb
211
+ - examples/00360_lib_mouse.rb
212
+ - examples/00370_lib_input.rb
213
+ - examples/00380_lib_vputs_align.rb
214
+ - examples/00390_フォント一覧.rb
215
+ - examples/00400_lib_draw_circle.rb
216
+ - examples/00410_SDLのdraw_rectは1ピクセル余分に描画されるので注意.rb
217
+ - examples/00420_circle_on_circle.rb
218
+ - examples/00430_rotate.rb
219
+ - examples/00440_draw_triangle.rb
220
+ - examples/00450_parabora_triangle.rb
221
+ - examples/00460_ice_hockey.rb
222
+ - examples/00470_collision_block_vs_block.rb
223
+ - examples/00480_simple_circle_controll.rb
224
+ - examples/00490_等速移動_uniform_velocity_rain.rb
225
+ - examples/00500_加速放物線_parabora_volcano.rb
226
+ - examples/00510_3d.rb
227
+ - examples/00520_トルネのメニュー風の動き.rb
228
+ - examples/00530_curve_2次ベジェ曲線と直線との交点.rb
229
+ - examples/00540_curve_3次ベジェ曲線.rb
230
+ - examples/00550_curve_N次ベジェ曲線.rb
231
+ - examples/00560_curve_スプライン曲線.rb
232
+ - examples/00570_円運動_circle_jet_coaster.rb
233
+ - examples/00580_円を押すひっぱる_collision_circle_vs_circle_push_or_pull.rb
234
+ - examples/00590_芋虫ゴム紐デモ_collision_demo_circle_worm.rb
235
+ - examples/00600_振り子_swing.rb
236
+ - examples/00610_内積と外積_inner_product.rb
237
+ - examples/00620_法線ベクトル.rb
238
+ - examples/00630_円と円の反射_collision_reflect_circle_vs_circle.rb
239
+ - examples/00640_点と線分の交差判定_collision_ray_circle_vs_line.rb
240
+ - examples/00650_円と点の反射_collision_circle_vs_dot.rb
241
+ - examples/00660_円と円と線分の反射デモ_collision_demo.rb
242
+ - examples/00670_ライフゲーム.rb
243
+ - examples/00680_2点を通る直線の方程式.rb
244
+ - examples/00690_ヒルベルト曲線.rb
245
+ - examples/00700_コッホ曲線.rb
246
+ - examples/00710_シグモイド曲線.rb
247
+ - examples/00720_シダ植物.rb
248
+ - examples/00730_クリフォードアトラクタ_基本.rb
249
+ - examples/00740_クリフォードアトラクタ_改良_色付き.rb
250
+ - examples/00750_クリフォードアトラクタ_ドーナツ型.rb
251
+ - examples/00760_火花.rb
252
+ - examples/00770_atanでatan2を書く.rb
253
+ - examples/00780_標準ライブラリのatan2_sin_cosを使う.rb
254
+ - examples/00790_角度とラジアンの相互変換.rb
255
+ - examples/00800_球が直線的に動いているだけで回転しているように見える.rb
256
+ - examples/00810_シミュレーション_車.rb
257
+ - examples/00820_シミュレーション_戦車.rb
258
+ - examples/00830_角度差.rb
259
+ - examples/00840_放物線で狙撃_時間固定.rb
260
+ - examples/00850_放物線で狙撃_角度固定.rb
261
+ - examples/00860_放物線で狙撃_速度固定.rb
262
+ - examples/00870_角度補正_加速ミサイル.rb
263
+ - examples/00880_初速が速いミサイル.rb
264
+ - examples/00890_正規乱数と標準偏差の可視化.rb
265
+ - examples/00900_向心力で回転【角度0度から】.rb
266
+ - examples/00910_向心力で回転【任意の角度から】.rb
267
+ - examples/00920_マリオブラザーズ風に画面両端が繋っている例.rb
268
+ - examples/00930_効果音.rb
269
+ - examples/00940_マップチップのマップ配置.rb
270
+ - examples/00950_マップチップの表示例.rb
271
+ - examples/00960_マップチップと単一画像の違いを吸収する例.rb
272
+ - examples/00970_observer_その1_直接.rb
273
+ - examples/00980_observer_その2_普通にSingleton版.rb
274
+ - examples/00990_observer_その3_SimpleDelegator版.rb
275
+ - examples/01000_observer_その4_逆にループ主導.rb
276
+ - examples/01010_observer_その5_いろんな所から呼んでいるけどSingletonなので安全.rb
277
+ - examples/01020_observer_その6_いろんな所から呼ぶ場合callbacksを使わないように.rb
278
+ - examples/01030_observer_その7_エフェクトタスクを回す例.rb
279
+ - examples/01040_マウスの位置にピクセルを打つ.rb
280
+ - examples/01050_ピクセル全体を書き込む.rb
281
+ - examples/01060_effect_画像のコンボリュート法によるエフェクト処理.rb
282
+ - examples/01070_effect_FF7の戦闘に入るときのエフェクト.rb
283
+ - examples/01080_effect_背景を緩く消していくとスムーズになる.rb
284
+ - examples/01090_画像のクロスフェード.rb
285
+ - examples/01100_スクリーン情報.rb
286
+ - examples/01110_lib_contrib_menu.rb
287
+ - examples/01120_雛型_2P対戦風STG.rb
288
+ - examples/01130_雛型_戦車対戦.rb
289
+ - examples/01140_雛型_2P対戦.rb
290
+ - examples/01150_雛型_スーパーマリオ風アクション.rb
291
+ - examples/01160_2Dアフィン変換.rb
292
+ - examples/01170_stackprof.rb
293
+ - examples/01180_sdl_アルファブレンディングで重ね合せ塗り潰し.rb
294
+ - examples/01190_パーティクル同士で中央に向かう.rb
295
+ - examples/01200_lib_OpenGL.rb
296
+ - examples/bezier.rb
297
+ - examples/cursor.rb
298
+ - examples/helper.rb
299
+ - examples/lifegame_patterns.rb
300
+ - examples/movable_point.rb
301
+ - examples/mtx33.rb
302
+ - examples/setup.rb
303
+ - examples/stage_infos.rb
304
+ - examples/start.sh
305
+ - examples/test_all.rb
306
+ - examples/testgl.rb
307
+ - examples/trash/__0060_shooting2.rb
308
+ - examples/trash/__0090_collision_circle1.rb
309
+ - examples/trash/__0125_circle_collision.rb
310
+ - examples/trash/__0130_circle_collision2.rb
311
+ - examples/trash/__0270_circle_cycle_shift.rb
312
+ - examples/trash/__bullet_algos.rb
313
+ - examples/trash/gunship.rb
314
+ - examples/プロジェクターに表示するとき.sh
315
+ - lib/stylet.rb
316
+ - lib/stylet/application_memory_record.rb
317
+ - lib/stylet/audio.rb
318
+ - lib/stylet/axis_support.rb
319
+ - lib/stylet/base.rb
320
+ - lib/stylet/callbacks.rb
321
+ - lib/stylet/cli.rb
322
+ - lib/stylet/collision_support.rb
323
+ - lib/stylet/config.rb
324
+ - lib/stylet/contrib/menu.rb
325
+ - lib/stylet/contrib/shared_pad.rb
326
+ - lib/stylet/contrib/sprity.rb
327
+ - lib/stylet/core.rb
328
+ - lib/stylet/cpu_stat.rb
329
+ - lib/stylet/delegators.rb
330
+ - lib/stylet/draw.rb
331
+ - lib/stylet/draw_support/arrow.rb
332
+ - lib/stylet/draw_support/circle.rb
333
+ - lib/stylet/draw_support/polygon.rb
334
+ - lib/stylet/font.rb
335
+ - lib/stylet/fps_adjust.rb
336
+ - lib/stylet/fps_stat.rb
337
+ - lib/stylet/input.rb
338
+ - lib/stylet/input/base.rb
339
+ - lib/stylet/input/hardware_bindings.rb
340
+ - lib/stylet/input/key_one.rb
341
+ - lib/stylet/input/support.rb
342
+ - lib/stylet/joystick.rb
343
+ - lib/stylet/joystick_adapter.rb
344
+ - lib/stylet/joystick_adapters/buffalo_snes_adapter.rb
345
+ - lib/stylet/joystick_adapters/elecom_usb_pad_adapter.rb
346
+ - lib/stylet/joystick_adapters/hori_rap_v3_sa_adapter.rb
347
+ - lib/stylet/joystick_adapters/ps3_standard_adapter.rb
348
+ - lib/stylet/joystick_adapters/unknown_adapter.rb
349
+ - lib/stylet/keyboard.rb
350
+ - lib/stylet/logger.rb
351
+ - lib/stylet/mouse.rb
352
+ - lib/stylet/palette.rb
353
+ - lib/stylet/rect.rb
354
+ - lib/stylet/shortcut.rb
355
+ - lib/stylet/state.rb
356
+ - lib/stylet/stylet.rb
357
+ - lib/stylet/system_pause.rb
358
+ - lib/stylet/version.rb
359
+ - log/.gitkeep
360
+ - stylet.gemspec
361
+ - test/test_helper.rb
362
+ - test/test_input_base.rb
363
+ - test/test_input_key_one.rb
364
+ - test/test_input_support.rb
365
+ - test/test_sample.rb
366
+ - test/test_state.rb
367
+ - tips.org
368
+ homepage: http://github.com/akicho8/stylet
369
+ licenses: []
370
+ metadata: {}
371
+ post_install_message:
372
+ rdoc_options: []
373
+ require_paths:
374
+ - lib
375
+ required_ruby_version: !ruby/object:Gem::Requirement
376
+ requirements:
377
+ - - ">="
378
+ - !ruby/object:Gem::Version
379
+ version: '0'
380
+ required_rubygems_version: !ruby/object:Gem::Requirement
381
+ requirements:
382
+ - - ">="
383
+ - !ruby/object:Gem::Version
384
+ version: '0'
385
+ requirements: []
386
+ rubyforge_project:
387
+ rubygems_version: 2.7.6
388
+ signing_key:
389
+ specification_version: 4
390
+ summary: Simple SDL library
391
+ test_files: []