2
* @file satellite_protections.h
3
* @brief handle orbital satellite protections gravitate around the
4
* player's spaceship and protect it from hostiles shots
8
* @author Jean-Michel Martin de Santero
9
* @author Bruno Ethvignot
12
* copyright (c) 1998-2007 TLK Games all rights reserved
13
* $Id: satellite_protections.h,v 1.6 2007/08/24 07:55:17 gurumeditation Exp $
15
* Powermanga is free software; you can redistribute it and/or modify
16
* it under the terms of the GNU General Public License as published by
17
* the Free Software Foundation; either version 3 of the License, or
18
* (at your option) any later version.
20
* Powermanga is distributed in the hope that it will be useful, but
21
* WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU General Public License for more details.
25
* You should have received a copy of the GNU General Public License
26
* along with this program; if not, write to the Free Software
27
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30
#ifndef __SATELLITE_PROTECTION__
31
#define __SATELLITE_PROTECTION__
37
bool satellites_once_init (void);
38
void satellites_free (void);
39
void satellites_init (void);
40
void satellites_handle (void);
41
void satellites_add (void);
42
void satellite_add (void);
43
void satellites_setup (void);
44
bool satellites_enemy_collisions (enemy * foe, Sint32 num_of_fragments);
45
bool satellites_shot_collisions (Sint32 x1, Sint32 y1,
46
shot_struct * projectile);