diff -r cbe3d6b60c27 -r 88827d8ae517 sprite.h --- a/sprite.h Tue Oct 04 19:52:26 2005 +0000 +++ b/sprite.h Tue Oct 04 20:38:26 2005 +0000 @@ -44,9 +44,9 @@ // of da stuff. byte loaded_count; - uint16 loaded[16]; // sprite ids + SpriteGroup *loaded[16]; // sprite ids byte loading_count; - uint16 loading[16]; // sprite ids + SpriteGroup *loading[16]; // sprite ids } RealSpriteGroup; /* Shared by deterministic and random groups. */ @@ -114,11 +114,17 @@ uint16 result; } CallbackResultSpriteGroup; +typedef struct ResultSpriteGroup { + uint16 result; + byte sprites; +} ResultSpriteGroup; + typedef enum SpriteGroupType { SGT_REAL, SGT_DETERMINISTIC, SGT_RANDOMIZED, SGT_CALLBACK, + SGT_RESULT, } SpriteGroupType; struct SpriteGroup { @@ -129,6 +135,7 @@ DeterministicSpriteGroup determ; RandomizedSpriteGroup random; CallbackResultSpriteGroup callback; + ResultSpriteGroup result; } g; };