X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_main.h;h=dc952386ad70373c05a67a0a751172ea37058126;hb=0a82d94ecb53afceb830366ca8f0a5ff09997109;hp=98950edc21394fab6dd4c62d5d2122466cee92fa;hpb=8cef7dc31f5b96c492079d59acab2cb1587b3c8c;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: