xline.h

来自「超级玛丽游戏用C++做的。希望一起交流学习」· C头文件 代码 · 共 47 行

H
47
字号
/*-----------------------------------------------------------------------
;
; XLINE - header file
;
;
;
; ****** XLIB - Mode X graphics library                ****************
; ******                                               ****************
; ****** Written By Themie Gouthas                     ****************
;
; egg@dstos3.dsto.gov.au
; teg@bart.dsto.gov.au
;
;  Terminology & notes:
;         VRAM ==   Video RAM
;         SRAM ==   System RAM
;         X coordinates are in pixels unless explicitly stated
;
;----------------------------------------------------------------------*/

#ifndef _XLINE_H_
#define _XLINE_H_


/* FUNCTIONS =========================================================== */

#ifdef __cplusplus
extern "C" {
#endif

extern void x_line(     /* Draw a line, what else */
         WORD x0,
         WORD y0,
         WORD x1,
         WORD y1,
         WORD color,
         WORD PageBase);


#ifdef __cplusplus
}
#endif

#endif


⌨️ 快捷键说明

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