-
Notifications
You must be signed in to change notification settings - Fork 0
/
sprite.h
17 lines (14 loc) · 831 Bytes
/
sprite.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
* StickGBC by Matt Comben is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
#include "game_state.h"
#include "screen_state.c"
void set_sprite_direction(ai_sprite *sprite);
void move_ai_sprite(screen_state_t* screen_state, ai_sprite* sprite_to_move);
void setup_sprites(ai_sprite *player_sprite, ai_sprite *skater_sprite, ai_sprite *dealer_sprite, ai_sprite *house_car_sprite, ai_sprite *road_car_sprite);
void set_ai_sprt_scrn_loc(screen_state_t* screen_state, ai_sprite* sprite_to_move);
void check_road_car_onscreen(screen_state_t *screen_state, ai_sprite *road_car_sprite);
void set_main_player_hurt(ai_sprite *player);
void set_main_player_normal(ai_sprite *player);