generalise sorting of lists of integer sets

This commit is contained in:
ac-stef
2016-02-07 18:34:31 +01:00
parent 4da510f51d
commit 697197bd5b
3 changed files with 12 additions and 6 deletions
+3
View File
@@ -63,6 +63,9 @@ int fixmapheadersize(int version, int headersize) // we can't trust hdr.header
mapdim mapdims; // min/max X/Y and delta X/Y and min/max Z
int cmpintasc(const int *a, const int *b) { return *a - *b; } // leads to ascending sort order
int cmpintdesc(const int *a, const int *b) { return *b - *a; } // leads to descending sort order
extern char *maplayout, *testlayout;
extern int maplayout_factor, testlayout_factor, Mvolume, Marea, Mopen, SHhits;
extern float Mheight;