Commit Graph

4 Commits

Author SHA1 Message Date
King_DuckZ f1bcf8674d Implement the type_name() function. Only tested on gcc 5.1
Add Sprout library.
2015-06-24 22:13:48 +02:00
King_DuckZ 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
King_DuckZ ab6ef6c338 BaseMapSource doesn't need to know T. Only fetch() will need that. 2015-06-06 14:23:21 +02:00
King_DuckZ a82e8c16f6 Helper recursive map loader.
Recursion not tested since the file format is not ready yet, sorry.
2015-05-28 00:20:40 +02:00