Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Old-School-Game/menu.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22 lines (14 sloc)
355 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef MENU_H | |
#define MENU_H | |
#define UP_KEY 65 | |
#define DOWN_KEY 66 | |
#define ENTER_KEY 10 | |
void drawCocktails(int xMax, int yMax, int mid, int mid2, WINDOW* pic, WINDOW* pic2); | |
void drawLogo(int xMax); | |
int kbhit(); | |
int showOptionsScreen(int yMax, int xMax, bool isPauseMenu); | |
int showMainMenu(); | |
bool isMuted(); | |
void toggleMute(); | |
int main(); | |
#endif |