Changeset 79 for trunk/src/layer.h


Ignore:
Timestamp:
Jul 8, 2010, 2:00:13 AM (10 years ago)
Author:
sam
Message:

Rendering starts to work again. There is no Z-sorting yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.h

    r75 r79  
    77#define __DH_LAYER_H__
    88
    9 #include <cstdio>
    109#include <stdint.h>
     10
     11#include "scene.h"
    1112
    1213class Layer
     
    1718
    1819    int GetZ();
    19     unsigned int GetTile(int x, int y);
    2020
    21     void Draw();
     21    void Render(Scene *scene, int x, int y, int z);
    2222
    2323private:
    24     int width, height, z;
     24    int width, height, altitude;
    2525    uint32_t *data;
    2626};
Note: See TracChangeset for help on using the changeset viewer.