ArenaBase.h File Reference

#include <glib.h>
#include <gdk/gdk.h>
#include <iostream>
#include <fstream>
#include "Gui.h"
#include "Vector2D.h"
#include "Messagetypes.h"
#include "Structs.h"
#include "Timer.h"
#include "List.h"
#include "Shape.h"

Include dependency graph for ArenaBase.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

class  ArenaBase

Defines

#define the_arena   (*( the_arena_controller.get_the_arena()) )
#define realtime_arena   (*( (ArenaRealTime*) (the_arena_controller.get_the_arena()) ))
#define replay_arena   (*( (ArenaReplay*) (the_arena_controller.get_the_arena()) ))

Variables

ArenaController the_arena_controller
const double infinity = 1.0e10
const int max_debug_level = 5
Options the_opts
Gui the_gui
bool no_graphics


Define Documentation

#define realtime_arena   (*( (ArenaRealTime*) (the_arena_controller.get_the_arena()) ))
 

Definition at line 53 of file ArenaBase.h.

Referenced by Options::broadcast_opts(), Shot::die(), Extras::die(), Robot::get_messages(), Options::log_all_options(), Robot::move(), Robot::set_stats(), Robot::set_values_at_process_start_up(), shot_collision(), and StartTournamentWindow::start().

#define replay_arena   (*( (ArenaReplay*) (the_arena_controller.get_the_arena()) ))
 

Definition at line 54 of file ArenaBase.h.

Referenced by ControlWindow::change_current_replay_time(), ControlWindow::change_time_limitations(), ControlWindow::display_replay_widgets(), ControlWindow::fast_forward_pressed(), ControlWindow::fast_forward_released(), Robot::get_last_position(), Robot::get_total_points(), ControlWindow::next_game(), ControlWindow::next_seq(), ControlWindow::prev_game(), ControlWindow::prev_seq(), ControlWindow::rewind_pressed(), ControlWindow::rewind_released(), ControlWindow::step_backward(), and ControlWindow::step_forward().

#define the_arena   (*( the_arena_controller.get_the_arena()) )
 

Definition at line 52 of file ArenaBase.h.

Referenced by ScoreWindow::add_robots(), StatisticsWindow::add_the_statistics_to_clist(), ArenaWindow::boundary2pixel_x(), ArenaWindow::boundary2pixel_y(), Options::broadcast_opts(), ControlWindow::change_debug_level(), StatisticsWindow::change_stats_viewed(), StatisticsWindow::change_table_type(), Robot::check_name_uniqueness(), Robot::check_process(), Cookie::Cookie(), ArenaWindow::draw_everything(), ArenaWindow::draw_moving_objects(), ArenaWindow::drawing_area_scale_changed(), ControlWindow::end_clicked(), ControlWindow::end_game(), ControlWindow::end_tournament(), Robot::get_current_game_stats(), Robot::get_last_position(), Robot::get_messages(), Robot::get_total_points(), ControlWindow::kill_and_open_filesel(), Gui::kill_and_start_new_tournament(), ControlWindow::kill_robot(), StatisticsWindow::make_title_button(), Mine::Mine(), Shot::move(), Robot::move(), ScoreWindow::new_robot_selected(), Options::open_optionswindow(), Gui::open_starttournamentwindow(), Gui::open_statisticswindow(), ControlWindow::pause(), ControlWindow::replay_tournament(), Robot::Robot(), StatisticsWindow::row_selected(), StatisticsWindow::save_stats(), OptionsWindow::set_all_options(), Robot::set_stats(), ScoreWindow::set_window_title(), ArenaWindow::set_window_title(), Shot::Shot(), shot_collision(), StartTournamentWindow::start(), Robot::start_process(), ControlWindow::step(), update_function(), Robot::update_radar_and_cannon(), and ScoreWindow::update_robots().


Variable Documentation

const double infinity = 1.0e10 [static]
 

Definition at line 63 of file ArenaBase.h.

const int max_debug_level = 5 [static]
 

Definition at line 64 of file ArenaBase.h.

bool no_graphics
 

Definition at line 89 of file RealTimeBattle.cc.

Referenced by parse_command_line(), ArenaBase::print_message(), Options::save_all_options_to_file(), Robot::set_stats(), and ArenaReplay::step_forward().

ArenaController the_arena_controller
 

Definition at line 80 of file RealTimeBattle.cc.

Referenced by ArenaRealTime::ArenaRealTime(), ArenaReplay::ArenaReplay(), ControlWindow::change_debug_level(), Extras::die(), Shot::die(), ControlWindow::display_debug_widgets(), ControlWindow::end_clicked(), ControlWindow::end_game(), ControlWindow::end_tournament(), Robot::get_last_position(), Robot::get_total_points(), ArenaBase::interrupt_tournament(), ControlWindow::kill_and_open_filesel(), Gui::kill_and_start_new_tournament(), ControlWindow::kill_robot(), main(), Options::open_optionswindow(), Gui::open_starttournamentwindow(), Gui::open_statisticswindow(), parse_command_line(), ControlWindow::pause(), ArenaWindow::redraw(), ControlWindow::remove_replay_widgets(), ControlWindow::replay(), ControlWindow::replay_tournament(), OptionsWindow::set_all_options(), ArenaBase::set_game_mode(), StartTournamentWindow::start(), ControlWindow::step(), ArenaRealTime::timeout_function(), ArenaReplay::timeout_function(), update_function(), and Robot::~Robot().

class Gui the_gui
 

Definition at line 85 of file RealTimeBattle.cc.

class Options the_opts
 

Definition at line 78 of file RealTimeBattle.cc.


Generated on Fri Oct 15 15:47:49 2004 for Real Time Battle by  doxygen 1.3.9.1