ledHeadWii/source/game/Hockey.h

68 lines
1.9 KiB
C
Raw Normal View History

2020-03-03 18:49:42 +01:00
/*
LEDhead
Copyright 2001, Peter Hirschberg
Author: Peter Hirschberg
The current version of this SOURCE CODE as well as the official
versions of the LEDHEAD APPLICATION are available from my website
at: http://www.peterhirschberg.com
Based on the handheld electronic games by Mattel Electronics.
All trademarks copyrighted by their respective owners. This
program is not affiliated or endorsed by Mattel Electronics.
License agreement:
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 (license.txt); if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Email : peter@peterhirschberg.com
Website : http://www.peterhirschberg.com
*/
#ifndef __HOCKEY_H__
#define __HOCKEY_H__
#include "Platform.h"
#include "Platform_Hockey.h"
#define HOCKEY_BLIP_ROWS 5
#define HOCKEY_BLIP_COLUMNS 5
#define HOCKEY_SOUND_TICK 0
#define HOCKEY_SOUND_DEFLECT 1
#define HOCKEY_SOUND_BUMP 2
#define HOCKEY_SOUND_POKE 3
#define HOCKEY_SOUND_SCORE 4
#define HOCKEY_SOUND_PENALTY 5
#define HOCKEY_SOUND_STEAL 6
#define HOCKEY_SOUND_ENDPERIOD 7
#define HOCKEY_SOUND_ENDGAME 8
2020-05-25 18:02:06 +02:00
#define HOCKEY_SOUND_NSOUNDS 9
2020-03-03 18:49:42 +01:00
2020-05-25 18:02:06 +02:00
void Hockey_Run(int tu);
2020-03-03 18:49:42 +01:00
void Hockey_SetSkill(int i);
int Hockey_GetSkill();
void Hockey_PowerOn();
void Hockey_PowerOff();
BOOL Hockey_GetPower();
#endif