- moved map render logic into a shared base class

This commit is contained in:
Mark Vejvoda
2010-09-14 06:02:35 +00:00
parent 813076f64b
commit b95e2247cd
8 changed files with 431 additions and 188 deletions

View File

@@ -148,7 +148,7 @@ Program::Program(int w, int h) {
ofsetX = 0;
ofsetY = 0;
map = new MapPreview();
renderer.init(w, h);
renderer.initMapSurface(w, h);
}
Program::~Program() {