File: construct.h

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (38 lines) | stat: -rw-r--r-- 811 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
**	A clone of a famous game.
*/
/**@name construct.h	-	The constructions headerfile. */
/*
**	(c) Copyright 1998,1999 by Lutz Sammer
**
**	$Id: construct.h,v 1.4 1999/06/19 22:21:48 root Exp $
*/

#ifndef __CONSTRUCT_H__
#define __CONSTRUCT_H__

//@{

/*----------------------------------------------------------------------------
--	CONSTRUCTION
----------------------------------------------------------------------------*/

typedef struct _construction_ {
    char*	File[TilesetMax];	// sprite file

    int		Width;			// " width
    int		Height;			// " height

// --- FILLED UP ---

    RleSprite*	RleSprite;		// sprite image
} Construction;

#define ConstructionWall	15

extern void LoadConstructions(void);
extern void DrawConstruction(int type,int image,int x,int y);

//@}

#endif	// !__CONSTRUCT_H__