1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Tweak rollback stuff

This commit is contained in:
Perttu Ahola 2012-07-27 14:52:29 +03:00
parent 0de3fb786d
commit 7ef0a13250
4 changed files with 15 additions and 8 deletions

View file

@ -124,7 +124,8 @@ public:
virtual std::string getActor() = 0;
virtual bool isActorGuess() = 0;
virtual void setActor(const std::string &actor, bool is_guess) = 0;
virtual std::string getSuspect(v3s16 p, int max_time) = 0;
// nearness_shortcut: 100 = same second, same node; 90 = 10s or 10 nodes
virtual std::string getSuspect(v3s16 p, int max_time, float nearness_shortcut=98) = 0;
};
class RollbackScopeActor