Commit graph

7 commits

Author SHA1 Message Date
436d738620 Refactoring in map reading code - part 1/2
Fixed a bug when iterating over a view that was smaller than the map size
Added a class to abstract map readers
2015-01-05 18:01:28 +01:00
a6afd2eb54 Add typedefs for const_iterator.
TileIterator needed to be modified in order to support const values.
2014-12-30 17:53:15 +01:00
c9381a4585 Advancing in the design of Tyler.
Iterating through tiles in viewports now works fine.
You can pass in a custom device as the data source for the tile map.
2014-12-29 16:17:59 +01:00
7bf96669a5 I can iterate through tiles using viewports. 2014-12-14 16:28:42 +01:00
0da607ab3d Progressing with the implementation 2014-12-12 20:04:48 +01:00
9086de8dae Advancing with the implementation.
The iterator is not included anywhere yet so it's completely untested.
Next step is to define the relationship between views and layers, so iterators can be put
into the class that will be responsible to spawn them.
2014-12-11 23:58:52 +01:00
1e5f4fd2f0 Adding the concept of layers.
Deferring the data loading task to lower level classes.
test_tiler removed as Tyler won't require the user to derive from it anymore.
2014-12-09 23:53:09 +01:00