|
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024 ETMSoftware
|
int32_t sdl_to_gl_int_x(int32_t x)
Definition: lg_gr_func.c:397
Point2Df lg_point2d_f(float x, float y)
Definition: lg_gr_func.c:362
Point2Df lg_rec_f_center(Rec2Df r)
Definition: lg_gr_func.c:386
Definition: lg_gr_func.h:54
Definition: lg_gr_func.h:18
int32_t sdl_to_gl_int_y(int32_t y)
Definition: lg_gr_func.c:408
void lg_rec_f_copy(Rec2Df *dest, Rec2Df src)
Definition: lg_gr_func.c:262
LG_Color_u lg_get_lg_color_u_from_str(const char *str)
Definition: lg_gr_func.c:536
SDL_Color lg_sdl_color_from_lg_color_u(LG_Color_u c)
Definition: lg_gr_func.c:485
Definition: lg_gr_func.h:13
Point2Di lg_point2d_i(int32_t x, int32_t y)
Definition: lg_gr_func.c:350
SDL_Color lg_get_sdl_color_from_str(const char *str)
Definition: lg_gr_func.c:516
Definition: lg_gr_func.h:30
zboolean lg_recs_overlap(Rec2Df *r1, Rec2Df *r2)
Definition: lg_gr_func.c:217
const char * lg_get_color_str_from_color_index(int i)
Definition: lg_gr_func.c:556
void lg_clear_rect(Rec2Di r, LG_Color_u c)
Definition: lg_gr_func.c:114
void lg_draw_rect(Rec2Di r, LG_Color_u c)
Definition: lg_gr_func.c:44
Rec2Di lg_rec_i_from_rec_f(Rec2Df r)
Definition: lg_gr_func.c:331
LG_Color_u * lg_set_lg_color_u_from_str(LG_Color_u *c, const char *str)
Definition: lg_gr_func.c:527
Rec2Di lg_rec_i(int x, int y, int w, int h)
Definition: lg_gr_func.c:279
LG_Color_u lg_color_u_from_sdl_color(SDL_Color c)
Definition: lg_gr_func.c:474
void lg_fill_rect(Rec2Di r, LG_Color_u c)
Definition: lg_gr_func.c:87
Point2Di lg_rec_i_center(Rec2Di r)
Definition: lg_gr_func.c:375
void lg_draw_line(int32_t x1, int32_t y1, int32_t x2, int32_t y2, LG_Color_u c)
Definition: lg_gr_func.c:28
Rec2Df lg_rec_f(float x, float y, float w, float h)
Definition: lg_gr_func.c:300
Definition: lg_vertex.h:91
Definition: lg_gr_func.h:23
float sdl_to_gl_float_y(int32_t y)
Definition: lg_gr_func.c:437
float sdl_to_gl_float_x(int32_t x)
Definition: lg_gr_func.c:423
void v_flip_sdl_surf(SDL_Surface *surf)
Definition: lg_gr_func.c:579
void lg_copy_rect(Rec2Di src, Rec2Di *dest)
Definition: lg_gr_func.c:234
Rec2Df lg_rec_f_from_rec_i(Rec2Di r)
Definition: lg_gr_func.c:318
zboolean lg_clip_rect(Rec2Di clip, Rec2Di rect, Rec2Di *clipped_rect)
Definition: lg_gr_func.c:161
void lg_rec_i_copy(Rec2Di *dest, Rec2Di src)
Definition: lg_gr_func.c:248
SDL_Color * lg_set_sdl_color_from_str(SDL_Color *c, const char *str)
Definition: lg_gr_func.c:493
Definition: lg_gr_func.h:47
int lg_get_n_color_str()
Definition: lg_gr_func.c:545