mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
code review
This commit is contained in:
@@ -52,6 +52,10 @@ class MapView : public BasicMapView
|
||||
std::vector<std::pair<uint32_t, Point>> swipeHistory;
|
||||
double postSwipeAngle = 0.0;
|
||||
double postSwipeSpeed = 0.0;
|
||||
|
||||
const int postSwipeCatchIntervalMs = 150;
|
||||
const double postSwipeSlowdownSpeed = 0.006;
|
||||
const double postSwipeMinimalSpeed = 0.1;
|
||||
|
||||
void postSwipe(uint32_t msPassed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user