X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftools.c;h=aa1767a426c9f4e962b63a08ab06935564906ed2;hb=445f1cdcd097f1ede6f6224c1aeef91c7f8eae81;hp=726d97235fcc11fc6561f4563524f12178309b9f;hpb=949d7f40ef925eef7e473b12d5fc08a81d9c2eff;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 726d9723..aa1767a4 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5474,6 +5474,11 @@ int el2preimg(int element) return element_info[element].special_graphic[GFX_SPECIAL_ARG_PREVIEW]; } +int font2baseimg(int font_nr) +{ + return font_info[font_nr].special_graphic[GFX_SPECIAL_ARG_DEFAULT]; +} + int getGameFrameDelay_EM(int native_em_game_frame_delay) { int game_frame_delay_value;