-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimCase.cpp
More file actions
42 lines (32 loc) · 938 Bytes
/
Copy pathSimCase.cpp
File metadata and controls
42 lines (32 loc) · 938 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
42
//libraries
#include <iostream>
#include <fstream>
#include <cstring>
#include <ncurses.h>
//data structures
//global variables
int ScreenWidth, ScreenHeight;
//function calls
void init(); //initialization
void RollAnimation(); //rolling animation (duh)
void MainMenu(); //main menu selection and idk what
void ItemList(); // item list where you can add or remove items
int main()
{
init();
return 0;
}
void init()
{
char mesg[]="Just a string";
initscr();
//curs_set(0);
getmaxyx(stdscr, ScreenHeight, ScreenWidth);
noecho();
wborder(stdscr, '|', '|', '_', '_', '+', '+', '+', '+');
refresh();
mvprintw(ScreenHeight/2, (ScreenWidth-strlen("initialization complete."))/2, "Initialization complete.");
mvprintw(ScreenHeight/2+1, (ScreenWidth-strlen("Press any key to continue."))/2, "Press any key to continue.");
getch();
endwin();
}