projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
92de5f5
)
fixed macros for level file version handling for Mirror Magic game engine
author
Holger Schemel
<info@artsoft.org>
Fri, 17 Feb 2017 22:05:25 +0000
(23:05 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Mar 2018 22:21:07 +0000
(23:21 +0100)
src/game_mm/mm_main.h
patch
|
blob
|
history
diff --git
a/src/game_mm/mm_main.h
b/src/game_mm/mm_main.h
index 98950edc21394fab6dd4c62d5d2122466cee92fa..dc952386ad70373c05a67a0a751172ea37058126 100644
(file)
--- 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 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:
/* file version numbers for resource files (levels, score, setup, etc.)
** currently supported/known file version numbers: