summaryrefslogtreecommitdiff
path: root/src/VX-GAMBLEGROUND.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-08-30 19:29:53 -0500
committer@syxhe <https://t.me/syxhe>2024-08-30 19:29:53 -0500
commite51f37f52c4452be1c2cacf5969e6d754eaecc70 (patch)
tree6fc8c2124b9ab2f4a8c8e9bdd598c9d3021c00e7 /src/VX-GAMBLEGROUND.h
parent80ed3fd818905cb08ad04abc166a4b2c936955e3 (diff)
Put passphrase on main window
Diffstat (limited to 'src/VX-GAMBLEGROUND.h')
-rw-r--r--src/VX-GAMBLEGROUND.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VX-GAMBLEGROUND.h b/src/VX-GAMBLEGROUND.h
index 80baacb..182a51f 100644
--- a/src/VX-GAMBLEGROUND.h
+++ b/src/VX-GAMBLEGROUND.h
@@ -10,9 +10,13 @@ struct arguments {
10#define SKIPSLOTS 0x1 10#define SKIPSLOTS 0x1
11#define SKIPENC 0x2 11#define SKIPENC 0x2
12 12
13#define PHRASESIZE 32
14int genphrase(char *phrase, size_t phrasesize);
15
13struct bullshit { 16struct bullshit {
14 struct sigaction handler; 17 struct sigaction handler;
15 int row, col, randphrase; 18 int row, col, randphrase;
19 char passphrase[PHRASESIZE + 1];
16 20
17 WINDOW *banner, *menuholder; 21 WINDOW *banner, *menuholder;
18 ITEM *items[STATIC_ARRSIZE(menu_choices) + 1]; 22 ITEM *items[STATIC_ARRSIZE(menu_choices) + 1];