mirror of
https://github.com/nebiun/ledHeadWii.git
synced 2024-11-28 21:44:16 +01:00
62 lines
1.7 KiB
C
62 lines
1.7 KiB
C
|
/*
|
||
|
|
||
|
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 __BASEBALL_H__
|
||
|
#define __BASEBALL_H__
|
||
|
|
||
|
#include "Platform.h"
|
||
|
#include "Platform_Baseball.h"
|
||
|
|
||
|
|
||
|
#define BASEBALL_SOUND_HIT 0
|
||
|
#define BASEBALL_SOUND_OUT 1
|
||
|
#define BASEBALL_SOUND_RUN 2
|
||
|
#define BASEBALL_SOUND_STRIKE 3
|
||
|
#define BASEBALL_SOUND_ENDPOSSESSION 4
|
||
|
#define BASEBALL_SOUND_ENDGAME 5
|
||
|
|
||
|
|
||
|
void Baseball_Run();
|
||
|
void Baseball_SetSkill(int i);
|
||
|
int Baseball_GetSkill();
|
||
|
void Baseball_PowerOn();
|
||
|
void Baseball_PowerOff();
|
||
|
int Baseball_GetPower();
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|