version 1.2 | | version 1.3 |
---|
| | |
* Routines for bitblt's. | | * Routines for bitblt's. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 1999/09/21 06:51:11 donut |
| | * OpenGL: fixed corrupted textures, added bitmap display (reticle, etc) |
| | * |
* Revision 1.2 1999/08/05 22:53:40 sekmu | | * Revision 1.2 1999/08/05 22:53:40 sekmu |
* | | * |
* D3D patch(es) from ADB | | * D3D patch(es) from ADB |
| | |
void gr_ubitmap( int x, int y, grs_bitmap *bm ) | | void gr_ubitmap( int x, int y, grs_bitmap *bm ) |
{ int source, dest; | | { int source, dest; |
| | |
| | #ifdef OGL |
| | extern int Function_mode; |
| | if(Function_mode == FMODE_GAME){ |
| | ogl_ubitmapm(x,y,bm); |
| | return; |
| | } |
| | #endif |
source = bm->bm_type; | | source = bm->bm_type; |
dest = TYPE; | | dest = TYPE; |
| | |
| | |
| | |
void gr_ubitmapm( int x, int y, grs_bitmap *bm ) | | void gr_ubitmapm( int x, int y, grs_bitmap *bm ) |
{ int source, dest; | | { int source, dest; |
| | |
| | #ifdef OGL |
| | extern int Function_mode; |
| | if(Function_mode == FMODE_GAME){ |
| | ogl_ubitmapm(x,y,bm); |
| | return; |
| | } |
| | #endif |
| | |
source = bm->bm_type; | | source = bm->bm_type; |
dest = TYPE; | | dest = TYPE; |