source: trunk/monsterz/monsterz.h @ 838

Last change on this file since 838 was 791, checked in by sam, 9 years ago

monsterz: eagles and clouds now span across the whole width of the screen
instead of the initial 384×384 square.

File size: 2.7 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";
17static char const * const PNG_ELEMENTS = "monsterz/gfx/elements.png";
18static char const * const PNG_ICONS = "monsterz/gfx/icons.png";
19
20static char const * const PNG_TITLE_LOGO = "monsterz/gfx/title/logo.png";
21static char const * const PNG_TITLE_GROUND = "monsterz/gfx/title/ground.png";
22
23static char const * const PNG_TITLE = "monsterz/gfx/title0.png";
24static char const * const PNG_CLOUDS = "monsterz/gfx/titleclouds.png";
25static char const * const PNG_STARS = "monsterz/gfx/titlestars.png";
26static char const * const PNG_EAGLE = "monsterz/gfx/titleeagle.png";
27static 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};
36static 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
47static char const * const WAV_CLICK = "monsterz/sound/click.wav";
48static char const * const WAV_DUH = "monsterz/sound/duh.wav";
49static char const * const WAV_POP = "monsterz/sound/pop.wav";
50static char const * const WAV_WHIP = "monsterz/sound/whip.wav";
51
52/* Maximum board size and number of piece types */
53static int const MAX_WIDTH = 8;
54static int const MAX_HEIGHT = 8;
55static int const MAX_PIECES = 12;
56
57/* Time step of the eagle, in milliseconds per pixel */
58static int const STEP_EAGLE = 10;
59/* Number of clouds on screen */
60static int const MAX_CLOUDS = 10;
61
62/* Minimal duration of the idle loop */
63static int const DELAY_IDLE = 300;
64/* Minimal delay before a blink */
65static int const DELAY_BLINK = 10000;
66/* Duration of a blink */
67static int const DURATION_BLINK = 200;
68/* Wait time until the next whip sound is allowed */
69static int const DELAY_WHIP = 300;
70/* Delay between a monster's surprise face and its explosion */
71static int const DELAY_DUH = 200;
72/* Duration of the explosion */
73static int const DELAY_POP = 500;
74
75#endif // __MONSTERZ_MONSTERZ_H__
76
Note: See TracBrowser for help on using the repository browser.