• 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.

Plot class location

Lynxbrutal

Chieftain
Joined
May 19, 2015
Messages
17
I'm making a mod to add claims and settling. I was going to do it by adding a parameter to the plot class/instance whatever. Where is it defined or how would I go about doing this?
 
Define it in CvPlot.h
Code:
class CvPlot
{
   // stuff
}
and implement it in CvPlot.cpp
Code:
CvPlot::FunctionMyFunction
{
   // do things
}

Of course, depending on what exactly you want, you may end up creating a new (sub-)structure too.
 
Back
Top Bottom