2010-04-01 03:11:59 +00:00
|
|
|
#ifndef VARIANT_FP_H_
|
|
|
|
#define VARIANT_FP_H_
|
|
|
|
|
2010-08-24 23:00:40 +00:00
|
|
|
#include <stdint.h>
|
2010-08-22 03:07:46 +00:00
|
|
|
#include "bearing.h"
|
2010-08-28 15:13:35 +00:00
|
|
|
#include "highscore.h"
|
|
|
|
#include "variants.h"
|
2010-04-01 03:11:59 +00:00
|
|
|
#include "input.h"
|
|
|
|
|
|
|
|
|
|
|
|
/***************
|
|
|
|
* entry point *
|
|
|
|
***************/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* runs the First Person Tetris game
|
|
|
|
*/
|
|
|
|
void tetris_fp(void);
|
|
|
|
|
|
|
|
|
2010-08-24 23:00:40 +00:00
|
|
|
tetris_variant_t const tetrisFpVariant;
|
2010-04-01 03:11:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* get/set functions *
|
|
|
|
*********************/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* retrieves the variant's highscore index
|
|
|
|
* @param pVariantData the variant data object we want information from
|
|
|
|
*/
|
|
|
|
tetris_highscore_index_t tetris_fp_getHighscoreIndex(void *pVariantData);
|
|
|
|
|
|
|
|
|
|
|
|
void tetris_fp_setLastInput(void *pVariantData,
|
|
|
|
tetris_input_command_t inCmd);
|
|
|
|
|
|
|
|
#endif /*VARIANT_FP_H_*/
|