raygint/README.md

29 lines
630 B
Markdown
Raw Normal View History

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`
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
* `void dupdate(void);`
## `raygint/keyboard.h`
Functions:
* `void clearevents(void);`
* `void dclear(color_t color);`
* `int keydown(int key);`