Commit graph

7 commits

Author SHA1 Message Date
d815b394ea Move code that doesn't need to be templated to another class. 2015-06-28 19:11:21 +02:00
fd8a1cbabc Add a hash mechanism to BaseMapSource.
This is needed to recognize what type of tiles a layer contains.
Client code has to fill in a map of hash => add_layer<T>() pointers.
As a layer is loaded, the correct add_layer<T>() is called based
on the hash saved with the layer itself.
2015-06-07 03:57:18 +02:00
d21a567fb7 Progress implementing TylerMapSource. 2015-06-06 14:37:54 +02:00
ab6ef6c338 BaseMapSource doesn't need to know T. Only fetch() will need that. 2015-06-06 14:23:21 +02:00
49f7d15379 Vector doesn't need to be told the type every time. 2015-06-06 14:16:35 +02:00
12db1d9638 Clean up and handle endianness. 2015-06-04 20:59:07 +02:00
f1a6cac62b Start implementing the tyler map loader.
Untented and incomplete.
2015-05-29 00:15:06 +02:00