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