- [NEW] Neteja de estats interns i reimplementació del sistema de pset i primitives
This commit is contained in:
@@ -151,8 +151,6 @@ uint8_t getfontspacing();
|
||||
void setfontspacing(uint8_t spacing);
|
||||
|
||||
void cls(uint8_t color=0);
|
||||
void color(uint8_t color=6);
|
||||
void bcolor(uint8_t color=0);
|
||||
|
||||
uint32_t *loadpal(const char* filename, uint16_t *palsize=NULL);
|
||||
void setpal(uint32_t *pal);
|
||||
@@ -164,29 +162,19 @@ uint8_t subpal(uint8_t index, uint8_t color);
|
||||
void reset_subpal();
|
||||
|
||||
void set_draw_mode(uint8_t mode);
|
||||
void pset(int x, int y);
|
||||
void pset(int x, int y, uint8_t color);
|
||||
|
||||
uint8_t pget(int x, int y);
|
||||
|
||||
void line(int x0, int y0, int x1, int y1);
|
||||
void line(int x0, int y0, int x1, int y1, uint8_t color);
|
||||
|
||||
void hline(int x0, int y, int x1);
|
||||
void hline(int x0, int y, int x1, uint8_t color);
|
||||
|
||||
void vline(int x, int y0, int y1);
|
||||
void vline(int x, int y0, int y1, uint8_t color);
|
||||
|
||||
void rect(int x, int y, int w, int h);
|
||||
void rect(int x, int y, int w, int h, uint8_t color);
|
||||
|
||||
void rectfill(int x, int y, int w, int h);
|
||||
void rectfill(int x, int y, int w, int h, uint8_t color);
|
||||
|
||||
void fillp(uint16_t pat, bool transparent = false);
|
||||
|
||||
void print(const char *str, int x, int y);
|
||||
void print(const char *str, int x, int y, uint8_t color);
|
||||
|
||||
void clip(int x, int y, int w, int h);
|
||||
@@ -195,26 +183,15 @@ void origin(int x, int y);
|
||||
int camx();
|
||||
int camy();
|
||||
|
||||
void circ(int x, int y, uint8_t r = 4);
|
||||
void circ(int x, int y, uint8_t r, uint8_t color);
|
||||
|
||||
void circfill(int x, int y, uint8_t r = 4);
|
||||
void circfill(int x, int y, uint8_t r, uint8_t color);
|
||||
|
||||
void roundrect(int x, int y, int w, int h, uint8_t r);
|
||||
void roundrect(int x, int y, int w, int h, uint8_t r, uint8_t color);
|
||||
|
||||
void roundrectfill(int x, int y, int w, int h, uint8_t r);
|
||||
void roundrectfill(int x, int y, int w, int h, uint8_t r, uint8_t color);
|
||||
|
||||
void oval(int x0, int y0, int x1, int y1);
|
||||
void oval(int x0, int y0, int x1, int y1, uint8_t color);
|
||||
|
||||
void ovalfill(int x0, int y0, int x1, int y1);
|
||||
void ovalfill(int x0, int y0, int x1, int y1, uint8_t color);
|
||||
|
||||
uint8_t sget(int x, int y);
|
||||
void sset(int x, int y);
|
||||
void sset(int x, int y, uint8_t color);
|
||||
|
||||
void spr(uint8_t n, int x, int y, float w = 1.0f, float h = 1.0f, bool flip_x = false, bool flip_y = false);
|
||||
@@ -222,10 +199,6 @@ void blit(int sx, int sy, int sw, int sh, int dx, int dy, int dw=0, int dh=0, bo
|
||||
//void blit_r(int sx, int sy, int sw, int sh, int x, int y, float a);
|
||||
void blit_r(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool flip_x, bool flip_y, float angle_deg);
|
||||
|
||||
void tline(int x0, int y0, int x1, int y1, float mx, float my, float mdx=0.125f, float mdy=0.0f);
|
||||
void thline(int x0, int y, int x1, float mx, float my, float mdx=0.125f, float mdy=0.0f);
|
||||
void tvline(int x, int y0, int y1, float mx, float my, float mdx=0.0f, float mdy=0.125f);
|
||||
|
||||
uint8_t mget(int celx, int cely);
|
||||
void mset(int celx, int cely, uint8_t snum);
|
||||
uint8_t gettilew();
|
||||
|
||||
Reference in New Issue
Block a user