rf900
Warlord
- Joined
- Jan 31, 2006
- Messages
- 194
Hi Thal...
Looked a bit at how to change Plot_GetPlotsInCircle, I see that it returns a table of land plots. I am not too familiar with LUA, but if I did this in C++ using an array I guess there is no easy way for LUA to access that array information which is what you are looking for.
One way, if I can find how to expose a new C++ function to LUA (should be). Then I would to modify your Plot_GetPlotsInCircle function so that it stills fills in the table of land plots but all the finding of those single plots would be done in C++. Do you think that should give the efficiency you need?
Need to rethink this, seems the current code is already pushing arrays to LUA...
One way, if I can find how to expose a new C++ function to LUA (should be). Then I would to modify your Plot_GetPlotsInCircle function so that it stills fills in the table of land plots but all the finding of those single plots would be done in C++. Do you think that should give the efficiency you need?
Need to rethink this, seems the current code is already pushing arrays to LUA...