sgl 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. data/ChangeLog +234 -0
  2. data/Manifest.txt +94 -0
  3. data/Rakefile +16 -5
  4. data/examples/cocoa1-basic.rb +14 -0
  5. data/examples/cocoa10-transparent.rb +26 -0
  6. data/examples/cocoa11-application.rb +13 -0
  7. data/examples/cocoa2-draw.rb +23 -0
  8. data/examples/cocoa3-affine.rb +29 -0
  9. data/examples/cocoa4-font.rb +24 -0
  10. data/examples/cocoa5-image.rb +22 -0
  11. data/examples/cocoa6-sound.rb +24 -0
  12. data/examples/cocoa7-movie.rb +40 -0
  13. data/examples/cocoa8-movieoverlay.rb +42 -0
  14. data/examples/cocoa9-streaming.rb +40 -0
  15. data/examples/opengl1-basic.rb +14 -0
  16. data/examples/opengl11-application.rb +13 -0
  17. data/examples/opengl2-draw.rb +23 -0
  18. data/examples/opengl3-affine.rb +29 -0
  19. data/examples/sample1.rb +11 -0
  20. data/examples/sample10.rb +16 -0
  21. data/examples/sample11.rb +22 -0
  22. data/examples/sample11a.rb +33 -0
  23. data/examples/sample12.rb +30 -0
  24. data/examples/sample12a.rb +35 -0
  25. data/examples/sample13.rb +116 -0
  26. data/examples/sample15.rb +24 -0
  27. data/examples/sample16.rb +31 -0
  28. data/examples/sample16a.rb +35 -0
  29. data/examples/sample6.rb +18 -0
  30. data/examples/sample7.rb +16 -0
  31. data/examples/sample9.rb +20 -0
  32. data/examples/sgl-sound1.rb +6 -0
  33. data/examples/sgl-sound2.rb +19 -0
  34. data/examples/sine.ogg +0 -0
  35. data/examples/testgl.rb +169 -0
  36. data/lib/sgl/bass-api.rb +202 -0
  37. data/lib/sgl/bass-sample.rb +106 -0
  38. data/lib/sgl/bass.rb +46 -0
  39. data/lib/sgl/cocoa-app.rb +43 -0
  40. data/lib/sgl/cocoa-color.rb +65 -0
  41. data/lib/sgl/cocoa-draw.rb +72 -0
  42. data/lib/sgl/cocoa-event.rb +229 -0
  43. data/lib/sgl/cocoa-media.rb +144 -0
  44. data/lib/sgl/cocoa-notuse.rb +493 -0
  45. data/lib/sgl/cocoa-window.rb +203 -0
  46. data/lib/sgl/cocoa.rb +8 -0
  47. data/lib/sgl/notuse-objs.rb +358 -0
  48. data/lib/sgl/opengl-app.rb +38 -0
  49. data/lib/sgl/opengl-color.rb +44 -0
  50. data/lib/sgl/opengl-draw.rb +260 -0
  51. data/lib/sgl/opengl-event.rb +325 -0
  52. data/lib/sgl/opengl-modules.rb +22 -0
  53. data/lib/sgl/opengl-window.rb +224 -0
  54. data/lib/sgl/opengl.rb +7 -0
  55. data/lib/sgl/sgl-basic.rb +61 -0
  56. data/lib/sgl/sgl-button.rb +135 -0
  57. data/lib/sgl/sgl-client.rb +21 -0
  58. data/lib/sgl/sgl-color.rb +82 -0
  59. data/lib/sgl/sgl-connect.rb +9 -0
  60. data/lib/sgl/sgl-objlib.rb +0 -0
  61. data/lib/sgl/sgl-objs.rb +0 -0
  62. data/lib/sgl/sgl-server.rb +58 -0
  63. data/lib/sgl/sgl-sound.rb +24 -0
  64. data/lib/sgl/sgl-spring.rb +216 -0
  65. data/lib/sgl/sgl-timer.rb +72 -0
  66. data/lib/sgl/sgl.rb +5 -0
  67. data/lib/sgl/version.rb +2 -2
  68. data/scripts/makemanifest.rb +20 -0
  69. data/test/test_bass.rb +27 -0
  70. data/test/test_cocoa_app.rb +5 -5
  71. data/test/test_helper.rb +9 -1
  72. data/test/test_module_ruby16.rb +22 -21
  73. data/test/test_opengl_app.rb +4 -5
  74. data/test/test_opengl_basic.rb +3 -4
  75. data/test/test_opengl_fullscreen.rb +4 -6
  76. data/test/test_opengl_novice.rb +3 -6
  77. data/test/test_sgl.rb +4 -27
  78. data/test/test_sound.rb +15 -0
  79. data/website/challenge1.html +91 -0
  80. data/website/challenge1.txt +30 -0
  81. data/website/challenge2.html +144 -0
  82. data/website/challenge2.txt +73 -0
  83. data/website/challenge3.html +63 -0
  84. data/website/challenge3.txt +15 -0
  85. data/website/cocoa.html +88 -0
  86. data/website/cocoa.txt +35 -0
  87. data/website/description.html +138 -0
  88. data/website/description.txt +90 -0
  89. data/website/exercise1.html +264 -0
  90. data/website/exercise1.txt +192 -0
  91. data/website/exercise2.html +683 -0
  92. data/website/exercise2.txt +597 -0
  93. data/website/exhibition.html +84 -0
  94. data/website/exhibition.txt +24 -0
  95. data/website/howto.html +134 -0
  96. data/website/howto.txt +56 -0
  97. data/website/index.html +17 -9
  98. data/website/index.txt +13 -4
  99. data/website/sound.html +141 -0
  100. data/website/sound.txt +87 -0
  101. data/website/stylesheets/grade.png +0 -0
  102. data/website/stylesheets/screen.css +21 -20
  103. metadata +109 -3
metadata CHANGED
@@ -3,12 +3,12 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: sgl
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.1
7
- date: 2007-06-19 00:00:00 +09:00
6
+ version: 0.4.0
7
+ date: 2007-06-25 00:00:00 +09:00
8
8
  summary: "\"sgl: simple generic library\" enables you to create a program with graphics and sound easily."
9
9
  require_paths:
10
10
  - lib
11
- email: eto@rubyforge.org.please.do.not.send.spam.example.com
11
+ email: eto at rubyforge dot org
12
12
  homepage: http://sgl.rubyforge.org
13
13
  rubyforge_project: sgl
14
14
  description: "\"sgl: simple generic library\" enables you to create a program with graphics and sound easily."
@@ -29,23 +29,118 @@ post_install_message:
29
29
  authors:
30
30
  - Kouichirou Eto
31
31
  files:
32
+ - ChangeLog
32
33
  - History.txt
33
34
  - License.txt
34
35
  - Manifest.txt
35
36
  - README.txt
36
37
  - Rakefile
38
+ - examples/cocoa1-basic.rb
39
+ - examples/cocoa10-transparent.rb
40
+ - examples/cocoa11-application.rb
41
+ - examples/cocoa2-draw.rb
42
+ - examples/cocoa3-affine.rb
43
+ - examples/cocoa4-font.rb
44
+ - examples/cocoa5-image.rb
45
+ - examples/cocoa6-sound.rb
46
+ - examples/cocoa7-movie.rb
47
+ - examples/cocoa8-movieoverlay.rb
48
+ - examples/cocoa9-streaming.rb
49
+ - examples/opengl1-basic.rb
50
+ - examples/opengl11-application.rb
51
+ - examples/opengl2-draw.rb
52
+ - examples/opengl3-affine.rb
53
+ - examples/sample1.rb
54
+ - examples/sample10.rb
55
+ - examples/sample11.rb
56
+ - examples/sample11a.rb
57
+ - examples/sample12.rb
58
+ - examples/sample12a.rb
59
+ - examples/sample13.rb
60
+ - examples/sample15.rb
61
+ - examples/sample16.rb
62
+ - examples/sample16a.rb
63
+ - examples/sample6.rb
64
+ - examples/sample7.rb
65
+ - examples/sample9.rb
66
+ - examples/sgl-sound1.rb
67
+ - examples/sgl-sound2.rb
68
+ - examples/sine.ogg
69
+ - examples/testgl.rb
37
70
  - lib/sgl.rb
71
+ - lib/sgl/bass-api.rb
72
+ - lib/sgl/bass-sample.rb
73
+ - lib/sgl/bass.rb
74
+ - lib/sgl/cocoa-app.rb
75
+ - lib/sgl/cocoa-color.rb
76
+ - lib/sgl/cocoa-draw.rb
77
+ - lib/sgl/cocoa-event.rb
78
+ - lib/sgl/cocoa-media.rb
79
+ - lib/sgl/cocoa-notuse.rb
80
+ - lib/sgl/cocoa-window.rb
81
+ - lib/sgl/cocoa.rb
82
+ - lib/sgl/notuse-objs.rb
83
+ - lib/sgl/opengl-app.rb
84
+ - lib/sgl/opengl-color.rb
85
+ - lib/sgl/opengl-draw.rb
86
+ - lib/sgl/opengl-event.rb
87
+ - lib/sgl/opengl-modules.rb
88
+ - lib/sgl/opengl-window.rb
89
+ - lib/sgl/opengl.rb
90
+ - lib/sgl/sgl-basic.rb
91
+ - lib/sgl/sgl-button.rb
92
+ - lib/sgl/sgl-client.rb
93
+ - lib/sgl/sgl-color.rb
94
+ - lib/sgl/sgl-connect.rb
95
+ - lib/sgl/sgl-objlib.rb
96
+ - lib/sgl/sgl-objs.rb
97
+ - lib/sgl/sgl-server.rb
98
+ - lib/sgl/sgl-sound.rb
99
+ - lib/sgl/sgl-spring.rb
100
+ - lib/sgl/sgl-timer.rb
101
+ - lib/sgl/sgl.rb
38
102
  - lib/sgl/version.rb
103
+ - scripts/makemanifest.rb
39
104
  - scripts/txt2html
40
105
  - setup.rb
106
+ - test/test_bass.rb
107
+ - test/test_cocoa_app.rb
41
108
  - test/test_helper.rb
109
+ - test/test_module_ruby16.rb
110
+ - test/test_opengl_app.rb
111
+ - test/test_opengl_basic.rb
112
+ - test/test_opengl_fullscreen.rb
113
+ - test/test_opengl_novice.rb
42
114
  - test/test_sgl.rb
115
+ - test/test_sound.rb
116
+ - website/challenge1.html
117
+ - website/challenge1.txt
118
+ - website/challenge2.html
119
+ - website/challenge2.txt
120
+ - website/challenge3.html
121
+ - website/challenge3.txt
122
+ - website/cocoa.html
123
+ - website/cocoa.txt
124
+ - website/description.html
125
+ - website/description.txt
126
+ - website/exercise1.html
127
+ - website/exercise1.txt
128
+ - website/exercise2.html
129
+ - website/exercise2.txt
130
+ - website/exhibition.html
131
+ - website/exhibition.txt
132
+ - website/howto.html
133
+ - website/howto.txt
43
134
  - website/index.html
44
135
  - website/index.txt
45
136
  - website/javascripts/rounded_corners_lite.inc.js
137
+ - website/sound.html
138
+ - website/sound.txt
139
+ - website/stylesheets/grade.png
46
140
  - website/stylesheets/screen.css
47
141
  - website/template.rhtml
48
142
  test_files:
143
+ - test/test_bass.rb
49
144
  - test/test_cocoa_app.rb
50
145
  - test/test_helper.rb
51
146
  - test/test_module_ruby16.rb
@@ -54,6 +149,7 @@ test_files:
54
149
  - test/test_opengl_fullscreen.rb
55
150
  - test/test_opengl_novice.rb
56
151
  - test/test_sgl.rb
152
+ - test/test_sound.rb
57
153
  rdoc_options:
58
154
  - --main
59
155
  - README.txt
@@ -62,7 +158,17 @@ extra_rdoc_files:
62
158
  - License.txt
63
159
  - Manifest.txt
64
160
  - README.txt
161
+ - website/challenge1.txt
162
+ - website/challenge2.txt
163
+ - website/challenge3.txt
164
+ - website/cocoa.txt
165
+ - website/description.txt
166
+ - website/exercise1.txt
167
+ - website/exercise2.txt
168
+ - website/exhibition.txt
169
+ - website/howto.txt
65
170
  - website/index.txt
171
+ - website/sound.txt
66
172
  executables: []
67
173
 
68
174
  extensions: []