xcbitmap.h

来自「视频游戏开发源码」· C头文件 代码 · 共 48 行

H
48
字号
/*-----------------------------------------------------------------------
;
; XCBITMAP - header file
;
;   This module was written by Matthew MacKenzie
;   matm@eng.umd.edu
;
;
; ****** XLIB - Mode X graphics library                ****************
; ******                                               ****************
; ****** Written By Themie Gouthas                     ****************
;
; egg@dstos3.dsto.gov.au
; teg@bart.dsto.gov.au
;
;----------------------------------------------------------------------*/

#ifndef _XCBITMAP_H_
#define _XCBITMAP_H_

#ifdef __cplusplus
extern "C" {
#endif



 int x_compile_bitmap (        /* Compile a linear bitmap to generate  */
    WORD logical_screen_width, /* machine code to plot it at any */
    char far * bitmap,         /* required screen coordinates FAST. */
    char far * output);

 int x_sizeof_cbitmap (        /* Find the size of the code which a  */
    WORD logical_screen_width, /* bitmap would result in, if it  */
    char far * bitmap);        /* were compiled (used for allocation). */

 void x_put_cbitmap (    /* Displays a compiled bitmap generated */
    WORD XPos,           /* by x_compile_bitmap.                 */
    WORD YPos,
    WORD PageOffset,
    char far * CompiledBitmap);

#ifdef __cplusplus
}
#endif


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?