|
|
@@ -316,9 +316,10 @@ void StateMap::print_haeccity(const char *str, unsigned x, unsigned y,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// TODO : We definitely need a Resource Manager
|
|
|
StateMap::StateMap(int x, int y, Map &map)
|
|
|
- : camera(x, y), map(map), arc_haeccity("data/haeccity.wrf"),
|
|
|
- tex_haeccity(arc_haeccity.get("haeccity"))
|
|
|
+ : camera(x, y), map(map), data("data/out.wrf"),
|
|
|
+ tex_haeccity(data.get("t_haecci")), txt(tex_haeccity, data.get("f_haecci"))
|
|
|
{
|
|
|
}
|
|
|
|