2012-05-07 06:56:00 +00:00
|
|
|
/**
|
|
|
|
* \addtogroup tetris
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file tetris_main.h
|
|
|
|
* @brief Public prototype of Tetris' main loop function.
|
|
|
|
* @author Christian Kroll
|
|
|
|
*/
|
|
|
|
|
2010-04-01 03:11:59 +00:00
|
|
|
#ifndef TETRIS_MAIN_H_
|
|
|
|
#define TETRIS_MAIN_H_
|
|
|
|
|
|
|
|
#include "variants.h"
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* runs the tetris game
|
|
|
|
* @param pVariantMethods struct of function pointers for a game variant
|
|
|
|
*/
|
2010-08-24 23:00:40 +00:00
|
|
|
void tetris_main(tetris_variant_t const *const pVariantMethods);
|
2010-04-01 03:11:59 +00:00
|
|
|
|
|
|
|
#endif /* TETRIS_MAIN_H_ */
|
2012-05-07 06:56:00 +00:00
|
|
|
|
|
|
|
/*@}*/
|