Ignore:
Timestamp:
Jul 6, 2010, 11:37:47 PM (11 years ago)
Author:
sam
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.cpp

    r70 r74  
    22#include "layer.h"
    33
    4 Layer::Layer(int w, int h, int z, char const *base64)
     4Layer::Layer(int w, int h, int in_z, uint32_t *in_data)
    55{
    66    width = w;
    77    height = h;
    8     level = z;
    9     data = new unsigned int[w * h];
     8    z = in_z;
     9    data = in_data;
    1010
    1111#if 0
     
    2727int Layer::GetZ()
    2828{
    29     return level;
     29    return z;
    3030}
    3131
Note: See TracChangeset for help on using the changeset viewer.