Fix all the gcc warnings

This commit is contained in:
dP
2024-05-05 21:50:54 +05:00
parent 6d1138b9a0
commit 06a70c3b7d
26 changed files with 85 additions and 110 deletions
+3 -3
View File
@@ -3235,10 +3235,10 @@ static void CheckOverflow(int &test, int &other, int max, int mult)
test = max;
}
static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW);
static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW);
// static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW);
// static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW);
static const uint HORZ_DIRS = (1 << DIR_W) | (1 << DIR_E);
static const uint VERT_DIRS = (1 << DIR_N) | (1 << DIR_S);
// static const uint VERT_DIRS = (1 << DIR_N) | (1 << DIR_S);
/**
* Convert a given point and a given #Direction to best matching #Trackdir.