chipmunk.demo: fix load error
parent
ba7cb61133
commit
d68b25da95
|
@ -1,9 +1,10 @@
|
||||||
! Copyright (C) 2010 Erik Charlebois
|
! Copyright (C) 2010 Erik Charlebois
|
||||||
! See http:// factorcode.org/license.txt for BSD license.
|
! See http:// factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors alien chipmunk.ffi classes.struct game.worlds kernel
|
USING: accessors alien chipmunk.ffi classes.struct game.loop
|
||||||
locals math method-chains opengl.gl random sequences specialized-arrays
|
game.worlds kernel literals locals math method-chains opengl.gl
|
||||||
specialized-arrays.instances.alien.c-types.void* ui ui.gadgets.worlds
|
random sequences specialized-arrays ui ui.gadgets.worlds
|
||||||
ui.pixel-formats ;
|
ui.pixel-formats ;
|
||||||
|
SPECIALIZED-ARRAY: void*
|
||||||
IN: chipmunk.demo
|
IN: chipmunk.demo
|
||||||
|
|
||||||
CONSTANT: image-width 188
|
CONSTANT: image-width 188
|
||||||
|
|
|
@ -54,7 +54,7 @@ M: game-world end-world
|
||||||
[ use-game-input?>> [ close-game-input ] when ] tri ;
|
[ use-game-input?>> [ close-game-input ] when ] tri ;
|
||||||
|
|
||||||
TUPLE: game-attributes < world-attributes
|
TUPLE: game-attributes < world-attributes
|
||||||
{ tick-interval-nanos fixnum }
|
{ tick-interval-nanos integer }
|
||||||
{ use-game-input? boolean initial: f }
|
{ use-game-input? boolean initial: f }
|
||||||
{ use-audio-engine? boolean initial: f }
|
{ use-audio-engine? boolean initial: f }
|
||||||
{ audio-engine-device initial: f }
|
{ audio-engine-device initial: f }
|
||||||
|
|
Loading…
Reference in New Issue