summaryrefslogtreecommitdiff
path: root/interface.c
blob: bb8f7cdd63428ddad9624204c99ff28488d969aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "powder.h"
#include "interface.h"


void menu_count(void)
{
    int i=0;
    msections[SC_WALL].itemcount = UI_WALLCOUNT-4;
    msections[SC_SPECIAL].itemcount = 4;
    for(i=0; i<PT_NUM; i++)
    {
        msections[ptypes[i].menusection].itemcount+=ptypes[i].menu;
    }

}