source: trunk/src/layer.h @ 74

Last change on this file since 74 was 74, checked in by sam, 12 years ago

Support CSV .tmx files to get rid of that pathetic system() call.

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