Subversion Repositories Games.Rick Dangerous

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
/*
2
 * src/draw.h
3
 *
4
 * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
5
 *
6
 * The use and distribution terms for this software are contained in the file
7
 * named README, which can be found in the root of this distribution. By
8
 * using this software in any fashion, you are agreeing to be bound by the
9
 * terms of this license.
10
 *
11
 * You must not remove this notice, or any other, from this software.
12
 */
13
 
14
#ifndef _DRAW_H
15
#define _DRAW_H
16
 
17
#include "system.h"
18
 
19
#include "rects.h"
20
#include "img.h"
21
 
22
/* map coordinates of the screen */
23
#define DRAW_XYMAP_SCRLEFT (-0x0020)
24
#define DRAW_XYMAP_SCRTOP (0x0040)
25
/* map coordinates of the top of the hidden bottom of the map */
26
#define DRAW_XYMAP_HBTOP (0x0100)
27
 
28
extern U8 *draw_tllst;
29
extern U8 draw_tilesBank;
30
extern rect_t draw_STATUSRECT;
31
extern rect_t draw_SCREENRECT;
32
 
33
extern void draw_setfb (U32, U32);
34
extern U8 draw_clipms (S16 *, S16 *, U16 *, U16 *);
35
extern void draw_tilesList (void);
36
extern void draw_tilesListImm (U8 *);
37
extern U8 draw_tilesSubList (void);
38
extern void draw_tile (register U8);
39
extern void draw_sprite (U8, U16, U16);
40
extern void draw_sprite2 (U8, U16, U16, U8);
41
extern void draw_spriteBackground (U16, U16);
42
extern void draw_map (void);
43
extern void draw_drawStatus (void);
44
extern void draw_pic (U16, U16, U16, U16, U32 *);
45
 
46
#endif