xcbitm32.h

来自「视频游戏开发C语言源程序」· C头文件 代码 · 共 35 行

H
35
字号
/*-----------------------------------------------------------------------
;
; XCBITM32 - 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
;
;----------------------------------------------------------------------*/
/* Notice that there is no function in this module to plot a
   compiled bitmap.  Use x_put_cbitmap in module XCBITMAP. */

/* This module is only for 386+ class computers. */

#ifndef _XCBITM32_H_
#define _XCBITM32_H_

extern int x_compile_bitmap_32 (      /* 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);

extern int x_sizeof_cbitmap_32 (        /* 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). */

#endif

⌨️ 快捷键说明

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