• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

"not a member" problem

Ferocca

Warlord
Joined
Nov 21, 2011
Messages
179
Hello, I am trying to add a 'featurehealth integer' to civics, like how the BtS vanilla game already had a 'featurehappiness integer'.
I guess I have become rusty, as the last time I modded Civ4 is about 10 years ago, and back then I could just look at something similar and copy that with small changes where necessary, and it would work without problems.
But now when I compile a dll with this new civic option (+health from a defined feature if that civic is chosen), it says 'X is not a member of 'CvCivicInfo'' and similar things, as well as '... is not a base or a member'
I don't get it as I did declare everything in the header files, and it's the kind of error that makes it sound like that's what I forgot - but I did not.

Does anyone have a clue what can cause this or know a guide that explains how to 'copy and edit' existing integers like I am trying to do here?

Thanks in advance :)
 
Try to recompile everything. Visual studio has a "rebuild" option for that.
 
Back
Top Bottom