mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 16:53:33 +00:00
# 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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user