亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? images.doc

?? DOS游戲編程中處理Int 13的工具包
?? DOC
?? 第 1 頁 / 共 2 頁
字號:
>>>IMAGES.DOC

A. Copyright Information

Images.Hpp and Images.Cpp along with this document file are copyright 1991
by the Gamers Programming Workshop, GAMERS forum, Compuserve (GO GAMERS,
section 11). The code and related document are free for use, distribution,
and modification, provided the following conditions are met:

	1. no commercial use of this source code or documents is permitted.
	2. no fee may be charged beyond disk duplication cost for any of this
	   material.
	3. If the code is upgraded or modified a copy of the modification must
	   be uploaded to section 11 of the GAMERS forum on Compuserve. All
	   modifications must be documented and the author's name included in
	   the source code header block, and the subsequent file package must
	   include all the original doc files as well as any additions. If you
	   modify or add functions please update the function list below.


B. Description

Images.hpp and images.cpp provide basic tools for working in graphics mode
13h, the 256 color standard vga mode, which has become the most popular for
producing high quality gaming software. The following files are required to
use the tools in this package:

	IMAGES.HPP   - the image tools header file
	IMAGES.CPP   - image tools function definitions
	KEYBOARD.HPP - low level keyboard interface header file
	KEYBOARD.CPP - functions required by the font class in images.hpp

A demo of the functions in this package is included, as IDEMO.EXE.

NOTE: Compile these modules in the Large model (pointers default to far).

C. Function interface

*****************************************************************************
*****************************************************************************

The following functions are proto'd in IMAGES.HPP and, defined in
IMAGES.CPP:

*****************************************************************************
*****************************************************************************

void unpackpcx(FILE *pcx, const char far *source,
			   char far *dest, unsigned int num_bytes);

Originally used for all PCX unpacking this function was retained when the
pcx class was created so that anyone who needs it will have access to a basic
rle unpacking algorithm for PCX files. It will unpack from a disk file or
a source buffer, depending on which of pcx and source has a valid pointer.
It is illegal for both of these pointers to be NULL, or for both to be valid.
Unpacks num_bytes of data to memory at dest.

*****************************************************************************

void setgraphmode();

setgraphmode() calls interrupt 0x10, function 0x13 to set mode 0x13 graphics
(320 x 200 x 256 colors)

*****************************************************************************

void settextmode();

settextmode() calls interrupt 0x10, function 0x13 to set 80 x 25 x 16 text
mode.

*****************************************************************************

void wait_vbi();

wait_vbi() returns when it senses the start of the next full vertical blank-
ing interval. Use before writing to video ram in order to prevent snow and
flickering. In performance sensitive functions you'll probably want to copy
this short bit of asm code into the function to eliminate the call overhead.

*****************************************************************************

void reporterr(char type, char where[30]);

reporterr() is used to reset text mode and report the particulars of an
error in the images module to the screen. Pass it the result of the offending
function, and a message describing where the error occured. I make no claims
that this is a great error handling system. Feel free to implement your own.

*****************************************************************************

void loadpalette(int start, int number, const p_rec palette);

loadpalette() accesses the DAC directly, and loads number palette registers
beginning with register start. Values loaded are taken from palette. See
the p_rec type defined in IMAGES.HPP.

*****************************************************************************

void readpalette(int start, int number, p_rec palette);

readpalette() accesses the DAC directly, and reads number palette registers
into palette beginning with register start. See p_rec type defined in
IMAGES.HPP

*****************************************************************************

void clrpalette(int start, int number);

clrpalette() clears number palette registers beginning with register start.
Registers are cleared to 0.

*****************************************************************************

void fadepalettein(int start, int count, const p_rec palette);

fadepalettein() does a 64 pass DAC palette fade. It is called by the pcx::
display() member function, and may be called by any other function as well.
Clear the palette first, and then place the image data in the video buffer,
then call this function, which will fade the image in smoothly. Operates on
count registers beginning with register start. See type p_rec defined in
IMAGES.HPP

*****************************************************************************

void fadepaletteout(int start, int count);

fadepaletteout() removes an image from screen by fading the palette registers
to zero. Operates on count registers beginning with register start.

*****************************************************************************

void setgraphseg(unsigned newseg);

setgraphseg() sets the value of the GRAPH_SEG global variable (declared in
IMAGES.CPP to the desired value. All image routines that write or read
video memory (with the exception of the fades, wipes, and dissolves) assume
the video buffer begins at offset 0 of the segment contained in GRAPH_SEG.
This is usefull for redirecting the functions to operate on a virtual screen
in system ram.

*****************************************************************************

void clearscr(int color);

clearscr() clears the entire screen to the passed color. Assumes video buffer
at GRAPH_SEG.

*****************************************************************************

void barfill(int tlx, int tly, int brx, int bry, int color);

barfill() fills the rectangle bounded by top left coord (tlx,tly), and
bottom left coord (blx,bly) with color. Assumes video buffer at GRAPH_SEG

*****************************************************************************

void writepixel(int x, int y, int color);

writepixel() sets the color of the pixel at x,y. Color must be in the range
0..255. Assumes video buffer at GRAPH_SEG.

*****************************************************************************

char readpixel(int x, int y);

readpixel() returns the color value of the pixel at x,y. Color will be in
the range 0..255. Assumes video buffer at GRAPH_SEG.

*****************************************************************************

void far *xy_to_ptr(int x, int y);

xy_to_ptr returns a pointer to video memory at the location of pixel x,y.
Assumes video buffer at GRAPH_SEG.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久婷婷国产综合国色天香 | 蜜桃久久av一区| 午夜精品一区二区三区电影天堂 | 精品精品国产高清一毛片一天堂| 91精品午夜视频| 久久久99免费| 亚洲欧洲综合另类在线| 亚洲成人激情社区| 国产传媒一区在线| 91视频.com| aaa亚洲精品一二三区| 亚洲成人精品影院| 亚洲女人的天堂| 美女视频黄 久久| 日本美女视频一区二区| 精品福利一区二区三区免费视频| 99国产精品久久久久| 免费久久精品视频| 国产精品午夜在线观看| 久久一夜天堂av一区二区三区| 日韩一区二区免费在线电影| 日韩欧美一区二区免费| 久久综合99re88久久爱| 中文字幕在线不卡国产视频| 日韩欧美国产午夜精品| 亚洲国产精品激情在线观看| 中文字幕一区二区三区不卡| 成人欧美一区二区三区视频网页| 亚洲男人的天堂av| 另类综合日韩欧美亚洲| 国产精品1区2区3区| 欧美亚洲综合在线| 精品国产成人系列| 亚洲一区二区偷拍精品| 日韩激情av在线| 色94色欧美sute亚洲13| 亚洲婷婷综合久久一本伊一区| 99视频精品全部免费在线| 精品中文av资源站在线观看| 亚洲国产一区视频| 韩国午夜理伦三级不卡影院| 97精品视频在线观看自产线路二| 欧美日韩在线播放三区| 日本一区二区久久| 日本人妖一区二区| 亚洲国产美女搞黄色| 视频一区国产视频| 久久国产婷婷国产香蕉| 日韩av电影天堂| 亚洲欧洲综合另类| 日本美女一区二区三区视频| 99久久99精品久久久久久 | 亚洲综合男人的天堂| 国产精品久久久久久久午夜片| 亚洲一区视频在线观看视频| 国产精品久久影院| 成人黄色软件下载| 激情综合色丁香一区二区| 国产91精品免费| 精品精品欲导航| 制服丝袜日韩国产| 亚洲狼人国产精品| 久久精品国产亚洲5555| 日韩视频在线永久播放| 欧美xxxx在线观看| 精品一区免费av| 久久久久久影视| 国产高清不卡一区二区| 精品国产第一区二区三区观看体验| 日韩和欧美一区二区| 欧美三级一区二区| 午夜精品福利在线| 欧美不卡一区二区| 成人高清伦理免费影院在线观看| 中文文精品字幕一区二区| 高清不卡一区二区| 一个色在线综合| 久久免费精品国产久精品久久久久| 日韩精品免费专区| 日韩精品一区二区三区在线| 成人黄页毛片网站| 亚洲资源中文字幕| 91天堂素人约啪| 国产资源在线一区| 欧美激情自拍偷拍| 3d动漫精品啪啪一区二区竹菊| 美腿丝袜在线亚洲一区| 一区二区日韩电影| 91婷婷韩国欧美一区二区| 亚洲天堂a在线| 2欧美一区二区三区在线观看视频| 麻豆久久一区二区| 一区二区三区不卡视频在线观看| 久久久欧美精品sm网站| 精品嫩草影院久久| 欧美在线一二三四区| 91亚洲精品久久久蜜桃| 国产精品综合在线视频| 日韩电影在线免费| 欧美大肚乱孕交hd孕妇| 成人午夜看片网址| 136国产福利精品导航| 成人av在线一区二区| 国产69精品久久久久毛片 | 欧美国产日韩亚洲一区| 久久精品国产一区二区三| 免费高清视频精品| 久久91精品国产91久久小草| 久久精品999| 国产一区二区看久久| 亚洲一区二区3| 亚洲成a人片在线观看中文| 亚洲一区影音先锋| 韩国av一区二区三区在线观看| 日日摸夜夜添夜夜添亚洲女人| 天天综合网 天天综合色| 午夜欧美电影在线观看| 精品一区二区三区视频在线观看| 国产精品99久久久久久久女警| 成人精品小蝌蚪| 在线观看日韩一区| 国产高清成人在线| 欧美日韩一卡二卡三卡| 欧美精品一区二区三区很污很色的 | 一区二区三区免费网站| 日本亚洲电影天堂| 狠狠色狠狠色综合系列| 国模冰冰炮一区二区| 久久99久久99小草精品免视看| 亚洲.国产.中文慕字在线| 亚洲成a天堂v人片| 国产高清久久久| 日韩一区二区免费在线观看| 精品粉嫩超白一线天av| 亚洲在线免费播放| 水野朝阳av一区二区三区| 成人av网在线| 久久精品一区二区三区av| 精品一二三四在线| 精品污污网站免费看| 国产女人水真多18毛片18精品视频| 亚洲国产日韩在线一区模特| 色婷婷综合久久久中文字幕| 久久综合视频网| 中文字幕精品综合| 日本免费在线视频不卡一不卡二| 91色在线porny| 亚洲欧美一区二区三区极速播放| 亚洲天堂中文字幕| 丁香一区二区三区| 在线精品视频免费播放| 亚洲综合在线免费观看| 丁香啪啪综合成人亚洲小说 | 国产精品1区2区| 中文字幕亚洲精品在线观看| 国产成人综合在线观看| 亚洲欧洲日产国产综合网| 亚洲一区二区三区视频在线播放 | 26uuu精品一区二区三区四区在线| av激情综合网| 国产精品1区2区| 免费视频最近日韩| 午夜日韩在线电影| 亚洲美女在线国产| 亚洲视频香蕉人妖| 国产精品国产三级国产a| 国产亚洲短视频| www一区二区| 久久综合色鬼综合色| 欧美mv日韩mv| 欧美成人精精品一区二区频| 欧美一区二区二区| 欧美一级片免费看| 精品国精品国产| 国产女主播一区| 国产精品久久毛片| 亚洲天堂久久久久久久| 亚洲精品视频一区二区| 亚洲一区二区视频在线观看| 亚洲高清久久久| 天天色天天爱天天射综合| 美女视频免费一区| 狠狠色丁香婷综合久久| 97久久人人超碰| 正在播放亚洲一区| 国产欧美日韩亚州综合| 亚洲欧美电影院| 日韩电影在线一区二区| 北岛玲一区二区三区四区| 欧美三级日韩在线| 欧美精品一区二区三区视频| 欧美精品一区在线观看| 亚洲丝袜美腿综合| 久久9热精品视频| 99久久精品情趣| 精品国产一区二区三区忘忧草 | 欧美一级高清片| 中文字幕一区二区三区乱码在线| 日本不卡免费在线视频| 97精品电影院|