# Support AI construction of buildings.

Pass terrain passability data to AI scripts.
Expand pathfinder passability data to 16 bits per tile, to allow more
classes.
Support 16-bit ints in serializer.
Partially support JS typed arrays.
Allow foundations to be placed on top of units (fixes #499).
Stop farms and fishes blocking movement (fixes #534).
Add obstruction flags to allow finer control over what they block.
Associate entity IDs with obstruction shapes, to allow finding colliding
entities.
Support moving to the edge of a target entity with inactive obstruction.
Support foundation entities in AI.
Support playing as non-hele civs.

This was SVN commit r8899.
This commit is contained in:
Ykkrosh
2011-02-10 16:06:28 +00:00
parent 556664d477
commit b8925fbbc9
55 changed files with 1562 additions and 268 deletions
@@ -1,4 +1,4 @@
/* Copyright (C) 2010 Wildfire Games.
/* Copyright (C) 2011 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -90,6 +90,16 @@ void CDebugSerializer::PutNumber(const char* name, int8_t value)
m_Stream << INDENT << name << ": " << (int)value << "\n";
}
void CDebugSerializer::PutNumber(const char* name, uint16_t value)
{
m_Stream << INDENT << name << ": " << value << "\n";
}
void CDebugSerializer::PutNumber(const char* name, int16_t value)
{
m_Stream << INDENT << name << ": " << value << "\n";
}
void CDebugSerializer::PutNumber(const char* name, uint32_t value)
{
m_Stream << INDENT << name << ": " << value << "\n";