Quote:
Originally Posted by KWo
Because I just don't know how to do it with a member of a class/namespace.
|
There is no difficult. Just cut code from utils.cpp and paste it to bot_globals.cpp....
Quote:
Originally Posted by KWo
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.
|
Just remove:
Code:
namespace Light
{
// ...
}
And also "Light::" prefixes.
Quote:
Originally Posted by KWo
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)?
|
Not cheked, but I think it is more faster then 30 fake illumination entities....