projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added function to get graphics for MM style game elements
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index fb1fc5ed620303db01503aedfb186a2113a50884..151fd94b1f4baad0b403d3b5c72254d6fdb71f88 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-7302,6
+7302,11
@@
int get_next_element(int element)
}
}
+int el2img_mm(int element_mm)
+{
+ return el2img(map_element_MM_to_RND(element_mm));
+}
+
int el_act_dir2img(int element, int action, int direction)
{
element = GFX_ELEMENT(element);