[226] | 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 | |
---|
[312] | 11 | #if !defined __MONSTERZ_MONSTERZ_H__ |
---|
| 12 | #define __MONSTERZ_MONSTERZ_H__ |
---|
| 13 | |
---|
[300] | 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"; |
---|
[384] | 17 | static char const * const PNG_ELEMENTS = "monsterz/gfx/elements.png"; |
---|
[320] | 18 | static char const * const PNG_ICONS = "monsterz/gfx/icons.png"; |
---|
[754] | 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 | |
---|
[321] | 23 | static char const * const PNG_TITLE = "monsterz/gfx/title0.png"; |
---|
[422] | 24 | static char const * const PNG_CLOUDS = "monsterz/gfx/titleclouds.png"; |
---|
| 25 | static char const * const PNG_STARS = "monsterz/gfx/titlestars.png"; |
---|
[424] | 26 | static char const * const PNG_EAGLE = "monsterz/gfx/titleeagle.png"; |
---|
[321] | 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 | }; |
---|
[226] | 46 | |
---|
[300] | 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"; |
---|
[287] | 51 | |
---|
[320] | 52 | /* Maximum board size and number of piece types */ |
---|
[314] | 53 | static int const MAX_WIDTH = 8; |
---|
| 54 | static int const MAX_HEIGHT = 8; |
---|
[320] | 55 | static int const MAX_PIECES = 12; |
---|
[314] | 56 | |
---|
[791] | 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; |
---|
[424] | 61 | |
---|
[354] | 62 | /* Minimal duration of the idle loop */ |
---|
[311] | 63 | static int const DELAY_IDLE = 300; |
---|
[354] | 64 | /* Minimal delay before a blink */ |
---|
| 65 | static int const DELAY_BLINK = 10000; |
---|
[287] | 66 | /* Duration of a blink */ |
---|
[354] | 67 | static int const DURATION_BLINK = 200; |
---|
[287] | 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 */ |
---|
[786] | 71 | static int const DELAY_DUH = 200; |
---|
[287] | 72 | /* Duration of the explosion */ |
---|
[305] | 73 | static int const DELAY_POP = 500; |
---|
[312] | 74 | |
---|
| 75 | #endif // __MONSTERZ_MONSTERZ_H__ |
---|
| 76 | |
---|