Afforess
The White Wizard
I could have sworn you had this correct above:
I think this lineCode:return m_pszCivicAttitudeReason[B][COLOR=Red][i][/COLOR][/B];
is unnecessary since CvStrings are automatically initialized to be empty ("").Code:pXML->InitList(&m_pszCivicAttitudeReason, GC.getNumCivicInfos(), "");
Finally, remove the & from that last line:
The function is declared to take a reference which works just like a pointer except that you don't take the address using & when calling it. The compiler takes care of that for you.Code:pXML->GetNextXmlVal([B][COLOR=Red][s]&[/s][/COLOR][/B]m_pszCivicAttitudeReason[iCivicType]);
haha! It compiled.
Now, I need to make it loop for the right civic combo and pull out the correct string for the attitude, which will all be done in CvGameTextMgr, correct?
A sidenote, my poor laptop doesn't like me compiling two dll's at once.