hybridgroup-ruby-sdl-ffi 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog.txt +2460 -0
- data/NEWS.rdoc +77 -0
- data/README.rdoc +84 -0
- data/lib/ruby-sdl-ffi/gfx/blitfunc.rb +56 -0
- data/lib/ruby-sdl-ffi/gfx/framerate.rb +51 -0
- data/lib/ruby-sdl-ffi/gfx/imagefilter.rb +176 -0
- data/lib/ruby-sdl-ffi/gfx/primitives.rb +251 -0
- data/lib/ruby-sdl-ffi/gfx/rotozoom.rb +108 -0
- data/lib/ruby-sdl-ffi/gfx.rb +56 -0
- data/lib/ruby-sdl-ffi/image.rb +90 -0
- data/lib/ruby-sdl-ffi/mixer.rb +215 -0
- data/lib/ruby-sdl-ffi/sdl/audio.rb +139 -0
- data/lib/ruby-sdl-ffi/sdl/cdrom.rb +87 -0
- data/lib/ruby-sdl-ffi/sdl/core.rb +129 -0
- data/lib/ruby-sdl-ffi/sdl/event.rb +375 -0
- data/lib/ruby-sdl-ffi/sdl/joystick.rb +73 -0
- data/lib/ruby-sdl-ffi/sdl/keyboard.rb +76 -0
- data/lib/ruby-sdl-ffi/sdl/keysyms.rb +282 -0
- data/lib/ruby-sdl-ffi/sdl/mac.rb +443 -0
- data/lib/ruby-sdl-ffi/sdl/mouse.rb +106 -0
- data/lib/ruby-sdl-ffi/sdl/mutex.rb +57 -0
- data/lib/ruby-sdl-ffi/sdl/rwops.rb +137 -0
- data/lib/ruby-sdl-ffi/sdl/timer.rb +47 -0
- data/lib/ruby-sdl-ffi/sdl/video.rb +513 -0
- data/lib/ruby-sdl-ffi/sdl.rb +81 -0
- data/lib/ruby-sdl-ffi/ttf.rb +257 -0
- data/lib/ruby-sdl-ffi.rb +56 -0
- metadata +95 -0
data/ChangeLog.txt
ADDED
@@ -0,0 +1,2460 @@
|
|
1
|
+
------------------------------------------------------------
|
2
|
+
Author: Adrian Zankich <adrian@hybridgroup.com>
|
3
|
+
Date: Thu Oct 3 15:46:30 2013 -0700
|
4
|
+
|
5
|
+
Bump to 0.4.1
|
6
|
+
|
7
|
+
A Gemfile
|
8
|
+
A Gemfile.lock
|
9
|
+
M Rakefile
|
10
|
+
M ruby-sdl-ffi.gemspec
|
11
|
+
|
12
|
+
------------------------------------------------------------
|
13
|
+
Author: Adrian Zankich <adrian@hybridgroup.com>
|
14
|
+
Date: Thu Oct 3 14:12:10 2013 -0700
|
15
|
+
|
16
|
+
Fix jruby support
|
17
|
+
|
18
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
19
|
+
|
20
|
+
------------------------------------------------------------
|
21
|
+
Author: John Croisant <jacius@gmail.com>
|
22
|
+
Date: Sun Mar 6 15:44:15 2011 -0600
|
23
|
+
|
24
|
+
Ruby-SDL-FFI 0.4 released.
|
25
|
+
|
26
|
+
M NEWS.rdoc
|
27
|
+
M README.rdoc
|
28
|
+
M ruby-sdl-ffi.gemspec
|
29
|
+
|
30
|
+
------------------------------------------------------------
|
31
|
+
Author: John Croisant <jacius@gmail.com>
|
32
|
+
Date: Sun Mar 6 15:43:55 2011 -0600
|
33
|
+
|
34
|
+
Updated homepage URLs.
|
35
|
+
|
36
|
+
M README.rdoc
|
37
|
+
M ruby-sdl-ffi.gemspec
|
38
|
+
|
39
|
+
------------------------------------------------------------
|
40
|
+
Author: John Croisant <jacius@gmail.com>
|
41
|
+
Date: Sun Mar 6 15:37:01 2011 -0600
|
42
|
+
|
43
|
+
Added in-file credits for Bart Leusink's contributions.
|
44
|
+
|
45
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
46
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
47
|
+
|
48
|
+
------------------------------------------------------------
|
49
|
+
Author: Bart Leusink <bartleusink@gmail.com>
|
50
|
+
Date: Mon Jan 31 23:05:01 2011 +0100
|
51
|
+
|
52
|
+
Added SDL::SaveBMP and SDL::LoadBMP
|
53
|
+
|
54
|
+
Fixes https://github.com/rubygame/ruby-sdl-ffi/issues#issue/2
|
55
|
+
|
56
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
57
|
+
|
58
|
+
------------------------------------------------------------
|
59
|
+
Author: Bart Leusink <bartleusink@gmail.com>
|
60
|
+
Date: Sat Jan 22 14:10:10 2011 +0100
|
61
|
+
|
62
|
+
Fixed making the current process a front process on OSX
|
63
|
+
|
64
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
65
|
+
|
66
|
+
------------------------------------------------------------
|
67
|
+
Author: John Croisant <jacius@gmail.com>
|
68
|
+
Date: Sun Aug 8 00:03:34 2010 -0500
|
69
|
+
|
70
|
+
Ruby-SDL-FFI 0.3 released.
|
71
|
+
|
72
|
+
------------------------------------------------------------
|
73
|
+
Author: John Croisant <jacius@gmail.com>
|
74
|
+
Date: Sat Aug 7 23:49:19 2010 -0500
|
75
|
+
|
76
|
+
Updated copyright on files modified in 2010.
|
77
|
+
|
78
|
+
M README.rdoc
|
79
|
+
M lib/ruby-sdl-ffi.rb
|
80
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
81
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
82
|
+
|
83
|
+
------------------------------------------------------------
|
84
|
+
Author: John Croisant <jacius@gmail.com>
|
85
|
+
Date: Sat Aug 7 23:19:44 2010 -0500
|
86
|
+
|
87
|
+
Fixed examples to use '#!/usr/bin/env ruby'.
|
88
|
+
|
89
|
+
'#!/bin/env ruby' doesn't work on Mac.
|
90
|
+
|
91
|
+
Also fixed a NameError in load_music.rb, due to FFI API changes.
|
92
|
+
|
93
|
+
M examples/load_image.rb
|
94
|
+
M examples/load_music.rb
|
95
|
+
|
96
|
+
------------------------------------------------------------
|
97
|
+
Author: John Croisant <jacius@gmail.com>
|
98
|
+
Date: Sat Aug 7 23:13:40 2010 -0500
|
99
|
+
|
100
|
+
Updated NEWS.rdoc, README.rdoc, and ruby-sdl-ffi.gemspec for version 0.3.
|
101
|
+
|
102
|
+
M NEWS.rdoc
|
103
|
+
M README.rdoc
|
104
|
+
M ruby-sdl-ffi.gemspec
|
105
|
+
|
106
|
+
------------------------------------------------------------
|
107
|
+
Author: John Croisant <jacius@gmail.com>
|
108
|
+
Date: Sat Aug 7 23:11:40 2010 -0500
|
109
|
+
|
110
|
+
Improved how RUBYSDLFFI_PATH and SDL_PATHS are processed.
|
111
|
+
|
112
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
113
|
+
|
114
|
+
------------------------------------------------------------
|
115
|
+
Author: John Croisant <jacius@gmail.com>
|
116
|
+
Date: Fri Aug 6 04:07:07 2010 -0500
|
117
|
+
|
118
|
+
Added SDL.set_app_name (and SDL::Mac.set_app_name).
|
119
|
+
|
120
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
121
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
122
|
+
|
123
|
+
------------------------------------------------------------
|
124
|
+
Author: John Croisant <jacius@gmail.com>
|
125
|
+
Date: Fri Aug 6 01:35:14 2010 -0500
|
126
|
+
|
127
|
+
Removed unused Mac code and nibs.
|
128
|
+
|
129
|
+
D lib/ruby-sdl-ffi/sdl/EmptyMacMenu.nib/designable.nib
|
130
|
+
D lib/ruby-sdl-ffi/sdl/EmptyMacMenu.nib/keyedobjects.nib
|
131
|
+
D lib/ruby-sdl-ffi/sdl/MacMenu.nib/designable.nib
|
132
|
+
D lib/ruby-sdl-ffi/sdl/MacMenu.nib/keyedobjects.nib
|
133
|
+
D lib/ruby-sdl-ffi/sdl/SparseMacMenu.nib/designable.nib
|
134
|
+
D lib/ruby-sdl-ffi/sdl/SparseMacMenu.nib/keyedobjects.nib
|
135
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
136
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
137
|
+
|
138
|
+
------------------------------------------------------------
|
139
|
+
Author: John Croisant <jacius@gmail.com>
|
140
|
+
Date: Tue Aug 3 22:53:14 2010 -0500
|
141
|
+
|
142
|
+
Extract paths from ENV["RUBYSDLFFI_PATH"] if present.
|
143
|
+
|
144
|
+
RUBYSDLFFI_PATH should be a colon (on *nix/Mac) or semicolon
|
145
|
+
(Windows) separated list of paths to search for SDL libraries.
|
146
|
+
|
147
|
+
(Alternative to setting the SDL_PATHS constant in Ruby.)
|
148
|
+
|
149
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
150
|
+
|
151
|
+
------------------------------------------------------------
|
152
|
+
Author: John Croisant <jacius@gmail.com>
|
153
|
+
Date: Sat Jul 10 22:53:30 2010 -0500
|
154
|
+
|
155
|
+
More progress on Mac support.
|
156
|
+
|
157
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
158
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
159
|
+
|
160
|
+
------------------------------------------------------------
|
161
|
+
Author: John Croisant <jacius@gmail.com>
|
162
|
+
Date: Fri Jul 9 03:16:12 2010 -0500
|
163
|
+
|
164
|
+
More object-oriented style for Mac ObjC/Cocoa bindings.
|
165
|
+
|
166
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
167
|
+
|
168
|
+
------------------------------------------------------------
|
169
|
+
Author: John Croisant <jacius@gmail.com>
|
170
|
+
Date: Thu Jul 8 05:03:35 2010 -0500
|
171
|
+
|
172
|
+
WIP experimental mac menu support
|
173
|
+
|
174
|
+
A lib/ruby-sdl-ffi/sdl/EmptyMacMenu.nib/designable.nib
|
175
|
+
A lib/ruby-sdl-ffi/sdl/EmptyMacMenu.nib/keyedobjects.nib
|
176
|
+
A lib/ruby-sdl-ffi/sdl/MacMenu.nib/designable.nib
|
177
|
+
A lib/ruby-sdl-ffi/sdl/MacMenu.nib/keyedobjects.nib
|
178
|
+
A lib/ruby-sdl-ffi/sdl/SparseMacMenu.nib/designable.nib
|
179
|
+
A lib/ruby-sdl-ffi/sdl/SparseMacMenu.nib/keyedobjects.nib
|
180
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
181
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
182
|
+
|
183
|
+
------------------------------------------------------------
|
184
|
+
Author: John Croisant <jacius@gmail.com>
|
185
|
+
Date: Fri Jul 2 23:10:58 2010 -0500
|
186
|
+
|
187
|
+
Disable Mac magic if using rsdl or ENV["RUBYSDLFFI_NOCOCOA"] is true.
|
188
|
+
|
189
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
190
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
191
|
+
|
192
|
+
------------------------------------------------------------
|
193
|
+
Author: John Croisant <jacius@gmail.com>
|
194
|
+
Date: Wed Jun 30 18:39:16 2010 -0500
|
195
|
+
|
196
|
+
Improved integration with the Mac window manager.
|
197
|
+
|
198
|
+
The app now gets an application menu and dock icon, and the
|
199
|
+
SDL window can gain focus and have a title.
|
200
|
+
|
201
|
+
M lib/ruby-sdl-ffi/sdl/mac.rb
|
202
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
203
|
+
|
204
|
+
------------------------------------------------------------
|
205
|
+
Author: John Croisant <jacius@gmail.com>
|
206
|
+
Date: Tue Jun 29 03:45:58 2010 -0500
|
207
|
+
|
208
|
+
Preliminary support for Mac without rsdl.
|
209
|
+
|
210
|
+
This allows the normal ruby interpreter to create a window on
|
211
|
+
Mac OS X. No special interpreter (i.e. rsdl) is needed.
|
212
|
+
However, some SDL functions have memory leaks, so we should wrap
|
213
|
+
those functions in NS{Push,Pop}AutoreleasePool.
|
214
|
+
|
215
|
+
Eternal thanks to erisdiscord for pointing the way!
|
216
|
+
|
217
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
218
|
+
A lib/ruby-sdl-ffi/sdl/mac.rb
|
219
|
+
|
220
|
+
------------------------------------------------------------
|
221
|
+
Author: John Croisant <jacius@gmail.com>
|
222
|
+
Date: Fri Jun 4 18:17:54 2010 -0500
|
223
|
+
|
224
|
+
Fixed SDL.GL_GetAttribute returning FFI::Buffer instead of integer.
|
225
|
+
|
226
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
227
|
+
|
228
|
+
------------------------------------------------------------
|
229
|
+
Author: John Croisant <jacius@gmail.com>
|
230
|
+
Date: Sun Apr 11 05:13:04 2010 -0500
|
231
|
+
|
232
|
+
Made SDL::Palette enumerable, defined #each and #at.
|
233
|
+
|
234
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
235
|
+
|
236
|
+
------------------------------------------------------------
|
237
|
+
Author: John Croisant <jacius@gmail.com>
|
238
|
+
Date: Thu Dec 10 14:20:10 2009 -0600
|
239
|
+
|
240
|
+
Made a nice wrapper around SDL::GetKeyRepeat().
|
241
|
+
|
242
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
243
|
+
|
244
|
+
------------------------------------------------------------
|
245
|
+
Author: John Croisant <jacius@gmail.com>
|
246
|
+
Date: Thu Dec 10 13:53:53 2009 -0600
|
247
|
+
|
248
|
+
Use Buffer instad of MemoryPointer in many places.
|
249
|
+
|
250
|
+
There may be other places where Buffer should be used,
|
251
|
+
but these are the obvious ones.
|
252
|
+
|
253
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
254
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
255
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
256
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
257
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
258
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
259
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
260
|
+
|
261
|
+
------------------------------------------------------------
|
262
|
+
Author: John Croisant <jacius@gmail.com>
|
263
|
+
Date: Thu Dec 10 02:53:55 2009 -0600
|
264
|
+
|
265
|
+
Fixed a mistake in SDL::WaitEvent().
|
266
|
+
|
267
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
268
|
+
|
269
|
+
------------------------------------------------------------
|
270
|
+
Author: John Croisant <jacius@gmail.com>
|
271
|
+
Date: Fri Oct 30 18:29:33 2009 -0500
|
272
|
+
|
273
|
+
Ruby-SDL-FFI 0.2 released.
|
274
|
+
|
275
|
+
M README.rdoc
|
276
|
+
M ruby-sdl-ffi.gemspec
|
277
|
+
|
278
|
+
------------------------------------------------------------
|
279
|
+
Author: John Croisant <jacius@gmail.com>
|
280
|
+
Date: Fri Oct 30 18:28:17 2009 -0500
|
281
|
+
|
282
|
+
Updated ruby-sdl-ffi.gemspec.
|
283
|
+
|
284
|
+
Include all rdoc files, lowered SDL_gfx required version.
|
285
|
+
Fixed rubyforge_project.
|
286
|
+
|
287
|
+
M ruby-sdl-ffi.gemspec
|
288
|
+
|
289
|
+
------------------------------------------------------------
|
290
|
+
Author: John Croisant <jacius@gmail.com>
|
291
|
+
Date: Fri Oct 30 18:25:06 2009 -0500
|
292
|
+
|
293
|
+
Added NEWS.rdoc (release notes).
|
294
|
+
|
295
|
+
A NEWS.rdoc
|
296
|
+
|
297
|
+
------------------------------------------------------------
|
298
|
+
Author: John Croisant <jacius@gmail.com>
|
299
|
+
Date: Thu Oct 29 16:39:26 2009 -0500
|
300
|
+
|
301
|
+
Updated README.rdoc.
|
302
|
+
|
303
|
+
M README.rdoc
|
304
|
+
|
305
|
+
------------------------------------------------------------
|
306
|
+
Author: John Croisant <jacius@gmail.com>
|
307
|
+
Date: Thu Oct 29 16:26:17 2009 -0500
|
308
|
+
|
309
|
+
rotozoomSurfaceXY and rotozoomSurfaceSizeXY don't need to be optional.
|
310
|
+
|
311
|
+
They both exist in SDL_gfx 2.0.13, the minimum supported version.
|
312
|
+
|
313
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
314
|
+
|
315
|
+
------------------------------------------------------------
|
316
|
+
Author: John Croisant <jacius@gmail.com>
|
317
|
+
Date: Thu Oct 29 16:10:54 2009 -0500
|
318
|
+
|
319
|
+
Reordered gfx/primitives.rb a bit.
|
320
|
+
|
321
|
+
M lib/ruby-sdl-ffi/gfx/primitives.rb
|
322
|
+
|
323
|
+
------------------------------------------------------------
|
324
|
+
Author: John Croisant <jacius@gmail.com>
|
325
|
+
Date: Thu Oct 29 16:04:35 2009 -0500
|
326
|
+
|
327
|
+
SDL_gfx's arcRGBA should be optfunc like arcColor.
|
328
|
+
|
329
|
+
M lib/ruby-sdl-ffi/gfx/primitives.rb
|
330
|
+
|
331
|
+
------------------------------------------------------------
|
332
|
+
Author: John Croisant <jacius@gmail.com>
|
333
|
+
Date: Thu Oct 29 16:00:23 2009 -0500
|
334
|
+
|
335
|
+
AUDIO_U16SYS/AUDIO_S16SYS vary depending on byte order.
|
336
|
+
|
337
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
338
|
+
|
339
|
+
------------------------------------------------------------
|
340
|
+
Author: John Croisant <jacius@gmail.com>
|
341
|
+
Date: Sat Oct 24 15:57:13 2009 -0500
|
342
|
+
|
343
|
+
Ruby-SDL-FFI 0.1 released.
|
344
|
+
|
345
|
+
M README.rdoc
|
346
|
+
|
347
|
+
------------------------------------------------------------
|
348
|
+
Author: John Croisant <jacius@gmail.com>
|
349
|
+
Date: Wed Oct 21 23:27:56 2009 -0500
|
350
|
+
|
351
|
+
CD holds an array of CDTracks by value, not pointers.
|
352
|
+
|
353
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
354
|
+
|
355
|
+
------------------------------------------------------------
|
356
|
+
Author: John Croisant <jacius@gmail.com>
|
357
|
+
Date: Wed Oct 21 23:10:21 2009 -0500
|
358
|
+
|
359
|
+
Explicitly initialize events when unwrapping them.
|
360
|
+
|
361
|
+
(Workaround for JRUBY-4139.)
|
362
|
+
|
363
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
364
|
+
|
365
|
+
------------------------------------------------------------
|
366
|
+
Author: John Croisant <jacius@gmail.com>
|
367
|
+
Date: Wed Oct 21 19:42:41 2009 -0500
|
368
|
+
|
369
|
+
Removed superfluous 'require "nice-ffi"' statements.
|
370
|
+
|
371
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
372
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
373
|
+
M lib/ruby-sdl-ffi/sdl/core.rb
|
374
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
375
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
376
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
377
|
+
M lib/ruby-sdl-ffi/sdl/rwops.rb
|
378
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
379
|
+
|
380
|
+
------------------------------------------------------------
|
381
|
+
Author: John Croisant <jacius@gmail.com>
|
382
|
+
Date: Wed Oct 21 19:37:59 2009 -0500
|
383
|
+
|
384
|
+
Made some SDL_gfx funcs optional.
|
385
|
+
|
386
|
+
M lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
387
|
+
M lib/ruby-sdl-ffi/gfx/primitives.rb
|
388
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
389
|
+
|
390
|
+
------------------------------------------------------------
|
391
|
+
Author: John Croisant <jacius@gmail.com>
|
392
|
+
Date: Wed Oct 21 19:37:14 2009 -0500
|
393
|
+
|
394
|
+
Disabled SDL::CD and SDL::Cursor when using JRuby.
|
395
|
+
|
396
|
+
JRuby's FFI doesn't support arrays of pointers in structs yet.
|
397
|
+
|
398
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
399
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
400
|
+
|
401
|
+
------------------------------------------------------------
|
402
|
+
Author: John Croisant <jacius@gmail.com>
|
403
|
+
Date: Tue Oct 20 19:33:20 2009 -0500
|
404
|
+
|
405
|
+
Ruby-SDL-FFI 0.1 RC1 released.
|
406
|
+
|
407
|
+
M README.rdoc
|
408
|
+
|
409
|
+
------------------------------------------------------------
|
410
|
+
Author: John Croisant <jacius@gmail.com>
|
411
|
+
Date: Tue Oct 20 19:30:12 2009 -0500
|
412
|
+
|
413
|
+
Fixed class name in struct array in cdrom.rb.
|
414
|
+
|
415
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
416
|
+
|
417
|
+
------------------------------------------------------------
|
418
|
+
Author: John Croisant <jacius@gmail.com>
|
419
|
+
Date: Tue Oct 20 01:35:15 2009 -0500
|
420
|
+
|
421
|
+
mkchangelog.rb requires 'fileutils'.
|
422
|
+
|
423
|
+
M scripts/mkchangelog.rb
|
424
|
+
|
425
|
+
------------------------------------------------------------
|
426
|
+
Author: John Croisant <jacius@gmail.com>
|
427
|
+
Date: Mon Oct 19 01:46:37 2009 -0500
|
428
|
+
|
429
|
+
Don't autorelease the video surface. Seriously.
|
430
|
+
|
431
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
432
|
+
|
433
|
+
------------------------------------------------------------
|
434
|
+
Author: John Croisant <jacius@gmail.com>
|
435
|
+
Date: Sun Oct 18 15:15:09 2009 -0500
|
436
|
+
|
437
|
+
Updated README.rdoc and ruby-sdl-ffi.gemspec.
|
438
|
+
|
439
|
+
M README.rdoc
|
440
|
+
M ruby-sdl-ffi.gemspec
|
441
|
+
|
442
|
+
------------------------------------------------------------
|
443
|
+
Author: John Croisant <jacius@gmail.com>
|
444
|
+
Date: Sun Oct 18 15:05:57 2009 -0500
|
445
|
+
|
446
|
+
Revamped how files are required.
|
447
|
+
|
448
|
+
M lib/ruby-sdl-ffi.rb
|
449
|
+
M lib/ruby-sdl-ffi/gfx.rb
|
450
|
+
M lib/ruby-sdl-ffi/image.rb
|
451
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
452
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
453
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
454
|
+
|
455
|
+
------------------------------------------------------------
|
456
|
+
Author: John Croisant <jacius@gmail.com>
|
457
|
+
Date: Sun Oct 18 13:06:25 2009 -0500
|
458
|
+
|
459
|
+
Removed sprig.rb for now.
|
460
|
+
|
461
|
+
M README.rdoc
|
462
|
+
M lib/ruby-sdl-ffi.rb
|
463
|
+
D lib/ruby-sdl-ffi/sprig.rb
|
464
|
+
|
465
|
+
------------------------------------------------------------
|
466
|
+
Author: John Croisant <jacius@gmail.com>
|
467
|
+
Date: Wed Oct 14 15:35:10 2009 -0500
|
468
|
+
|
469
|
+
Updated sdl.rb to use NiceFFI::PathSet::DEFAULT.
|
470
|
+
|
471
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
472
|
+
|
473
|
+
------------------------------------------------------------
|
474
|
+
Author: John Croisant <jacius@gmail.com>
|
475
|
+
Date: Fri Sep 11 23:38:45 2009 -0500
|
476
|
+
|
477
|
+
Define fake SPriG::LinkedVersion if missing.
|
478
|
+
|
479
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
480
|
+
|
481
|
+
------------------------------------------------------------
|
482
|
+
Author: John Croisant <jacius@gmail.com>
|
483
|
+
Date: Fri Sep 11 23:32:40 2009 -0500
|
484
|
+
|
485
|
+
Comment was a bit out of date.
|
486
|
+
|
487
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
488
|
+
|
489
|
+
------------------------------------------------------------
|
490
|
+
Author: John Croisant <jacius@gmail.com>
|
491
|
+
Date: Fri Sep 11 23:21:28 2009 -0500
|
492
|
+
|
493
|
+
Check for and use SDL_PATHS constant if defined.
|
494
|
+
|
495
|
+
Apps can defined SDL_PATHS before loading Ruby-SDL-FFI
|
496
|
+
to specify some paths to search for SDL libs. SDL_PATHS
|
497
|
+
are searched before the default paths.
|
498
|
+
|
499
|
+
M lib/ruby-sdl-ffi/gfx.rb
|
500
|
+
M lib/ruby-sdl-ffi/image.rb
|
501
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
502
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
503
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
504
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
505
|
+
|
506
|
+
------------------------------------------------------------
|
507
|
+
Author: John Croisant <jacius@gmail.com>
|
508
|
+
Date: Fri Sep 11 22:55:32 2009 -0500
|
509
|
+
|
510
|
+
Improved the 'requires' in some files.
|
511
|
+
|
512
|
+
M lib/ruby-sdl-ffi/gfx.rb
|
513
|
+
M lib/ruby-sdl-ffi/image.rb
|
514
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
515
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
516
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
517
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
518
|
+
|
519
|
+
------------------------------------------------------------
|
520
|
+
Author: John Croisant <jacius@gmail.com>
|
521
|
+
Date: Mon Jul 27 14:44:38 2009 -0500
|
522
|
+
|
523
|
+
Added memory autorelease to TTF::Font.
|
524
|
+
|
525
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
526
|
+
|
527
|
+
------------------------------------------------------------
|
528
|
+
Author: John Croisant <jacius@gmail.com>
|
529
|
+
Date: Mon Jul 27 14:44:10 2009 -0500
|
530
|
+
|
531
|
+
Added memory autorelease to Mixer::Chunk and Music.
|
532
|
+
|
533
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
534
|
+
|
535
|
+
------------------------------------------------------------
|
536
|
+
Author: John Croisant <jacius@gmail.com>
|
537
|
+
Date: Mon Jul 27 13:50:47 2009 -0500
|
538
|
+
|
539
|
+
Added memory autorelease to Overlay.
|
540
|
+
|
541
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
542
|
+
|
543
|
+
------------------------------------------------------------
|
544
|
+
Author: John Croisant <jacius@gmail.com>
|
545
|
+
Date: Mon Jul 27 11:23:19 2009 -0500
|
546
|
+
|
547
|
+
Added memory autorelease to Surface.
|
548
|
+
|
549
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
550
|
+
|
551
|
+
------------------------------------------------------------
|
552
|
+
Author: John Croisant <jacius@gmail.com>
|
553
|
+
Date: Mon Jul 27 03:39:40 2009 -0500
|
554
|
+
|
555
|
+
ruby-sdl-ffi.rb loads sprig.rb (with failsafe).
|
556
|
+
|
557
|
+
M lib/ruby-sdl-ffi.rb
|
558
|
+
|
559
|
+
------------------------------------------------------------
|
560
|
+
Author: John Croisant <jacius@gmail.com>
|
561
|
+
Date: Mon Jul 27 03:35:09 2009 -0500
|
562
|
+
|
563
|
+
Updated README.rdoc.
|
564
|
+
|
565
|
+
M README.rdoc
|
566
|
+
|
567
|
+
------------------------------------------------------------
|
568
|
+
Author: John Croisant <jacius@gmail.com>
|
569
|
+
Date: Mon Jul 27 02:29:06 2009 -0500
|
570
|
+
|
571
|
+
Added SPriG.FloodFill8.
|
572
|
+
|
573
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
574
|
+
|
575
|
+
------------------------------------------------------------
|
576
|
+
Author: John Croisant <jacius@gmail.com>
|
577
|
+
Date: Mon Jul 27 02:20:41 2009 -0500
|
578
|
+
|
579
|
+
Replaced SPriG's PI constants with ruby-derived versions.
|
580
|
+
|
581
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
582
|
+
|
583
|
+
------------------------------------------------------------
|
584
|
+
Author: John Croisant <jacius@gmail.com>
|
585
|
+
Date: Mon Jul 27 02:16:22 2009 -0500
|
586
|
+
|
587
|
+
Made color optional to SPriG's Rotate and RotateAA, like C++ version.
|
588
|
+
|
589
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
590
|
+
|
591
|
+
------------------------------------------------------------
|
592
|
+
Author: John Croisant <jacius@gmail.com>
|
593
|
+
Date: Mon Jul 27 02:13:37 2009 -0500
|
594
|
+
|
595
|
+
Added ruby versions of most of SPriG's inline functions.
|
596
|
+
|
597
|
+
M lib/ruby-sdl-ffi/sprig.rb
|
598
|
+
|
599
|
+
------------------------------------------------------------
|
600
|
+
Author: John Croisant <jacius@gmail.com>
|
601
|
+
Date: Mon Jul 27 01:13:58 2009 -0500
|
602
|
+
|
603
|
+
Added sprig.rb (first draft binding to SPriG).
|
604
|
+
|
605
|
+
A lib/ruby-sdl-ffi/sprig.rb
|
606
|
+
|
607
|
+
------------------------------------------------------------
|
608
|
+
Author: John Croisant <jacius@gmail.com>
|
609
|
+
Date: Sun Jul 26 23:35:15 2009 -0500
|
610
|
+
|
611
|
+
Implemented nice wrapper for TTF.GlyphMetrics.
|
612
|
+
|
613
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
614
|
+
|
615
|
+
------------------------------------------------------------
|
616
|
+
Author: John Croisant <jacius@gmail.com>
|
617
|
+
Date: Sun Jul 26 18:35:32 2009 -0500
|
618
|
+
|
619
|
+
Fixed TTF.SizeText, etc. returning pointers instead of numbers.
|
620
|
+
|
621
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
622
|
+
|
623
|
+
------------------------------------------------------------
|
624
|
+
Author: John Croisant <jacius@gmail.com>
|
625
|
+
Date: Thu Jul 23 23:51:14 2009 -0500
|
626
|
+
|
627
|
+
SDL::TTF.Linked_Version uses SDL::Version typed pointer.
|
628
|
+
|
629
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
630
|
+
|
631
|
+
------------------------------------------------------------
|
632
|
+
Author: John Croisant <jacius@gmail.com>
|
633
|
+
Date: Thu Jul 23 19:24:39 2009 -0500
|
634
|
+
|
635
|
+
Added SDL::Joystick struct (opaque).
|
636
|
+
|
637
|
+
M lib/ruby-sdl-ffi/sdl/joystick.rb
|
638
|
+
|
639
|
+
------------------------------------------------------------
|
640
|
+
Author: John Croisant <jacius@gmail.com>
|
641
|
+
Date: Thu Jul 23 18:46:23 2009 -0500
|
642
|
+
|
643
|
+
Added nice wrapper for SDL.GL_GetAttribute.
|
644
|
+
|
645
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
646
|
+
|
647
|
+
------------------------------------------------------------
|
648
|
+
Author: John Croisant <jacius@gmail.com>
|
649
|
+
Date: Tue Jul 21 04:22:19 2009 -0500
|
650
|
+
|
651
|
+
Implemented SDL::Mixer.LoadWAV.
|
652
|
+
|
653
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
654
|
+
|
655
|
+
------------------------------------------------------------
|
656
|
+
Author: John Croisant <jacius@gmail.com>
|
657
|
+
Date: Tue Jul 21 00:22:10 2009 -0500
|
658
|
+
|
659
|
+
Implemented nice wrapper for SDL::AudioDriverName().
|
660
|
+
|
661
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
662
|
+
|
663
|
+
------------------------------------------------------------
|
664
|
+
Author: John Croisant <jacius@gmail.com>
|
665
|
+
Date: Mon Jul 20 23:45:38 2009 -0500
|
666
|
+
|
667
|
+
Defined SDL::Mixer::DEFAULT_FORMAT.
|
668
|
+
|
669
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
670
|
+
|
671
|
+
------------------------------------------------------------
|
672
|
+
Author: John Croisant <jacius@gmail.com>
|
673
|
+
Date: Mon Jul 20 18:26:56 2009 -0500
|
674
|
+
|
675
|
+
Implemented TTF wrappers to convert SDL::Color to uint32.
|
676
|
+
|
677
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
678
|
+
|
679
|
+
------------------------------------------------------------
|
680
|
+
Author: John Croisant <jacius@gmail.com>
|
681
|
+
Date: Mon Jul 20 02:21:55 2009 -0500
|
682
|
+
|
683
|
+
Added nice wrappers for TTF.SizeText, SizeUTF8, and SizeUNICODE.
|
684
|
+
|
685
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
686
|
+
|
687
|
+
------------------------------------------------------------
|
688
|
+
Author: John Croisant <jacius@gmail.com>
|
689
|
+
Date: Sun Jul 19 20:44:15 2009 -0500
|
690
|
+
|
691
|
+
SDL::Mixer::Music is a subclass of NiceFFI::OpaqueStruct now, too.
|
692
|
+
|
693
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
694
|
+
|
695
|
+
------------------------------------------------------------
|
696
|
+
Author: John Croisant <jacius@gmail.com>
|
697
|
+
Date: Sun Jul 19 20:43:32 2009 -0500
|
698
|
+
|
699
|
+
Added class SDL::TTF::Font < NiceFFI::OpaqueStruct.
|
700
|
+
|
701
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
702
|
+
|
703
|
+
------------------------------------------------------------
|
704
|
+
Author: John Croisant <jacius@gmail.com>
|
705
|
+
Date: Sun Jul 19 20:11:07 2009 -0500
|
706
|
+
|
707
|
+
TTF methods use Surface.typed_pointer.
|
708
|
+
|
709
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
710
|
+
|
711
|
+
------------------------------------------------------------
|
712
|
+
Author: John Croisant <jacius@gmail.com>
|
713
|
+
Date: Sun Jul 19 13:03:03 2009 -0500
|
714
|
+
|
715
|
+
Implemented class SDL::VideoInfo and SDL.GetVideoInfo().
|
716
|
+
|
717
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
718
|
+
|
719
|
+
------------------------------------------------------------
|
720
|
+
Author: John Croisant <jacius@gmail.com>
|
721
|
+
Date: Sun Jul 19 00:52:04 2009 -0500
|
722
|
+
|
723
|
+
Implemented nice wrappers for rotozoom.rb "size" methods.
|
724
|
+
|
725
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
726
|
+
|
727
|
+
------------------------------------------------------------
|
728
|
+
Author: John Croisant <jacius@gmail.com>
|
729
|
+
Date: Sun Jul 19 00:38:13 2009 -0500
|
730
|
+
|
731
|
+
Updated rotozoom.rb methods to use Surface typed pointer.
|
732
|
+
|
733
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
734
|
+
|
735
|
+
------------------------------------------------------------
|
736
|
+
Author: John Croisant <jacius@gmail.com>
|
737
|
+
Date: Tue Jul 14 14:06:03 2009 -0500
|
738
|
+
|
739
|
+
Implemented a nice wrapper for SDL::UpdateRects.
|
740
|
+
|
741
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
742
|
+
|
743
|
+
------------------------------------------------------------
|
744
|
+
Author: John Croisant <jacius@gmail.com>
|
745
|
+
Date: Mon Jul 13 01:34:10 2009 -0500
|
746
|
+
|
747
|
+
Added examples/load_music.rb.
|
748
|
+
|
749
|
+
A examples/load_music.rb
|
750
|
+
|
751
|
+
------------------------------------------------------------
|
752
|
+
Author: John Croisant <jacius@gmail.com>
|
753
|
+
Date: Mon Jul 13 00:41:38 2009 -0500
|
754
|
+
|
755
|
+
Improved readability using sdl_func, img_func, etc.
|
756
|
+
|
757
|
+
M lib/ruby-sdl-ffi/gfx.rb
|
758
|
+
M lib/ruby-sdl-ffi/gfx/framerate.rb
|
759
|
+
M lib/ruby-sdl-ffi/gfx/imagefilter.rb
|
760
|
+
M lib/ruby-sdl-ffi/image.rb
|
761
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
762
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
763
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
764
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
765
|
+
M lib/ruby-sdl-ffi/sdl/core.rb
|
766
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
767
|
+
M lib/ruby-sdl-ffi/sdl/joystick.rb
|
768
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
769
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
770
|
+
M lib/ruby-sdl-ffi/sdl/mutex.rb
|
771
|
+
M lib/ruby-sdl-ffi/sdl/rwops.rb
|
772
|
+
M lib/ruby-sdl-ffi/sdl/timer.rb
|
773
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
774
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
775
|
+
|
776
|
+
------------------------------------------------------------
|
777
|
+
Author: John Croisant <jacius@gmail.com>
|
778
|
+
Date: Sun Jul 12 23:40:26 2009 -0500
|
779
|
+
|
780
|
+
Updated to the new Struct.typed_pointer syntax in NiceFFI.
|
781
|
+
|
782
|
+
M lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
783
|
+
M lib/ruby-sdl-ffi/image.rb
|
784
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
785
|
+
M lib/ruby-sdl-ffi/sdl/core.rb
|
786
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
787
|
+
|
788
|
+
------------------------------------------------------------
|
789
|
+
Author: John Croisant <jacius@gmail.com>
|
790
|
+
Date: Sun Jul 12 23:27:39 2009 -0500
|
791
|
+
|
792
|
+
Copied Rakefile, gemspec, and changelog stuff from Nice-FFI.
|
793
|
+
|
794
|
+
M Rakefile
|
795
|
+
M ruby-sdl-ffi.gemspec
|
796
|
+
A scripts/mkchangelog.rb
|
797
|
+
|
798
|
+
------------------------------------------------------------
|
799
|
+
Author: John Croisant <jacius@gmail.com>
|
800
|
+
Date: Sun Jul 12 23:21:33 2009 -0500
|
801
|
+
|
802
|
+
Updated examples/load_image.rb to current API.
|
803
|
+
|
804
|
+
M examples/load_image.rb
|
805
|
+
|
806
|
+
------------------------------------------------------------
|
807
|
+
Author: John Croisant <jacius@gmail.com>
|
808
|
+
Date: Sun Jul 12 22:46:03 2009 -0500
|
809
|
+
|
810
|
+
Changed all "attach_function" to "func" (alias from Nice-FFI).
|
811
|
+
|
812
|
+
M lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
813
|
+
M lib/ruby-sdl-ffi/gfx/framerate.rb
|
814
|
+
M lib/ruby-sdl-ffi/gfx/imagefilter.rb
|
815
|
+
M lib/ruby-sdl-ffi/gfx/primitives.rb
|
816
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
817
|
+
M lib/ruby-sdl-ffi/image.rb
|
818
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
819
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
820
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
821
|
+
M lib/ruby-sdl-ffi/sdl/core.rb
|
822
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
823
|
+
M lib/ruby-sdl-ffi/sdl/joystick.rb
|
824
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
825
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
826
|
+
M lib/ruby-sdl-ffi/sdl/mutex.rb
|
827
|
+
M lib/ruby-sdl-ffi/sdl/rwops.rb
|
828
|
+
M lib/ruby-sdl-ffi/sdl/timer.rb
|
829
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
830
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
831
|
+
|
832
|
+
------------------------------------------------------------
|
833
|
+
Author: John Croisant <jacius@gmail.com>
|
834
|
+
Date: Sun Jul 12 15:10:56 2009 -0500
|
835
|
+
|
836
|
+
Renamed all methods in SDL::Gfx to remove prefixes.
|
837
|
+
|
838
|
+
SDL_gfx* --> *
|
839
|
+
SDL_* --> *
|
840
|
+
|
841
|
+
M lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
842
|
+
M lib/ruby-sdl-ffi/gfx/framerate.rb
|
843
|
+
M lib/ruby-sdl-ffi/gfx/imagefilter.rb
|
844
|
+
|
845
|
+
------------------------------------------------------------
|
846
|
+
Author: John Croisant <jacius@gmail.com>
|
847
|
+
Date: Sun Jul 12 14:58:14 2009 -0500
|
848
|
+
|
849
|
+
Renamed all SDL::TTF methods to remove "TTF_" prefix.
|
850
|
+
|
851
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
852
|
+
|
853
|
+
------------------------------------------------------------
|
854
|
+
Author: John Croisant <jacius@gmail.com>
|
855
|
+
Date: Sun Jul 12 14:48:48 2009 -0500
|
856
|
+
|
857
|
+
Renamed all SDL::Mixer methods to remove "Mix_" prefix.
|
858
|
+
|
859
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
860
|
+
|
861
|
+
------------------------------------------------------------
|
862
|
+
Author: John Croisant <jacius@gmail.com>
|
863
|
+
Date: Sun Jul 12 14:36:04 2009 -0500
|
864
|
+
|
865
|
+
Renamed all SDL::Image methods to remove "IMG_" prefix.
|
866
|
+
|
867
|
+
M lib/ruby-sdl-ffi/image.rb
|
868
|
+
|
869
|
+
------------------------------------------------------------
|
870
|
+
Author: John Croisant <jacius@gmail.com>
|
871
|
+
Date: Sun Jul 12 14:29:54 2009 -0500
|
872
|
+
|
873
|
+
Renamed all methods in module SDL to remove "SDL_" prefix.
|
874
|
+
|
875
|
+
M lib/ruby-sdl-ffi/sdl/audio.rb
|
876
|
+
M lib/ruby-sdl-ffi/sdl/cdrom.rb
|
877
|
+
M lib/ruby-sdl-ffi/sdl/core.rb
|
878
|
+
M lib/ruby-sdl-ffi/sdl/event.rb
|
879
|
+
M lib/ruby-sdl-ffi/sdl/joystick.rb
|
880
|
+
M lib/ruby-sdl-ffi/sdl/keyboard.rb
|
881
|
+
M lib/ruby-sdl-ffi/sdl/mouse.rb
|
882
|
+
M lib/ruby-sdl-ffi/sdl/mutex.rb
|
883
|
+
M lib/ruby-sdl-ffi/sdl/rwops.rb
|
884
|
+
M lib/ruby-sdl-ffi/sdl/timer.rb
|
885
|
+
M lib/ruby-sdl-ffi/sdl/video.rb
|
886
|
+
|
887
|
+
------------------------------------------------------------
|
888
|
+
Author: John Croisant <jacius@gmail.com>
|
889
|
+
Date: Sun Jul 12 13:20:05 2009 -0500
|
890
|
+
|
891
|
+
Renamed module SDL::Mix --> SDL::Mixer
|
892
|
+
|
893
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
894
|
+
|
895
|
+
------------------------------------------------------------
|
896
|
+
Author: John Croisant <jacius@gmail.com>
|
897
|
+
Date: Sun Jul 12 12:59:14 2009 -0500
|
898
|
+
|
899
|
+
Updated ruby-sdl-ffi.rb to new layout.
|
900
|
+
|
901
|
+
M lib/ruby-sdl-ffi.rb
|
902
|
+
|
903
|
+
------------------------------------------------------------
|
904
|
+
Author: John Croisant <jacius@gmail.com>
|
905
|
+
Date: Sun Jul 12 12:57:00 2009 -0500
|
906
|
+
|
907
|
+
Updated sdl.rb to new layout.
|
908
|
+
|
909
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
910
|
+
|
911
|
+
------------------------------------------------------------
|
912
|
+
Author: John Croisant <jacius@gmail.com>
|
913
|
+
Date: Sun Jul 12 12:54:59 2009 -0500
|
914
|
+
|
915
|
+
Moved most SDL (core) files to ruby-sdl-ffi/lib/sdl/.
|
916
|
+
|
917
|
+
sdl_audio.rb --> sdl/audio.rb
|
918
|
+
sdl_cdrom.rb --> sdl/cdrom.rb
|
919
|
+
sdl_core.rb --> sdl/core.rb
|
920
|
+
sdl_event.rb --> sdl/event.rb
|
921
|
+
sdl_joystick.rb --> sdl/joystick.rb
|
922
|
+
sdl_keyboard.rb --> sdl/keyboard.rb
|
923
|
+
sdl_keysyms.rb --> sdl/keysyms.rb
|
924
|
+
sdl_mouse.rb --> sdl/mouse.rb
|
925
|
+
sdl_mutex.rb --> sdl/mutex.rb
|
926
|
+
sdl_rwops.rb --> sdl/rwops.rb
|
927
|
+
sdl_timer.rb --> sdl/timer.rb
|
928
|
+
sdl_video.rb --> sdl/video.rb
|
929
|
+
|
930
|
+
A lib/ruby-sdl-ffi/sdl/audio.rb
|
931
|
+
A lib/ruby-sdl-ffi/sdl/cdrom.rb
|
932
|
+
A lib/ruby-sdl-ffi/sdl/core.rb
|
933
|
+
A lib/ruby-sdl-ffi/sdl/event.rb
|
934
|
+
A lib/ruby-sdl-ffi/sdl/joystick.rb
|
935
|
+
A lib/ruby-sdl-ffi/sdl/keyboard.rb
|
936
|
+
A lib/ruby-sdl-ffi/sdl/keysyms.rb
|
937
|
+
A lib/ruby-sdl-ffi/sdl/mouse.rb
|
938
|
+
A lib/ruby-sdl-ffi/sdl/mutex.rb
|
939
|
+
A lib/ruby-sdl-ffi/sdl/rwops.rb
|
940
|
+
A lib/ruby-sdl-ffi/sdl/timer.rb
|
941
|
+
A lib/ruby-sdl-ffi/sdl/video.rb
|
942
|
+
D lib/ruby-sdl-ffi/sdl_audio.rb
|
943
|
+
D lib/ruby-sdl-ffi/sdl_cdrom.rb
|
944
|
+
D lib/ruby-sdl-ffi/sdl_core.rb
|
945
|
+
D lib/ruby-sdl-ffi/sdl_event.rb
|
946
|
+
D lib/ruby-sdl-ffi/sdl_joystick.rb
|
947
|
+
D lib/ruby-sdl-ffi/sdl_keyboard.rb
|
948
|
+
D lib/ruby-sdl-ffi/sdl_keysyms.rb
|
949
|
+
D lib/ruby-sdl-ffi/sdl_mouse.rb
|
950
|
+
D lib/ruby-sdl-ffi/sdl_mutex.rb
|
951
|
+
D lib/ruby-sdl-ffi/sdl_rwops.rb
|
952
|
+
D lib/ruby-sdl-ffi/sdl_timer.rb
|
953
|
+
D lib/ruby-sdl-ffi/sdl_video.rb
|
954
|
+
|
955
|
+
------------------------------------------------------------
|
956
|
+
Author: John Croisant <jacius@gmail.com>
|
957
|
+
Date: Sun Jul 12 12:54:09 2009 -0500
|
958
|
+
|
959
|
+
Updated image.rb.
|
960
|
+
|
961
|
+
M lib/ruby-sdl-ffi/image.rb
|
962
|
+
|
963
|
+
------------------------------------------------------------
|
964
|
+
Author: John Croisant <jacius@gmail.com>
|
965
|
+
Date: Sun Jul 12 12:53:40 2009 -0500
|
966
|
+
|
967
|
+
Renamed sdl_image.rb --> image.rb
|
968
|
+
|
969
|
+
A lib/ruby-sdl-ffi/image.rb
|
970
|
+
D lib/ruby-sdl-ffi/sdl_image.rb
|
971
|
+
|
972
|
+
------------------------------------------------------------
|
973
|
+
Author: John Croisant <jacius@gmail.com>
|
974
|
+
Date: Sun Jul 12 12:53:03 2009 -0500
|
975
|
+
|
976
|
+
Updated ttf.rb.
|
977
|
+
|
978
|
+
M lib/ruby-sdl-ffi/ttf.rb
|
979
|
+
|
980
|
+
------------------------------------------------------------
|
981
|
+
Author: John Croisant <jacius@gmail.com>
|
982
|
+
Date: Sun Jul 12 12:52:49 2009 -0500
|
983
|
+
|
984
|
+
Renamed sdl_ttf.rb --> ttf.rb
|
985
|
+
|
986
|
+
D lib/ruby-sdl-ffi/sdl_ttf.rb
|
987
|
+
A lib/ruby-sdl-ffi/ttf.rb
|
988
|
+
|
989
|
+
------------------------------------------------------------
|
990
|
+
Author: John Croisant <jacius@gmail.com>
|
991
|
+
Date: Sun Jul 12 12:50:13 2009 -0500
|
992
|
+
|
993
|
+
Updated mixer.rb.
|
994
|
+
|
995
|
+
M lib/ruby-sdl-ffi/mixer.rb
|
996
|
+
|
997
|
+
------------------------------------------------------------
|
998
|
+
Author: John Croisant <jacius@gmail.com>
|
999
|
+
Date: Sun Jul 12 12:48:49 2009 -0500
|
1000
|
+
|
1001
|
+
Renamed sdl_mixer.rb --> mixer.rb
|
1002
|
+
|
1003
|
+
A lib/ruby-sdl-ffi/mixer.rb
|
1004
|
+
D lib/ruby-sdl-ffi/sdl_mixer.rb
|
1005
|
+
|
1006
|
+
------------------------------------------------------------
|
1007
|
+
Author: John Croisant <jacius@gmail.com>
|
1008
|
+
Date: Sun Jul 12 12:47:58 2009 -0500
|
1009
|
+
|
1010
|
+
Updated gfx files to new layout.
|
1011
|
+
|
1012
|
+
M lib/ruby-sdl-ffi/gfx.rb
|
1013
|
+
M lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
1014
|
+
M lib/ruby-sdl-ffi/gfx/framerate.rb
|
1015
|
+
M lib/ruby-sdl-ffi/gfx/imagefilter.rb
|
1016
|
+
M lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
1017
|
+
|
1018
|
+
------------------------------------------------------------
|
1019
|
+
Author: John Croisant <jacius@gmail.com>
|
1020
|
+
Date: Sun Jul 12 12:37:54 2009 -0500
|
1021
|
+
|
1022
|
+
Renamed sdl_gfx.rb --> gfx.rb
|
1023
|
+
|
1024
|
+
A lib/ruby-sdl-ffi/gfx.rb
|
1025
|
+
D lib/ruby-sdl-ffi/sdl_gfx.rb
|
1026
|
+
|
1027
|
+
------------------------------------------------------------
|
1028
|
+
Author: John Croisant <jacius@gmail.com>
|
1029
|
+
Date: Sun Jul 12 12:37:20 2009 -0500
|
1030
|
+
|
1031
|
+
Moved most SDL_gfx files to lib/ruby-sdl-ffi/gfx/
|
1032
|
+
|
1033
|
+
sdl_framerate.rb --> gfx/framerate.rb
|
1034
|
+
sdl_gfxblitfunc.rb --> gfx/blitfunc.rb
|
1035
|
+
sdl_gfxprimitives.rb --> gfx/primitives.rb
|
1036
|
+
sdl_imagefilter.rb --> gfx/imagefilter.rb
|
1037
|
+
sdl_rotozoom.rb --> gfx/rotozoom.rb
|
1038
|
+
|
1039
|
+
A lib/ruby-sdl-ffi/gfx/blitfunc.rb
|
1040
|
+
A lib/ruby-sdl-ffi/gfx/framerate.rb
|
1041
|
+
A lib/ruby-sdl-ffi/gfx/imagefilter.rb
|
1042
|
+
A lib/ruby-sdl-ffi/gfx/primitives.rb
|
1043
|
+
A lib/ruby-sdl-ffi/gfx/rotozoom.rb
|
1044
|
+
D lib/ruby-sdl-ffi/sdl_framerate.rb
|
1045
|
+
D lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1046
|
+
D lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1047
|
+
D lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
1048
|
+
D lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1049
|
+
|
1050
|
+
------------------------------------------------------------
|
1051
|
+
Author: John Croisant <jacius@gmail.com>
|
1052
|
+
Date: Fri Jul 3 04:43:15 2009 -0500
|
1053
|
+
|
1054
|
+
Updated to new NiceFFI::Library.load_library syntax.
|
1055
|
+
|
1056
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1057
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1058
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1059
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1060
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1061
|
+
|
1062
|
+
------------------------------------------------------------
|
1063
|
+
Author: John Croisant <jacius@gmail.com>
|
1064
|
+
Date: Fri Jul 3 03:27:49 2009 -0500
|
1065
|
+
|
1066
|
+
Updated to latest NiceFFI API.
|
1067
|
+
|
1068
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1069
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1070
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1071
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1072
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1073
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1074
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1075
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1076
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1077
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1078
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1079
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1080
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1081
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1082
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1083
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1084
|
+
|
1085
|
+
------------------------------------------------------------
|
1086
|
+
Author: John Croisant <jacius@gmail.com>
|
1087
|
+
Date: Fri Jul 3 02:40:16 2009 -0500
|
1088
|
+
|
1089
|
+
Split off Nice-FFI to form its own, separate library.
|
1090
|
+
|
1091
|
+
D lib/ruby-sdl-ffi/nicelibrary.rb
|
1092
|
+
D lib/ruby-sdl-ffi/nicestruct.rb
|
1093
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1094
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1095
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1096
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1097
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1098
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1099
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1100
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1101
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1102
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1103
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1104
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1105
|
+
D lib/ruby-sdl-ffi/typedpointer.rb
|
1106
|
+
M ruby-sdl-ffi.gemspec
|
1107
|
+
|
1108
|
+
------------------------------------------------------------
|
1109
|
+
Author: John Croisant <jacius@gmail.com>
|
1110
|
+
Date: Fri Jul 3 02:54:46 2009 -0500
|
1111
|
+
|
1112
|
+
Fixed dependencies syntax in ruby-sdl-ffi.gemspec.
|
1113
|
+
|
1114
|
+
M ruby-sdl-ffi.gemspec
|
1115
|
+
|
1116
|
+
------------------------------------------------------------
|
1117
|
+
Author: John Croisant <jacius@gmail.com>
|
1118
|
+
Date: Thu Jul 2 03:54:28 2009 -0500
|
1119
|
+
|
1120
|
+
Commented out VideoInfo and SDL_GetVideoInfo for now.
|
1121
|
+
|
1122
|
+
VideoInfo uses bitfields, which I don't know how to implement.
|
1123
|
+
|
1124
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1125
|
+
|
1126
|
+
------------------------------------------------------------
|
1127
|
+
Author: John Croisant <jacius@gmail.com>
|
1128
|
+
Date: Thu Jul 2 03:09:45 2009 -0500
|
1129
|
+
|
1130
|
+
Improved SDL_PeepEvents to support ADDEVENTS action.
|
1131
|
+
|
1132
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1133
|
+
|
1134
|
+
------------------------------------------------------------
|
1135
|
+
Author: John Croisant <jacius@gmail.com>
|
1136
|
+
Date: Thu Jul 2 02:08:14 2009 -0500
|
1137
|
+
|
1138
|
+
Event#inspect lists event type (as integer).
|
1139
|
+
|
1140
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1141
|
+
|
1142
|
+
------------------------------------------------------------
|
1143
|
+
Author: John Croisant <jacius@gmail.com>
|
1144
|
+
Date: Wed Jul 1 20:49:36 2009 -0500
|
1145
|
+
|
1146
|
+
Implemented a nice wrapper for SDL_SetEventFilter().
|
1147
|
+
|
1148
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1149
|
+
|
1150
|
+
------------------------------------------------------------
|
1151
|
+
Author: John Croisant <jacius@gmail.com>
|
1152
|
+
Date: Wed Jul 1 19:54:32 2009 -0500
|
1153
|
+
|
1154
|
+
Implemented a nice wrapper for SDL_PeepEvents().
|
1155
|
+
|
1156
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1157
|
+
|
1158
|
+
------------------------------------------------------------
|
1159
|
+
Author: John Croisant <jacius@gmail.com>
|
1160
|
+
Date: Wed Jul 1 17:52:37 2009 -0500
|
1161
|
+
|
1162
|
+
Added SDL::Event.wrap().
|
1163
|
+
|
1164
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1165
|
+
|
1166
|
+
------------------------------------------------------------
|
1167
|
+
Author: John Croisant <jacius@gmail.com>
|
1168
|
+
Date: Wed Jul 1 17:09:41 2009 -0500
|
1169
|
+
|
1170
|
+
Moved SDL._extract_event to SDL::Event#unwrap.
|
1171
|
+
|
1172
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1173
|
+
|
1174
|
+
------------------------------------------------------------
|
1175
|
+
Author: John Croisant <jacius@gmail.com>
|
1176
|
+
Date: Wed Jul 1 16:17:07 2009 -0500
|
1177
|
+
|
1178
|
+
Implemented a nice wrapper for SDL_GetKeyState().
|
1179
|
+
|
1180
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1181
|
+
|
1182
|
+
------------------------------------------------------------
|
1183
|
+
Author: John Croisant <jacius@gmail.com>
|
1184
|
+
Date: Wed Jul 1 15:35:05 2009 -0500
|
1185
|
+
|
1186
|
+
Minor cosmetic cleanup in sdl_mouse.rb.
|
1187
|
+
|
1188
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1189
|
+
|
1190
|
+
------------------------------------------------------------
|
1191
|
+
Author: John Croisant <jacius@gmail.com>
|
1192
|
+
Date: Wed Jul 1 15:31:32 2009 -0500
|
1193
|
+
|
1194
|
+
Implemented a nice wrapper for SDL_GetRelativeMouseState().
|
1195
|
+
|
1196
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1197
|
+
|
1198
|
+
------------------------------------------------------------
|
1199
|
+
Author: John Croisant <jacius@gmail.com>
|
1200
|
+
Date: Wed Jul 1 15:28:23 2009 -0500
|
1201
|
+
|
1202
|
+
Implemented a nice wrapper for SDL_GetMouseState().
|
1203
|
+
|
1204
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1205
|
+
|
1206
|
+
------------------------------------------------------------
|
1207
|
+
Author: John Croisant <jacius@gmail.com>
|
1208
|
+
Date: Wed Jul 1 03:43:00 2009 -0500
|
1209
|
+
|
1210
|
+
Implemented a nice wrapper for SDL_WM_GetCaption().
|
1211
|
+
|
1212
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1213
|
+
|
1214
|
+
------------------------------------------------------------
|
1215
|
+
Author: John Croisant <jacius@gmail.com>
|
1216
|
+
Date: Wed Jul 1 03:25:31 2009 -0500
|
1217
|
+
|
1218
|
+
Implemented a nice wrapper for SDL_GetClipRect().
|
1219
|
+
|
1220
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1221
|
+
|
1222
|
+
------------------------------------------------------------
|
1223
|
+
Author: John Croisant <jacius@gmail.com>
|
1224
|
+
Date: Wed Jul 1 03:20:27 2009 -0500
|
1225
|
+
|
1226
|
+
Implemented a nice wrapper for SDL_GetGammaRamp().
|
1227
|
+
|
1228
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1229
|
+
|
1230
|
+
------------------------------------------------------------
|
1231
|
+
Author: John Croisant <jacius@gmail.com>
|
1232
|
+
Date: Wed Jul 1 00:44:59 2009 -0500
|
1233
|
+
|
1234
|
+
Revert "Added SDL._wrap_event. (private, nodoc)"
|
1235
|
+
|
1236
|
+
SDL._wrap_event isn't needed for SDL_PushEvent, but I want to
|
1237
|
+
keep it in the revision history in case it's needed later.
|
1238
|
+
|
1239
|
+
This reverts commit 019f2c6945db2a5b87bfc3f105814ff3ce5820f2.
|
1240
|
+
|
1241
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1242
|
+
|
1243
|
+
------------------------------------------------------------
|
1244
|
+
Author: John Croisant <jacius@gmail.com>
|
1245
|
+
Date: Wed Jul 1 00:36:41 2009 -0500
|
1246
|
+
|
1247
|
+
Added SDL._wrap_event. (private, nodoc)
|
1248
|
+
|
1249
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1250
|
+
|
1251
|
+
------------------------------------------------------------
|
1252
|
+
Author: John Croisant <jacius@gmail.com>
|
1253
|
+
Date: Tue Jun 30 18:59:59 2009 -0500
|
1254
|
+
|
1255
|
+
Implemented a nice wrapper for SDL_WaitEvent().
|
1256
|
+
|
1257
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1258
|
+
|
1259
|
+
------------------------------------------------------------
|
1260
|
+
Author: John Croisant <jacius@gmail.com>
|
1261
|
+
Date: Tue Jun 30 18:55:36 2009 -0500
|
1262
|
+
|
1263
|
+
Implemented a nice wrapper for SDL_PollEvent().
|
1264
|
+
|
1265
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1266
|
+
|
1267
|
+
------------------------------------------------------------
|
1268
|
+
Author: John Croisant <jacius@gmail.com>
|
1269
|
+
Date: Tue Jun 30 18:44:11 2009 -0500
|
1270
|
+
|
1271
|
+
Added SDL::_extract_event(). (private, nodoc)
|
1272
|
+
|
1273
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1274
|
+
|
1275
|
+
------------------------------------------------------------
|
1276
|
+
Author: John Croisant <jacius@gmail.com>
|
1277
|
+
Date: Tue Jun 30 18:35:33 2009 -0500
|
1278
|
+
|
1279
|
+
Fixed ordering of constants in sdl_event.rb.
|
1280
|
+
|
1281
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1282
|
+
|
1283
|
+
------------------------------------------------------------
|
1284
|
+
Author: John Croisant <jacius@gmail.com>
|
1285
|
+
Date: Tue Jun 30 09:37:28 2009 -0500
|
1286
|
+
|
1287
|
+
Commented out SDL_ListModes for now. Don't know to implement it reliably.
|
1288
|
+
|
1289
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1290
|
+
|
1291
|
+
------------------------------------------------------------
|
1292
|
+
Author: John Croisant <jacius@gmail.com>
|
1293
|
+
Date: Tue Jun 30 08:43:57 2009 -0500
|
1294
|
+
|
1295
|
+
Moved platforms.rb functionality into NiceLibrary.
|
1296
|
+
|
1297
|
+
M lib/ruby-sdl-ffi/nicelibrary.rb
|
1298
|
+
D lib/ruby-sdl-ffi/platforms.rb
|
1299
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1300
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1301
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1302
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1303
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1304
|
+
|
1305
|
+
------------------------------------------------------------
|
1306
|
+
Author: John Croisant <jacius@gmail.com>
|
1307
|
+
Date: Tue Jun 30 08:37:53 2009 -0500
|
1308
|
+
|
1309
|
+
Fixed NiceStruct#to_hash when members is empty.
|
1310
|
+
|
1311
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1312
|
+
|
1313
|
+
------------------------------------------------------------
|
1314
|
+
Author: John Croisant <jacius@gmail.com>
|
1315
|
+
Date: Tue Jun 30 08:07:19 2009 -0500
|
1316
|
+
|
1317
|
+
Improved NiceStruct#to_s when there are no visible members.
|
1318
|
+
|
1319
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1320
|
+
|
1321
|
+
------------------------------------------------------------
|
1322
|
+
Author: John Croisant <jacius@gmail.com>
|
1323
|
+
Date: Tue Jun 30 08:00:16 2009 -0500
|
1324
|
+
|
1325
|
+
Added SDL::Mix::Music struct class. It's unorthodox.
|
1326
|
+
|
1327
|
+
Mix_Music struct (in C) has a hidden layout, which changes
|
1328
|
+
depending on which sound format libraries were available
|
1329
|
+
at compile time. Since we don't know the layout, we have to
|
1330
|
+
jump through some hoops.
|
1331
|
+
|
1332
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1333
|
+
|
1334
|
+
------------------------------------------------------------
|
1335
|
+
Author: John Croisant <jacius@gmail.com>
|
1336
|
+
Date: Tue Jun 30 06:35:13 2009 -0500
|
1337
|
+
|
1338
|
+
Removed redundant "... or pointer.is_a? FFI::MemoryPointer".
|
1339
|
+
|
1340
|
+
Turns out FFI::MemoryPointer is a descendent of FFI::Pointer...
|
1341
|
+
|
1342
|
+
M lib/ruby-sdl-ffi/typedpointer.rb
|
1343
|
+
|
1344
|
+
------------------------------------------------------------
|
1345
|
+
Author: John Croisant <jacius@gmail.com>
|
1346
|
+
Date: Tue Jun 30 06:17:51 2009 -0500
|
1347
|
+
|
1348
|
+
TypedPointer is no longer picky about class being FFI::Struct.
|
1349
|
+
|
1350
|
+
M lib/ruby-sdl-ffi/typedpointer.rb
|
1351
|
+
|
1352
|
+
------------------------------------------------------------
|
1353
|
+
Author: John Croisant <jacius@gmail.com>
|
1354
|
+
Date: Thu Jun 25 20:52:58 2009 -0500
|
1355
|
+
|
1356
|
+
Several Mix functions use TypedPointer returns now.
|
1357
|
+
|
1358
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1359
|
+
|
1360
|
+
------------------------------------------------------------
|
1361
|
+
Author: John Croisant <jacius@gmail.com>
|
1362
|
+
Date: Thu Jun 25 20:52:19 2009 -0500
|
1363
|
+
|
1364
|
+
Added a wrapper around SDL_GetRGB and SDL_GetRGBA.
|
1365
|
+
|
1366
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1367
|
+
|
1368
|
+
------------------------------------------------------------
|
1369
|
+
Author: John Croisant <jacius@gmail.com>
|
1370
|
+
Date: Thu Jun 25 06:03:28 2009 -0500
|
1371
|
+
|
1372
|
+
Updated load_image.rb to current API usage.
|
1373
|
+
|
1374
|
+
M examples/load_image.rb
|
1375
|
+
|
1376
|
+
------------------------------------------------------------
|
1377
|
+
Author: John Croisant <jacius@gmail.com>
|
1378
|
+
Date: Mon Jun 22 09:15:45 2009 -0500
|
1379
|
+
|
1380
|
+
Simplified require (need) statements in companion libs.
|
1381
|
+
|
1382
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1383
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1384
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1385
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1386
|
+
|
1387
|
+
------------------------------------------------------------
|
1388
|
+
Author: John Croisant <jacius@gmail.com>
|
1389
|
+
Date: Mon Jun 22 09:12:04 2009 -0500
|
1390
|
+
|
1391
|
+
Updated some sdl_image.rb funcs to use TypedPointers.
|
1392
|
+
|
1393
|
+
IMG_Linked_Version
|
1394
|
+
IMG_LoadTyped_RW
|
1395
|
+
IMG_Load_RW
|
1396
|
+
IMG_LoadBMP_RW
|
1397
|
+
IMG_LoadGIF_RW
|
1398
|
+
IMG_LoadJPG_RW
|
1399
|
+
IMG_LoadLBM_RW
|
1400
|
+
IMG_LoadPCX_RW
|
1401
|
+
IMG_LoadPNG_RW
|
1402
|
+
IMG_LoadPNM_RW
|
1403
|
+
IMG_LoadTGA_RW
|
1404
|
+
IMG_LoadTIF_RW
|
1405
|
+
IMG_LoadXCF_RW
|
1406
|
+
IMG_LoadXPM_RW
|
1407
|
+
IMG_LoadXV_RW
|
1408
|
+
IMG_ReadXPMFromArray
|
1409
|
+
|
1410
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1411
|
+
|
1412
|
+
------------------------------------------------------------
|
1413
|
+
Author: John Croisant <jacius@gmail.com>
|
1414
|
+
Date: Mon Jun 22 08:16:22 2009 -0500
|
1415
|
+
|
1416
|
+
Removed SDL_UpperBlit and SDL_LowerBlit.
|
1417
|
+
|
1418
|
+
Users are meant to use SDL_BlitSurface (which is the
|
1419
|
+
same as SDL_UpperBlit).
|
1420
|
+
|
1421
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1422
|
+
|
1423
|
+
------------------------------------------------------------
|
1424
|
+
Author: John Croisant <jacius@gmail.com>
|
1425
|
+
Date: Mon Jun 22 08:14:18 2009 -0500
|
1426
|
+
|
1427
|
+
Removed SDL_SoftStretch, it is not part of the public SDL API.
|
1428
|
+
|
1429
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1430
|
+
|
1431
|
+
------------------------------------------------------------
|
1432
|
+
Author: John Croisant <jacius@gmail.com>
|
1433
|
+
Date: Mon Jun 22 08:13:34 2009 -0500
|
1434
|
+
|
1435
|
+
SDL_MapRGB and SDL_MapRGBA actually return uint32, not pointer.
|
1436
|
+
|
1437
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1438
|
+
|
1439
|
+
------------------------------------------------------------
|
1440
|
+
Author: John Croisant <jacius@gmail.com>
|
1441
|
+
Date: Mon Jun 22 08:11:55 2009 -0500
|
1442
|
+
|
1443
|
+
Updated some sdl_video.rb funcs to use TypedPointers.
|
1444
|
+
|
1445
|
+
SDL_GetVideoSurface
|
1446
|
+
SDL_GetVideoInfo
|
1447
|
+
SDL_SetVideoMode
|
1448
|
+
SDL_CreateRGBSurface
|
1449
|
+
SDL_CreateRGBSurfaceFrom
|
1450
|
+
SDL_LoadBMP_RW
|
1451
|
+
SDL_ConvertSurface
|
1452
|
+
SDL_DisplayFormat
|
1453
|
+
SDL_DisplayFormatAlpha
|
1454
|
+
SDL_CreateYUVOverlay
|
1455
|
+
|
1456
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1457
|
+
|
1458
|
+
------------------------------------------------------------
|
1459
|
+
Author: John Croisant <jacius@gmail.com>
|
1460
|
+
Date: Mon Jun 22 07:10:19 2009 -0500
|
1461
|
+
|
1462
|
+
Updated modules to use NiceLibrary instead of FFI::Library
|
1463
|
+
|
1464
|
+
Updated: SDL, SDL::Image, SDL::Gfx, SDL::Mix, SDL::TTF
|
1465
|
+
|
1466
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1467
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1468
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1469
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1470
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1471
|
+
|
1472
|
+
------------------------------------------------------------
|
1473
|
+
Author: John Croisant <jacius@gmail.com>
|
1474
|
+
Date: Mon Jun 22 07:09:00 2009 -0500
|
1475
|
+
|
1476
|
+
Added class NiceLibrary (nicelibrary.rb).
|
1477
|
+
|
1478
|
+
A lib/ruby-sdl-ffi/nicelibrary.rb
|
1479
|
+
|
1480
|
+
------------------------------------------------------------
|
1481
|
+
Author: John Croisant <jacius@gmail.com>
|
1482
|
+
Date: Sun Jun 21 14:37:30 2009 -0500
|
1483
|
+
|
1484
|
+
Added Mac path: "/opt/local/lib/lib[LIB].dylib" (for Darwin Ports)
|
1485
|
+
|
1486
|
+
M lib/ruby-sdl-ffi/platforms.rb
|
1487
|
+
|
1488
|
+
------------------------------------------------------------
|
1489
|
+
Author: John Croisant <jacius@gmail.com>
|
1490
|
+
Date: Sun Jun 21 04:05:43 2009 -0500
|
1491
|
+
|
1492
|
+
Added examples/load_image.rb.
|
1493
|
+
|
1494
|
+
A examples/load_image.rb
|
1495
|
+
|
1496
|
+
------------------------------------------------------------
|
1497
|
+
Author: John Croisant <jacius@gmail.com>
|
1498
|
+
Date: Sun Jun 21 03:53:06 2009 -0500
|
1499
|
+
|
1500
|
+
Updated and expanded doc comments for NiceStruct.
|
1501
|
+
|
1502
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1503
|
+
|
1504
|
+
------------------------------------------------------------
|
1505
|
+
Author: John Croisant <jacius@gmail.com>
|
1506
|
+
Date: Sat Jun 20 21:46:57 2009 -0500
|
1507
|
+
|
1508
|
+
SDL_BlitSurface alias must be defined in class << self.
|
1509
|
+
|
1510
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1511
|
+
|
1512
|
+
------------------------------------------------------------
|
1513
|
+
Author: John Croisant <jacius@gmail.com>
|
1514
|
+
Date: Sat Jun 20 21:40:03 2009 -0500
|
1515
|
+
|
1516
|
+
Added my guess at proper LIBRARY_PATHS for win32.
|
1517
|
+
|
1518
|
+
M lib/ruby-sdl-ffi/platforms.rb
|
1519
|
+
|
1520
|
+
------------------------------------------------------------
|
1521
|
+
Author: John Croisant <jacius@gmail.com>
|
1522
|
+
Date: Sat Jun 20 21:38:59 2009 -0500
|
1523
|
+
|
1524
|
+
Updated LIBRARY_PATHS for Mac.
|
1525
|
+
|
1526
|
+
Added: /sw/lib/lib[LIB].dylib
|
1527
|
+
Removed: /usr/local/lib/lib[LIB].so
|
1528
|
+
|
1529
|
+
M lib/ruby-sdl-ffi/platforms.rb
|
1530
|
+
|
1531
|
+
------------------------------------------------------------
|
1532
|
+
Author: John Croisant <jacius@gmail.com>
|
1533
|
+
Date: Sat Jun 20 20:22:44 2009 -0500
|
1534
|
+
|
1535
|
+
Added alias SDL::SDL_BlitSurface = SDL::SDL_UpperBlit.
|
1536
|
+
|
1537
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1538
|
+
|
1539
|
+
------------------------------------------------------------
|
1540
|
+
Author: John Croisant <jacius@gmail.com>
|
1541
|
+
Date: Sat Jun 20 20:16:08 2009 -0500
|
1542
|
+
|
1543
|
+
NiceStruct handles NullPointerErrors more gracefully.
|
1544
|
+
|
1545
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1546
|
+
|
1547
|
+
------------------------------------------------------------
|
1548
|
+
Author: John Croisant <jacius@gmail.com>
|
1549
|
+
Date: Sat Jun 20 20:04:53 2009 -0500
|
1550
|
+
|
1551
|
+
NiceStruct struct-typed members are cached now.
|
1552
|
+
|
1553
|
+
This prevents a new object from being created every
|
1554
|
+
time the member is read.
|
1555
|
+
|
1556
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1557
|
+
|
1558
|
+
------------------------------------------------------------
|
1559
|
+
Author: John Croisant <jacius@gmail.com>
|
1560
|
+
Date: Sat Jun 20 20:02:34 2009 -0500
|
1561
|
+
|
1562
|
+
NiceStruct rescues NameError when removing accessors.
|
1563
|
+
|
1564
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1565
|
+
|
1566
|
+
------------------------------------------------------------
|
1567
|
+
Author: John Croisant <jacius@gmail.com>
|
1568
|
+
Date: Sat Jun 20 19:47:13 2009 -0500
|
1569
|
+
|
1570
|
+
Used TypedPointer in some structs.
|
1571
|
+
|
1572
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1573
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1574
|
+
|
1575
|
+
------------------------------------------------------------
|
1576
|
+
Author: John Croisant <jacius@gmail.com>
|
1577
|
+
Date: Sat Jun 20 18:39:01 2009 -0500
|
1578
|
+
|
1579
|
+
Added "need >= 1.1.0" to dependencies in README.rdoc.
|
1580
|
+
|
1581
|
+
M README.rdoc
|
1582
|
+
|
1583
|
+
------------------------------------------------------------
|
1584
|
+
Author: John Croisant <jacius@gmail.com>
|
1585
|
+
Date: Sat Jun 20 18:17:27 2009 -0500
|
1586
|
+
|
1587
|
+
Added support for TypedPointers in NiceStruct.
|
1588
|
+
|
1589
|
+
NiceStruct#layout accepts TypedPointers as types and constructs
|
1590
|
+
"smart" accessors for those members.
|
1591
|
+
|
1592
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1593
|
+
|
1594
|
+
------------------------------------------------------------
|
1595
|
+
Author: John Croisant <jacius@gmail.com>
|
1596
|
+
Date: Sat Jun 20 18:16:27 2009 -0500
|
1597
|
+
|
1598
|
+
Added class TypedPointer (typedpointer.rb).
|
1599
|
+
|
1600
|
+
A lib/ruby-sdl-ffi/typedpointer.rb
|
1601
|
+
|
1602
|
+
------------------------------------------------------------
|
1603
|
+
Author: John Croisant <jacius@gmail.com>
|
1604
|
+
Date: Sat Jun 20 13:13:27 2009 -0500
|
1605
|
+
|
1606
|
+
Simplified 'require' code with 'need'.
|
1607
|
+
|
1608
|
+
M lib/ruby-sdl-ffi.rb
|
1609
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1610
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1611
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1612
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1613
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1614
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1615
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1616
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1617
|
+
M lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1618
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1619
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1620
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1621
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1622
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1623
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1624
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1625
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1626
|
+
|
1627
|
+
------------------------------------------------------------
|
1628
|
+
Author: John Croisant <jacius@gmail.com>
|
1629
|
+
Date: Sat Jun 20 12:36:33 2009 -0500
|
1630
|
+
|
1631
|
+
Added gem dependency: need >= 1.1.0.
|
1632
|
+
|
1633
|
+
M ruby-sdl-ffi.gemspec
|
1634
|
+
|
1635
|
+
------------------------------------------------------------
|
1636
|
+
Author: John Croisant <jacius@gmail.com>
|
1637
|
+
Date: Sat Jun 20 03:57:13 2009 -0500
|
1638
|
+
|
1639
|
+
Renamed module SDL::IMG --> SDL::Image.
|
1640
|
+
|
1641
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1642
|
+
|
1643
|
+
------------------------------------------------------------
|
1644
|
+
Author: John Croisant <jacius@gmail.com>
|
1645
|
+
Date: Sat Jun 20 03:55:44 2009 -0500
|
1646
|
+
|
1647
|
+
Cosmetic cleanup in sdl_gfxprimitives.rb.
|
1648
|
+
|
1649
|
+
M lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1650
|
+
|
1651
|
+
------------------------------------------------------------
|
1652
|
+
Author: John Croisant <jacius@gmail.com>
|
1653
|
+
Date: Sat Jun 20 03:45:59 2009 -0500
|
1654
|
+
|
1655
|
+
Cosmetic cleanup in sdl_gfxblitfunc.rb
|
1656
|
+
|
1657
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1658
|
+
|
1659
|
+
------------------------------------------------------------
|
1660
|
+
Author: John Croisant <jacius@gmail.com>
|
1661
|
+
Date: Sat Jun 20 03:44:54 2009 -0500
|
1662
|
+
|
1663
|
+
Cosmetic cleanup in sdl_framerate.rb.
|
1664
|
+
|
1665
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1666
|
+
|
1667
|
+
------------------------------------------------------------
|
1668
|
+
Author: John Croisant <jacius@gmail.com>
|
1669
|
+
Date: Sat Jun 20 03:44:11 2009 -0500
|
1670
|
+
|
1671
|
+
Cosmetic cleanup in sdl_image.rb.
|
1672
|
+
|
1673
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1674
|
+
|
1675
|
+
------------------------------------------------------------
|
1676
|
+
Author: John Croisant <jacius@gmail.com>
|
1677
|
+
Date: Sat Jun 20 03:40:13 2009 -0500
|
1678
|
+
|
1679
|
+
Cosmetic cleanup in sdl_ttf.rb.
|
1680
|
+
|
1681
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1682
|
+
|
1683
|
+
------------------------------------------------------------
|
1684
|
+
Author: John Croisant <jacius@gmail.com>
|
1685
|
+
Date: Sat Jun 20 03:36:37 2009 -0500
|
1686
|
+
|
1687
|
+
Cosmetic cleanup in sdl_mixer.rb.
|
1688
|
+
|
1689
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1690
|
+
|
1691
|
+
------------------------------------------------------------
|
1692
|
+
Author: John Croisant <jacius@gmail.com>
|
1693
|
+
Date: Sat Jun 20 03:21:39 2009 -0500
|
1694
|
+
|
1695
|
+
Made various struct members hidden or read_only.
|
1696
|
+
|
1697
|
+
hidden:
|
1698
|
+
|
1699
|
+
SDL::CDtrack[ :unused ]
|
1700
|
+
SDL::RWops[ :hidden ]
|
1701
|
+
SDL::Color[ :unused ]
|
1702
|
+
SDL::Surface[ :offset, :hwdata, :unused1,
|
1703
|
+
:locked, :map, :format_version ]
|
1704
|
+
SDL::VideoInfo[ :UnusedBits1, :UnusedBits2, :UnusedBits3 ]
|
1705
|
+
SDL::Overlay[ :hwfuncs, :hwdata, :UnusedBits ]
|
1706
|
+
|
1707
|
+
read_only:
|
1708
|
+
|
1709
|
+
SDL::Surface[ :flags, :format, :w, :h,
|
1710
|
+
:pitch, :clip_rect, :refcount ]
|
1711
|
+
SDL::Overlay[ :format, :w, :h,
|
1712
|
+
:planes, :pitches, :hw_overlay ]
|
1713
|
+
|
1714
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1715
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1716
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1717
|
+
|
1718
|
+
------------------------------------------------------------
|
1719
|
+
Author: John Croisant <jacius@gmail.com>
|
1720
|
+
Date: Sat Jun 20 03:00:03 2009 -0500
|
1721
|
+
|
1722
|
+
Added NiceStruct.read_only and NiceStruct.read_only?.
|
1723
|
+
|
1724
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1725
|
+
|
1726
|
+
------------------------------------------------------------
|
1727
|
+
Author: John Croisant <jacius@gmail.com>
|
1728
|
+
Date: Sat Jun 20 01:41:56 2009 -0500
|
1729
|
+
|
1730
|
+
Added NiceStruct.hidden and NiceStruct.hidden?.
|
1731
|
+
|
1732
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1733
|
+
|
1734
|
+
------------------------------------------------------------
|
1735
|
+
Author: John Croisant <jacius@gmail.com>
|
1736
|
+
Date: Sat Jun 20 03:08:10 2009 -0500
|
1737
|
+
|
1738
|
+
NiceStruct#to_s uses read accessor instead of #[].
|
1739
|
+
|
1740
|
+
M lib/ruby-sdl-ffi/nicestruct.rb
|
1741
|
+
|
1742
|
+
------------------------------------------------------------
|
1743
|
+
Author: John Croisant <jacius@gmail.com>
|
1744
|
+
Date: Fri Jun 19 22:14:35 2009 -0500
|
1745
|
+
|
1746
|
+
Updated all struct classes to use NiceStruct.
|
1747
|
+
|
1748
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1749
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1750
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1751
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1752
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1753
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1754
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1755
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1756
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1757
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1758
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1759
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1760
|
+
|
1761
|
+
------------------------------------------------------------
|
1762
|
+
Author: John Croisant <jacius@gmail.com>
|
1763
|
+
Date: Fri Jun 19 18:42:18 2009 -0500
|
1764
|
+
|
1765
|
+
Added class NiceStruct (nicestruct.rb).
|
1766
|
+
|
1767
|
+
A lib/ruby-sdl-ffi/nicestruct.rb
|
1768
|
+
|
1769
|
+
------------------------------------------------------------
|
1770
|
+
Author: John Croisant <jacius@gmail.com>
|
1771
|
+
Date: Fri Jun 19 18:35:56 2009 -0500
|
1772
|
+
|
1773
|
+
Reverted: Renamed raw "struct" classes to their original C names.
|
1774
|
+
|
1775
|
+
Going in a new direction with this.
|
1776
|
+
|
1777
|
+
This commit undoes a2b2b3c14d6f824a468beaf16e6b93d672634be5.
|
1778
|
+
|
1779
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1780
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1781
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1782
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1783
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1784
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1785
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1786
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1787
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1788
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1789
|
+
|
1790
|
+
------------------------------------------------------------
|
1791
|
+
Author: John Croisant <jacius@gmail.com>
|
1792
|
+
Date: Fri Jun 19 18:02:57 2009 -0500
|
1793
|
+
|
1794
|
+
Removed SDL::Raw module, contents moved up to SDL module.
|
1795
|
+
|
1796
|
+
(Many indentation changes, you may want to --ignore-all-space)
|
1797
|
+
|
1798
|
+
M lib/ruby-sdl-ffi/platforms.rb
|
1799
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
1800
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
1801
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1802
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
1803
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
1804
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
1805
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
1806
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1807
|
+
M lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1808
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
1809
|
+
M lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
1810
|
+
M lib/ruby-sdl-ffi/sdl_joystick.rb
|
1811
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1812
|
+
M lib/ruby-sdl-ffi/sdl_keysyms.rb
|
1813
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
1814
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
1815
|
+
M lib/ruby-sdl-ffi/sdl_mutex.rb
|
1816
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1817
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
1818
|
+
M lib/ruby-sdl-ffi/sdl_timer.rb
|
1819
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
1820
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
1821
|
+
|
1822
|
+
------------------------------------------------------------
|
1823
|
+
Author: John Croisant <jacius@gmail.com>
|
1824
|
+
Date: Fri Jun 19 17:55:17 2009 -0500
|
1825
|
+
|
1826
|
+
Moved raw stuff back to main lib dir. New direction.
|
1827
|
+
|
1828
|
+
A lib/ruby-sdl-ffi/platforms.rb
|
1829
|
+
D lib/ruby-sdl-ffi/raw/platforms.rb
|
1830
|
+
D lib/ruby-sdl-ffi/raw/sdl.rb
|
1831
|
+
D lib/ruby-sdl-ffi/raw/sdl_audio.rb
|
1832
|
+
D lib/ruby-sdl-ffi/raw/sdl_cdrom.rb
|
1833
|
+
D lib/ruby-sdl-ffi/raw/sdl_core.rb
|
1834
|
+
D lib/ruby-sdl-ffi/raw/sdl_event.rb
|
1835
|
+
D lib/ruby-sdl-ffi/raw/sdl_framerate.rb
|
1836
|
+
D lib/ruby-sdl-ffi/raw/sdl_gfx.rb
|
1837
|
+
D lib/ruby-sdl-ffi/raw/sdl_gfxblitfunc.rb
|
1838
|
+
D lib/ruby-sdl-ffi/raw/sdl_gfxprimitives.rb
|
1839
|
+
D lib/ruby-sdl-ffi/raw/sdl_image.rb
|
1840
|
+
D lib/ruby-sdl-ffi/raw/sdl_imagefilter.rb
|
1841
|
+
D lib/ruby-sdl-ffi/raw/sdl_joystick.rb
|
1842
|
+
D lib/ruby-sdl-ffi/raw/sdl_keyboard.rb
|
1843
|
+
D lib/ruby-sdl-ffi/raw/sdl_keysyms.rb
|
1844
|
+
D lib/ruby-sdl-ffi/raw/sdl_mixer.rb
|
1845
|
+
D lib/ruby-sdl-ffi/raw/sdl_mouse.rb
|
1846
|
+
D lib/ruby-sdl-ffi/raw/sdl_mutex.rb
|
1847
|
+
D lib/ruby-sdl-ffi/raw/sdl_rotozoom.rb
|
1848
|
+
D lib/ruby-sdl-ffi/raw/sdl_rwops.rb
|
1849
|
+
D lib/ruby-sdl-ffi/raw/sdl_timer.rb
|
1850
|
+
D lib/ruby-sdl-ffi/raw/sdl_ttf.rb
|
1851
|
+
D lib/ruby-sdl-ffi/raw/sdl_video.rb
|
1852
|
+
A lib/ruby-sdl-ffi/sdl.rb
|
1853
|
+
A lib/ruby-sdl-ffi/sdl_audio.rb
|
1854
|
+
A lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1855
|
+
A lib/ruby-sdl-ffi/sdl_core.rb
|
1856
|
+
A lib/ruby-sdl-ffi/sdl_event.rb
|
1857
|
+
A lib/ruby-sdl-ffi/sdl_framerate.rb
|
1858
|
+
A lib/ruby-sdl-ffi/sdl_gfx.rb
|
1859
|
+
A lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1860
|
+
A lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1861
|
+
A lib/ruby-sdl-ffi/sdl_image.rb
|
1862
|
+
A lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
1863
|
+
A lib/ruby-sdl-ffi/sdl_joystick.rb
|
1864
|
+
A lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1865
|
+
A lib/ruby-sdl-ffi/sdl_keysyms.rb
|
1866
|
+
A lib/ruby-sdl-ffi/sdl_mixer.rb
|
1867
|
+
A lib/ruby-sdl-ffi/sdl_mouse.rb
|
1868
|
+
A lib/ruby-sdl-ffi/sdl_mutex.rb
|
1869
|
+
A lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1870
|
+
A lib/ruby-sdl-ffi/sdl_rwops.rb
|
1871
|
+
A lib/ruby-sdl-ffi/sdl_timer.rb
|
1872
|
+
A lib/ruby-sdl-ffi/sdl_ttf.rb
|
1873
|
+
A lib/ruby-sdl-ffi/sdl_video.rb
|
1874
|
+
|
1875
|
+
------------------------------------------------------------
|
1876
|
+
Author: John Croisant <jacius@gmail.com>
|
1877
|
+
Date: Thu Jun 18 20:42:32 2009 -0500
|
1878
|
+
|
1879
|
+
Commented out class SDL_AudioCVT for now.
|
1880
|
+
|
1881
|
+
Not sure how to handle its :filters member, which
|
1882
|
+
is an array of 10 callbacks.
|
1883
|
+
|
1884
|
+
M lib/ruby-sdl-ffi/raw/sdl_audio.rb
|
1885
|
+
|
1886
|
+
------------------------------------------------------------
|
1887
|
+
Author: John Croisant <jacius@gmail.com>
|
1888
|
+
Date: Thu Jun 18 15:56:34 2009 -0500
|
1889
|
+
|
1890
|
+
Renamed raw "struct" classes to their original C names.
|
1891
|
+
|
1892
|
+
AudioSpec -> SDL_AudioSpec
|
1893
|
+
AudioCVT -> SDL_AudioCVT
|
1894
|
+
CDtrack -> SDL_CDtrack
|
1895
|
+
CD -> SDL_CD
|
1896
|
+
Version -> SDL_Version
|
1897
|
+
ActiveEvent -> SDL_ActiveEvent
|
1898
|
+
KeyboardEvent -> SDL_KeyboardEvent
|
1899
|
+
MouseMotionEvent -> SDL_MouseMotionEvent
|
1900
|
+
MouseButtonEvent -> SDL_MouseButtonEvent
|
1901
|
+
JoyAxisEvent -> SDL_JoyAxisEvent
|
1902
|
+
JoyBallEvent -> SDL_JoyBallEvent
|
1903
|
+
JoyHatEvent -> SDL_JoyHatEvent
|
1904
|
+
JoyButtonEvent -> SDL_JoyButtonEvent
|
1905
|
+
ResizeEvent -> SDL_ResizeEvent
|
1906
|
+
ExposeEvent -> SDL_ExposeEvent
|
1907
|
+
QuitEvent -> SDL_QuitEvent
|
1908
|
+
UserEvent -> SDL_UserEvent
|
1909
|
+
SysWMEvent -> SDL_SysWMEvent
|
1910
|
+
Event -> SDL_Event
|
1911
|
+
BlitInfo -> SDL_gfxBlitInfo
|
1912
|
+
MixChunk -> Mix_Chunk
|
1913
|
+
Cursor -> SDL_Cursor
|
1914
|
+
RWopsHiddenStdio -> SDL_RWopsHiddenStdio
|
1915
|
+
RWopsHiddenMem -> SDL_RWopsHiddenMem
|
1916
|
+
RWopsHiddenUnknown -> SDL_RWopsHiddenUnknown
|
1917
|
+
RWopsHidden -> SDL_RWopsHidden
|
1918
|
+
RWops -> SDL_RWops
|
1919
|
+
Rect -> SDL_Rect
|
1920
|
+
Color -> SDL_Color
|
1921
|
+
Palette -> SDL_Palette
|
1922
|
+
PixelFormat -> SDL_PixelFormat
|
1923
|
+
Surface -> SDL_Surface
|
1924
|
+
VideoInfo -> SDL_VideoInfo
|
1925
|
+
Overlay -> SDL_Overlay
|
1926
|
+
|
1927
|
+
M lib/ruby-sdl-ffi/raw/sdl_audio.rb
|
1928
|
+
M lib/ruby-sdl-ffi/raw/sdl_cdrom.rb
|
1929
|
+
M lib/ruby-sdl-ffi/raw/sdl_core.rb
|
1930
|
+
M lib/ruby-sdl-ffi/raw/sdl_event.rb
|
1931
|
+
M lib/ruby-sdl-ffi/raw/sdl_gfxblitfunc.rb
|
1932
|
+
M lib/ruby-sdl-ffi/raw/sdl_mixer.rb
|
1933
|
+
M lib/ruby-sdl-ffi/raw/sdl_mouse.rb
|
1934
|
+
M lib/ruby-sdl-ffi/raw/sdl_rwops.rb
|
1935
|
+
M lib/ruby-sdl-ffi/raw/sdl_ttf.rb
|
1936
|
+
M lib/ruby-sdl-ffi/raw/sdl_video.rb
|
1937
|
+
|
1938
|
+
------------------------------------------------------------
|
1939
|
+
Author: John Croisant <jacius@gmail.com>
|
1940
|
+
Date: Thu Jun 18 14:29:21 2009 -0500
|
1941
|
+
|
1942
|
+
Cosmetic cleanup in raw/sdl_rotozoom.rb.
|
1943
|
+
|
1944
|
+
M lib/ruby-sdl-ffi/raw/sdl_rotozoom.rb
|
1945
|
+
|
1946
|
+
------------------------------------------------------------
|
1947
|
+
Author: John Croisant <jacius@gmail.com>
|
1948
|
+
Date: Thu Jun 18 14:00:56 2009 -0500
|
1949
|
+
|
1950
|
+
Moved the 'Raw' stuff to lib/ruby-sdl-ffi/raw/
|
1951
|
+
|
1952
|
+
D lib/ruby-sdl-ffi/platforms.rb
|
1953
|
+
A lib/ruby-sdl-ffi/raw/platforms.rb
|
1954
|
+
A lib/ruby-sdl-ffi/raw/sdl.rb
|
1955
|
+
A lib/ruby-sdl-ffi/raw/sdl_audio.rb
|
1956
|
+
A lib/ruby-sdl-ffi/raw/sdl_cdrom.rb
|
1957
|
+
A lib/ruby-sdl-ffi/raw/sdl_core.rb
|
1958
|
+
A lib/ruby-sdl-ffi/raw/sdl_event.rb
|
1959
|
+
A lib/ruby-sdl-ffi/raw/sdl_framerate.rb
|
1960
|
+
A lib/ruby-sdl-ffi/raw/sdl_gfx.rb
|
1961
|
+
A lib/ruby-sdl-ffi/raw/sdl_gfxblitfunc.rb
|
1962
|
+
A lib/ruby-sdl-ffi/raw/sdl_gfxprimitives.rb
|
1963
|
+
A lib/ruby-sdl-ffi/raw/sdl_image.rb
|
1964
|
+
A lib/ruby-sdl-ffi/raw/sdl_imagefilter.rb
|
1965
|
+
A lib/ruby-sdl-ffi/raw/sdl_joystick.rb
|
1966
|
+
A lib/ruby-sdl-ffi/raw/sdl_keyboard.rb
|
1967
|
+
A lib/ruby-sdl-ffi/raw/sdl_keysyms.rb
|
1968
|
+
A lib/ruby-sdl-ffi/raw/sdl_mixer.rb
|
1969
|
+
A lib/ruby-sdl-ffi/raw/sdl_mouse.rb
|
1970
|
+
A lib/ruby-sdl-ffi/raw/sdl_mutex.rb
|
1971
|
+
A lib/ruby-sdl-ffi/raw/sdl_rotozoom.rb
|
1972
|
+
A lib/ruby-sdl-ffi/raw/sdl_rwops.rb
|
1973
|
+
A lib/ruby-sdl-ffi/raw/sdl_timer.rb
|
1974
|
+
A lib/ruby-sdl-ffi/raw/sdl_ttf.rb
|
1975
|
+
A lib/ruby-sdl-ffi/raw/sdl_video.rb
|
1976
|
+
D lib/ruby-sdl-ffi/sdl.rb
|
1977
|
+
D lib/ruby-sdl-ffi/sdl_audio.rb
|
1978
|
+
D lib/ruby-sdl-ffi/sdl_cdrom.rb
|
1979
|
+
D lib/ruby-sdl-ffi/sdl_core.rb
|
1980
|
+
D lib/ruby-sdl-ffi/sdl_event.rb
|
1981
|
+
D lib/ruby-sdl-ffi/sdl_framerate.rb
|
1982
|
+
D lib/ruby-sdl-ffi/sdl_gfx.rb
|
1983
|
+
D lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
1984
|
+
D lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
1985
|
+
D lib/ruby-sdl-ffi/sdl_image.rb
|
1986
|
+
D lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
1987
|
+
D lib/ruby-sdl-ffi/sdl_joystick.rb
|
1988
|
+
D lib/ruby-sdl-ffi/sdl_keyboard.rb
|
1989
|
+
D lib/ruby-sdl-ffi/sdl_keysyms.rb
|
1990
|
+
D lib/ruby-sdl-ffi/sdl_mixer.rb
|
1991
|
+
D lib/ruby-sdl-ffi/sdl_mouse.rb
|
1992
|
+
D lib/ruby-sdl-ffi/sdl_mutex.rb
|
1993
|
+
D lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
1994
|
+
D lib/ruby-sdl-ffi/sdl_rwops.rb
|
1995
|
+
D lib/ruby-sdl-ffi/sdl_timer.rb
|
1996
|
+
D lib/ruby-sdl-ffi/sdl_ttf.rb
|
1997
|
+
D lib/ruby-sdl-ffi/sdl_video.rb
|
1998
|
+
|
1999
|
+
------------------------------------------------------------
|
2000
|
+
Author: John Croisant <jacius@gmail.com>
|
2001
|
+
Date: Thu Jun 18 02:56:44 2009 -0500
|
2002
|
+
|
2003
|
+
sdl.rb is required, others are optional.
|
2004
|
+
|
2005
|
+
M lib/ruby-sdl-ffi.rb
|
2006
|
+
|
2007
|
+
------------------------------------------------------------
|
2008
|
+
Author: John Croisant <jacius@gmail.com>
|
2009
|
+
Date: Thu Jun 18 02:39:34 2009 -0500
|
2010
|
+
|
2011
|
+
Updated the library modules to use platforms.rb.
|
2012
|
+
|
2013
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
2014
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
2015
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
2016
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
2017
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
2018
|
+
|
2019
|
+
------------------------------------------------------------
|
2020
|
+
Author: John Croisant <jacius@gmail.com>
|
2021
|
+
Date: Thu Jun 18 02:18:38 2009 -0500
|
2022
|
+
|
2023
|
+
Added platforms.rb.
|
2024
|
+
|
2025
|
+
A lib/ruby-sdl-ffi/platforms.rb
|
2026
|
+
|
2027
|
+
------------------------------------------------------------
|
2028
|
+
Author: John Croisant <jacius@gmail.com>
|
2029
|
+
Date: Wed Jun 17 02:27:06 2009 -0500
|
2030
|
+
|
2031
|
+
Cosmetic cleanup in sdl_video.rb.
|
2032
|
+
|
2033
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
2034
|
+
|
2035
|
+
------------------------------------------------------------
|
2036
|
+
Author: John Croisant <jacius@gmail.com>
|
2037
|
+
Date: Wed Jun 17 02:51:53 2009 -0500
|
2038
|
+
|
2039
|
+
Cosmetic cleanup in sdl_timer.rb.
|
2040
|
+
|
2041
|
+
M lib/ruby-sdl-ffi/sdl_timer.rb
|
2042
|
+
|
2043
|
+
------------------------------------------------------------
|
2044
|
+
Author: John Croisant <jacius@gmail.com>
|
2045
|
+
Date: Wed Jun 17 02:49:41 2009 -0500
|
2046
|
+
|
2047
|
+
Cosmetic cleanup in sdl_rwops.rb.
|
2048
|
+
|
2049
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
2050
|
+
|
2051
|
+
------------------------------------------------------------
|
2052
|
+
Author: John Croisant <jacius@gmail.com>
|
2053
|
+
Date: Wed Jun 17 02:45:21 2009 -0500
|
2054
|
+
|
2055
|
+
Cosmetic cleanup in sdl_mutex.rb.
|
2056
|
+
|
2057
|
+
M lib/ruby-sdl-ffi/sdl_mutex.rb
|
2058
|
+
|
2059
|
+
------------------------------------------------------------
|
2060
|
+
Author: John Croisant <jacius@gmail.com>
|
2061
|
+
Date: Wed Jun 17 02:44:03 2009 -0500
|
2062
|
+
|
2063
|
+
Cosmetic cleanup in sdl_mouse.rb.
|
2064
|
+
|
2065
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
2066
|
+
|
2067
|
+
------------------------------------------------------------
|
2068
|
+
Author: John Croisant <jacius@gmail.com>
|
2069
|
+
Date: Wed Jun 17 02:41:40 2009 -0500
|
2070
|
+
|
2071
|
+
Cosmetic cleanup in sdl_joystick.rb.
|
2072
|
+
|
2073
|
+
M lib/ruby-sdl-ffi/sdl_joystick.rb
|
2074
|
+
|
2075
|
+
------------------------------------------------------------
|
2076
|
+
Author: John Croisant <jacius@gmail.com>
|
2077
|
+
Date: Wed Jun 17 02:26:39 2009 -0500
|
2078
|
+
|
2079
|
+
Cosmetic cleanup in sdl_keyboard.rb.
|
2080
|
+
|
2081
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
2082
|
+
|
2083
|
+
------------------------------------------------------------
|
2084
|
+
Author: John Croisant <jacius@gmail.com>
|
2085
|
+
Date: Wed Jun 17 02:38:49 2009 -0500
|
2086
|
+
|
2087
|
+
Cosmetic cleanup in sdl_event.rb.
|
2088
|
+
|
2089
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
2090
|
+
|
2091
|
+
------------------------------------------------------------
|
2092
|
+
Author: John Croisant <jacius@gmail.com>
|
2093
|
+
Date: Wed Jun 17 02:10:10 2009 -0500
|
2094
|
+
|
2095
|
+
Cosmetic cleanup in sdl_core.rb.
|
2096
|
+
|
2097
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
2098
|
+
|
2099
|
+
------------------------------------------------------------
|
2100
|
+
Author: John Croisant <jacius@gmail.com>
|
2101
|
+
Date: Wed Jun 17 02:34:17 2009 -0500
|
2102
|
+
|
2103
|
+
Cosmetic cleanup in sdl_cdrom.rb.
|
2104
|
+
|
2105
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
2106
|
+
|
2107
|
+
------------------------------------------------------------
|
2108
|
+
Author: John Croisant <jacius@gmail.com>
|
2109
|
+
Date: Wed Jun 17 02:32:02 2009 -0500
|
2110
|
+
|
2111
|
+
Cosmetic cleanup in sdl_audio.rb.
|
2112
|
+
|
2113
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
2114
|
+
|
2115
|
+
------------------------------------------------------------
|
2116
|
+
Author: John Croisant <jacius@gmail.com>
|
2117
|
+
Date: Wed Jun 17 01:59:29 2009 -0500
|
2118
|
+
|
2119
|
+
Condensed some small files into sdl_core.rb.
|
2120
|
+
|
2121
|
+
sdl_core.rb absorbed these files:
|
2122
|
+
|
2123
|
+
sdl_active.rb
|
2124
|
+
sdl_cpuinfo.rb
|
2125
|
+
sdl_error.rb
|
2126
|
+
sdl_loadso.rb
|
2127
|
+
sdl_shared.rb
|
2128
|
+
sdl_thread.rb
|
2129
|
+
|
2130
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
2131
|
+
D lib/ruby-sdl-ffi/sdl_active.rb
|
2132
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
2133
|
+
D lib/ruby-sdl-ffi/sdl_cpuinfo.rb
|
2134
|
+
D lib/ruby-sdl-ffi/sdl_error.rb
|
2135
|
+
D lib/ruby-sdl-ffi/sdl_loadso.rb
|
2136
|
+
D lib/ruby-sdl-ffi/sdl_shared.rb
|
2137
|
+
D lib/ruby-sdl-ffi/sdl_thread.rb
|
2138
|
+
|
2139
|
+
------------------------------------------------------------
|
2140
|
+
Author: John Croisant <jacius@gmail.com>
|
2141
|
+
Date: Wed Jun 17 01:46:41 2009 -0500
|
2142
|
+
|
2143
|
+
Removed convenience wrappers for attach_function.
|
2144
|
+
|
2145
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
2146
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
2147
|
+
M lib/ruby-sdl-ffi/sdl_shared.rb
|
2148
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
2149
|
+
|
2150
|
+
------------------------------------------------------------
|
2151
|
+
Author: John Croisant <jacius@gmail.com>
|
2152
|
+
Date: Wed Jun 17 01:40:49 2009 -0500
|
2153
|
+
|
2154
|
+
Not using convenience wrappers for attach_function anymore.
|
2155
|
+
|
2156
|
+
Changed:
|
2157
|
+
|
2158
|
+
attach_sdl_function :Foo --> attach_function :SDL_Foo
|
2159
|
+
img_function :Foo --> attach_function :IMG_Foo
|
2160
|
+
mix_function :Foo --> attach_function :Mix_Foo
|
2161
|
+
ttf_function :Foo --> attach_function :TTF_Foo
|
2162
|
+
|
2163
|
+
M lib/ruby-sdl-ffi/sdl_active.rb
|
2164
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
2165
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
2166
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
2167
|
+
M lib/ruby-sdl-ffi/sdl_cpuinfo.rb
|
2168
|
+
M lib/ruby-sdl-ffi/sdl_error.rb
|
2169
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
2170
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
2171
|
+
M lib/ruby-sdl-ffi/sdl_joystick.rb
|
2172
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
2173
|
+
M lib/ruby-sdl-ffi/sdl_loadso.rb
|
2174
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
2175
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
2176
|
+
M lib/ruby-sdl-ffi/sdl_mutex.rb
|
2177
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
2178
|
+
M lib/ruby-sdl-ffi/sdl_thread.rb
|
2179
|
+
M lib/ruby-sdl-ffi/sdl_timer.rb
|
2180
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
2181
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
2182
|
+
|
2183
|
+
------------------------------------------------------------
|
2184
|
+
Author: John Croisant <jacius@gmail.com>
|
2185
|
+
Date: Wed Jun 17 01:27:32 2009 -0500
|
2186
|
+
|
2187
|
+
Moved all the raw FFI to be in the SDL::Raw module.
|
2188
|
+
|
2189
|
+
(Many indentation changes, you may want to --ignore-all-space)
|
2190
|
+
|
2191
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
2192
|
+
M lib/ruby-sdl-ffi/sdl_active.rb
|
2193
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
2194
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
2195
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
2196
|
+
M lib/ruby-sdl-ffi/sdl_cpuinfo.rb
|
2197
|
+
M lib/ruby-sdl-ffi/sdl_error.rb
|
2198
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
2199
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
2200
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
2201
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
2202
|
+
M lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
2203
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
2204
|
+
M lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
2205
|
+
M lib/ruby-sdl-ffi/sdl_joystick.rb
|
2206
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
2207
|
+
M lib/ruby-sdl-ffi/sdl_keysyms.rb
|
2208
|
+
M lib/ruby-sdl-ffi/sdl_loadso.rb
|
2209
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
2210
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
2211
|
+
M lib/ruby-sdl-ffi/sdl_mutex.rb
|
2212
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
2213
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
2214
|
+
M lib/ruby-sdl-ffi/sdl_shared.rb
|
2215
|
+
M lib/ruby-sdl-ffi/sdl_thread.rb
|
2216
|
+
M lib/ruby-sdl-ffi/sdl_timer.rb
|
2217
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
2218
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
2219
|
+
|
2220
|
+
------------------------------------------------------------
|
2221
|
+
Author: John Croisant <jacius@gmail.com>
|
2222
|
+
Date: Tue Jun 16 20:17:11 2009 -0500
|
2223
|
+
|
2224
|
+
Fixed link for Gosu in README.
|
2225
|
+
|
2226
|
+
M README.rdoc
|
2227
|
+
|
2228
|
+
------------------------------------------------------------
|
2229
|
+
Author: John Croisant <jacius@gmail.com>
|
2230
|
+
Date: Tue Jun 16 19:17:48 2009 -0500
|
2231
|
+
|
2232
|
+
Project is now Ruby-SDL-FFI instead of FFI-SDL. Updated all files' contents.
|
2233
|
+
|
2234
|
+
M README.rdoc
|
2235
|
+
M Rakefile
|
2236
|
+
M lib/ruby-sdl-ffi.rb
|
2237
|
+
M lib/ruby-sdl-ffi/sdl.rb
|
2238
|
+
M lib/ruby-sdl-ffi/sdl_active.rb
|
2239
|
+
M lib/ruby-sdl-ffi/sdl_audio.rb
|
2240
|
+
M lib/ruby-sdl-ffi/sdl_cdrom.rb
|
2241
|
+
M lib/ruby-sdl-ffi/sdl_core.rb
|
2242
|
+
M lib/ruby-sdl-ffi/sdl_cpuinfo.rb
|
2243
|
+
M lib/ruby-sdl-ffi/sdl_error.rb
|
2244
|
+
M lib/ruby-sdl-ffi/sdl_event.rb
|
2245
|
+
M lib/ruby-sdl-ffi/sdl_framerate.rb
|
2246
|
+
M lib/ruby-sdl-ffi/sdl_gfx.rb
|
2247
|
+
M lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
2248
|
+
M lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
2249
|
+
M lib/ruby-sdl-ffi/sdl_image.rb
|
2250
|
+
M lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
2251
|
+
M lib/ruby-sdl-ffi/sdl_joystick.rb
|
2252
|
+
M lib/ruby-sdl-ffi/sdl_keyboard.rb
|
2253
|
+
M lib/ruby-sdl-ffi/sdl_keysyms.rb
|
2254
|
+
M lib/ruby-sdl-ffi/sdl_loadso.rb
|
2255
|
+
M lib/ruby-sdl-ffi/sdl_mixer.rb
|
2256
|
+
M lib/ruby-sdl-ffi/sdl_mouse.rb
|
2257
|
+
M lib/ruby-sdl-ffi/sdl_mutex.rb
|
2258
|
+
M lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
2259
|
+
M lib/ruby-sdl-ffi/sdl_rwops.rb
|
2260
|
+
M lib/ruby-sdl-ffi/sdl_shared.rb
|
2261
|
+
M lib/ruby-sdl-ffi/sdl_thread.rb
|
2262
|
+
M lib/ruby-sdl-ffi/sdl_timer.rb
|
2263
|
+
M lib/ruby-sdl-ffi/sdl_ttf.rb
|
2264
|
+
M lib/ruby-sdl-ffi/sdl_video.rb
|
2265
|
+
M ruby-sdl-ffi.gemspec
|
2266
|
+
|
2267
|
+
------------------------------------------------------------
|
2268
|
+
Author: John Croisant <jacius@gmail.com>
|
2269
|
+
Date: Tue Jun 16 19:17:07 2009 -0500
|
2270
|
+
|
2271
|
+
Project is now Ruby-SDL-FFI instead of FFI-SDL. Renamed files & dirs.
|
2272
|
+
|
2273
|
+
D ffi-sdl.gemspec
|
2274
|
+
D lib/ffi-sdl.rb
|
2275
|
+
D lib/ffi-sdl/sdl.rb
|
2276
|
+
D lib/ffi-sdl/sdl_active.rb
|
2277
|
+
D lib/ffi-sdl/sdl_audio.rb
|
2278
|
+
D lib/ffi-sdl/sdl_cdrom.rb
|
2279
|
+
D lib/ffi-sdl/sdl_core.rb
|
2280
|
+
D lib/ffi-sdl/sdl_cpuinfo.rb
|
2281
|
+
D lib/ffi-sdl/sdl_error.rb
|
2282
|
+
D lib/ffi-sdl/sdl_event.rb
|
2283
|
+
D lib/ffi-sdl/sdl_framerate.rb
|
2284
|
+
D lib/ffi-sdl/sdl_gfx.rb
|
2285
|
+
D lib/ffi-sdl/sdl_gfxblitfunc.rb
|
2286
|
+
D lib/ffi-sdl/sdl_gfxprimitives.rb
|
2287
|
+
D lib/ffi-sdl/sdl_image.rb
|
2288
|
+
D lib/ffi-sdl/sdl_imagefilter.rb
|
2289
|
+
D lib/ffi-sdl/sdl_joystick.rb
|
2290
|
+
D lib/ffi-sdl/sdl_keyboard.rb
|
2291
|
+
D lib/ffi-sdl/sdl_keysyms.rb
|
2292
|
+
D lib/ffi-sdl/sdl_loadso.rb
|
2293
|
+
D lib/ffi-sdl/sdl_mixer.rb
|
2294
|
+
D lib/ffi-sdl/sdl_mouse.rb
|
2295
|
+
D lib/ffi-sdl/sdl_mutex.rb
|
2296
|
+
D lib/ffi-sdl/sdl_rotozoom.rb
|
2297
|
+
D lib/ffi-sdl/sdl_rwops.rb
|
2298
|
+
D lib/ffi-sdl/sdl_shared.rb
|
2299
|
+
D lib/ffi-sdl/sdl_thread.rb
|
2300
|
+
D lib/ffi-sdl/sdl_timer.rb
|
2301
|
+
D lib/ffi-sdl/sdl_ttf.rb
|
2302
|
+
D lib/ffi-sdl/sdl_video.rb
|
2303
|
+
A lib/ruby-sdl-ffi.rb
|
2304
|
+
A lib/ruby-sdl-ffi/sdl.rb
|
2305
|
+
A lib/ruby-sdl-ffi/sdl_active.rb
|
2306
|
+
A lib/ruby-sdl-ffi/sdl_audio.rb
|
2307
|
+
A lib/ruby-sdl-ffi/sdl_cdrom.rb
|
2308
|
+
A lib/ruby-sdl-ffi/sdl_core.rb
|
2309
|
+
A lib/ruby-sdl-ffi/sdl_cpuinfo.rb
|
2310
|
+
A lib/ruby-sdl-ffi/sdl_error.rb
|
2311
|
+
A lib/ruby-sdl-ffi/sdl_event.rb
|
2312
|
+
A lib/ruby-sdl-ffi/sdl_framerate.rb
|
2313
|
+
A lib/ruby-sdl-ffi/sdl_gfx.rb
|
2314
|
+
A lib/ruby-sdl-ffi/sdl_gfxblitfunc.rb
|
2315
|
+
A lib/ruby-sdl-ffi/sdl_gfxprimitives.rb
|
2316
|
+
A lib/ruby-sdl-ffi/sdl_image.rb
|
2317
|
+
A lib/ruby-sdl-ffi/sdl_imagefilter.rb
|
2318
|
+
A lib/ruby-sdl-ffi/sdl_joystick.rb
|
2319
|
+
A lib/ruby-sdl-ffi/sdl_keyboard.rb
|
2320
|
+
A lib/ruby-sdl-ffi/sdl_keysyms.rb
|
2321
|
+
A lib/ruby-sdl-ffi/sdl_loadso.rb
|
2322
|
+
A lib/ruby-sdl-ffi/sdl_mixer.rb
|
2323
|
+
A lib/ruby-sdl-ffi/sdl_mouse.rb
|
2324
|
+
A lib/ruby-sdl-ffi/sdl_mutex.rb
|
2325
|
+
A lib/ruby-sdl-ffi/sdl_rotozoom.rb
|
2326
|
+
A lib/ruby-sdl-ffi/sdl_rwops.rb
|
2327
|
+
A lib/ruby-sdl-ffi/sdl_shared.rb
|
2328
|
+
A lib/ruby-sdl-ffi/sdl_thread.rb
|
2329
|
+
A lib/ruby-sdl-ffi/sdl_timer.rb
|
2330
|
+
A lib/ruby-sdl-ffi/sdl_ttf.rb
|
2331
|
+
A lib/ruby-sdl-ffi/sdl_video.rb
|
2332
|
+
A ruby-sdl-ffi.gemspec
|
2333
|
+
|
2334
|
+
------------------------------------------------------------
|
2335
|
+
Author: John Croisant <jacius@gmail.com>
|
2336
|
+
Date: Tue Jun 16 19:00:04 2009 -0500
|
2337
|
+
|
2338
|
+
Updated Rakefile to mention other SDL-related libraries.
|
2339
|
+
|
2340
|
+
M ffi-sdl.gemspec
|
2341
|
+
|
2342
|
+
------------------------------------------------------------
|
2343
|
+
Author: John Croisant <jacius@gmail.com>
|
2344
|
+
Date: Tue Jun 16 18:55:27 2009 -0500
|
2345
|
+
|
2346
|
+
Updated README to mention other SDL-related libraries.
|
2347
|
+
|
2348
|
+
M README.rdoc
|
2349
|
+
|
2350
|
+
------------------------------------------------------------
|
2351
|
+
Author: John Croisant <jacius@gmail.com>
|
2352
|
+
Date: Tue Jun 16 18:30:38 2009 -0500
|
2353
|
+
|
2354
|
+
Added sdl_gfx.rb and related files.
|
2355
|
+
|
2356
|
+
M lib/ffi-sdl.rb
|
2357
|
+
A lib/ffi-sdl/sdl_framerate.rb
|
2358
|
+
A lib/ffi-sdl/sdl_gfx.rb
|
2359
|
+
A lib/ffi-sdl/sdl_gfxblitfunc.rb
|
2360
|
+
A lib/ffi-sdl/sdl_gfxprimitives.rb
|
2361
|
+
A lib/ffi-sdl/sdl_imagefilter.rb
|
2362
|
+
A lib/ffi-sdl/sdl_rotozoom.rb
|
2363
|
+
|
2364
|
+
------------------------------------------------------------
|
2365
|
+
Author: John Croisant <jacius@gmail.com>
|
2366
|
+
Date: Tue Jun 16 03:05:48 2009 -0500
|
2367
|
+
|
2368
|
+
Added sdl_mixer.rb.
|
2369
|
+
|
2370
|
+
M lib/ffi-sdl.rb
|
2371
|
+
A lib/ffi-sdl/sdl_mixer.rb
|
2372
|
+
|
2373
|
+
------------------------------------------------------------
|
2374
|
+
Author: John Croisant <jacius@gmail.com>
|
2375
|
+
Date: Tue Jun 16 02:05:13 2009 -0500
|
2376
|
+
|
2377
|
+
Added sdl_ttf.rb.
|
2378
|
+
|
2379
|
+
M lib/ffi-sdl.rb
|
2380
|
+
A lib/ffi-sdl/sdl_ttf.rb
|
2381
|
+
|
2382
|
+
------------------------------------------------------------
|
2383
|
+
Author: John Croisant <jacius@gmail.com>
|
2384
|
+
Date: Tue Jun 16 01:47:40 2009 -0500
|
2385
|
+
|
2386
|
+
Added sdl_image.rb.
|
2387
|
+
|
2388
|
+
M lib/ffi-sdl.rb
|
2389
|
+
A lib/ffi-sdl/sdl_image.rb
|
2390
|
+
|
2391
|
+
------------------------------------------------------------
|
2392
|
+
Author: John Croisant <jacius@gmail.com>
|
2393
|
+
Date: Tue Jun 16 00:52:43 2009 -0500
|
2394
|
+
|
2395
|
+
Added Rakefile with gem task.
|
2396
|
+
|
2397
|
+
A Rakefile
|
2398
|
+
|
2399
|
+
------------------------------------------------------------
|
2400
|
+
Author: John Croisant <jacius@gmail.com>
|
2401
|
+
Date: Tue Jun 16 00:26:52 2009 -0500
|
2402
|
+
|
2403
|
+
Added ffi-sdl.gemspec.
|
2404
|
+
|
2405
|
+
A ffi-sdl.gemspec
|
2406
|
+
|
2407
|
+
------------------------------------------------------------
|
2408
|
+
Author: John Croisant <jacius@gmail.com>
|
2409
|
+
Date: Mon Jun 15 23:59:24 2009 -0500
|
2410
|
+
|
2411
|
+
Added all the .rb files!
|
2412
|
+
|
2413
|
+
A lib/ffi-sdl.rb
|
2414
|
+
A lib/ffi-sdl/sdl.rb
|
2415
|
+
A lib/ffi-sdl/sdl_active.rb
|
2416
|
+
A lib/ffi-sdl/sdl_audio.rb
|
2417
|
+
A lib/ffi-sdl/sdl_cdrom.rb
|
2418
|
+
A lib/ffi-sdl/sdl_core.rb
|
2419
|
+
A lib/ffi-sdl/sdl_cpuinfo.rb
|
2420
|
+
A lib/ffi-sdl/sdl_error.rb
|
2421
|
+
A lib/ffi-sdl/sdl_event.rb
|
2422
|
+
A lib/ffi-sdl/sdl_joystick.rb
|
2423
|
+
A lib/ffi-sdl/sdl_keyboard.rb
|
2424
|
+
A lib/ffi-sdl/sdl_keysyms.rb
|
2425
|
+
A lib/ffi-sdl/sdl_loadso.rb
|
2426
|
+
A lib/ffi-sdl/sdl_mouse.rb
|
2427
|
+
A lib/ffi-sdl/sdl_mutex.rb
|
2428
|
+
A lib/ffi-sdl/sdl_rwops.rb
|
2429
|
+
A lib/ffi-sdl/sdl_shared.rb
|
2430
|
+
A lib/ffi-sdl/sdl_thread.rb
|
2431
|
+
A lib/ffi-sdl/sdl_timer.rb
|
2432
|
+
A lib/ffi-sdl/sdl_video.rb
|
2433
|
+
|
2434
|
+
------------------------------------------------------------
|
2435
|
+
Author: John Croisant <jacius@gmail.com>
|
2436
|
+
Date: Mon Jun 15 23:01:36 2009 -0500
|
2437
|
+
|
2438
|
+
Added README.rdoc.
|
2439
|
+
|
2440
|
+
A README.rdoc
|
2441
|
+
|
2442
|
+
------------------------------------------------------------
|
2443
|
+
Author: John Croisant <jacius@gmail.com>
|
2444
|
+
Date: Mon Jun 15 14:40:39 2009 -0500
|
2445
|
+
|
2446
|
+
Added .gitignore.
|
2447
|
+
|
2448
|
+
*~
|
2449
|
+
.\#*
|
2450
|
+
\#*\#
|
2451
|
+
pkg
|
2452
|
+
html
|
2453
|
+
|
2454
|
+
A .gitignore
|
2455
|
+
|
2456
|
+
------------------------------------------------------------
|
2457
|
+
Author: John Croisant <jacius@gmail.com>
|
2458
|
+
Date: Sun Jun 14 19:30:29 2009 -0500
|
2459
|
+
|
2460
|
+
Initial commit.
|