OSDN Git Service

got pcxtest.exe to compile and work
[proj16/16.git] / 16 / modex16 / 16render.h
1 /* Project 16 Source Code~\r
2  * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
3  *\r
4  * This file is part of Project 16.\r
5  *\r
6  * Project 16 is free software; you can redistribute it and/or modify\r
7  * it under the terms of the GNU General Public License as published by\r
8  * the Free Software Foundation; either version 3 of the License, or\r
9  * (at your option) any later version.\r
10  *\r
11  * Project 16 is distributed in the hope that it will be useful,\r
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14  * GNU General Public License for more details.\r
15  *\r
16  * You should have received a copy of the GNU General Public License\r
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
18  * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
19  * Fifth Floor, Boston, MA 02110-1301 USA.\r
20  *\r
21  */\r
22 \r
23 #ifndef __RENDER_H__\r
24 #define __RENDER_H__\r
25 \r
26 //#include "16/src/lib/omodex16.h"\r
27 //#include "16/modex16/modex16.h"\r
28 #include "src/lib/16_vl.h"\r
29 \r
30 #ifndef SC_MAPMASK\r
31 #define SC_MAPMASK      2\r
32 #endif\r
33 \r
34 void modexDrawPBufRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *p, boolean sprite);\r
35 void modexDrawPBuf(page_t *page, int x, int y, planar_buf_t *p, boolean sprite); /*temp*/\r
36 void oldDrawBmp(byte far* page, int x, int y, bitmap_t *bmp, byte sprite);\r
37 void modexDrawBmp(page_t *page, int x, int y, bitmap_t *bmp);\r
38 void modexDrawBmpRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, bitmap_t *bmp);\r
39 void modexDrawSprite(page_t *page, int x, int y, bitmap_t *bmp);\r
40 void modexDrawSpriteRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, bitmap_t *bmp);\r
41 void modexDrawBmpPBuf(page_t *page, int x, int y, planar_buf_t *bmp); /*pbuf version*/\r
42 void modexDrawBmpPBufRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *bmp);\r
43 void modexDrawSpritePBuf(page_t *page, int x, int y, planar_buf_t *bmp);\r
44 void modexDrawSpritePBufRegion(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *bmp);\r
45 \r
46 #endif\r