2021-03-08 15:16:46 +01:00
|
|
|
# raygint
|
|
|
|
Bindings to make "cross platform games", gint on calculator and raylib on
|
|
|
|
desktop. Work in progress. Following are the supported define and functions.
|
|
|
|
|
|
|
|
## `raygint/display.h`
|
|
|
|
Macros:
|
2021-03-08 16:54:42 +01:00
|
|
|
* `C_BLACK`
|
|
|
|
* `C_BLUE`
|
|
|
|
* `C_GREEN`
|
|
|
|
* `C_RED`
|
2021-03-08 15:16:46 +01:00
|
|
|
* `C_WHITE`
|
|
|
|
* `DWIDTH`
|
|
|
|
* `DHEIGHT`
|
2021-11-17 14:46:01 +01:00
|
|
|
* `C_RGB(r, g, b)`
|
2021-03-08 15:16:46 +01:00
|
|
|
|
|
|
|
Functions:
|
|
|
|
* `void rDisplayInit(void);`
|
|
|
|
* `void rDisplayDeinit(void);`
|
2021-03-08 16:41:39 +01:00
|
|
|
* `void rDrawBegin(void);`
|
|
|
|
* `void rDrawEnd(void);`
|
|
|
|
* `void dclear(int color);`
|
|
|
|
* `void drect(int x1, int y1, int x2, int y2, int color);`
|
2021-03-08 15:16:46 +01:00
|
|
|
|
|
|
|
## `raygint/keyboard.h`
|
|
|
|
Functions:
|
|
|
|
* `void clearevents(void);`
|
|
|
|
* `void dclear(color_t color);`
|
|
|
|
* `int keydown(int key);`
|