embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
muh_game.c File Reference
#include "project_settings.h"
#include "random_int.h"
#include "stddef.h"
#include "strings.h"
#include "game.h"
#include "timing.h"
#include "task.h"
#include "terminal.h"
Include dependency graph for muh_game.c:

Data Structures

struct  muh_game_t
 game structure More...
 

Macros

#define MAP_WIDTH   40
 
#define MAP_HEIGHT   30
 
#define FIRE_SPEED   50
 
#define MIN_ENEMY_TIME   3000/(MAP_HEIGHT-1)
 
#define MAX_ENEMY_TIME   12000/(MAP_HEIGHT-1)
 
#define MIN_ENEMY_RATE   1000
 
#define MAX_ENEMY_RATE   8000
 
#define MUH_MAX_SHOTS   5
 
#define MUH_MAX_ENEMIES   3
 

Functions

void MuhGame_Init (void)
 

Macro Definition Documentation

#define FIRE_SPEED   50
#define MAP_HEIGHT   30
#define MAP_WIDTH   40
#define MAX_ENEMY_RATE   8000
#define MAX_ENEMY_TIME   12000/(MAP_HEIGHT-1)
#define MIN_ENEMY_RATE   1000
#define MIN_ENEMY_TIME   3000/(MAP_HEIGHT-1)
#define MUH_MAX_ENEMIES   3
#define MUH_MAX_SHOTS   5