sprite.h
changeset 1883 3b02000cfbe0
parent 1477 2174a73b11c9
child 2186 461a2aff3486
--- a/sprite.h	Wed Jun 01 10:30:45 2005 +0000
+++ b/sprite.h	Wed Jun 01 11:34:37 2005 +0000
@@ -107,10 +107,15 @@
 	SpriteGroup *groups;
 } RandomizedSpriteGroup;
 
+typedef struct CallbackResultSpriteGroup {
+	uint16 result;
+} CallbackResultSpriteGroup;
+
 typedef enum SpriteGroupType {
 	SGT_REAL,
 	SGT_DETERMINISTIC,
 	SGT_RANDOMIZED,
+	SGT_CALLBACK,
 } SpriteGroupType;
 
 struct SpriteGroup {
@@ -120,6 +125,7 @@
 		RealSpriteGroup real;
 		DeterministicSpriteGroup determ;
 		RandomizedSpriteGroup random;
+		CallbackResultSpriteGroup callback;
 	} g;
 };