source: trunk/monsterz/monsterz.h @ 314

Last change on this file since 314 was 314, checked in by sam, 10 years ago

Board size and number of available pieces is now a parameter of
the Board class ctor.

File size: 1.3 KB
Line 
1//
2// Monsterz
3//
4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11#if !defined __MONSTERZ_MONSTERZ_H__
12#define __MONSTERZ_MONSTERZ_H__
13
14static char const * const PNG_BACKGROUND = "monsterz/gfx/background.png";
15static char const * const PNG_BOARD = "monsterz/gfx/board.png";
16static char const * const PNG_TILES = "monsterz/gfx/tiles.png";
17
18static char const * const WAV_CLICK = "monsterz/sound/click.wav";
19static char const * const WAV_DUH = "monsterz/sound/duh.wav";
20static char const * const WAV_POP = "monsterz/sound/pop.wav";
21static char const * const WAV_WHIP = "monsterz/sound/whip.wav";
22
23/* Maximum board size */
24static int const MAX_WIDTH = 8;
25static int const MAX_HEIGHT = 8;
26
27/* Duration of the idle loop */
28static int const DELAY_IDLE = 300;
29/* Duration of a blink */
30static int const DELAY_BLINK = 200;
31/* Wait time until the next whip sound is allowed */
32static int const DELAY_WHIP = 300;
33/* Delay between a monster's surprise face and its explosion */
34static int const DELAY_DUH = 400;
35/* Duration of the explosion */
36static int const DELAY_POP = 500;
37
38#endif // __MONSTERZ_MONSTERZ_H__
39
Note: See TracBrowser for help on using the repository browser.