Functions | |
| XY_bool | XY_init (XY_options *opts, XY_fixed canvasw, XY_fixed canvash) |
| Initialize SDL (video only) and libcrtxy (with rendering and video options from opts), and set the virtual canvas size. | |
| void | XY_quit (void) |
| Shut down libcrtxy and SDL. | |
| XY_bool XY_init | ( | XY_options * | opts, | |
| XY_fixed | canvasw, | |||
| XY_fixed | canvash | |||
| ) |
Initialize SDL (video only) and libcrtxy (with rendering and video options from opts), and set the virtual canvas size.
| opts | is a pointer to an options structure that has been filled. | |
| canvasw | is the width (in XY_fixed units) of a virtual canvas which will be scaled to the real display. | |
| canvash | is the height (in XY_fixed units) of a virtual canvas which will be scaled to the real display. |
| void XY_quit | ( | void | ) |
Shut down libcrtxy and SDL.
1.5.5