mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
- Changed actor selection sets to CStr8 rather than CStrW.
- Added more comments in ScriptableComplex.h/inl explaining how they are split up and when to #include the inl. This was SVN commit r4180.
This commit is contained in:
@@ -80,11 +80,11 @@ CObjectBase* CObjectManager::FindObjectBase(const char* objectname)
|
||||
|
||||
CObjectEntry* CObjectManager::FindObject(const char* objname)
|
||||
{
|
||||
std::vector<std::set<CStrW> > selections; // TODO - should this really be empty?
|
||||
std::vector<std::set<CStr8> > selections; // TODO - should this really be empty?
|
||||
return FindObjectVariation(objname, selections);
|
||||
}
|
||||
|
||||
CObjectEntry* CObjectManager::FindObjectVariation(const char* objname, const std::vector<std::set<CStrW> >& selections)
|
||||
CObjectEntry* CObjectManager::FindObjectVariation(const char* objname, const std::vector<std::set<CStr8> >& selections)
|
||||
{
|
||||
CObjectBase* base = FindObjectBase(objname);
|
||||
|
||||
@@ -94,7 +94,7 @@ CObjectEntry* CObjectManager::FindObjectVariation(const char* objname, const std
|
||||
return FindObjectVariation(base, selections);
|
||||
}
|
||||
|
||||
CObjectEntry* CObjectManager::FindObjectVariation(CObjectBase* base, const std::vector<std::set<CStrW> >& selections)
|
||||
CObjectEntry* CObjectManager::FindObjectVariation(CObjectBase* base, const std::vector<std::set<CStr8> >& selections)
|
||||
{
|
||||
PROFILE( "object variation loading" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user