Resources file for fluids and using vocab: instead of resource: for file paths.

db4
Erik Charlebois 2010-04-15 01:21:55 -07:00
parent e65b8e5d02
commit ebd6594ef5
2 changed files with 4 additions and 2 deletions

View File

@ -78,8 +78,8 @@ M: fluids-world begin-game-world
dup fluid set
init-gpu
initial-particles clone >>particles
"resource:extra/fluids/particle2.pgm" make-texture >>texture
"resource:extra/fluids/colors.ppm" make-texture >>ramp
"vocab:fluids/particle2.pgm" make-texture >>texture
"vocab:fluids/colors.ppm" make-texture >>ramp
drop ;
M: fluids-world end-game-world

View File

@ -0,0 +1,2 @@
particle2.pgm
colors.ppm