mouse support, solved some funcs clash on linux, started sprite editor
This commit is contained in:
9
mini.h
9
mini.h
@@ -181,17 +181,24 @@ void map(uint8_t celx, uint8_t cely, int sx, int sy, uint8_t celw, uint8_t celh,
|
||||
bool btn(uint8_t i);
|
||||
bool btnp(uint8_t i);
|
||||
|
||||
int mouseX();
|
||||
int mouseY();
|
||||
bool mouseButton(uint8_t i);
|
||||
|
||||
float time();
|
||||
|
||||
//float abs(float x);
|
||||
float ceil(float x);
|
||||
|
||||
float flr(float x);
|
||||
float sgn(float x);
|
||||
|
||||
#ifndef __LINUX__
|
||||
float ceil(float x);
|
||||
float sin(float x);
|
||||
float cos(float x);
|
||||
float atan2(float dx, float dy);
|
||||
float sqrt(float x);
|
||||
#endif
|
||||
|
||||
float max(float x, float y);
|
||||
float mid(float x, float y, float z);
|
||||
|
||||
Reference in New Issue
Block a user