equal
deleted
inserted
replaced
1274 /** |
1274 /** |
1275 * Creates a spritegroup representing a callback result |
1275 * Creates a spritegroup representing a callback result |
1276 * @param value The value that was used to represent this callback result |
1276 * @param value The value that was used to represent this callback result |
1277 * @return A spritegroup representing that callback result |
1277 * @return A spritegroup representing that callback result |
1278 */ |
1278 */ |
1279 SpriteGroup *NewCallBackResultSpriteGroup(uint16 value) |
1279 static SpriteGroup* NewCallBackResultSpriteGroup(uint16 value) |
1280 { |
1280 { |
1281 SpriteGroup *group = calloc(1, sizeof(*group)); |
1281 SpriteGroup *group = calloc(1, sizeof(*group)); |
1282 |
1282 |
1283 group->type = SGT_CALLBACK; |
1283 group->type = SGT_CALLBACK; |
1284 |
1284 |
1298 * Creates a spritegroup representing a sprite number result. |
1298 * Creates a spritegroup representing a sprite number result. |
1299 * @param value The sprite number. |
1299 * @param value The sprite number. |
1300 * @param sprites The number of sprites per set. |
1300 * @param sprites The number of sprites per set. |
1301 * @return A spritegroup representing the sprite number result. |
1301 * @return A spritegroup representing the sprite number result. |
1302 */ |
1302 */ |
1303 SpriteGroup *NewResultSpriteGroup(uint16 value, byte sprites) |
1303 static SpriteGroup* NewResultSpriteGroup(uint16 value, byte sprites) |
1304 { |
1304 { |
1305 SpriteGroup *group = calloc(1, sizeof(*group)); |
1305 SpriteGroup *group = calloc(1, sizeof(*group)); |
1306 group->type = SGT_RESULT; |
1306 group->type = SGT_RESULT; |
1307 group->g.result.result = value; |
1307 group->g.result.result = value; |
1308 group->g.result.sprites = sprites; |
1308 group->g.result.sprites = sprites; |