Search found 1 match

by Botanic
Thu Mar 12, 2009 8:00 am
Forum: Code Snippets
Topic: 2d Tiles and Maps Tutorial
Replies: 13
Views: 13180

nice peace of code. i guess the top of cTileMap.h should look like this and u messed up copy&paste :

/*
8/11/08
cTileMap.h
Dan Bush
*/
#ifndef TILE_MAP_H
#define TILE_MAP_H

using namespace std;

struct sMapHeader {

unsigned short width;
unsigned short height;
unsigned short nWidth;
unsigned ...