src/tron/gArena.cpp File Reference

#include "tMemManager.h"
#include "nConfig.h"
#include "eGrid.h"
#include "gArena.h"
#include "gSpawn.h"
#include "gWall.h"
#include "gParser.h"
#include "tRandom.h"
#include "eRectangle.h"

Include dependency graph for gArena.cpp:

Go to the source code of this file.

Functions

void exit_game_objects (eGrid *grid)

Variables

static float sizeMultiplier = .5f
static nSettingItem< float > conf_mult ("REAL_ARENA_SIZE_FACTOR", sizeMultiplier)
static int axes = 4
static nSettingItemWatched< int > conf_axes ("ARENA_AXES", axes, nConfItemVersionWatcher::Group_Breaking, 6)
bool init_grid_in_process


Function Documentation

void exit_game_objects ( eGrid grid  ) 

Definition at line 784 of file gGame.cpp.

Referenced by cleanup(), gGame::StateUpdate(), and gGame::~gGame().

00784                                    {
00785     sr_con.fullscreen=true;
00786 
00787     su_prefetchInput=false;
00788 
00789     int i;
00790     for (i=ePlayer::Num()-1;i>=0;i--){
00791         if (ePlayer::PlayerConfig(i))
00792             tDESTROY(ePlayer::PlayerConfig(i)->cam);
00793     }
00794 
00795     eGameObject::DeleteAll(grid);
00796 
00797     if (sn_GetNetState()!=nCLIENT)
00798         for (int i=se_PlayerNetIDs.Len()-1;i>=0;i--)
00799             if (se_PlayerNetIDs(i))
00800                 se_PlayerNetIDs(i)->ClearObject();
00801 
00802     gNetPlayerWall::Clear();
00803 
00804     exit_game_grid(grid);
00805 }

Here is the caller graph for this function:


Variable Documentation

int axes = 4 [static]

Definition at line 43 of file gArena.cpp.

Referenced by uJoystick::GetAxis(), gArena::PrepareGrid(), and uJoystick::uJoystick().

nSettingItemWatched<int> conf_axes("ARENA_AXES", axes, nConfItemVersionWatcher::Group_Breaking, 6) [static]

nSettingItem<float> conf_mult("REAL_ARENA_SIZE_FACTOR", sizeMultiplier) [static]

Referenced by gArena::SetSizeMultiplier(), and gCycleMovement::SetSpeedMultiplier().

bool init_grid_in_process

Definition at line 79 of file gArena.cpp.

Referenced by gArena::PrepareGrid().

float sizeMultiplier = .5f [static]

Definition at line 40 of file gArena.cpp.

Referenced by gArena::GetSizeMultiplier(), gArena::PrepareGrid(), and gArena::SizeMultiplier().


Generated on Sat Mar 15 23:14:29 2008 for Armagetron Advanced by  doxygen 1.5.4