Group_B_VirtualEscapeRoom
helper.h
Go to the documentation of this file.
1 
6 #ifndef __HELPER_H__
7 #define __HELPER_H__
8 
19 
26 extern void check_solved_stage1();
27 
34 extern void check_solved_stage2();
35 
42 extern void check_solved_stage3();
43 
57 extern void get_reward(int stage);
58 
66 extern void capitalize(char *word);
67 
68 #endif//__HELPER_H__
capitalize
void capitalize(char *word)
Capitalize a string.
Definition: helper.c:88
object
Main game object.
Definition: object.h:43
check_solved_stage2
void check_solved_stage2()
Checks whether all puzzles in stage 2 has been solved.
Definition: helper.c:39
check_solved_stage3
void check_solved_stage3()
Checks whether all puzzles in stage 3 has been solved.
Definition: helper.c:55
location
@ location
Definition: object.h:15
type_t
enum type type_t
Game object type.
type
type
Game object type.
Definition: object.h:14
get_reward
void get_reward(int stage)
Calculates the amount of hints used in that particular stage, and prints a reward.
Definition: helper.c:68
list_objects_at_location
int list_objects_at_location(OBJECT_t *location, type_t type)
Lists all objects of a certain type in a given location.
Definition: helper.c:10
check_solved_stage1
void check_solved_stage1()
Checks whether all puzzles in stage 1 has been solved.
Definition: helper.c:27