Members Chapter Previous Next

class CDXMap

This is the main object which controls tile based scrolling in CDX. Screen, tile and map information all come together in this class to produce a scrolling output. Map information is stored (using the default CDXMapCell class) in binary files in the simplest possible form:
 Map width (4 bytes)
 Map height (4 bytes)
 Map data (Map width * Map height * 4 bytes)

#include "cdxmap.h"