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 | |
---|
14 | static char const * const PNG_BACKGROUND = "monsterz/gfx/background.png"; |
---|
15 | static char const * const PNG_BOARD = "monsterz/gfx/board.png"; |
---|
16 | static char const * const PNG_TILES = "monsterz/gfx/tiles.png"; |
---|
17 | static char const * const PNG_ELEMENTS = "monsterz/gfx/elements.png"; |
---|
18 | static char const * const PNG_ICONS = "monsterz/gfx/icons.png"; |
---|
19 | |
---|
20 | static char const * const PNG_TITLE_LOGO = "monsterz/gfx/title/logo.png"; |
---|
21 | static char const * const PNG_TITLE_GROUND = "monsterz/gfx/title/ground.png"; |
---|
22 | |
---|
23 | static char const * const PNG_TITLE = "monsterz/gfx/title0.png"; |
---|
24 | static char const * const PNG_CLOUDS = "monsterz/gfx/titleclouds.png"; |
---|
25 | static char const * const PNG_STARS = "monsterz/gfx/titlestars.png"; |
---|
26 | static char const * const PNG_EAGLE = "monsterz/gfx/titleeagle.png"; |
---|
27 | static char const * const PNG_TITLEANIM[] = |
---|
28 | { |
---|
29 | "monsterz/gfx/titleanim0.png", |
---|
30 | "monsterz/gfx/titleanim1.png", |
---|
31 | "monsterz/gfx/titleanim2.png", |
---|
32 | "monsterz/gfx/titleanim3.png", |
---|
33 | "monsterz/gfx/titleanim4.png", |
---|
34 | "monsterz/gfx/titleanim5.png", |
---|
35 | }; |
---|
36 | static char const * const PNG_TITLEEVENT[] = |
---|
37 | { |
---|
38 | "monsterz/gfx/titleevent0.png", |
---|
39 | "monsterz/gfx/titleevent1.png", |
---|
40 | "monsterz/gfx/titleevent2.png", |
---|
41 | "monsterz/gfx/titleevent3.png", |
---|
42 | "monsterz/gfx/titleevent4.png", |
---|
43 | "monsterz/gfx/titleevent5.png", |
---|
44 | "monsterz/gfx/titleevent6.png", |
---|
45 | }; |
---|
46 | |
---|
47 | static char const * const WAV_CLICK = "monsterz/sound/click.wav"; |
---|
48 | static char const * const WAV_DUH = "monsterz/sound/duh.wav"; |
---|
49 | static char const * const WAV_POP = "monsterz/sound/pop.wav"; |
---|
50 | static char const * const WAV_WHIP = "monsterz/sound/whip.wav"; |
---|
51 | |
---|
52 | /* Maximum board size and number of piece types */ |
---|
53 | static int const MAX_WIDTH = 8; |
---|
54 | static int const MAX_HEIGHT = 8; |
---|
55 | static int const MAX_PIECES = 12; |
---|
56 | |
---|
57 | /* Time step of the eagle, in milliseconds per pixel */ |
---|
58 | static int const STEP_EAGLE = 10; |
---|
59 | /* Number of clouds on screen */ |
---|
60 | static int const MAX_CLOUDS = 10; |
---|
61 | |
---|
62 | /* Minimal duration of the idle loop */ |
---|
63 | static int const DELAY_IDLE = 300; |
---|
64 | /* Minimal delay before a blink */ |
---|
65 | static int const DELAY_BLINK = 10000; |
---|
66 | /* Duration of a blink */ |
---|
67 | static int const DURATION_BLINK = 200; |
---|
68 | /* Wait time until the next whip sound is allowed */ |
---|
69 | static int const DELAY_WHIP = 300; |
---|
70 | /* Delay between a monster's surprise face and its explosion */ |
---|
71 | static int const DELAY_DUH = 200; |
---|
72 | /* Duration of the explosion */ |
---|
73 | static int const DELAY_POP = 500; |
---|
74 | |
---|
75 | #endif // __MONSTERZ_MONSTERZ_H__ |
---|
76 | |
---|