rubygame 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +5 -0
- data/NEWS +88 -0
- data/README +8 -4
- data/ROADMAP +19 -43
- data/Rakefile +94 -10
- data/doc/macosx_install.rdoc +2 -2
- data/doc/windows_install.rdoc +2 -2
- data/ext/rubygame/rubygame_event.c +116 -0
- data/ext/rubygame/rubygame_event2.c +661 -0
- data/ext/rubygame/rubygame_event2.h +29 -0
- data/ext/rubygame/rubygame_joystick.c +106 -17
- data/ext/rubygame/rubygame_main.c +3 -0
- data/ext/rubygame/rubygame_shared.c +2 -5
- data/ext/rubygame/rubygame_shared.h +1 -0
- data/ext/rubygame/rubygame_surface.c +11 -9
- data/lib/rubygame.rb +14 -3
- data/lib/rubygame/event_actions.rb +203 -0
- data/lib/rubygame/event_handler.rb +454 -0
- data/lib/rubygame/event_hook.rb +112 -0
- data/lib/rubygame/event_triggers.rb +692 -0
- data/lib/rubygame/events.rb +44 -0
- data/lib/rubygame/events/joystick_events.rb +342 -0
- data/lib/rubygame/events/keyboard_events.rb +132 -0
- data/lib/rubygame/events/misc_events.rb +144 -0
- data/lib/rubygame/events/mouse_events.rb +155 -0
- data/lib/rubygame/ftor.rb +2 -2
- data/lib/rubygame/queue.rb +50 -29
- data/samples/demo_draw.rb +175 -0
- data/samples/demo_rubygame.rb +421 -165
- metadata +18 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Croisant
|
@@ -9,12 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-10-24 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description:
|
17
|
-
email: jacius@
|
17
|
+
email: jacius@gmail.com
|
18
18
|
executables: []
|
19
19
|
|
20
20
|
extensions:
|
@@ -46,15 +46,25 @@ files:
|
|
46
46
|
- lib/rubygame/color/palettes/css.rb
|
47
47
|
- lib/rubygame/color/palettes/x11.rb
|
48
48
|
- lib/rubygame/event.rb
|
49
|
+
- lib/rubygame/event_actions.rb
|
50
|
+
- lib/rubygame/events.rb
|
49
51
|
- lib/rubygame/rect.rb
|
50
52
|
- lib/rubygame/mediabag.rb
|
51
53
|
- lib/rubygame/color.rb
|
52
54
|
- lib/rubygame/sprite.rb
|
55
|
+
- lib/rubygame/event_triggers.rb
|
53
56
|
- lib/rubygame/named_resource.rb
|
54
57
|
- lib/rubygame/keyconstants.rb
|
55
58
|
- lib/rubygame/hotspot.rb
|
56
59
|
- lib/rubygame/sfont.rb
|
57
60
|
- lib/rubygame/queue.rb
|
61
|
+
- lib/rubygame/event_hook.rb
|
62
|
+
- lib/rubygame/event_handler.rb
|
63
|
+
- lib/rubygame/events
|
64
|
+
- lib/rubygame/events/keyboard_events.rb
|
65
|
+
- lib/rubygame/events/joystick_events.rb
|
66
|
+
- lib/rubygame/events/misc_events.rb
|
67
|
+
- lib/rubygame/events/mouse_events.rb
|
58
68
|
- ext/rubygame
|
59
69
|
- ext/rubygame/rubygame_event.h
|
60
70
|
- ext/rubygame/rubygame_mixer.c
|
@@ -67,12 +77,14 @@ files:
|
|
67
77
|
- ext/rubygame/rubygame_music.c
|
68
78
|
- ext/rubygame/rubygame_gl.h
|
69
79
|
- ext/rubygame/rubygame_screen.c
|
80
|
+
- ext/rubygame/rubygame_event2.c
|
70
81
|
- ext/rubygame/rubygame_sound.c
|
71
82
|
- ext/rubygame/rubygame_shared.h
|
72
83
|
- ext/rubygame/rubygame_time.c
|
73
84
|
- ext/rubygame/rubygame_image.h
|
74
85
|
- ext/rubygame/rubygame_surface.h
|
75
86
|
- ext/rubygame/rubygame_screen.h
|
87
|
+
- ext/rubygame/rubygame_event2.h
|
76
88
|
- ext/rubygame/rubygame_time.h
|
77
89
|
- ext/rubygame/rubygame_joystick.c
|
78
90
|
- ext/rubygame/rubygame_sound.h
|
@@ -94,6 +106,7 @@ files:
|
|
94
106
|
- samples/demo_gl.rb
|
95
107
|
- samples/chimp.bmp
|
96
108
|
- samples/term16.png
|
109
|
+
- samples/demo_draw.rb
|
97
110
|
- samples/chimp.rb
|
98
111
|
- samples/demo_ttf.rb
|
99
112
|
- samples/panda.png
|
@@ -114,7 +127,7 @@ files:
|
|
114
127
|
- ROADMAP
|
115
128
|
- NEWS
|
116
129
|
has_rdoc: true
|
117
|
-
homepage: http://rubygame.
|
130
|
+
homepage: http://rubygame.org/
|
118
131
|
post_install_message:
|
119
132
|
rdoc_options: []
|
120
133
|
|
@@ -137,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
150
|
requirements: []
|
138
151
|
|
139
152
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.
|
153
|
+
rubygems_version: 1.2.0
|
141
154
|
signing_key:
|
142
155
|
specification_version: 2
|
143
156
|
summary: Clean and powerful library for game programming
|