Commit graph

14 commits

Author SHA1 Message Date
4df71e46a1 DELEME4 2015-08-28 17:31:17 +02:00
a7dd322da6 DELEME2 2015-08-27 17:12:55 +02:00
9ccbe880a4 DELEME 2015-08-26 18:08:05 +02:00
163d4e0e13 Add operator+= and -= to Viewport to allow panning. 2015-08-26 00:00:43 +02:00
6a6dfd9225 Fix some asserts, get rid of subtiles params. 2015-08-25 20:53:35 +02:00
e001f46dbe Add GPL3 licence. 2015-08-19 21:06:58 +02:00
78312526ac Get game to build again. 2015-08-16 22:29:34 +02:00
8f77af0ac1 Replace assert with DK_ASSERT. 2015-08-14 12:30:27 +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
ab6ef6c338 BaseMapSource doesn't need to know T. Only fetch() will need that. 2015-06-06 14:23:21 +02:00
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
ea71478948 Refactoring in the data loading classes.
Lots of junk code removed, the architecture is now much simpler.
AsciiMapSource works as before.
2015-05-25 01:37:20 +02:00
701366bf86 Replace size_t with uint32_t for template parameter D
This fixes the build on 64-bit machines, where size_t and uint32_t from vector.hpp would mismatch.
2015-01-08 12:20:17 +01:00
7a8ffe2060 Public header files moved into the doorkeeper subdirectory 2015-01-06 16:38:52 +01:00
Renamed from include/components/tyler.hpp (Browse further)