ruby-glfw 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -3
- data/examples/keytest.rb +57 -30
- data/examples/particles.rb +14 -13
- data/examples/pong3d.rb +5 -5
- data/examples/splitview.rb +8 -8
- data/examples/wave.rb +16 -8
- data/ext/glfw/glfw.c +28 -10
- data/ext/glfw/mkrf_conf.rb +5 -3
- data/glfw-src/examples/boing.exe +0 -0
- data/glfw-src/examples/gears.exe +0 -0
- data/glfw-src/examples/keytest.exe +0 -0
- data/glfw-src/examples/listmodes.exe +0 -0
- data/glfw-src/examples/mipmaps.exe +0 -0
- data/glfw-src/examples/mtbench.exe +0 -0
- data/glfw-src/examples/mthello.exe +0 -0
- data/glfw-src/examples/particles.exe +0 -0
- data/glfw-src/examples/pong3d.exe +0 -0
- data/glfw-src/examples/splitview.exe +0 -0
- data/glfw-src/examples/triangle.exe +0 -0
- data/glfw-src/examples/wave.exe +0 -0
- data/glfw-src/lib/win32/glfw.dll +0 -0
- data/glfw-src/lib/win32/glfw.lib +0 -0
- data/glfw-src/lib/win32/glfwdll.exp +0 -0
- data/glfw-src/lib/win32/glfwdll.lib +0 -0
- data/glfw-src/lib/x11/Makefile.x11.in +21 -21
- metadata +205 -189
data/Rakefile
CHANGED
@@ -96,7 +96,7 @@ gem_files = gem_files.exclude("**/*.so", "**/*.o{,bj}", "ext/glfw/*.log","ext/gl
|
|
96
96
|
|
97
97
|
spec = Gem::Specification.new do |s|
|
98
98
|
s.name = "ruby-glfw"
|
99
|
-
s.version = "0.9"
|
99
|
+
s.version = "0.9.1"
|
100
100
|
s.author = "Jan Dvorak"
|
101
101
|
s.email = "jan.dvorak@kraxnet.cz"
|
102
102
|
s.homepage = "http://ruby-glfw.rubyforge.org"
|
@@ -115,6 +115,6 @@ end
|
|
115
115
|
|
116
116
|
# Create a task for creating a ruby gem
|
117
117
|
Rake::GemPackageTask.new(spec) do |pkg|
|
118
|
-
|
119
|
-
|
118
|
+
pkg.gem_spec = spec
|
119
|
+
pkg.need_tar = true
|
120
120
|
end
|
data/examples/keytest.rb
CHANGED
@@ -23,35 +23,62 @@ keyfun = lambda do |key,action|
|
|
23
23
|
$running = false
|
24
24
|
when GLFW_KEY_F1..GLFW_KEY_F25
|
25
25
|
puts "F#{1 + key - GLFW_KEY_F1}"
|
26
|
-
when GLFW_KEY_UP
|
27
|
-
|
28
|
-
when
|
29
|
-
|
30
|
-
when
|
31
|
-
|
32
|
-
when
|
33
|
-
|
34
|
-
when
|
35
|
-
|
36
|
-
when
|
37
|
-
|
38
|
-
when
|
39
|
-
|
40
|
-
when
|
41
|
-
|
42
|
-
when
|
43
|
-
|
44
|
-
when
|
26
|
+
when GLFW_KEY_UP
|
27
|
+
puts "UP"
|
28
|
+
when GLFW_KEY_DOWN
|
29
|
+
puts "DOWN"
|
30
|
+
when GLFW_KEY_LEFT
|
31
|
+
puts "LEFT"
|
32
|
+
when GLFW_KEY_RIGHT
|
33
|
+
puts "RIGHT"
|
34
|
+
when GLFW_KEY_LSHIFT
|
35
|
+
puts "LSHIFT"
|
36
|
+
when GLFW_KEY_RSHIFT
|
37
|
+
puts "RSHIFT"
|
38
|
+
when GLFW_KEY_LCTRL
|
39
|
+
puts "LCTRL"
|
40
|
+
when GLFW_KEY_RCTRL
|
41
|
+
puts "RCTRL"
|
42
|
+
when GLFW_KEY_LALT
|
43
|
+
puts "LALT"
|
44
|
+
when GLFW_KEY_RALT
|
45
|
+
puts "RALT"
|
46
|
+
when GLFW_KEY_TAB
|
47
|
+
puts "TAB"
|
48
|
+
when GLFW_KEY_ENTER
|
49
|
+
puts "ENTER"
|
50
|
+
when GLFW_KEY_BACKSPACE
|
51
|
+
puts "BACKSPACE"
|
52
|
+
when GLFW_KEY_INSERT
|
53
|
+
puts "INSERT"
|
54
|
+
when GLFW_KEY_DEL
|
55
|
+
puts "DEL"
|
56
|
+
when GLFW_KEY_PAGEUP
|
57
|
+
puts "PAGEUP"
|
58
|
+
when GLFW_KEY_PAGEDOWN
|
59
|
+
puts "PAGEDOWN"
|
60
|
+
when GLFW_KEY_HOME
|
61
|
+
puts "HOME"
|
62
|
+
when GLFW_KEY_END
|
63
|
+
puts "END"
|
45
64
|
when GLFW_KEY_KP_0..GLFW_KEY_KP_9
|
46
65
|
puts "KEYPAD #{key - GLFW_KEY_KP_0}"
|
47
|
-
when GLFW_KEY_KP_DIVIDE
|
48
|
-
|
49
|
-
when
|
50
|
-
|
51
|
-
when
|
52
|
-
|
53
|
-
when
|
54
|
-
|
66
|
+
when GLFW_KEY_KP_DIVIDE
|
67
|
+
puts "KEYPAD DIVIDE"
|
68
|
+
when GLFW_KEY_KP_MULTIPLY
|
69
|
+
puts "KEYPAD MULTIPLY"
|
70
|
+
when GLFW_KEY_KP_SUBTRACT
|
71
|
+
puts "KEYPAD SUBTRACT"
|
72
|
+
when GLFW_KEY_KP_ADD
|
73
|
+
puts "KEYPAD ADD"
|
74
|
+
when GLFW_KEY_KP_DECIMAL
|
75
|
+
puts "KEYPAD DECIMAL"
|
76
|
+
when GLFW_KEY_KP_EQUAL
|
77
|
+
puts "KEYPAD ="
|
78
|
+
when GLFW_KEY_KP_ENTER
|
79
|
+
puts "KEYPAD ENTER"
|
80
|
+
when GLFW_KEY_SPACE
|
81
|
+
puts "SPACE"
|
55
82
|
when ?R
|
56
83
|
if ($keyrepeat==false)
|
57
84
|
glfwEnable(GLFW_KEY_REPEAT)
|
@@ -69,10 +96,10 @@ keyfun = lambda do |key,action|
|
|
69
96
|
$systemkeys = !$systemkeys
|
70
97
|
puts "S => System keys: #{$systemkeys ? 'ON' : 'OFF'}"
|
71
98
|
else
|
72
|
-
if (key
|
73
|
-
puts key.chr
|
74
|
-
else
|
99
|
+
if (key.class == Fixnum && key>256)
|
75
100
|
puts "???"
|
101
|
+
else
|
102
|
+
puts key.chr
|
76
103
|
end
|
77
104
|
end
|
78
105
|
$stdout.flush
|
data/examples/particles.rb
CHANGED
@@ -39,6 +39,7 @@
|
|
39
39
|
|
40
40
|
require 'opengl'
|
41
41
|
require 'glfw'
|
42
|
+
require 'mathn'
|
42
43
|
include Gl,Glu,Glfw,Math
|
43
44
|
|
44
45
|
# Desired fullscreen resolution
|
@@ -448,13 +449,13 @@ $fountain_normal = [
|
|
448
449
|
#========================================================================
|
449
450
|
|
450
451
|
def DrawFountain
|
451
|
-
|
452
|
+
$fountain_list ||= 0 # static variable
|
452
453
|
|
453
454
|
# The first time, we build the fountain display list
|
454
|
-
if(
|
455
|
+
if( $fountain_list == 0)
|
455
456
|
# Start recording of a new display list
|
456
|
-
|
457
|
-
glNewList(
|
457
|
+
$fountain_list = glGenLists( 1 )
|
458
|
+
glNewList( $fountain_list, GL_COMPILE_AND_EXECUTE )
|
458
459
|
|
459
460
|
# Set fountain material
|
460
461
|
glMaterialfv( GL_FRONT, GL_DIFFUSE, $fountain_diffuse )
|
@@ -490,7 +491,7 @@ def DrawFountain
|
|
490
491
|
glEndList()
|
491
492
|
else
|
492
493
|
# Playback display list
|
493
|
-
glCallList(
|
494
|
+
glCallList( $fountain_list )
|
494
495
|
end
|
495
496
|
end
|
496
497
|
|
@@ -536,7 +537,7 @@ end
|
|
536
537
|
#========================================================================
|
537
538
|
|
538
539
|
def DrawFloor
|
539
|
-
|
540
|
+
$floor_list ||= 0
|
540
541
|
|
541
542
|
# Select floor texture
|
542
543
|
if( !$wireframe )
|
@@ -545,10 +546,10 @@ def DrawFloor
|
|
545
546
|
end
|
546
547
|
|
547
548
|
# The first time, we build the floor display list
|
548
|
-
if(
|
549
|
+
if( $floor_list == 0)
|
549
550
|
# Start recording of a new display list
|
550
|
-
|
551
|
-
glNewList(
|
551
|
+
$floor_list = glGenLists( 1 )
|
552
|
+
glNewList( $floor_list, GL_COMPILE_AND_EXECUTE )
|
552
553
|
|
553
554
|
# Set floor material
|
554
555
|
glMaterialfv( GL_FRONT, GL_DIFFUSE, $floor_diffuse )
|
@@ -569,7 +570,7 @@ def DrawFloor
|
|
569
570
|
glEndList()
|
570
571
|
else
|
571
572
|
# Playback display list
|
572
|
-
glCallList(
|
573
|
+
glCallList( $floor_list )
|
573
574
|
end
|
574
575
|
|
575
576
|
glDisable( GL_TEXTURE_2D )
|
@@ -616,11 +617,11 @@ end
|
|
616
617
|
#========================================================================
|
617
618
|
|
618
619
|
def Draw( t )
|
619
|
-
|
620
|
+
$t_old ||= 0.0
|
620
621
|
|
621
622
|
# Calculate frame-to-frame delta time
|
622
|
-
dt = (t
|
623
|
-
|
623
|
+
dt = (t-$t_old)
|
624
|
+
$t_old = t
|
624
625
|
|
625
626
|
# Setup viewport
|
626
627
|
glViewport( 0, 0, $width, $height )
|
data/examples/pong3d.rb
CHANGED
@@ -491,19 +491,19 @@ def UpdateDisplay
|
|
491
491
|
glMatrixMode( GL_MODELVIEW )
|
492
492
|
glLoadIdentity()
|
493
493
|
case ( $camerapos )
|
494
|
-
when CAMERA_ABOVE
|
494
|
+
when CAMERA_ABOVE
|
495
495
|
gluLookAt(
|
496
496
|
0.0, 0.0, 2.5,
|
497
497
|
$ball.xpos, $ball.ypos, 0.0,
|
498
498
|
0.0, 1.0, 0.0
|
499
499
|
)
|
500
|
-
when CAMERA_SPECTATOR
|
500
|
+
when CAMERA_SPECTATOR
|
501
501
|
gluLookAt(
|
502
502
|
0.0, -2.0, 1.2,
|
503
503
|
$ball.xpos, $ball.ypos, 0.0,
|
504
504
|
0.0, 0.0, 1.0
|
505
505
|
)
|
506
|
-
when CAMERA_CLASSIC
|
506
|
+
when CAMERA_CLASSIC
|
507
507
|
gluLookAt(
|
508
508
|
0.0, 0.0, 2.5,
|
509
509
|
0.0, 0.0, 0.0,
|
@@ -670,10 +670,10 @@ def GameLoop
|
|
670
670
|
|
671
671
|
# Did we have a winner?
|
672
672
|
case ( event )
|
673
|
-
when PLAYER1_WINS
|
673
|
+
when PLAYER1_WINS
|
674
674
|
$winner = PLAYER1
|
675
675
|
playing = false
|
676
|
-
when PLAYER2_WINS
|
676
|
+
when PLAYER2_WINS
|
677
677
|
$winner = PLAYER2
|
678
678
|
playing = false
|
679
679
|
else
|
data/examples/splitview.rb
CHANGED
@@ -44,11 +44,11 @@ TORUS_MAJOR_RES = 32
|
|
44
44
|
TORUS_MINOR_RES = 32
|
45
45
|
|
46
46
|
def DrawTorus
|
47
|
-
|
48
|
-
if (
|
47
|
+
$torus_list ||= 0 # static(class) variable, initialize or no-op if already initialized
|
48
|
+
if ($torus_list==0)
|
49
49
|
# Start recording displaylist
|
50
|
-
|
51
|
-
glNewList(
|
50
|
+
$torus_list = glGenLists( 1 )
|
51
|
+
glNewList( $torus_list, GL_COMPILE_AND_EXECUTE )
|
52
52
|
|
53
53
|
# Draw torus
|
54
54
|
twopi = 2.0 * PI;
|
@@ -83,7 +83,7 @@ def DrawTorus
|
|
83
83
|
glEndList()
|
84
84
|
else
|
85
85
|
# Playback displaylist
|
86
|
-
glCallList(
|
86
|
+
glCallList( $torus_list )
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
@@ -337,15 +337,15 @@ end
|
|
337
337
|
|
338
338
|
MousePosFun = lambda do |x,y|
|
339
339
|
case $active_view
|
340
|
-
when 1
|
340
|
+
when 1
|
341
341
|
$rot_x += y - $ypos
|
342
342
|
$rot_z += x - $xpos
|
343
343
|
$do_redraw = 1
|
344
|
-
when 3
|
344
|
+
when 3
|
345
345
|
$rot_x += y - $ypos
|
346
346
|
$rot_y += x - $xpos
|
347
347
|
$do_redraw = 1
|
348
|
-
when 4
|
348
|
+
when 4
|
349
349
|
$rot_y += x - $xpos
|
350
350
|
$rot_z += y - $ypos
|
351
351
|
$do_redraw = 1
|
data/examples/wave.rb
CHANGED
@@ -204,14 +204,22 @@ handle_key_down = lambda do |key,action|
|
|
204
204
|
end
|
205
205
|
|
206
206
|
case key
|
207
|
-
when GLFW_KEY_ESC
|
208
|
-
|
209
|
-
when
|
210
|
-
|
211
|
-
when
|
212
|
-
|
213
|
-
when
|
214
|
-
|
207
|
+
when GLFW_KEY_ESC
|
208
|
+
$running = false
|
209
|
+
when GLFW_KEY_SPACE
|
210
|
+
initSurface()
|
211
|
+
when GLFW_KEY_LEFT
|
212
|
+
$alpha += 5
|
213
|
+
when GLFW_KEY_RIGHT
|
214
|
+
$alpha -= 5
|
215
|
+
when GLFW_KEY_UP
|
216
|
+
$beta -= 5
|
217
|
+
when GLFW_KEY_DOWN
|
218
|
+
$beta += 5
|
219
|
+
when GLFW_KEY_PAGEUP
|
220
|
+
$zoom -= 1 if $zoom > 1
|
221
|
+
when GLFW_KEY_PAGEDOWN
|
222
|
+
$zoom += 1
|
215
223
|
end
|
216
224
|
end
|
217
225
|
|
data/ext/glfw/glfw.c
CHANGED
@@ -99,7 +99,7 @@ static VALUE glfw_OpenWindow(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9)
|
|
99
99
|
VALUE obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9;
|
100
100
|
{
|
101
101
|
int ret;
|
102
|
-
|
102
|
+
|
103
103
|
ret = glfwOpenWindow(NUM2INT(arg1),NUM2INT(arg2),NUM2INT(arg3),NUM2INT(arg4),NUM2INT(arg5),
|
104
104
|
NUM2INT(arg6),NUM2INT(arg7),NUM2INT(arg8),NUM2INT(arg9));
|
105
105
|
return GL_BOOL_TO_RUBY_BOOL(ret);
|
@@ -140,11 +140,13 @@ GLFW_SET_CALLBACK_FUNC(WindowClose)
|
|
140
140
|
*
|
141
141
|
* Sets window title
|
142
142
|
*/
|
143
|
+
VALUE window_title;
|
143
144
|
static VALUE glfw_SetWindowTitle(obj,arg1)
|
144
145
|
VALUE obj,arg1;
|
145
146
|
{
|
146
147
|
Check_Type(arg1,T_STRING);
|
147
|
-
|
148
|
+
window_title = arg1;
|
149
|
+
glfwSetWindowTitle(RSTRING_PTR(arg1));
|
148
150
|
return Qnil;
|
149
151
|
}
|
150
152
|
|
@@ -347,7 +349,10 @@ static VALUE glfw_WaitEvents(VALUE obj)
|
|
347
349
|
static VALUE glfw_GetKey(VALUE obj,VALUE arg1)
|
348
350
|
{
|
349
351
|
int ret;
|
350
|
-
|
352
|
+
if (TYPE(arg1)==T_STRING)
|
353
|
+
ret = glfwGetKey(RSTRING_PTR(arg1)[0]);
|
354
|
+
else
|
355
|
+
ret = glfwGetKey(NUM2INT(arg1));
|
351
356
|
return INT2NUM(ret);
|
352
357
|
}
|
353
358
|
|
@@ -474,7 +479,15 @@ static VALUE glfw_GetJoystickButtons(VALUE obj,VALUE arg1)
|
|
474
479
|
static VALUE Key_cb_ruby_func = Qnil;
|
475
480
|
void GLFWCALL Key_cb(int key, int action)
|
476
481
|
{
|
482
|
+
#if RUBY_VERSION <190
|
477
483
|
rb_funcall(Key_cb_ruby_func,call_id,2,INT2NUM(key),INT2NUM(action));
|
484
|
+
#else
|
485
|
+
if (key>=0 && key<256) {
|
486
|
+
rb_funcall(Key_cb_ruby_func,call_id,2,rb_funcall(INT2NUM(key),rb_intern("chr"),0),INT2NUM(action));
|
487
|
+
} else {
|
488
|
+
rb_funcall(Key_cb_ruby_func,call_id,2,INT2NUM(key),INT2NUM(action));
|
489
|
+
}
|
490
|
+
#endif
|
478
491
|
}
|
479
492
|
GLFW_SET_CALLBACK_FUNC(Key)
|
480
493
|
|
@@ -623,7 +636,7 @@ VALUE obj,arg1,arg2;
|
|
623
636
|
|
624
637
|
Check_Type(arg1,T_STRING);
|
625
638
|
img = ALLOC(GLFWimage);
|
626
|
-
ret = glfwReadImage(
|
639
|
+
ret = glfwReadImage(RSTRING_PTR(arg1),img,NUM2INT(arg2));
|
627
640
|
if (ret==GL_FALSE) {
|
628
641
|
xfree(img);
|
629
642
|
return Qnil;
|
@@ -645,7 +658,7 @@ VALUE obj,arg1,arg2;
|
|
645
658
|
|
646
659
|
Check_Type(arg1,T_STRING);
|
647
660
|
img = ALLOC(GLFWimage);
|
648
|
-
ret = glfwReadMemoryImage(
|
661
|
+
ret = glfwReadMemoryImage(RSTRING_PTR(arg1),RSTRING_LEN(arg1),img,NUM2INT(arg2));
|
649
662
|
if (ret==GL_FALSE) {
|
650
663
|
xfree(img);
|
651
664
|
return Qnil;
|
@@ -678,7 +691,7 @@ VALUE obj,arg1,arg2;
|
|
678
691
|
{
|
679
692
|
int ret;
|
680
693
|
Check_Type(arg1,T_STRING);
|
681
|
-
ret = glfwLoadTexture2D(
|
694
|
+
ret = glfwLoadTexture2D(RSTRING_PTR(arg1),NUM2INT(arg2));
|
682
695
|
return GL_BOOL_TO_RUBY_BOOL(ret);
|
683
696
|
}
|
684
697
|
|
@@ -693,7 +706,7 @@ VALUE obj,arg1,arg2;
|
|
693
706
|
{
|
694
707
|
int ret;
|
695
708
|
Check_Type(arg1,T_STRING);
|
696
|
-
ret = glfwLoadMemoryTexture2D(
|
709
|
+
ret = glfwLoadMemoryTexture2D(RSTRING_PTR(arg1),RSTRING_LEN(arg1),NUM2INT(arg2));
|
697
710
|
return GL_BOOL_TO_RUBY_BOOL(ret);
|
698
711
|
}
|
699
712
|
|
@@ -725,7 +738,7 @@ static VALUE glfw_ExtensionSupported(VALUE obj,VALUE arg1)
|
|
725
738
|
{
|
726
739
|
int ret;
|
727
740
|
Check_Type(arg1,T_STRING);
|
728
|
-
ret = glfwExtensionSupported(
|
741
|
+
ret = glfwExtensionSupported(RSTRING_PTR(arg1));
|
729
742
|
return GL_BOOL_TO_RUBY_BOOL(ret);
|
730
743
|
}
|
731
744
|
|
@@ -892,6 +905,8 @@ DLLEXPORT void Init_glfw()
|
|
892
905
|
rb_gc_register_address(&MousePos_cb_ruby_func);
|
893
906
|
rb_gc_register_address(&MouseWheel_cb_ruby_func);
|
894
907
|
|
908
|
+
rb_global_variable(&window_title);
|
909
|
+
|
895
910
|
/* functions */
|
896
911
|
rb_define_module_function(module,"glfwInit", glfw_Init, 0);
|
897
912
|
rb_define_module_function(module,"glfwTerminate", glfw_Terminate, 0);
|
@@ -951,13 +966,16 @@ DLLEXPORT void Init_glfw()
|
|
951
966
|
rb_define_module_function(module,"glfwGetNumberOfProcessors", glfw_GetNumberOfProcessors, 0);
|
952
967
|
|
953
968
|
/* constants */
|
969
|
+
|
970
|
+
/* for compatibility between ruby versuins - 1.8 => 32 , 1.9 => " " */
|
971
|
+
rb_define_const(module, "GLFW_KEY_SPACE", rb_eval_string("?\\s"));
|
972
|
+
|
954
973
|
rb_define_const(module, "GLFW_VERSION_MAJOR", INT2NUM(GLFW_VERSION_MAJOR));
|
955
974
|
rb_define_const(module, "GLFW_VERSION_MINOR", INT2NUM(GLFW_VERSION_MINOR));
|
956
975
|
rb_define_const(module, "GLFW_VERSION_REVISION", INT2NUM(GLFW_VERSION_REVISION));
|
957
976
|
rb_define_const(module, "GLFW_RELEASE", INT2NUM(GLFW_RELEASE));
|
958
977
|
rb_define_const(module, "GLFW_PRESS", INT2NUM(GLFW_PRESS));
|
959
978
|
rb_define_const(module, "GLFW_KEY_UNKNOWN", INT2NUM(GLFW_KEY_UNKNOWN));
|
960
|
-
rb_define_const(module, "GLFW_KEY_SPACE", INT2NUM(GLFW_KEY_SPACE));
|
961
979
|
rb_define_const(module, "GLFW_KEY_SPECIAL", INT2NUM(GLFW_KEY_SPECIAL));
|
962
980
|
rb_define_const(module, "GLFW_KEY_ESC", INT2NUM(GLFW_KEY_ESC));
|
963
981
|
rb_define_const(module, "GLFW_KEY_F1", INT2NUM(GLFW_KEY_F1));
|
@@ -1090,5 +1108,5 @@ DLLEXPORT void Init_glfw()
|
|
1090
1108
|
rb_define_const(module, "GLFW_INFINITY", INT2NUM(GLFW_INFINITY));
|
1091
1109
|
|
1092
1110
|
/* calls Glfw.glfwTerminate() at ruby exit */
|
1093
|
-
|
1111
|
+
rb_set_end_proc((void *)glfw_Terminate,Qnil);
|
1094
1112
|
}
|
data/ext/glfw/mkrf_conf.rb
CHANGED
@@ -48,23 +48,25 @@ def parse_libglfwpcin(path)
|
|
48
48
|
[cflags,libs]
|
49
49
|
end
|
50
50
|
|
51
|
+
RUBYVER = " -DRUBY_VERSION=" + RUBY_VERSION.split(".").join
|
52
|
+
|
51
53
|
Mkrf::Generator.new( 'glfw' ) do |g|
|
52
54
|
case RUBY_PLATFORM
|
53
55
|
when /darwin/
|
54
56
|
cf,lib = parse_libglfwpcin($glfw_dir_lib + "/macosx/libglfw.pc.in")
|
55
57
|
g.objects << $glfw_dir_lib + "/macosx/libglfw.a"
|
56
|
-
g.cflags << ' -Wall -I' + $glfw_dir_inc + ' ' + cf
|
58
|
+
g.cflags << ' -Wall -I' + $glfw_dir_inc + ' ' + cf << RUBYVER
|
57
59
|
g.ldshared << ' -L' + $glfw_dir_lib + '/macosx/ ' + lib
|
58
60
|
when /mswin32/
|
59
61
|
g.objects << $glfw_dir_lib + "/win32/glfw.lib"
|
60
|
-
g.cflags << ' -DWIN32 -I' + $glfw_dir_inc + ' '
|
62
|
+
g.cflags << ' -DWIN32 -I' + $glfw_dir_inc + ' ' << RUBYVER
|
61
63
|
g.ldshared << ' /NODEFAULTLIB:LIBC '
|
62
64
|
g.include_library( 'glu32.lib', '')
|
63
65
|
g.include_library( 'opengl32.lib', '')
|
64
66
|
else # general posix-x11
|
65
67
|
cf,lib = parse_libglfwpcin($glfw_dir_lib + "/x11/libglfw.pc.in")
|
66
68
|
g.objects << $glfw_dir_lib + "/x11/libglfw.a"
|
67
|
-
g.cflags << ' -Wall -I' + $glfw_dir_inc + ' ' + cf
|
69
|
+
g.cflags << ' -Wall -I' + $glfw_dir_inc + ' ' + cf << RUBYVER
|
68
70
|
g.ldshared << ' -L' + $glfw_dir_lib + '/x11/ ' + lib
|
69
71
|
end
|
70
72
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -112,67 +112,67 @@ libglfw.so: $(SHARED_OBJS)
|
|
112
112
|
# Rules for building static library object files
|
113
113
|
##########################################################################
|
114
114
|
enable.o: ../enable.c ../internal.h platform.h
|
115
|
-
$(CC) $(CFLAGS) -o $@ ../enable.c
|
115
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../enable.c
|
116
116
|
|
117
117
|
fullscreen.o: ../fullscreen.c ../internal.h platform.h
|
118
|
-
$(CC) $(CFLAGS) -o $@ ../fullscreen.c
|
118
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../fullscreen.c
|
119
119
|
|
120
120
|
glext.o: ../glext.c ../internal.h platform.h
|
121
|
-
$(CC) $(CFLAGS) -o $@ ../glext.c
|
121
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../glext.c
|
122
122
|
|
123
123
|
image.o: ../image.c ../internal.h platform.h
|
124
|
-
$(CC) $(CFLAGS_SPEED) -o $@ ../image.c
|
124
|
+
$(CC) -fPIC $(CFLAGS_SPEED) -o $@ ../image.c
|
125
125
|
|
126
126
|
init.o: ../init.c ../internal.h platform.h
|
127
|
-
$(CC) $(CFLAGS) -o $@ ../init.c
|
127
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../init.c
|
128
128
|
|
129
129
|
input.o: ../input.c ../internal.h platform.h
|
130
|
-
$(CC) $(CFLAGS) -o $@ ../input.c
|
130
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../input.c
|
131
131
|
|
132
132
|
joystick.o: ../joystick.c ../internal.h platform.h
|
133
|
-
$(CC) $(CFLAGS) -o $@ ../joystick.c
|
133
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../joystick.c
|
134
134
|
|
135
135
|
stream.o: ../stream.c ../internal.h platform.h
|
136
|
-
$(CC) $(CFLAGS) -o $@ ../stream.c
|
136
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../stream.c
|
137
137
|
|
138
138
|
tga.o: ../tga.c ../internal.h platform.h
|
139
|
-
$(CC) $(CFLAGS_SPEED) -o $@ ../tga.c
|
139
|
+
$(CC) -fPIC $(CFLAGS_SPEED) -o $@ ../tga.c
|
140
140
|
|
141
141
|
thread.o: ../thread.c ../internal.h platform.h
|
142
|
-
$(CC) $(CFLAGS) -o $@ ../thread.c
|
142
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../thread.c
|
143
143
|
|
144
144
|
time.o: ../time.c ../internal.h platform.h
|
145
|
-
$(CC) $(CFLAGS) -o $@ ../time.c
|
145
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../time.c
|
146
146
|
|
147
147
|
window.o: ../window.c ../internal.h platform.h
|
148
|
-
$(CC) $(CFLAGS) -o $@ ../window.c
|
148
|
+
$(CC) -fPIC $(CFLAGS) -o $@ ../window.c
|
149
149
|
|
150
150
|
x11_enable.o: x11_enable.c ../internal.h platform.h
|
151
|
-
$(CC) $(CFLAGS) -o $@ x11_enable.c
|
151
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_enable.c
|
152
152
|
|
153
153
|
x11_fullscreen.o: x11_fullscreen.c ../internal.h platform.h
|
154
|
-
$(CC) $(CFLAGS) -o $@ x11_fullscreen.c
|
154
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_fullscreen.c
|
155
155
|
|
156
156
|
x11_glext.o: x11_glext.c ../internal.h platform.h
|
157
|
-
$(CC) $(CFLAGS) -o $@ x11_glext.c
|
157
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_glext.c
|
158
158
|
|
159
159
|
x11_init.o: x11_init.c ../internal.h platform.h
|
160
|
-
$(CC) $(CFLAGS) -o $@ x11_init.c
|
160
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_init.c
|
161
161
|
|
162
162
|
x11_joystick.o: x11_joystick.c ../internal.h platform.h
|
163
|
-
$(CC) $(CFLAGS) -o $@ x11_joystick.c
|
163
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_joystick.c
|
164
164
|
|
165
165
|
x11_thread.o: x11_thread.c ../internal.h platform.h
|
166
|
-
$(CC) $(CFLAGS) -o $@ x11_thread.c
|
166
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_thread.c
|
167
167
|
|
168
168
|
x11_time.o: x11_time.c ../internal.h platform.h
|
169
|
-
$(CC) $(CFLAGS) -o $@ x11_time.c
|
169
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_time.c
|
170
170
|
|
171
171
|
x11_window.o: x11_window.c ../internal.h platform.h
|
172
|
-
$(CC) $(CFLAGS) -o $@ x11_window.c
|
172
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_window.c
|
173
173
|
|
174
174
|
x11_keysym2unicode.o: x11_keysym2unicode.c ../internal.h platform.h
|
175
|
-
$(CC) $(CFLAGS) -o $@ x11_keysym2unicode.c
|
175
|
+
$(CC) -fPIC $(CFLAGS) -o $@ x11_keysym2unicode.c
|
176
176
|
|
177
177
|
|
178
178
|
##########################################################################
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.4
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-glfw
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
7
|
-
date:
|
6
|
+
version: 0.9.1
|
7
|
+
date: 2008-01-08 00:00:00 +01:00
|
8
8
|
summary: GLFW library bindings for Ruby
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -30,236 +30,252 @@ authors:
|
|
30
30
|
- Jan Dvorak
|
31
31
|
files:
|
32
32
|
- ext/glfw
|
33
|
-
- ext/glfw/mkrf_conf.rb
|
34
33
|
- ext/glfw/glfw.c
|
34
|
+
- ext/glfw/mkrf_conf.rb
|
35
|
+
- examples/boing.rb
|
36
|
+
- examples/gears.rb
|
37
|
+
- examples/keytest.rb
|
38
|
+
- examples/listmodes.rb
|
39
|
+
- examples/mipmaps.rb
|
35
40
|
- examples/mipmaps.tga
|
36
|
-
- examples/
|
37
|
-
- examples/pong3d_winner1.tga
|
38
|
-
- examples/splitview.rb
|
41
|
+
- examples/particles.rb
|
39
42
|
- examples/pong3d.rb
|
40
|
-
- examples/listmodes.rb
|
41
43
|
- examples/pong3d_field.tga
|
42
|
-
- examples/
|
44
|
+
- examples/pong3d_instr.tga
|
43
45
|
- examples/pong3d_menu.tga
|
46
|
+
- examples/pong3d_title.tga
|
47
|
+
- examples/pong3d_winner1.tga
|
48
|
+
- examples/pong3d_winner2.tga
|
49
|
+
- examples/splitview.rb
|
44
50
|
- examples/triangle.rb
|
45
|
-
- examples/particles.rb
|
46
|
-
- examples/keytest.rb
|
47
|
-
- examples/boing.rb
|
48
|
-
- examples/pong3d_instr.tga
|
49
51
|
- examples/wave.rb
|
50
|
-
- examples/pong3d_winner2.tga
|
51
|
-
- examples/mipmaps.rb
|
52
|
-
- glfw-src/Makefile
|
53
|
-
- glfw-src/include
|
54
|
-
- glfw-src/include/GL
|
55
|
-
- glfw-src/include/GL/glfw.h
|
56
52
|
- glfw-src/compile.ami
|
53
|
+
- glfw-src/compile.bat
|
57
54
|
- glfw-src/compile.sh
|
58
|
-
- glfw-src/readme.html
|
59
55
|
- glfw-src/docs
|
60
|
-
- glfw-src/docs/Makefile
|
61
56
|
- glfw-src/docs/cleanup.bat
|
62
57
|
- glfw-src/docs/glfwdoc.sty
|
58
|
+
- glfw-src/docs/glfwrm.tex
|
63
59
|
- glfw-src/docs/glfwug.tex
|
64
|
-
- glfw-src/docs/
|
60
|
+
- glfw-src/docs/Makefile
|
65
61
|
- glfw-src/docs/readme.txt
|
66
62
|
- glfw-src/docs/Reference.pdf
|
67
|
-
- glfw-src/docs/
|
63
|
+
- glfw-src/docs/UsersGuide.pdf
|
64
|
+
- glfw-src/examples
|
65
|
+
- glfw-src/examples/boing.c
|
66
|
+
- glfw-src/examples/boing.exe
|
67
|
+
- glfw-src/examples/bundle.sh
|
68
|
+
- glfw-src/examples/gears.c
|
69
|
+
- glfw-src/examples/gears.exe
|
70
|
+
- glfw-src/examples/keytest.c
|
71
|
+
- glfw-src/examples/keytest.exe
|
72
|
+
- glfw-src/examples/listmodes.c
|
73
|
+
- glfw-src/examples/listmodes.exe
|
74
|
+
- glfw-src/examples/Makefile.amigaos.gcc
|
75
|
+
- glfw-src/examples/Makefile.amigaos.vbcc
|
76
|
+
- glfw-src/examples/Makefile.dos.djgpp
|
77
|
+
- glfw-src/examples/Makefile.macosx.gcc
|
78
|
+
- glfw-src/examples/Makefile.win32.bcc
|
79
|
+
- glfw-src/examples/Makefile.win32.cross-mgw
|
80
|
+
- glfw-src/examples/Makefile.win32.cygwin
|
81
|
+
- glfw-src/examples/Makefile.win32.lcc
|
82
|
+
- glfw-src/examples/Makefile.win32.mgw
|
83
|
+
- glfw-src/examples/Makefile.win32.msvc
|
84
|
+
- glfw-src/examples/Makefile.win32.ow
|
85
|
+
- glfw-src/examples/Makefile.win32.pellesc
|
86
|
+
- glfw-src/examples/Makefile.x11.in
|
87
|
+
- glfw-src/examples/mipmaps.c
|
88
|
+
- glfw-src/examples/mipmaps.exe
|
89
|
+
- glfw-src/examples/mipmaps.tga
|
90
|
+
- glfw-src/examples/mtbench.c
|
91
|
+
- glfw-src/examples/mtbench.exe
|
92
|
+
- glfw-src/examples/mthello.c
|
93
|
+
- glfw-src/examples/mthello.exe
|
94
|
+
- glfw-src/examples/particles.c
|
95
|
+
- glfw-src/examples/particles.exe
|
96
|
+
- glfw-src/examples/pong3d.c
|
97
|
+
- glfw-src/examples/pong3d.exe
|
98
|
+
- glfw-src/examples/pong3d_field.tga
|
99
|
+
- glfw-src/examples/pong3d_instr.tga
|
100
|
+
- glfw-src/examples/pong3d_menu.tga
|
101
|
+
- glfw-src/examples/pong3d_title.tga
|
102
|
+
- glfw-src/examples/pong3d_winner1.tga
|
103
|
+
- glfw-src/examples/pong3d_winner2.tga
|
104
|
+
- glfw-src/examples/splitview.c
|
105
|
+
- glfw-src/examples/splitview.exe
|
106
|
+
- glfw-src/examples/triangle.c
|
107
|
+
- glfw-src/examples/triangle.exe
|
108
|
+
- glfw-src/examples/wave.c
|
109
|
+
- glfw-src/examples/wave.exe
|
110
|
+
- glfw-src/images
|
111
|
+
- glfw-src/images/opengl.gif
|
112
|
+
- glfw-src/images/osicert.gif
|
113
|
+
- glfw-src/include
|
114
|
+
- glfw-src/include/GL
|
115
|
+
- glfw-src/include/GL/glfw.h
|
68
116
|
- glfw-src/lib
|
117
|
+
- glfw-src/lib/amigaos
|
118
|
+
- glfw-src/lib/amigaos/amigaos_enable.c
|
119
|
+
- glfw-src/lib/amigaos/amigaos_fullscreen.c
|
120
|
+
- glfw-src/lib/amigaos/amigaos_glext.c
|
121
|
+
- glfw-src/lib/amigaos/amigaos_init.c
|
122
|
+
- glfw-src/lib/amigaos/amigaos_joystick.c
|
123
|
+
- glfw-src/lib/amigaos/amigaos_thread.c
|
124
|
+
- glfw-src/lib/amigaos/amigaos_time.c
|
125
|
+
- glfw-src/lib/amigaos/amigaos_window.c
|
126
|
+
- glfw-src/lib/amigaos/Makefile.amigaos.gcc
|
127
|
+
- glfw-src/lib/amigaos/Makefile.amigaos.vbcc
|
128
|
+
- glfw-src/lib/amigaos/platform.h
|
129
|
+
- glfw-src/lib/amigaos/SDI_compiler.h
|
130
|
+
- glfw-src/lib/dos
|
131
|
+
- glfw-src/lib/dos/dos_enable.c
|
132
|
+
- glfw-src/lib/dos/dos_events.c
|
133
|
+
- glfw-src/lib/dos/dos_fullscreen.c
|
134
|
+
- glfw-src/lib/dos/dos_glext.c
|
135
|
+
- glfw-src/lib/dos/dos_init.c
|
136
|
+
- glfw-src/lib/dos/dos_irq.s
|
137
|
+
- glfw-src/lib/dos/dos_joystick.c
|
138
|
+
- glfw-src/lib/dos/dos_keyboard.c
|
139
|
+
- glfw-src/lib/dos/dos_mouse.c
|
140
|
+
- glfw-src/lib/dos/dos_thread.c
|
141
|
+
- glfw-src/lib/dos/dos_time.c
|
142
|
+
- glfw-src/lib/dos/dos_window.c
|
143
|
+
- glfw-src/lib/dos/Makefile.dos.djgpp
|
144
|
+
- glfw-src/lib/dos/platform.h
|
145
|
+
- glfw-src/lib/enable.c
|
146
|
+
- glfw-src/lib/fullscreen.c
|
69
147
|
- glfw-src/lib/glext.c
|
70
|
-
- glfw-src/lib/
|
71
|
-
- glfw-src/lib/
|
148
|
+
- glfw-src/lib/image.c
|
149
|
+
- glfw-src/lib/init.c
|
150
|
+
- glfw-src/lib/input.c
|
72
151
|
- glfw-src/lib/internal.h
|
152
|
+
- glfw-src/lib/joystick.c
|
73
153
|
- glfw-src/lib/macosx
|
74
|
-
- glfw-src/lib/macosx/
|
154
|
+
- glfw-src/lib/macosx/libglfw.pc.in
|
155
|
+
- glfw-src/lib/macosx/macosx_enable.c
|
156
|
+
- glfw-src/lib/macosx/macosx_fullscreen.c
|
157
|
+
- glfw-src/lib/macosx/macosx_glext.c
|
158
|
+
- glfw-src/lib/macosx/macosx_init.c
|
159
|
+
- glfw-src/lib/macosx/macosx_joystick.c
|
75
160
|
- glfw-src/lib/macosx/macosx_thread.c
|
161
|
+
- glfw-src/lib/macosx/macosx_time.c
|
76
162
|
- glfw-src/lib/macosx/macosx_window.c
|
77
163
|
- glfw-src/lib/macosx/Makefile.macosx.gcc
|
78
164
|
- glfw-src/lib/macosx/Makefile.macosx.gcc.universal
|
79
|
-
- glfw-src/lib/macosx/macosx_init.c
|
80
165
|
- glfw-src/lib/macosx/platform.h
|
81
|
-
- glfw-src/lib/
|
82
|
-
- glfw-src/lib/
|
83
|
-
- glfw-src/lib/
|
84
|
-
- glfw-src/lib/
|
85
|
-
- glfw-src/lib/macosx/macosx_fullscreen.c
|
86
|
-
- glfw-src/lib/joystick.c
|
87
|
-
- glfw-src/lib/x11
|
88
|
-
- glfw-src/lib/x11/x11_enable.c
|
89
|
-
- glfw-src/lib/x11/x11_keysym2unicode.c
|
90
|
-
- glfw-src/lib/x11/x11_thread.c
|
91
|
-
- glfw-src/lib/x11/Makefile.x11.in
|
92
|
-
- glfw-src/lib/x11/x11_glext.c
|
93
|
-
- glfw-src/lib/x11/x11_joystick.c
|
94
|
-
- glfw-src/lib/x11/x11_time.c
|
95
|
-
- glfw-src/lib/x11/platform.h
|
96
|
-
- glfw-src/lib/x11/x11_init.c
|
97
|
-
- glfw-src/lib/x11/x11_fullscreen.c
|
98
|
-
- glfw-src/lib/x11/x11_window.c
|
99
|
-
- glfw-src/lib/enable.c
|
100
|
-
- glfw-src/lib/init.c
|
101
|
-
- glfw-src/lib/input.c
|
166
|
+
- glfw-src/lib/stream.c
|
167
|
+
- glfw-src/lib/tga.c
|
168
|
+
- glfw-src/lib/thread.c
|
169
|
+
- glfw-src/lib/time.c
|
102
170
|
- glfw-src/lib/win32
|
103
|
-
- glfw-src/lib/win32/
|
104
|
-
- glfw-src/lib/win32/
|
105
|
-
- glfw-src/lib/win32/
|
106
|
-
- glfw-src/lib/win32/
|
171
|
+
- glfw-src/lib/win32/glfw.dll
|
172
|
+
- glfw-src/lib/win32/glfw.lib
|
173
|
+
- glfw-src/lib/win32/glfwdll.def
|
174
|
+
- glfw-src/lib/win32/glfwdll.exp
|
175
|
+
- glfw-src/lib/win32/glfwdll.lib
|
176
|
+
- glfw-src/lib/win32/glfwdll_mgw1.def
|
107
177
|
- glfw-src/lib/win32/glfwdll_mgw2.def
|
108
|
-
- glfw-src/lib/win32/Makefile.win32.pellesc
|
109
178
|
- glfw-src/lib/win32/glfwdll_pellesc.def
|
110
|
-
- glfw-src/lib/win32/
|
111
|
-
- glfw-src/lib/win32/
|
112
|
-
- glfw-src/lib/win32/
|
113
|
-
- glfw-src/lib/win32/Makefile.win32.ow
|
114
|
-
- glfw-src/lib/win32/win32_thread.c
|
115
|
-
- glfw-src/lib/win32/Makefile.win32.lcc
|
116
|
-
- glfw-src/lib/win32/glfwdll_mgw1.def
|
117
|
-
- glfw-src/lib/win32/glfwdll.def
|
179
|
+
- glfw-src/lib/win32/libglfw.pc.in
|
180
|
+
- glfw-src/lib/win32/Makefile.win32.bcc
|
181
|
+
- glfw-src/lib/win32/Makefile.win32.cross-mgw
|
118
182
|
- glfw-src/lib/win32/Makefile.win32.cygwin
|
183
|
+
- glfw-src/lib/win32/Makefile.win32.lcc
|
119
184
|
- glfw-src/lib/win32/Makefile.win32.mgw
|
120
185
|
- glfw-src/lib/win32/Makefile.win32.msvc
|
121
|
-
- glfw-src/lib/win32/
|
122
|
-
- glfw-src/lib/win32/
|
123
|
-
- glfw-src/lib/win32/
|
186
|
+
- glfw-src/lib/win32/Makefile.win32.ow
|
187
|
+
- glfw-src/lib/win32/Makefile.win32.pellesc
|
188
|
+
- glfw-src/lib/win32/platform.h
|
189
|
+
- glfw-src/lib/win32/win32_dllmain.c
|
190
|
+
- glfw-src/lib/win32/win32_enable.c
|
191
|
+
- glfw-src/lib/win32/win32_fullscreen.c
|
124
192
|
- glfw-src/lib/win32/win32_glext.c
|
125
|
-
- glfw-src/lib/win32/
|
193
|
+
- glfw-src/lib/win32/win32_init.c
|
194
|
+
- glfw-src/lib/win32/win32_joystick.c
|
195
|
+
- glfw-src/lib/win32/win32_thread.c
|
196
|
+
- glfw-src/lib/win32/win32_time.c
|
197
|
+
- glfw-src/lib/win32/win32_window.c
|
126
198
|
- glfw-src/lib/window.c
|
127
|
-
- glfw-src/lib/
|
128
|
-
- glfw-src/lib/
|
129
|
-
- glfw-src/lib/
|
130
|
-
- glfw-src/lib/
|
131
|
-
- glfw-src/lib/
|
132
|
-
- glfw-src/lib/
|
133
|
-
- glfw-src/lib/
|
134
|
-
- glfw-src/lib/
|
135
|
-
- glfw-src/lib/
|
136
|
-
- glfw-src/lib/
|
137
|
-
- glfw-src/lib/
|
138
|
-
- glfw-src/lib/
|
139
|
-
- glfw-src/
|
140
|
-
- glfw-src/
|
141
|
-
- glfw-src/
|
142
|
-
- glfw-src/lib/dos/dos_joystick.c
|
143
|
-
- glfw-src/lib/stream.c
|
144
|
-
- glfw-src/lib/image.c
|
145
|
-
- glfw-src/lib/fullscreen.c
|
146
|
-
- glfw-src/lib/amigaos
|
147
|
-
- glfw-src/lib/amigaos/amigaos_window.c
|
148
|
-
- glfw-src/lib/amigaos/amigaos_enable.c
|
149
|
-
- glfw-src/lib/amigaos/platform.h
|
150
|
-
- glfw-src/lib/amigaos/amigaos_init.c
|
151
|
-
- glfw-src/lib/amigaos/amigaos_time.c
|
152
|
-
- glfw-src/lib/amigaos/amigaos_thread.c
|
153
|
-
- glfw-src/lib/amigaos/Makefile.amigaos.gcc
|
154
|
-
- glfw-src/lib/amigaos/Makefile.amigaos.vbcc
|
155
|
-
- glfw-src/lib/amigaos/amigaos_glext.c
|
156
|
-
- glfw-src/lib/amigaos/amigaos_joystick.c
|
157
|
-
- glfw-src/lib/amigaos/amigaos_fullscreen.c
|
158
|
-
- glfw-src/lib/amigaos/SDI_compiler.h
|
159
|
-
- glfw-src/examples
|
160
|
-
- glfw-src/examples/mipmaps.tga
|
161
|
-
- glfw-src/examples/pong3d.c
|
162
|
-
- glfw-src/examples/pong3d_title.tga
|
163
|
-
- glfw-src/examples/listmodes.c
|
164
|
-
- glfw-src/examples/Makefile.dos.djgpp
|
165
|
-
- glfw-src/examples/pong3d_winner1.tga
|
166
|
-
- glfw-src/examples/wave.c
|
167
|
-
- glfw-src/examples/Makefile.x11.in
|
168
|
-
- glfw-src/examples/splitview.c
|
169
|
-
- glfw-src/examples/mthello.c
|
170
|
-
- glfw-src/examples/Makefile.win32.cross-mgw
|
171
|
-
- glfw-src/examples/bundle.sh
|
172
|
-
- glfw-src/examples/pong3d_field.tga
|
173
|
-
- glfw-src/examples/Makefile.win32.pellesc
|
174
|
-
- glfw-src/examples/Makefile.macosx.gcc
|
175
|
-
- glfw-src/examples/mtbench.c
|
176
|
-
- glfw-src/examples/Makefile.win32.ow
|
177
|
-
- glfw-src/examples/pong3d_menu.tga
|
178
|
-
- glfw-src/examples/Makefile.win32.lcc
|
179
|
-
- glfw-src/examples/gears.c
|
180
|
-
- glfw-src/examples/boing.c
|
181
|
-
- glfw-src/examples/Makefile.amigaos.gcc
|
182
|
-
- glfw-src/examples/mipmaps.c
|
183
|
-
- glfw-src/examples/triangle.c
|
184
|
-
- glfw-src/examples/Makefile.win32.cygwin
|
185
|
-
- glfw-src/examples/Makefile.win32.mgw
|
186
|
-
- glfw-src/examples/Makefile.amigaos.vbcc
|
187
|
-
- glfw-src/examples/Makefile.win32.msvc
|
188
|
-
- glfw-src/examples/pong3d_instr.tga
|
189
|
-
- glfw-src/examples/particles.c
|
190
|
-
- glfw-src/examples/keytest.c
|
191
|
-
- glfw-src/examples/pong3d_winner2.tga
|
192
|
-
- glfw-src/examples/Makefile.win32.bcc
|
199
|
+
- glfw-src/lib/x11
|
200
|
+
- glfw-src/lib/x11/Makefile.x11.in
|
201
|
+
- glfw-src/lib/x11/platform.h
|
202
|
+
- glfw-src/lib/x11/x11_enable.c
|
203
|
+
- glfw-src/lib/x11/x11_fullscreen.c
|
204
|
+
- glfw-src/lib/x11/x11_glext.c
|
205
|
+
- glfw-src/lib/x11/x11_init.c
|
206
|
+
- glfw-src/lib/x11/x11_joystick.c
|
207
|
+
- glfw-src/lib/x11/x11_keysym2unicode.c
|
208
|
+
- glfw-src/lib/x11/x11_thread.c
|
209
|
+
- glfw-src/lib/x11/x11_time.c
|
210
|
+
- glfw-src/lib/x11/x11_window.c
|
211
|
+
- glfw-src/license.txt
|
212
|
+
- glfw-src/Makefile
|
213
|
+
- glfw-src/readme.html
|
193
214
|
- glfw-src/support
|
194
|
-
- glfw-src/support/visualbasic
|
195
|
-
- glfw-src/support/visualbasic/readme.html
|
196
|
-
- glfw-src/support/visualbasic/examples
|
197
|
-
- glfw-src/support/visualbasic/examples/Triangle.bas
|
198
|
-
- glfw-src/support/visualbasic/bindings
|
199
|
-
- glfw-src/support/visualbasic/bindings/opengl32.bas
|
200
|
-
- glfw-src/support/visualbasic/bindings/glu32.bas
|
201
|
-
- glfw-src/support/visualbasic/bindings/glfw.bas
|
202
|
-
- glfw-src/support/masm
|
203
|
-
- glfw-src/support/masm/include
|
204
|
-
- glfw-src/support/masm/include/opengl32.inc
|
205
|
-
- glfw-src/support/masm/include/glfw.inc
|
206
|
-
- glfw-src/support/masm/include/glu32.inc
|
207
|
-
- glfw-src/support/masm/readme.html
|
208
|
-
- glfw-src/support/masm/lib
|
209
|
-
- glfw-src/support/masm/lib/glfwdll.lib
|
210
|
-
- glfw-src/support/masm/examples
|
211
|
-
- glfw-src/support/masm/examples/fpc.mac
|
212
|
-
- glfw-src/support/masm/examples/triangle.asm
|
213
|
-
- glfw-src/support/masm/examples/makeit.bat
|
214
215
|
- glfw-src/support/d
|
215
|
-
- glfw-src/support/d/readme.html
|
216
|
-
- glfw-src/support/d/lib
|
217
|
-
- glfw-src/support/d/lib/glu32.def
|
218
|
-
- glfw-src/support/d/lib/opengl32.def
|
219
|
-
- glfw-src/support/d/lib/glfwdll.def
|
220
|
-
- glfw-src/support/d/lib/makefile
|
221
|
-
- glfw-src/support/d/imports
|
222
|
-
- glfw-src/support/d/imports/glfw.d
|
223
|
-
- glfw-src/support/d/imports/glu.d
|
224
|
-
- glfw-src/support/d/imports/gl.d
|
225
216
|
- glfw-src/support/d/examples
|
226
|
-
- glfw-src/support/d/examples/
|
217
|
+
- glfw-src/support/d/examples/boing.d
|
218
|
+
- glfw-src/support/d/examples/gears.d
|
227
219
|
- glfw-src/support/d/examples/keytest.d
|
228
|
-
- glfw-src/support/d/examples/
|
229
|
-
- glfw-src/support/d/examples/
|
220
|
+
- glfw-src/support/d/examples/listmodes.d
|
221
|
+
- glfw-src/support/d/examples/Makefile
|
222
|
+
- glfw-src/support/d/examples/mipmaps.d
|
230
223
|
- glfw-src/support/d/examples/mtbench.d
|
231
|
-
- glfw-src/support/d/examples/boing.d
|
232
|
-
- glfw-src/support/d/examples/pong3d.d
|
233
224
|
- glfw-src/support/d/examples/mthello.d
|
234
|
-
- glfw-src/support/d/examples/
|
225
|
+
- glfw-src/support/d/examples/particles.d
|
226
|
+
- glfw-src/support/d/examples/pong3d.d
|
235
227
|
- glfw-src/support/d/examples/splitview.d
|
236
|
-
- glfw-src/support/d/examples/
|
228
|
+
- glfw-src/support/d/examples/triangle.d
|
237
229
|
- glfw-src/support/d/examples/wave.d
|
238
|
-
- glfw-src/support/d/
|
239
|
-
- glfw-src/support/
|
240
|
-
- glfw-src/support/
|
241
|
-
- glfw-src/support/
|
242
|
-
- glfw-src/support/
|
230
|
+
- glfw-src/support/d/imports
|
231
|
+
- glfw-src/support/d/imports/gl.d
|
232
|
+
- glfw-src/support/d/imports/glfw.d
|
233
|
+
- glfw-src/support/d/imports/glu.d
|
234
|
+
- glfw-src/support/d/lib
|
235
|
+
- glfw-src/support/d/lib/glfwdll.def
|
236
|
+
- glfw-src/support/d/lib/glu32.def
|
237
|
+
- glfw-src/support/d/lib/makefile
|
238
|
+
- glfw-src/support/d/lib/opengl32.def
|
239
|
+
- glfw-src/support/d/readme.html
|
240
|
+
- glfw-src/support/delphi
|
241
|
+
- glfw-src/support/delphi/examples
|
242
|
+
- glfw-src/support/delphi/examples/Triangle.dpr
|
243
|
+
- glfw-src/support/delphi/lib
|
244
|
+
- glfw-src/support/delphi/lib/glfw.pas
|
245
|
+
- glfw-src/support/delphi/readme.html
|
243
246
|
- glfw-src/support/lua
|
244
|
-
- glfw-src/support/lua/src
|
245
|
-
- glfw-src/support/lua/src/luaglfw.h
|
246
|
-
- glfw-src/support/lua/src/runlua.c
|
247
|
-
- glfw-src/support/lua/src/luaglfw.c
|
248
|
-
- glfw-src/support/lua/readme.html
|
249
247
|
- glfw-src/support/lua/examples
|
250
248
|
- glfw-src/support/lua/examples/gears.lua
|
251
249
|
- glfw-src/support/lua/examples/test1.lua
|
252
|
-
- glfw-src/support/
|
253
|
-
- glfw-src/support/
|
254
|
-
- glfw-src/support/
|
255
|
-
- glfw-src/support/
|
256
|
-
- glfw-src/support/
|
257
|
-
- glfw-src/support/
|
258
|
-
- glfw-src/
|
259
|
-
- glfw-src/
|
260
|
-
- glfw-src/
|
261
|
-
- glfw-src/
|
262
|
-
- glfw-src/
|
250
|
+
- glfw-src/support/lua/readme.html
|
251
|
+
- glfw-src/support/lua/src
|
252
|
+
- glfw-src/support/lua/src/luaglfw.c
|
253
|
+
- glfw-src/support/lua/src/luaglfw.h
|
254
|
+
- glfw-src/support/lua/src/runlua.c
|
255
|
+
- glfw-src/support/masm
|
256
|
+
- glfw-src/support/masm/examples
|
257
|
+
- glfw-src/support/masm/examples/fpc.mac
|
258
|
+
- glfw-src/support/masm/examples/makeit.bat
|
259
|
+
- glfw-src/support/masm/examples/triangle.asm
|
260
|
+
- glfw-src/support/masm/include
|
261
|
+
- glfw-src/support/masm/include/glfw.inc
|
262
|
+
- glfw-src/support/masm/include/glu32.inc
|
263
|
+
- glfw-src/support/masm/include/opengl32.inc
|
264
|
+
- glfw-src/support/masm/lib
|
265
|
+
- glfw-src/support/masm/lib/glfwdll.lib
|
266
|
+
- glfw-src/support/masm/readme.html
|
267
|
+
- glfw-src/support/msvc80
|
268
|
+
- glfw-src/support/msvc80/GLFW.sln
|
269
|
+
- glfw-src/support/msvc80/GLFW.vcproj
|
270
|
+
- glfw-src/support/msvc80/GLFWDLL.vcproj
|
271
|
+
- glfw-src/support/visualbasic
|
272
|
+
- glfw-src/support/visualbasic/bindings
|
273
|
+
- glfw-src/support/visualbasic/bindings/glfw.bas
|
274
|
+
- glfw-src/support/visualbasic/bindings/glu32.bas
|
275
|
+
- glfw-src/support/visualbasic/bindings/opengl32.bas
|
276
|
+
- glfw-src/support/visualbasic/examples
|
277
|
+
- glfw-src/support/visualbasic/examples/Triangle.bas
|
278
|
+
- glfw-src/support/visualbasic/readme.html
|
263
279
|
- website/index.html
|
264
280
|
- website/style.css
|
265
281
|
- README
|