mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 11:12:06 +00:00
VS2005 compatibility fixes and warning adjustments:
Updated DLLs. Added DirectX headers/libraries, since they're not in the platform SDK. Fixed invalid STL iterator usage. Disabled STL in stack trace, since it breaks. Added comments for some reported warnings. Corrected some apparent off-by-one errors. Defined strlen_s to strnlen. Probably broke pre-beta2 versions of VC2005. This was SVN commit r2454.
This commit is contained in:
@@ -36,7 +36,7 @@ CObjectEntry::~CObjectEntry()
|
||||
delete m_Model;
|
||||
}
|
||||
|
||||
bool CObjectEntry::BuildRandomVariant(CObjectBase::variation_key& vars, CObjectBase::variation_key::iterator& vars_it)
|
||||
bool CObjectEntry::BuildRandomVariant(const CObjectBase::variation_key& vars, CObjectBase::variation_key::const_iterator vars_it)
|
||||
{
|
||||
CStr chosenTexture;
|
||||
CStr chosenModel;
|
||||
|
||||
Reference in New Issue
Block a user