Functions | |
| unsigned __fastcall | fgl::GetXRes (void) |
| unsigned __fastcall | fgl::GetYRes (void) |
| FGPixel *__fastcall | fgl::GetFrameBuffer (void) |
| int __fastcall | fgl::get_colordepth (void) |
| int | fgl::ClipLine (int &x1, int &y1, int &x2, int &y2, int __clipx1, int __clipy1, int __clipx2, int __clipy2) |
| void | fgl::clear_frame_buffer (FGPixel color) |
| int | fgl::graph_change_mode (int ww, int hh) |
| unsigned long __fastcall | fgl::FGClock (void) |
| const char * | fgl::GetVer (void) |
| void | fgl::cleanup (void) |
| int | fgl::graph_set_mode (int mode) |
| void | fgl::IError (char *s, int flag) |
|
|
sanity - for backing to previous console mode only. |
|
|
Clears the whole screen.
|
|
||||||||||||||||||||||||||||||||||||
|
Modified Cohen-Sutherland line clipping algorithm. Unlike "stock" Cohen-Sutherland algorithm, produces clipped coordinates suitable for rendering Bresenham lines. Returns 0 if line completely clipped out (reject) else returns 1 |
|
|
Returns absolute time in msec from the start of application. Useful for timing. |
|
|
Returns the number of bits used per pixels. I.e. 8 for 256 color modes 15, 16 or 32 for non-indexed modes
|
|
|
Returns the VRAM array address. YOu can use this address for direct videomemory access. |
|
|
Returns the version string, by example: "4.1.0" |
|
|
Returns the X axis resolution (visible)
|
|
|
Returns the Y axis resolution (visible)
|
|
||||||||||||
|
Change from one to other graphics mode with its resolution.
|
|
|
Set the graphics mode with its resolution.
|
|
||||||||||||
|
Show the error dialog with defined string.
|
1.4.0