home *** CD-ROM | disk | FTP | other *** search
- /*
- Brickoids X -- Simple brick game for MacOS X
- Copyright (C) 1997-2002 Thorlindur Thorolfsson & Sveinbjorn Thordarson
- Soth Development (http://soth.zoneit.com)
-
- Original source code by Thorlindur Thorolfsson
- Porting to MacOS X by Sveinbjorn Thordarson
-
- This software was open-sourced on the 1st of May, 2000.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- */
-
-
- #include <Carbon/Carbon.h>
- #pragma once
- //globals
-
- typedef struct
- {
- short numberOfBricks;
- short brickArray[12][10];
- } BrickLayout;
-
- typedef BrickLayout **BrickLayoutHandle;
-
- typedef struct
- {
- short hiScore;
- } ScoreResource;
-
- typedef ScoreResource **ScoreResourceHandle;
-
- #define kStartUpPicID 129
-
- #define kBallNum 0
- #define kRedBrickNum 1
- #define kGreenBrickNum 2
- #define kBlueBrickNum 3
- #define kPaddleNum 4
-
- #define kMaxBrickRects 6