Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx
for(i=0; i<4; i++) _global_ground[i] = global_ground[i];
}
-void Rotor::setParameter(char *parametername, float value)
+void Rotor::setParameter(const char *parametername, float value)
{
#define p(a,b) if (strcmp(parametername,#a)==0) _##a = (value * (b)); else
p(translift_ve,1)
void setAlphaoutput(int i, const char *text);
void setCcw(int ccw);
int getCcw() {return _ccw;};
- void setParameter(char *parametername, float value);
+ void setParameter(const char *parametername, float value);
void setGlobalGround(double* global_ground, float* global_vel);
float getTorqueOfInertia();
int getValueforFGSet(int j,char *b,float *f);
struct SFG_Font {
- char* Name; /* The source font name */
+ const char* Name; /* The source font name */
int Quantity; /* Number of chars in font */
int Height; /* Height of the characters */
const GLubyte** Characters; /* The characters mapping */