X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=aa1767a426c9f4e962b63a08ab06935564906ed2;hb=445f1cdcd097f1ede6f6224c1aeef91c7f8eae81;hp=726d97235fcc11fc6561f4563524f12178309b9f;hpb=ff9566324863d1ba0a72478982fe9c2b4ff3dd88;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;