Quote:
Originally Posted by Immortal_BLG
About it I don't know, try to declare this function in bot_globals.cpp, but why you do not accept the declaration in a header file, how has offered Whistler?
|
Because I just don't know how to do it with a member of a class/namespace.
Quote:
Originally Posted by Immortal_BLG
And into the account of classes and namespaces - you are free to make with a code all that you want, so you can simply remove this namespace....
|
If You can re-write that function so it doesn't need to be a member of namespace/class, it would be moreeasy for me to handle it.
Another thing I'm thinking of is - how much Your function consume the CPU power since it is a recursive function, which needs to be called for every 30 bots on the server (if there are 30 bots)?