game.h File Reference

Interface to game specific code. More...

#include "player.h"

Include dependency graph for game.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void DisablePlayerLabels ()
 Disables the display of labels showing player names.
void EnablePlayerLabels ()
 Enables the display of labels showing player names.
void HandleInput (Uint8 *eventState)
 Responds to the collected user input by changing data for the local player.
void MoveShell (Player *p)
 Moves a player's shell.
void MoveTank (Player *p, int factor)
 Moves a player's tank.
void PlacePlayerLabel (Player *p)
 Puts the label for the player in the correct position.
void QueuePlaceName (Uint8 pid)
 Sets the flag that indicates the given player's name label needs to be redrawn.
void QueuePlaceShell (Uint8 pid)
 Sets the flag that indicates the given player's shell needs to be redrawn.
void QueuePlaceTank (Uint8 pid)
 Sets the flag that indicates the given player's tank needs to be redrawn.
void RemoveShell (Uint8 pid)
 Removes the flag that indicates the given player's shell needs to be redrawn.
void RenderGame ()
void SpawnTank (Player *p)
 Spawns the given tank.
void UpdatePlayers (Uint32 time)
 Updates all player data to the present time.


Detailed Description

Interface to game specific code.

Author:
Jeff Jackowski (jeffj@ro.com)
Copyright (C) 2007 Jeff Jackowski

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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Or visit their website at: http://www.gnu.org/

Definition in file game.h.


Generated on Mon May 28 04:41:39 2007 for Retro Tank Super Attack by  doxygen 1.5.2