Alright so i'm actually a java developer so i'm pretty new to this. But this is just a very weird issue which I can't explain...
I'm following a very simple guide to add a new stated pet with a new bonus, speed in this case. I have a certain part in the code which is checking if a certain definition is present:
define.h (resource)
As you can see, the line "#define PK_MAX 7" lights up so it means that the editor thinks, that __NEWRAISEDPETSPEED is not defined. While when I CTRL+click it, it brings me right to the definition...
kCommon.h
Can anyone explain me why my editor does not recognize that __NEWRAISEDPETSPEED def?
When I put the __NEWRAISEDPETSPEED def right above it, it works fine...
I'm following a very simple guide to add a new stated pet with a new bonus, speed in this case. I have a certain part in the code which is checking if a certain definition is present:
define.h (resource)
Code:
#ifdef __NEWRAISEDPETSPEED
#define PK_XAKZI 7
#define PK_MAX 8
#else
#define PK_MAX 7
#endif
You must be registered to see links
As you can see, the line "#define PK_MAX 7" lights up so it means that the editor thinks, that __NEWRAISEDPETSPEED is not defined. While when I CTRL+click it, it brings me right to the definition...
kCommon.h
You must be registered to see links
Can anyone explain me why my editor does not recognize that __NEWRAISEDPETSPEED def?
When I put the __NEWRAISEDPETSPEED def right above it, it works fine...
You must be registered to see links