source: trunk/src/layer.h @ 47

Last change on this file since 47 was 47, checked in by sam, 10 years ago

The layer name is no longer ignored.

  • Property svn:keywords set to Id
File size: 336 bytes
Line 
1
2/*
3 * The layer object
4 */
5
6#if !defined __DH_LAYER_H__
7#define __DH_LAYER_H__
8
9#include <cstdio>
10
11class Layer
12{
13public:
14    Layer(char const *name, int w, int h, FILE *fp);
15    ~Layer();
16
17    int GetZ();
18    unsigned int GetTile(int x, int y);
19
20private:
21    int width, height, z;
22    unsigned int *data;
23};
24
25#endif // __DH_LAYER_H__
26
Note: See TracBrowser for help on using the repository browser.