git repos / blockattack-game

blame: source/code/mainVars.hpp

normal view · raw

89c4a3a6 sago007 2008-08-29 14:32 1
/*
c53e6443 sago007 2012-04-17 11:04 2
===========================================================================
c53e6443 sago007 2012-04-17 11:04 3
blockattack - Block Attack - Rise of the Blocks
c53e6443 sago007 2012-04-17 11:04 4
Copyright (C) 2005-2012 Poul Sander
c53e6443 sago007 2012-04-17 11:04 5
c53e6443 sago007 2012-04-17 11:04 6
This program is free software: you can redistribute it and/or modify
c53e6443 sago007 2012-04-17 11:04 7
it under the terms of the GNU General Public License as published by
c53e6443 sago007 2012-04-17 11:04 8
the Free Software Foundation, either version 2 of the License, or
c53e6443 sago007 2012-04-17 11:04 9
(at your option) any later version.
c53e6443 sago007 2012-04-17 11:04 10
c53e6443 sago007 2012-04-17 11:04 11
This program is distributed in the hope that it will be useful,
c53e6443 sago007 2012-04-17 11:04 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
c53e6443 sago007 2012-04-17 11:04 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
c53e6443 sago007 2012-04-17 11:04 14
GNU General Public License for more details.
c53e6443 sago007 2012-04-17 11:04 15
c53e6443 sago007 2012-04-17 11:04 16
You should have received a copy of the GNU General Public License
c53e6443 sago007 2012-04-17 11:04 17
along with this program.  If not, see http://www.gnu.org/licenses/
c53e6443 sago007 2012-04-17 11:04 18
c53e6443 sago007 2012-04-17 11:04 19
Source information and contacts persons can be found at
c53e6443 sago007 2012-04-17 11:04 20
http://blockattack.sf.net
c53e6443 sago007 2012-04-17 11:04 21
===========================================================================
89c4a3a6 sago007 2008-08-29 14:32 22
*/
89c4a3a6 sago007 2008-08-29 14:32 23
6d48320c sago007 2009-03-28 17:06 24
//Make sure it is only included once
6d48320c sago007 2009-03-28 17:06 25
#ifndef _MAINVARS_HPP
6d48320c sago007 2009-03-28 17:06 26
#define	_MAINVARS_HPP
6d48320c sago007 2009-03-28 17:06 27
89c4a3a6 sago007 2008-08-29 14:32 28
//main variables and constants
89c4a3a6 sago007 2008-08-29 14:32 29
89c4a3a6 sago007 2008-08-29 14:32 30
89c4a3a6 sago007 2008-08-29 14:32 31
//Animation lengths:
89c4a3a6 sago007 2008-08-29 14:32 32
#define READYTIME 500
89c4a3a6 sago007 2008-08-29 14:32 33
#define BOMBTIME 200
89c4a3a6 sago007 2008-08-29 14:32 34
#define CURSORTIME 200
89c4a3a6 sago007 2008-08-29 14:32 35
56241205 sago007 2012-08-05 11:15 36
const char sharedir[] = SHAREDIR;
89c4a3a6 sago007 2008-08-29 14:32 37
89c4a3a6 sago007 2008-08-29 14:32 38
//All graphic in the game (as pointers):
30f910dd sago007 2010-11-10 21:02 39
static SDL_Surface *background;    //Stores background
b7590374 sago007 2011-05-19 16:15 40
SDL_Surface *backgroundImage; //Stores the background image
30f910dd sago007 2010-11-10 21:02 41
static SDL_Surface *backBoard;     //Stores the background to the board
f3a1637d sago007 2015-11-14 21:32 42
static std::shared_ptr<CppSdl::CppSdlImageHolder> bNewGame;      //The New Game botton
30f910dd sago007 2010-11-10 21:02 43
static SDL_Surface *bOptions;      //The Options botton
30f910dd sago007 2010-11-10 21:02 44
static SDL_Surface *bConfigure;    //The configure button
30f910dd sago007 2010-11-10 21:02 45
static SDL_Surface *bSelectPuzzle; //The Select Puzzle Button
30f910dd sago007 2010-11-10 21:02 46
static SDL_Surface *bBack;         //The "Back" button
30f910dd sago007 2010-11-10 21:02 47
static SDL_Surface *bForward;      //The "forward" button
30f910dd sago007 2010-11-10 21:02 48
static SDL_Surface *iChainBack;
2f30c381 sago007 2008-09-14 13:08 49
#if NETWORK
69d650b4 sago007 2011-07-20 15:24 50
//static SDL_Surface *bNetwork;
69d650b4 sago007 2011-07-20 15:24 51
//static SDL_Surface *bConnect;
69d650b4 sago007 2011-07-20 15:24 52
//static SDL_Surface *bHost;
89c4a3a6 sago007 2008-08-29 14:32 53
#endif
30f910dd sago007 2010-11-10 21:02 54
static SDL_Surface *bHighScore;    //The High Score botton
30f910dd sago007 2010-11-10 21:02 55
static SDL_Surface *blackLine;		//The seperator in stage clear
30f910dd sago007 2010-11-10 21:02 56
static SDL_Surface *stageBobble;	//The bobble instage clear
26ddb424 sago007 2011-06-09 20:06 57
SDL_Surface *screen;        //The whole screen;
30f910dd sago007 2010-11-10 21:02 58
static SDL_Surface *iGameOver;     //The gameOver image
30f910dd sago007 2010-11-10 21:02 59
static SDL_Surface *iWinner;		//the "winner" image
30f910dd sago007 2010-11-10 21:02 60
static SDL_Surface *iDraw;			//the "draw" image
30f910dd sago007 2010-11-10 21:02 61
static SDL_Surface *iLoser;		//the "loser" image
89c4a3a6 sago007 2008-08-29 14:32 62
//Animations:
30f910dd sago007 2010-11-10 21:02 63
static SDL_Surface *cursor[2];    //The animated cursor
30f910dd sago007 2010-11-10 21:02 64
static SDL_Surface *bomb[2];       //Bomb then the bricks should blow
30f910dd sago007 2010-11-10 21:02 65
static SDL_Surface *ready[2];      //Before the blocks fall
30f910dd sago007 2010-11-10 21:02 66
static SDL_Surface *explosion[4];   //Then a block explodes
89c4a3a6 sago007 2008-08-29 14:32 67
//Animations end
30f910dd sago007 2010-11-10 21:02 68
static SDL_Surface *counter[3];    //Counts down from 3
30f910dd sago007 2010-11-10 21:02 69
static SDL_Surface *bricks[7];     //The bricks, saved in an array of pointers
30f910dd sago007 2010-11-10 21:02 70
static SDL_Surface *crossover;     //Cross the bricks that will be cleared soon
30f910dd sago007 2010-11-10 21:02 71
static SDL_Surface *balls[7];      //The balls (the small ones that jump around)
30f910dd sago007 2010-11-10 21:02 72
static SDL_Surface *changeButtonsBack;
30f910dd sago007 2010-11-10 21:02 73
static SDL_Surface *dialogBox;
30f910dd sago007 2010-11-10 21:02 74
static SDL_Surface *bOn;
30f910dd sago007 2010-11-10 21:02 75
static SDL_Surface *bOff;
30f910dd sago007 2010-11-10 21:02 76
static SDL_Surface *b1024;
30f910dd sago007 2010-11-10 21:02 77
static SDL_Surface *iLevelCheck;		//To the level select screen
30f910dd sago007 2010-11-10 21:02 78
static SDL_Surface *iLevelCheckBox;
cc6724c9 sago007 2012-04-16 21:11 79
static SDL_Surface *iLevelCheckBoxMarked;
30f910dd sago007 2010-11-10 21:02 80
static SDL_Surface *iCheckBoxArea;
30f910dd sago007 2010-11-10 21:02 81
static SDL_Surface *boardBackBack;
30f910dd sago007 2010-11-10 21:02 82
static SDL_Surface *garbageTL;			//the Garbage Blocks
30f910dd sago007 2010-11-10 21:02 83
static SDL_Surface *garbageT;
30f910dd sago007 2010-11-10 21:02 84
static SDL_Surface *garbageTR;
30f910dd sago007 2010-11-10 21:02 85
static SDL_Surface *garbageR;
30f910dd sago007 2010-11-10 21:02 86
static SDL_Surface *garbageBR;
30f910dd sago007 2010-11-10 21:02 87
static SDL_Surface *garbageB;
30f910dd sago007 2010-11-10 21:02 88
static SDL_Surface *garbageBL;
30f910dd sago007 2010-11-10 21:02 89
static SDL_Surface *garbageL;
30f910dd sago007 2010-11-10 21:02 90
static SDL_Surface *garbageFill;
30f910dd sago007 2010-11-10 21:02 91
static SDL_Surface *garbageM;
30f910dd sago007 2010-11-10 21:02 92
static SDL_Surface *garbageML;
30f910dd sago007 2010-11-10 21:02 93
static SDL_Surface *garbageMR;
30f910dd sago007 2010-11-10 21:02 94
static SDL_Surface *smiley[4];
30f910dd sago007 2010-11-10 21:02 95
static SDL_Surface *garbageGM;
30f910dd sago007 2010-11-10 21:02 96
static SDL_Surface *garbageGML;
30f910dd sago007 2010-11-10 21:02 97
static SDL_Surface *garbageGMR;
30f910dd sago007 2010-11-10 21:02 98
static SDL_Surface *transCover;        //The transperant block, covers the upcomming
1572de2b sago007 2008-09-11 18:15 99
#if LEVELEDITOR
30f910dd sago007 2010-11-10 21:02 100
static SDL_Surface *bCreateFile;
30f910dd sago007 2010-11-10 21:02 101
static SDL_Surface *bDeletePuzzle;
30f910dd sago007 2010-11-10 21:02 102
static SDL_Surface *bLoadFile;
30f910dd sago007 2010-11-10 21:02 103
static SDL_Surface *bMoveBack;
30f910dd sago007 2010-11-10 21:02 104
static SDL_Surface *bMoveDown;
30f910dd sago007 2010-11-10 21:02 105
static SDL_Surface *bMoveForward;
30f910dd sago007 2010-11-10 21:02 106
static SDL_Surface *bMoveLeft;
30f910dd sago007 2010-11-10 21:02 107
static SDL_Surface *bMoveRight;
30f910dd sago007 2010-11-10 21:02 108
static SDL_Surface *bMoveUp;
30f910dd sago007 2010-11-10 21:02 109
static SDL_Surface *bNewPuzzle;
30f910dd sago007 2010-11-10 21:02 110
static SDL_Surface *bSaveFileAs;
30f910dd sago007 2010-11-10 21:02 111
static SDL_Surface *bSavePuzzle;
30f910dd sago007 2010-11-10 21:02 112
static SDL_Surface *bSaveToFile;
30f910dd sago007 2010-11-10 21:02 113
static SDL_Surface *bTestPuzzle;
1572de2b sago007 2008-09-11 18:15 114
#endif
30f910dd sago007 2010-11-10 21:02 115
static SDL_Surface *bSkip;
30f910dd sago007 2010-11-10 21:02 116
static SDL_Surface *bRetry;
30f910dd sago007 2010-11-10 21:02 117
static SDL_Surface *bNext;
78d03b38 sago007 2008-11-13 19:56 118
f3a1637d sago007 2015-11-14 21:32 119
std::shared_ptr<CppSdl::CppSdlImageHolder> menuMarked;
f3a1637d sago007 2015-11-14 21:32 120
std::shared_ptr<CppSdl::CppSdlImageHolder> menuUnmarked;
f3a1637d sago007 2015-11-14 21:32 121
std::shared_ptr<CppSdl::CppSdlImageHolder> mouse;
89c4a3a6 sago007 2008-08-29 14:32 122
30f910dd sago007 2010-11-10 21:02 123
static SDL_Surface *tmp;				//a temporary surface to use DisplayFormat
89c4a3a6 sago007 2008-08-29 14:32 124
925b7e58 sago007 2011-04-25 16:35 125
static NFont nf_button_font;        //Font used for buttons!
26ddb424 sago007 2011-06-09 20:06 126
NFont nf_scoreboard_font;
925b7e58 sago007 2011-04-25 16:35 127
static NFont nf_standard_blue_font;      //Font used instead of the old blue SFont
925b7e58 sago007 2011-04-25 16:35 128
static NFont nf_standard_small_font;
89c4a3a6 sago007 2008-08-29 14:32 129
30f910dd sago007 2010-11-10 21:02 130
static Mix_Music *bgMusic;         //backgroundMusic
30f910dd sago007 2010-11-10 21:02 131
static Mix_Music *highbeatMusic;   //Background music with higher beat
30f910dd sago007 2010-11-10 21:02 132
static Mix_Chunk *boing;           //boing sound when clearing
30f910dd sago007 2010-11-10 21:02 133
static Mix_Chunk *applause;        //Applause, then the player is good
30f910dd sago007 2010-11-10 21:02 134
static Mix_Chunk *photoClick;      //clickSound
30f910dd sago007 2010-11-10 21:02 135
static Mix_Chunk *typingChunk;          //When writing
30f910dd sago007 2010-11-10 21:02 136
static Mix_Chunk *counterChunk;         //When counting down
30f910dd sago007 2010-11-10 21:02 137
static Mix_Chunk *counterFinalChunk;
89c4a3a6 sago007 2008-08-29 14:32 138
89c4a3a6 sago007 2008-08-29 14:32 139
Highscore theTopScoresEndless;      //Stores highscores for endless
89c4a3a6 sago007 2008-08-29 14:32 140
Highscore theTopScoresTimeTrial;    //Stores highscores for timetrial
89c4a3a6 sago007 2008-08-29 14:32 141
30f910dd sago007 2010-11-10 21:02 142
static bool bMouseUp;              //true if the mouse(1) is unpressed
30f910dd sago007 2010-11-10 21:02 143
static bool bMouseUp2;             //true if the mouse(2) is unpressed
2f30c381 sago007 2008-09-14 13:08 144
#if NETWORK
30f910dd sago007 2010-11-10 21:02 145
static bool bNetworkOpen;			//Show the network menu
89c4a3a6 sago007 2008-08-29 14:32 146
#endif
30f910dd sago007 2010-11-10 21:02 147
static bool bScreenLocked;			//Don't take input or allow any mouse interaction! Used for dialogbox and warningbox
30f910dd sago007 2010-11-10 21:02 148
static bool showDialog;
30f910dd sago007 2010-11-10 21:02 149
static bool NoSound;				//if true, absolutely no sound will be played, can be set from the commandline
89c4a3a6 sago007 2008-08-29 14:32 150
//prevents crash on systems without a soundcard
26ddb424 sago007 2011-06-09 20:06 151
bool MusicEnabled;			//true if background music is enabled
26ddb424 sago007 2011-06-09 20:06 152
bool SoundEnabled;			//true if sound effects is enabled
30f910dd sago007 2010-11-10 21:02 153
static bool bNearDeathPrev;                    //Near death status last time checked.
26ddb424 sago007 2011-06-09 20:06 154
bool bFullscreen;			//true if game is running fullscreen
30f910dd sago007 2010-11-10 21:02 155
static bool puzzleLoaded;          //true if the puzzle levels have been loaded
30f910dd sago007 2010-11-10 21:02 156
static bool drawBalls;             //if true balls are drawed to the screen, this might lower framerate too much
30f910dd sago007 2010-11-10 21:02 157
static bool standardBackground;
b7590374 sago007 2011-05-19 16:15 158
bool highPriority;
30f910dd sago007 2010-11-10 21:02 159
30f910dd sago007 2010-11-10 21:02 160
static bool editorMode = false;
30f910dd sago007 2010-11-10 21:02 161
static bool editorModeTest = false;
89c4a3a6 sago007 2008-08-29 14:32 162
89c4a3a6 sago007 2008-08-29 14:32 163
//Things for network play:
2f30c381 sago007 2008-09-14 13:08 164
#if NETWORK
30f910dd sago007 2010-11-10 21:02 165
static bool networkPlay;
30f910dd sago007 2010-11-10 21:02 166
static bool networkActive;
89c4a3a6 sago007 2008-08-29 14:32 167
//sockets here
89c4a3a6 sago007 2008-08-29 14:32 168
#define SERVERPORT 41780
89c4a3a6 sago007 2008-08-29 14:32 169
#define CLIENTPORT 41781
89c4a3a6 sago007 2008-08-29 14:32 170
2f30c381 sago007 2008-09-14 13:08 171
30f910dd sago007 2010-11-10 21:02 172
static char serverAddress[30];
89c4a3a6 sago007 2008-08-29 14:32 173
#endif
89c4a3a6 sago007 2008-08-29 14:32 174
89c4a3a6 sago007 2008-08-29 14:32 175
//other ball constants:
b37fa2db sago007 2015-12-04 20:44 176
const double gravity = 200.8; //acceleration
b37fa2db sago007 2015-12-04 20:44 177
const double startVelocityY = 50.0;
b37fa2db sago007 2015-12-04 20:44 178
const double VelocityX = 50.0;
b37fa2db sago007 2015-12-04 20:44 179
const int ballSize = 16;
b37fa2db sago007 2015-12-04 20:44 180
const double minVelocity = 200.0;
89c4a3a6 sago007 2008-08-29 14:32 181
89c4a3a6 sago007 2008-08-29 14:32 182
//global settings (reset everytime the game starts)
30f910dd sago007 2010-11-10 21:02 183
static Uint8 player1Speed=0;
30f910dd sago007 2010-11-10 21:02 184
static Uint8 player2Speed=0;
30f910dd sago007 2010-11-10 21:02 185
static bool player1AI=false;		//Is AI enabled?
30f910dd sago007 2010-11-10 21:02 186
static bool player2AI=false;		//Is AI enabled for player 2 (opponent in single player)
30f910dd sago007 2010-11-10 21:02 187
static Uint8 player1AIlevel=3;		//What level is AI? 0 min, 6 max
30f910dd sago007 2010-11-10 21:02 188
static Uint8 player2AIlevel=3;
30f910dd sago007 2010-11-10 21:02 189
static const Uint8 AIlevels=7;		//7 possible levels: 0..6
30f910dd sago007 2010-11-10 21:02 190
static Uint8 player1handicap=0;
30f910dd sago007 2010-11-10 21:02 191
static Uint8 player2handicap=0;
89c4a3a6 sago007 2008-08-29 14:32 192
89c4a3a6 sago007 2008-08-29 14:32 193
unsigned long int currentTime;      //contains the current time, so we don't call SDL_GetTickets() too often...
89c4a3a6 sago007 2008-08-29 14:32 194
30f910dd sago007 2010-11-10 21:02 195
static int xsize = 1024;
30f910dd sago007 2010-11-10 21:02 196
static int ysize = 768;
970c4ebe sago007 2015-08-22 18:08 197
static const int bsize = 50;
89c4a3a6 sago007 2008-08-29 14:32 198
89c4a3a6 sago007 2008-08-29 14:32 199
//Stores the players names (way to long, but at least no buffer overflows (max length is 16 for display reasons))
f6707482 sago007 2015-12-04 22:55 200
std::string player1name;
f6707482 sago007 2015-12-04 22:55 201
std::string player2name;
89c4a3a6 sago007 2008-08-29 14:32 202
89c4a3a6 sago007 2008-08-29 14:32 203
//paths
90e6c797 sago007 2015-11-22 21:46 204
static std::string stageClearSavePath;
89c4a3a6 sago007 2008-08-29 14:32 205
30f910dd sago007 2010-11-10 21:02 206
static const int nrOfStageLevels = 50;		//number of stages in stage Clear
90e6c797 sago007 2015-11-22 21:46 207
std::vector<bool> stageCleared(nrOfStageLevels);		//vector that tells if a stage is cleared
90e6c797 sago007 2015-11-22 21:46 208
std::vector<Uint32> stageTimes(nrOfStageLevels);             //For statistical puposes
90e6c797 sago007 2015-11-22 21:46 209
std::vector<Uint32> stageScores(nrOfStageLevels);            //--||--
f72abf8b sago007 2010-01-16 20:00 210
bool twoPlayers;    //True if two players are playing
89c4a3a6 sago007 2008-08-29 14:32 211
89c4a3a6 sago007 2008-08-29 14:32 212
//Old mouse position:
30f910dd sago007 2010-11-10 21:02 213
static int oldMousex, oldMousey;
89c4a3a6 sago007 2008-08-29 14:32 214
//Old Stage Clear Buble
30f910dd sago007 2010-11-10 21:02 215
static int oldBubleX, oldBubleY;
89c4a3a6 sago007 2008-08-29 14:32 216
89c4a3a6 sago007 2008-08-29 14:32 217
//bool doublebuf = false; //if true, screen is double buffered
30f910dd sago007 2010-11-10 21:02 218
static char forceredraw; //If 1: always redraw, if 2: rarely redraw
89c4a3a6 sago007 2008-08-29 14:32 219
30f910dd sago007 2010-11-10 21:02 220
static bool singlePuzzle = false; //if true we are just in a little 300x600 window
30f910dd sago007 2010-11-10 21:02 221
static int singlePuzzleNr = 0;
90e6c797 sago007 2015-11-22 21:46 222
static std::string singlePuzzleFile;
89c4a3a6 sago007 2008-08-29 14:32 223
1572de2b sago007 2008-09-11 18:15 224
#if DEBUG
89c4a3a6 sago007 2008-08-29 14:32 225
//frame counter (fps)
89c4a3a6 sago007 2008-08-29 14:32 226
unsigned long int Frames, Ticks;
89c4a3a6 sago007 2008-08-29 14:32 227
char FPS[10];
89c4a3a6 sago007 2008-08-29 14:32 228
#endif
89c4a3a6 sago007 2008-08-29 14:32 229
56241205 sago007 2012-08-05 11:15 230
int verboseLevel = 0;
56241205 sago007 2012-08-05 11:15 231
89c4a3a6 sago007 2008-08-29 14:32 232
//keySetup
89c4a3a6 sago007 2008-08-29 14:32 233
int player1keys, player2keys;
89c4a3a6 sago007 2008-08-29 14:32 234
bool mouseplay1=false;  //The mouse works on the play field
89c4a3a6 sago007 2008-08-29 14:32 235
bool mouseplay2=false;  //Same for player2
89c4a3a6 sago007 2008-08-29 14:32 236
bool joyplay1=false;    //Player one uses the joypad
89c4a3a6 sago007 2008-08-29 14:32 237
bool joyplay2=false;    //Player two uses the joypad
89c4a3a6 sago007 2008-08-29 14:32 238
89c4a3a6 sago007 2008-08-29 14:32 239
//Stores the controls
89c4a3a6 sago007 2008-08-29 14:32 240
struct control
89c4a3a6 sago007 2008-08-29 14:32 241
{
c53e6443 sago007 2012-04-17 11:04 242
	SDLKey up;
c53e6443 sago007 2012-04-17 11:04 243
	SDLKey down;
c53e6443 sago007 2012-04-17 11:04 244
	SDLKey left;
c53e6443 sago007 2012-04-17 11:04 245
	SDLKey right;
c53e6443 sago007 2012-04-17 11:04 246
	SDLKey change;
c53e6443 sago007 2012-04-17 11:04 247
	SDLKey push;
89c4a3a6 sago007 2008-08-29 14:32 248
};
89c4a3a6 sago007 2008-08-29 14:32 249
593aeae4 sago007 2011-06-25 22:42 250
control keySettings[3];	//array to hold the controls (default and two custom)
89c4a3a6 sago007 2008-08-29 14:32 251
95bc02ff sago007 2009-03-15 02:46 252
#define KEYMENU_MAXWITH 4
95bc02ff sago007 2009-03-15 02:46 253
#define KEYMENU_MAXDEPTH 7
95bc02ff sago007 2009-03-15 02:46 254
89c4a3a6 sago007 2008-08-29 14:32 255
enum stageButton {SBdontShow, SBstageClear, SBpuzzleMode};
89c4a3a6 sago007 2008-08-29 14:32 256
30f910dd sago007 2010-11-10 21:02 257
static stageButton stageButtonStatus = SBdontShow;
89c4a3a6 sago007 2008-08-29 14:32 258
30f910dd sago007 2010-11-10 21:02 259
static const int buttonXsize = 120;
30f910dd sago007 2010-11-10 21:02 260
static const int buttonYsize = 40;
9050a50a sago007 2008-12-09 13:35 261
89c4a3a6 sago007 2008-08-29 14:32 262
struct ButtonCords
89c4a3a6 sago007 2008-08-29 14:32 263
{
c53e6443 sago007 2012-04-17 11:04 264
	int x;
c53e6443 sago007 2012-04-17 11:04 265
	int y;
c53e6443 sago007 2012-04-17 11:04 266
	int xsize;
c53e6443 sago007 2012-04-17 11:04 267
	int ysize;
89c4a3a6 sago007 2008-08-29 14:32 268
};
89c4a3a6 sago007 2008-08-29 14:32 269
c53e6443 sago007 2012-04-17 11:04 270
ButtonCords cordNextButton =
c53e6443 sago007 2012-04-17 11:04 271
{
c53e6443 sago007 2012-04-17 11:04 272
	cordNextButton.x = 3*bsize+(3*bsize-buttonXsize)/2,
c53e6443 sago007 2012-04-17 11:04 273
	cordNextButton.y = 10*bsize,
c53e6443 sago007 2012-04-17 11:04 274
	cordNextButton.xsize = buttonXsize,
c53e6443 sago007 2012-04-17 11:04 275
	cordNextButton.ysize = buttonYsize
6d48320c sago007 2009-03-28 17:06 276
};
89c4a3a6 sago007 2008-08-29 14:32 277
c53e6443 sago007 2012-04-17 11:04 278
ButtonCords cordRetryButton =
c53e6443 sago007 2012-04-17 11:04 279
{
c53e6443 sago007 2012-04-17 11:04 280
	cordRetryButton.x = (3*bsize-buttonXsize)/2,
c53e6443 sago007 2012-04-17 11:04 281
	cordRetryButton.y = 10*bsize,
c53e6443 sago007 2012-04-17 11:04 282
	cordRetryButton.xsize = buttonXsize,
c53e6443 sago007 2012-04-17 11:04 283
	cordRetryButton.ysize = buttonYsize
89c4a3a6 sago007 2008-08-29 14:32 284
};
6d48320c sago007 2009-03-28 17:06 285
eec83b7d sago007 2009-03-29 15:46 286
#endif
1970-01-01 00:00 287