*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@897 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-02 22:33:42 +00:00
parent e0c5539b29
commit c9d3e90683
9 changed files with 45 additions and 45 deletions
-15
View File
@@ -41,15 +41,6 @@ void showmenu(char *name)
menuset(m);
}
int menucompare(mitem *a, mitem *b)
{
int x = atoi(a->text);
int y = atoi(b->text);
if(x>y) return -1;
if(x<y) return 1;
return 0;
}
void drawarrow(int dir, int x, int y, int size, float r = 1.0f, float g = 1.0f, float b = 1.0f)
{
glDisable(GL_BLEND);
@@ -177,12 +168,6 @@ void menumanual(void *menu, int n, char *text, char *action)
mitem.hoveraction = NULL;
}
void sortmenu(void *menu, int start, int num)
{
gmenu &m = *(gmenu *)menu;
m.items.sort(menucompare, start, num);
}
void menuitem(char *text, char *action, char *hoveraction)
{
if(!lastmenu) return;