Im using Avesta (0.6.3) for version 7.72.
I changed...
... in configmanager.cpp to...
... in order to be able to choose a decimal number as RateExp in config.lua.
Then I added...
... in configmanager.h. But when I compile I still get error message...
Questions:
1. Am I anywhere near a solution? (I never used C++ before)
2. Should I use double for this?
3. How can I declare identifier? I want to use m_confDouble
I changed...
Code:
m_confInteger[RATE_EXPERIENCE] = getGlobalNumber(L, "RateExp", 1);
... in configmanager.cpp to...
Code:
m_confDouble[RATE_EXPERIENCE] = getGlobalNumber(L, "RateExp", 1);
... in order to be able to choose a decimal number as RateExp in config.lua.
Then I added...
Code:
enum double_config_t {
RATE_EXPERIENCE,
LAST_DOUBLE_CONFIG/* this must be the last one */
};
... in configmanager.h. But when I compile I still get error message...
1>.\configmanager.cpp(121) : error C2065: 'm_confDouble' : undeclared identifier
Questions:
1. Am I anywhere near a solution? (I never used C++ before)
2. Should I use double for this?
3. How can I declare identifier? I want to use m_confDouble