#include <basegfx.h>
Public Member Functions | |
| tgraphmodeparameters () | |
Public Attributes | |
| int | resolutionx |
| the number of visible pixels in x direction | |
| int | resolutiony |
| the number of visible pixels in y direction | |
| int | actsetpage |
| only used in DOS where it may be necessary to access the graphic memory in 64 kB pages | |
| int | windowstatus |
| determines whether the memory is a linear (windowstatus==100) or paged. When using SDL, the memory is always linear addressable. | |
| int | granularity |
| the offset in graphics memory between two pages. Can be ignored nowadays | |
| int | scanlinelength |
| the size of a line in byte (may be larger than resolutionx due to offscreen memory) | |
| int | scanlinenumber |
| the number of lines (may be larger than resolutiony due to offscreen memory) | |
| int | bytesperscanline |
| the size of a line in byte | |
| int | activegraphmode |
| the number of the active graphic mode. Can be ignored nowadays | |
| int | videomemory |
| the amount of memory in the video card. Not used any more. | |
| int | byteperpix |
| the distance between two pixel | |
| PointerSizedInt | linearaddress |
| the pointer to the actual memory (typecast to char* ) | |
| int | pagetoset |
| only used in DOS with paged graphic memory | |
| char | redmasksize |
| RGB only: the number of bits in the red component. | |
| char | redfieldposition |
| RGB only: the position of the first red bit relative to the start of the pixel. | |
| char | greenmasksize |
| RGB only: the number of bits in the green component. | |
| char | greenfieldposition |
| RGB only: the position of the first green bit relative to the start of the pixel. | |
| char | bluemasksize |
| RGB only: the number of bits in the blue component. | |
| char | bluefieldposition |
| RGB only: the position of the first blue bit relative to the start of the pixel. | |
| char | bitperpix |
| the size of a pixel(?) in bits | |
| char | memorymodel |
| unused | |
| int | directscreenaccess |
| if 0 no call to an update function (which copies the buffer to the screen) is performed | |
| Surface * | surface |
Definition at line 51 of file basegfx.h.
|
|
|
|
|
the number of the active graphic mode. Can be ignored nowadays
|
|
|
only used in DOS where it may be necessary to access the graphic memory in 64 kB pages
|
|
|
the size of a pixel(?) in bits
Definition at line 71 of file basegfx.h. Referenced by initASCGraphicSubsystem(). |
|
|
RGB only: the position of the first blue bit relative to the start of the pixel.
Definition at line 70 of file basegfx.h. Referenced by getpixel(), and putpixel(). |
|
|
RGB only: the number of bits in the blue component.
|
|
|
the distance between two pixel
Definition at line 62 of file basegfx.h. Referenced by bar(), getimage(), getpixel(), getpixel8(), initASCGraphicSubsystem(), putimage(), putimageprt(), putmask(), putpixel(), putpixel8(), putrotspriteimage(), putrotspriteimage180(), putrotspriteimage270(), putrotspriteimage90(), putspriteimage(), putxlatfilter(), tviewtext::setparams(), showtext(), and writepcx(). |
|
|
the size of a line in byte
Definition at line 59 of file basegfx.h. Referenced by tvirtualscreenbuf::init(), initASCGraphicSubsystem(), putmask(), and tviewtext::setparams(). |
|
|
if 0 no call to an update function (which copies the buffer to the screen) is performed
Definition at line 73 of file basegfx.h. Referenced by collategraphicoperations::collategraphicoperations(), copySurface2screen(), initASCGraphicSubsystem(), collategraphicoperations::off(), collategraphicoperations::on(), and collategraphicoperations::~collategraphicoperations(). |
|
|
the offset in graphics memory between two pages. Can be ignored nowadays
|
|
|
RGB only: the position of the first green bit relative to the start of the pixel.
Definition at line 68 of file basegfx.h. Referenced by getpixel(), and putpixel(). |
|
|
RGB only: the number of bits in the green component.
|
|
|
the pointer to the actual memory (typecast to char* )
Definition at line 63 of file basegfx.h. Referenced by bar(), copybuf2displaymemory(), tdialogbox::copyvirtualframebuf(), tviewtext::displaytext(), getimage(), getpixel(), getpixel8(), initASCGraphicSubsystem(), putimage(), putimageprt(), putinterlacedrotimage(), putmask(), putpicturemix(), putpixel(), putpixel8(), putrotspriteimage(), putrotspriteimage180(), putrotspriteimage270(), putrotspriteimage90(), putspriteimage(), putspritetexture(), puttexture(), putxlatfilter(), tdialogbox::setvirtualframebuf(), and showtext(). |
|
|
unused
|
|
|
only used in DOS with paged graphic memory
|
|
|
RGB only: the position of the first red bit relative to the start of the pixel.
Definition at line 66 of file basegfx.h. Referenced by getpixel(), and putpixel(). |
|
|
RGB only: the number of bits in the red component.
|
|
|
the number of visible pixels in x direction
Definition at line 52 of file basegfx.h. Referenced by tdialogbox::buildgraphics(), gamethread(), infomessage(), tdisplaymessage::init(), initASCGraphicSubsystem(), tdialogbox::run(), and tviewtext::setparams(). |
|
|
the number of visible pixels in y direction
Definition at line 53 of file basegfx.h. Referenced by tdialogbox::buildgraphics(), tdialogbox::execbutton(), gamethread(), infomessage(), tvirtualscreenbuf::init(), initASCGraphicSubsystem(), tdialogbox::run(), and tviewtext::setparams(). |
|
|
the size of a line in byte (may be larger than resolutionx due to offscreen memory)
Definition at line 57 of file basegfx.h. Referenced by bar(), getimage(), getpixel(), getpixel8(), initASCGraphicSubsystem(), putimage(), putimageprt(), putinterlacedrotimage(), putpicturemix(), putpixel(), putpixel8(), putrotspriteimage(), putrotspriteimage180(), putrotspriteimage270(), putrotspriteimage90(), putspriteimage(), putspritetexture(), puttexture(), putxlatfilter(), tviewtext::setparams(), tdialogbox::setvirtualframebuf(), and showtext(). |
|
|
the number of lines (may be larger than resolutiony due to offscreen memory)
Definition at line 58 of file basegfx.h. Referenced by initASCGraphicSubsystem(), and tviewtext::setparams(). |
|
|
Definition at line 74 of file basegfx.h. Referenced by copy2screen(), getActiveSurface(), initASCGraphicSubsystem(), shutdownASCGraphicSubsystem(), and tvirtualdisplay::~tvirtualdisplay(). |
|
|
the amount of memory in the video card. Not used any more.
|
|
|
determines whether the memory is a linear (windowstatus==100) or paged. When using SDL, the memory is always linear addressable.
Definition at line 55 of file basegfx.h. Referenced by bar(), getimage(), getpixel(), initASCGraphicSubsystem(), putimage(), putimageprt(), putinterlacedrotimage(), putpicturemix(), putpixel(), putrotspriteimage(), putrotspriteimage180(), putrotspriteimage270(), putrotspriteimage90(), putspriteimage(), putspritetexture(), puttexture(), putxlatfilter(), tviewtext::setparams(), and tdialogbox::setvirtualframebuf(). |
1.4.2