You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

game.h 542B

123456789101112131415161718192021222324252627
  1. #ifndef GAME_H
  2. #define GAME_H
  3. #define FRACTION 9
  4. #define SPEEDDELTA (1<<(FRACTION-1))
  5. #define SPEEDMAX (10<<FRACTION)
  6. #define SPEEDSTART (6<<FRACTION)
  7. #define SPEEDTURTLE (3<<FRACTION)
  8. #define SPEEDTURTLE_TIMEOUT 250
  9. #define TEMPNODES 2
  10. typedef struct GameOptions GameOptions;
  11. struct GameOptions {
  12. unsigned char density, flames, bombs, generosity;
  13. };
  14. void run_single_player(void);
  15. void run_network_game(void);
  16. void set_game_options(GameOptions *options);
  17. extern char playername[16];
  18. extern solid background,backgroundoriginal;
  19. #endif