version 1.3 | | version 1.4 |
---|
| | |
* Routines for bitblt's. | | * Routines for bitblt's. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.4 1999/09/21 07:28:58 donut |
| | * fixed undefined variable, oops |
| | * |
* Revision 1.3 1999/09/21 06:51:11 donut | | * Revision 1.3 1999/09/21 06:51:11 donut |
* OpenGL: fixed corrupted textures, added bitmap display (reticle, etc) | | * OpenGL: fixed corrupted textures, added bitmap display (reticle, etc) |
* | | * |
| | |
} | | } |
} | | } |
| | |
| | #ifdef OGL |
| | //kludge: for Function_mode and FMODE_GAME |
| | #include "../main/inferno.h" |
| | #endif |
| | |
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 | | #ifdef OGL |
extern int Function_mode; | | |
if(Function_mode == FMODE_GAME){ | | if(Function_mode == FMODE_GAME){ |
ogl_ubitmapm(x,y,bm); | | ogl_ubitmapm(x,y,bm); |
return; | | return; |
| | |
{ int source, dest; | | { int source, dest; |
| | |
#ifdef OGL | | #ifdef OGL |
extern int Function_mode; | | |
if(Function_mode == FMODE_GAME){ | | if(Function_mode == FMODE_GAME){ |
ogl_ubitmapm(x,y,bm); | | ogl_ubitmapm(x,y,bm); |
return; | | return; |