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