X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_main.h;h=dc952386ad70373c05a67a0a751172ea37058126;hb=2864d9e4d3c1e3a42c4beb36b1cd23e98db7f1cd;hp=98950edc21394fab6dd4c62d5d2122466cee92fa;hpb=92de5f58a6890ca30470cfc0507095ef34290e04;p=rocksndiamonds.git diff --git a/src/game_mm/mm_main.h b/src/game_mm/mm_main.h index 98950edc..dc952386 100644 --- a/src/game_mm/mm_main.h +++ b/src/game_mm/mm_main.h @@ -1079,10 +1079,10 @@ extern int num_element_info; #define MSDOS_POINTER_FILENAME "mouse.pcx" /* functions for version handling */ -#define MM_VERSION_IDENT(x,y,z) ((x) * 10000 + (y) * 100 + (z)) -#define MM_VERSION_MAJOR(x) ((x) / 10000) -#define MM_VERSION_MINOR(x) (((x) % 10000) / 100) -#define MM_VERSION_PATCH(x) ((x) % 100) +#define MM_VERSION_IDENT(x,y,z) VERSION_IDENT(x,y,z,0) +#define MM_VERSION_MAJOR(x) VERSION_MAJOR(x) +#define MM_VERSION_MINOR(x) VERSION_MINOR(x) +#define MM_VERSION_PATCH(x) VERSION_PATCH(x) /* file version numbers for resource files (levels, score, setup, etc.) ** currently supported/known file version numbers: