mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Rotation rebase2 (#912)
* Instead of [x][y][z] coordinates, map will be stored as [z][x][y]. * Nullkiller AI can get it too. * Use boost::multi_array instead of nested vectors * In MapHandler too * Rotate foreach algorithms, too * VCAI gets rotated, too
This commit is contained in:
@@ -84,7 +84,7 @@ struct DLL_LINKAGE TerrainTile
|
||||
ui8 terView;
|
||||
std::string riverType;
|
||||
ui8 riverDir;
|
||||
std::string roadType;
|
||||
std::string roadType; //TODO: switch to ui8
|
||||
ui8 roadDir;
|
||||
/// first two bits - how to rotate terrain graphic (next two - river graphic, next two - road);
|
||||
/// 7th bit - whether tile is coastal (allows disembarking if land or block movement if water); 8th bit - Favorable Winds effect
|
||||
|
||||
Reference in New Issue
Block a user