Wardancer
2013-02-21 19:27:10
I'm a strong believer that a) I'm not the smarter guy around here and b) the sum is bigger than its parts. I'm working on a function and I thought of two ways to execute it, but I'm not pleased with what I thought of so far. Let me explain what I want to do.
I'm working on a system that would record points on the minimap and not store the information as static coordinates but rather while taking into consideration the surroundings and moving. It doesn't have to be excessively precise. For this, I thought of two possibilities so far: SPS and DTM.
The main problem I have with SPS is its speed of execution. The function SPS_GetMyPos takes, at best, 400ish miliseconds and my attempts to quicken it didn't yield any promising result.
As for DTM/DDTM, it'd do the trick, but moving tends to pretty much ruin any precision. Of course, I could build a few fail safes around it and it's, by far, the leading candidate for this task, but I'm curious if you can think of other ways to get it done.
I'm working on a system that would record points on the minimap and not store the information as static coordinates but rather while taking into consideration the surroundings and moving. It doesn't have to be excessively precise. For this, I thought of two possibilities so far: SPS and DTM.
The main problem I have with SPS is its speed of execution. The function SPS_GetMyPos takes, at best, 400ish miliseconds and my attempts to quicken it didn't yield any promising result.
As for DTM/DDTM, it'd do the trick, but moving tends to pretty much ruin any precision. Of course, I could build a few fail safes around it and it's, by far, the leading candidate for this task, but I'm curious if you can think of other ways to get it done.