Ignore:
Timestamp:
Jul 7, 2010, 2:11:16 AM (11 years ago)
Author:
sam
Message:

Much better resource allocation and release. Scene manager stub.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.cpp

    r74 r75  
     1
     2#include <stdlib.h>
    13
    24#include "layer.h"
     
    2224Layer::~Layer()
    2325{
    24     delete data;
     26    free(data);
     27}
     28
     29void Layer::Draw()
     30{
     31    for (int y = 0; y < 32; y++)
     32        for (int x = 0; x < 32; x++)
     33            ;//tileset->AddTile(GetTile(x, y), x * 32, y * 32, z);
    2534}
    2635
Note: See TracChangeset for help on using the changeset viewer.