Space Type 1.0 A retro typing trainer, test and game set in space

Loading...
Searching...
No Matches
spacetype_functions.h
1
2#include <stdlib.h>
3#include <stdio.h>
4#include <time.h>
5#include <raymath.h>
6
7 void draw_background();
8 void draw_menu();
9 void reset_counter();
10 void remove_firstletter(char word[]);
11 void pause_screen();
12 void tutorial_screen();
13 void keyboard_highlight (char a);
21 struct charCount{
22 char character;
23 int count;
24} wrongLetters[26];
draw_menu
void draw_menu()
Draws main menu for the application.
Definition: main.c:117
keyboard_highlight
void keyboard_highlight(char a)
hightlights requried letter
Definition: spacetype_functions.c:185
draw_background
void draw_background()
Draws background in all modes.
Definition: spacetype_functions.c:83
tutorial_screen
void tutorial_screen()
Shows a tutorial screeen for touch typing.
Definition: spacetype_functions.c:452
reset_counter
void reset_counter()
resets variables for required statistics
Definition: spacetype_functions.c:111
remove_firstletter
void remove_firstletter(char word[])
Removes the first letter of the word sent.
Definition: spacetype_functions.c:69
pause_screen
void pause_screen()
Creates a pause menu.
Definition: spacetype_functions.c:135
word
char word[20]
word which is presented to type
Definition: spacetype_game.c:21
charCount
This structure stores mistyped characters and their frequency.
Definition: spacetype_functions.h:21
charCount::character
char character
Definition: spacetype_functions.h:22
charCount::count
int count
Definition: spacetype_functions.h:23