Public Member Functions | |
| CBitmapPBM (const char *pbmFilename=NULL) | |
| ~CBitmapPBM (void) | |
| void | Load (PODFILE *pbm, PODFILE *act) |
| void | GetSize (int *x_size, int *y_size) |
| void | Draw (SSurface *surface, int x, int y) |
| void | DrawPartial (SSurface *surface, int x, int y, int x1, int y1, int x2, int y2) |
Protected Attributes | |
| char | pbmFilename [64] |
| RGB * | palette |
| GLubyte * | image |
| int | width |
| int | height |
Definition at line 380 of file Bitmaps.cpp.
|
|
Definition at line 399 of file Bitmaps.cpp. References globals, gtfo, height, image, Load(), pbmFilename, pclose(), SGlobals::pfs, popen(), and width. |
|
|
Definition at line 435 of file Bitmaps.cpp. |
|
||||||||||||||||
|
Definition at line 542 of file Bitmaps.cpp. References RGB::b, SSurface::drawBuffer, RGB::g, height, image, MakeRGBA(), palette, pbmFilename, RGB::r, WARNINGLOG, width, SSurface::xSize, SSurface::xSpan, and SSurface::ySize. Referenced by CBitmapPBG::Draw(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 589 of file Bitmaps.cpp. References RGB::b, SSurface::drawBuffer, RGB::g, image, MakeRGBA(), palette, RGB::r, width, SSurface::xSize, SSurface::xSpan, and SSurface::ySize. Referenced by CBitmapPBG::DrawPartial(). |
|
||||||||||||
|
Definition at line 441 of file Bitmaps.cpp. |
|
||||||||||||
|
Definition at line 447 of file Bitmaps.cpp. References PODFILE::filename, gtfo, SPBMHeader::height, height, image, SPBMHeader::magic, palette, pread(), SPBMHeader::width, and width. Referenced by CBitmapPBM(), and CBitmapPBG::Load(). |
|
|
Definition at line 395 of file Bitmaps.cpp. Referenced by CBitmapPBM(), Draw(), GetSize(), and Load(). |
|
|
Definition at line 394 of file Bitmaps.cpp. Referenced by CBitmapPBM(), Draw(), DrawPartial(), Load(), and ~CBitmapPBM(). |
|
|
Definition at line 393 of file Bitmaps.cpp. Referenced by Draw(), DrawPartial(), Load(), and ~CBitmapPBM(). |
|
|
Definition at line 392 of file Bitmaps.cpp. Referenced by CBitmapPBM(), and Draw(). |
|
|
Definition at line 395 of file Bitmaps.cpp. Referenced by CBitmapPBM(), Draw(), DrawPartial(), GetSize(), and Load(). |
|
|
Documentation generated by
|