summaryrefslogtreecommitdiff
path: root/src/VX-GAMBLEGROUND.h
blob: 182a51f399902c607f57676c623fddf22b3786ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __SLOTS__VXGAMBLEGROUND_H__1443534935301
#define __SLOTS__VXGAMBLEGROUND_H__1443534935301

#include "screen.h"

struct arguments {
    char *inputpass;
    int flags;
};
#define SKIPSLOTS   0x1
#define SKIPENC     0x2

#define PHRASESIZE 32
int genphrase(char *phrase, size_t phrasesize);

struct bullshit {
    struct sigaction handler;
    int row, col, randphrase;
    char passphrase[PHRASESIZE + 1];

    WINDOW *banner, *menuholder;
    ITEM *items[STATIC_ARRSIZE(menu_choices) + 1];
    MENU *menu;

    struct slotholder slots;
    struct params params;
};

#endif