shithub: choc

Download patch

ref: 85546c0353ca98fd3426f0fadb55ea3de6c16157
parent: 952ed0699fc553f4bb53eb7aeeae5f19c4a79c9c
author: Turo Lamminen <[email protected]>
date: Tue Apr 24 15:22:28 EDT 2018

doom: Remove unused function M_DrawSelCell

--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -214,7 +214,6 @@
 void M_DrawSaveLoadBorder(int x,int y);
 void M_SetupNextMenu(menu_t *menudef);
 void M_DrawThermo(int x,int y,int thermWidth,int thermDot);
-void M_DrawSelCell(menu_t *menu,int item);
 void M_WriteText(int x, int y, char *string);
 int  M_StringWidth(char *string);
 int  M_StringHeight(const char *string);
@@ -1208,16 +1207,6 @@
 
     V_DrawPatchDirect((x + 8) + thermDot * 8, y,
 		      W_CacheLumpName(DEH_String("M_THERMO"), PU_CACHE));
-}
-
-
-void
-M_DrawSelCell
-( menu_t*	menu,
-  int		item )
-{
-    V_DrawPatchDirect(menu->x - 10, menu->y + item * LINEHEIGHT - 1,
-                      W_CacheLumpName(DEH_String("M_CELL2"), PU_CACHE));
 }