|
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024 ETMSoftware
|
9 #define LG_SPRITE_MIN_SIZE 4
10 #define LG_SPRITE_N_DRAWS_MAX 1024
19 int atlas_side_for_n_images;
54 int random_motion_counter;
int lg_sprite_is_inside_rectangle(LG_Sprite *sprite, Rec2Di *rect)
Definition: lg_sprites.c:414
int lg_sprite_get_cur_frame(LG_Sprite *sprite)
Definition: lg_sprites.c:340
void lg_sprite_set_cur_frame(LG_Sprite *sprite, int frame)
Definition: lg_sprites.c:330
Definition: lg_sprites.h:62
void lg_save_sprite_position(LG_Sprite *sprite)
Definition: lg_sprites.c:671
int lg_sprite_centers_collide_by_x_y(LG_Sprite *sprite1, LG_Sprite *sprite2, int x, int y)
Definition: lg_sprites.c:582
int lg_sprite_draw(LG_Sprite *sprite)
Definition: lg_sprites.c:254
void lg_rqdraw_init(Rq_SDraw_Array *draw_list)
Definition: lg_sprites.c:753
int lg_sprite_is_outside_rectangle(LG_Sprite *sprite, Rec2Di *rect)
Definition: lg_sprites.c:475
Definition: lg_sprites.h:12
void lg_sprite_info(LG_Sprite *sprite)
Definition: lg_sprites.c:693
Definition: lg_vertex.h:91
int lg_rqdraw_add_sprite(LG_Sprite *sprite, Rq_SDraw_Array *draw_list)
Definition: lg_sprites.c:785
void lg_restore_sprite_position(LG_Sprite *sprite)
Definition: lg_sprites.c:682
LG_Sprite lg_clone_sprite(LG_Sprite *sprite)
Definition: lg_sprites.c:359
void lg_sprite_free_tex(LG_Sprite *sprite)
Definition: lg_sprites.c:318
LG_Sprite lg_sprite(const char *file_name[], LG_Color_u lg_color_u_key, int w, int h)
Definition: lg_sprites.c:43
int lg_sprite_centers_collide_by_k(LG_Sprite *sprite1, LG_Sprite *sprite2, int k)
Definition: lg_sprites.c:611
int lg_sprites_collide(LG_Sprite *sprite1, LG_Sprite *sprite2)
Definition: lg_sprites.c:540
Definition: lg_textures.h:42
int lg_sprite_is_inside_rectangle_set(LG_Sprite *sprite, Rec2Di **rect)
Definition: lg_sprites.c:447
Definition: lg_gr_func.h:47
int lg_sprite_is_outside_rectangle_set(LG_Sprite *sprite, Rec2Di **rect)
Definition: lg_sprites.c:507