teamsel.c File Reference

Implementation of the team selection menu item. More...

#include "teamsel.h"
#include "color.h"
#include "states.h"
#include "tanksprite.h"
#include "menustate.h"
#include "net.h"
#include <string.h>

Include dependency graph for teamsel.c:

Go to the source code of this file.

Defines

#define MIDDLE_MARGIN   64
 The space, in pixels, between the two team columns.

Functions

void TeamSelInit (MenuItem *item)
 Sets up the team selection menu item for use.
int TeamSelInput (MenuItem *item, Uint8 *ec, rtsa_char keyval)
 Allows the player to chose a team using left, right, and fire inputs.
void TeamSelUninit (MenuItem *item)
 Cleans up what the team selection menu setup.
int TeamSelUpdate (MenuItem *item)
 Updates the team selection item with new information and places its render items in the appropriate spots.


Detailed Description

Implementation of the team selection menu item.

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 teamsel.c.


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