gosu 0.7.39-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/COPYING +34 -0
  2. data/Gosu/Async.hpp +50 -0
  3. data/Gosu/Audio.hpp +163 -0
  4. data/Gosu/AutoLink.hpp +16 -0
  5. data/Gosu/Bitmap.hpp +96 -0
  6. data/Gosu/ButtonsMac.hpp +140 -0
  7. data/Gosu/ButtonsWin.hpp +140 -0
  8. data/Gosu/ButtonsX.hpp +141 -0
  9. data/Gosu/Color.hpp +204 -0
  10. data/Gosu/Directories.hpp +36 -0
  11. data/Gosu/Font.hpp +83 -0
  12. data/Gosu/Fwd.hpp +31 -0
  13. data/Gosu/Gosu.hpp +34 -0
  14. data/Gosu/Graphics.hpp +120 -0
  15. data/Gosu/GraphicsBase.hpp +66 -0
  16. data/Gosu/IO.hpp +259 -0
  17. data/Gosu/Image.hpp +138 -0
  18. data/Gosu/ImageData.hpp +58 -0
  19. data/Gosu/Input.hpp +161 -0
  20. data/Gosu/Inspection.hpp +14 -0
  21. data/Gosu/Math.hpp +135 -0
  22. data/Gosu/Platform.hpp +73 -0
  23. data/Gosu/Sockets.hpp +137 -0
  24. data/Gosu/TR1.hpp +44 -0
  25. data/Gosu/Text.hpp +71 -0
  26. data/Gosu/TextInput.hpp +70 -0
  27. data/Gosu/Timing.hpp +16 -0
  28. data/Gosu/Utility.hpp +28 -0
  29. data/Gosu/Version.hpp +526 -0
  30. data/Gosu/WinUtility.hpp +75 -0
  31. data/Gosu/Window.hpp +124 -0
  32. data/README.txt +25 -0
  33. data/examples/ChipmunkIntegration.rb +275 -0
  34. data/examples/CptnRuby.rb +223 -0
  35. data/examples/MoreChipmunkAndRMagick.rb +155 -0
  36. data/examples/OpenGLIntegration.rb +226 -0
  37. data/examples/RMagickIntegration.rb +417 -0
  38. data/examples/TextInput.rb +154 -0
  39. data/examples/Tutorial.rb +131 -0
  40. data/examples/media/Beep.wav +0 -0
  41. data/examples/media/CptnRuby Gem.png +0 -0
  42. data/examples/media/CptnRuby Map.txt +25 -0
  43. data/examples/media/CptnRuby Tileset.png +0 -0
  44. data/examples/media/CptnRuby.png +0 -0
  45. data/examples/media/Cursor.png +0 -0
  46. data/examples/media/Earth.png +0 -0
  47. data/examples/media/Explosion.wav +0 -0
  48. data/examples/media/Landscape.svg +10 -0
  49. data/examples/media/LargeStar.png +0 -0
  50. data/examples/media/Smoke.png +0 -0
  51. data/examples/media/Soldier.png +0 -0
  52. data/examples/media/Space.png +0 -0
  53. data/examples/media/Star.png +0 -0
  54. data/examples/media/Starfighter.bmp +0 -0
  55. data/lib/FreeImage.dll +0 -0
  56. data/lib/OpenAL32.dll +0 -0
  57. data/lib/gosu.for_1_8.so +0 -0
  58. data/lib/gosu.for_1_9.so +0 -0
  59. data/lib/gosu.rb +17 -0
  60. data/lib/gosu/patches.rb +75 -0
  61. data/lib/gosu/preview.rb +121 -0
  62. data/lib/gosu/run.rb +11 -0
  63. data/lib/gosu/swig_patches.rb +48 -0
  64. data/lib/gosu/zen.rb +28 -0
  65. data/lib/libsndfile.dll +0 -0
  66. metadata +138 -0
data/lib/gosu/zen.rb ADDED
@@ -0,0 +1,28 @@
1
+ require 'gosu'
2
+ require 'singleton'
3
+
4
+ module Gosu
5
+ class ZenWindow < Window
6
+ include Singleton
7
+
8
+ def initialize
9
+ super 800, 600, false
10
+ end
11
+ end
12
+ end
13
+
14
+ def set what, value
15
+ Gosu::ZenWindow.instance.send "#{what}=", value
16
+ end
17
+
18
+ def update(&proc)
19
+ Gosu::ZenWindow.send :define_method, :update, proc
20
+ end
21
+
22
+ # WIP - needs all other callbacks, even with arguments
23
+
24
+ # WIP - needs to be compatible with gosu/preview.rb later
25
+
26
+ at_exit do
27
+ Gosu::ZenWindow.instance.show
28
+ end
Binary file
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gosu
3
+ version: !ruby/object:Gem::Version
4
+ hash: 77
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 7
9
+ - 39
10
+ version: 0.7.39
11
+ platform: x86-mingw32
12
+ authors:
13
+ - Julian Raschke
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-11-19 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: " 2D game development library.\n\n Gosu features easy to use and game-friendly interfaces to 2D graphics\n and text (accelerated by 3D hardware), sound samples and music as well as\n keyboard, mouse and gamepad/joystick input.\n\n Also includes demos for integration with RMagick, Chipmunk and OpenGL.\n"
22
+ email: julian@raschke.de
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - COPYING
31
+ - README.txt
32
+ - Gosu/Async.hpp
33
+ - Gosu/Audio.hpp
34
+ - Gosu/AutoLink.hpp
35
+ - Gosu/Bitmap.hpp
36
+ - Gosu/ButtonsMac.hpp
37
+ - Gosu/ButtonsWin.hpp
38
+ - Gosu/ButtonsX.hpp
39
+ - Gosu/Color.hpp
40
+ - Gosu/Directories.hpp
41
+ - Gosu/Font.hpp
42
+ - Gosu/Fwd.hpp
43
+ - Gosu/Gosu.hpp
44
+ - Gosu/Graphics.hpp
45
+ - Gosu/GraphicsBase.hpp
46
+ - Gosu/Image.hpp
47
+ - Gosu/ImageData.hpp
48
+ - Gosu/Input.hpp
49
+ - Gosu/Inspection.hpp
50
+ - Gosu/IO.hpp
51
+ - Gosu/Math.hpp
52
+ - Gosu/Platform.hpp
53
+ - Gosu/Sockets.hpp
54
+ - Gosu/Text.hpp
55
+ - Gosu/TextInput.hpp
56
+ - Gosu/Timing.hpp
57
+ - Gosu/TR1.hpp
58
+ - Gosu/Utility.hpp
59
+ - Gosu/Version.hpp
60
+ - Gosu/Window.hpp
61
+ - Gosu/WinUtility.hpp
62
+ - lib/gosu/patches.rb
63
+ - lib/gosu/preview.rb
64
+ - lib/gosu/run.rb
65
+ - lib/gosu/swig_patches.rb
66
+ - lib/gosu/zen.rb
67
+ - lib/gosu.rb
68
+ - examples/ChipmunkIntegration.rb
69
+ - examples/CptnRuby.rb
70
+ - examples/MoreChipmunkAndRMagick.rb
71
+ - examples/OpenGLIntegration.rb
72
+ - examples/RMagickIntegration.rb
73
+ - examples/TextInput.rb
74
+ - examples/Tutorial.rb
75
+ - examples/media/Beep.wav
76
+ - examples/media/CptnRuby Gem.png
77
+ - examples/media/CptnRuby Map.txt
78
+ - examples/media/CptnRuby Tileset.png
79
+ - examples/media/CptnRuby.png
80
+ - examples/media/Cursor.png
81
+ - examples/media/Earth.png
82
+ - examples/media/Explosion.wav
83
+ - examples/media/Landscape.svg
84
+ - examples/media/LargeStar.png
85
+ - examples/media/Smoke.png
86
+ - examples/media/Soldier.png
87
+ - examples/media/Space.png
88
+ - examples/media/Star.png
89
+ - examples/media/Starfighter.bmp
90
+ - lib/gosu.for_1_8.so
91
+ - lib/gosu.for_1_9.so
92
+ - lib/FreeImage.dll
93
+ - lib/libsndfile.dll
94
+ - lib/OpenAL32.dll
95
+ homepage: http://www.libgosu.org/
96
+ licenses: []
97
+
98
+ post_install_message:
99
+ rdoc_options:
100
+ - README.txt
101
+ - COPYING
102
+ - reference/gosu.rb
103
+ - reference/*.rdoc
104
+ - --title
105
+ - Gosu
106
+ - --main
107
+ - README.txt
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 51
116
+ segments:
117
+ - 1
118
+ - 8
119
+ - 2
120
+ version: 1.8.2
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
129
+ version: "0"
130
+ requirements: []
131
+
132
+ rubyforge_project:
133
+ rubygems_version: 1.8.11
134
+ signing_key:
135
+ specification_version: 3
136
+ summary: 2D game development library.
137
+ test_files: []
138
+