Changeset 47 for trunk/src/layer.h


Ignore:
Timestamp:
Jul 4, 2010, 2:07:55 AM (10 years ago)
Author:
sam
Message:

The layer name is no longer ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.h

    r38 r47  
    11
    2 #if !defined __LAYER_H__
    3 #define __LAYER_H__
     2/*
     3 * The layer object
     4 */
     5
     6#if !defined __DH_LAYER_H__
     7#define __DH_LAYER_H__
    48
    59#include <cstdio>
     
    812{
    913public:
    10     Layer(int w, int h, FILE *fp);
     14    Layer(char const *name, int w, int h, FILE *fp);
    1115    ~Layer();
    1216
     17    int GetZ();
    1318    unsigned int GetTile(int x, int y);
    1419
    15 //private:
    16     int width, height;
     20private:
     21    int width, height, z;
    1722    unsigned int *data;
    1823};
    1924
    20 #endif // __LAYER_H__
     25#endif // __DH_LAYER_H__
    2126
Note: See TracChangeset for help on using the changeset viewer.