mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
Decorations! ,still messing with it. It does not save currently. TODO: fix typing in boxes to update the color. Line/box tools. Some basic color selections like an element menu.
This commit is contained in:
committed by
Simon Robertshaw
parent
aa3f475edc
commit
bd8de4c842
@@ -114,6 +114,8 @@ void xor_rect(pixel *vid, int x, int y, int w, int h);
|
||||
|
||||
void draw_parts(pixel *vid);
|
||||
|
||||
void draw_decorations(pixel *vid_buf,pixel *decorations);
|
||||
|
||||
void draw_wavelengths(pixel *vid, int x, int y, int h, int wl);
|
||||
|
||||
void render_signs(pixel *vid_buf);
|
||||
|
@@ -244,5 +244,6 @@ int console_parse_coords(char *txt, int *x, int *y, char *err);
|
||||
int console_parse_type(char *txt, int *element, char *err);
|
||||
int console_parse_partref(char *txt, int *which, char *err);
|
||||
|
||||
void decorations_ui(pixel *vid_buf,pixel *decorations,int *bsx,int *bsy);
|
||||
#endif
|
||||
|
||||
|
@@ -66,6 +66,9 @@ int register_extension();
|
||||
|
||||
int cpu_check(void);
|
||||
|
||||
void HSV_to_RGB(int h,int s,int v,int *r,int *g,int *b);
|
||||
|
||||
void RGB_to_HSV(int r,int g,int b,int *h,int *s,int *v);
|
||||
// a b
|
||||
// c d
|
||||
struct matrix2d {
|
||||
|
Reference in New Issue
Block a user