src/gui/gui.cpp File Reference

#include <iostream>
#include <iterator>
#include <stdio.h>
#include "vamosworld.h"
#include "controls.h"
#include "mouse.h"
#include "utility.h"
#include "gui/widget.h"
#include "gui/page.h"
#include "gui/gui.h"
#include "gui/button.h"
#include "gui/calibrate.h"
#include "gui/controlgrab.h"
#include "gui/image.h"
#include "gui/label.h"
#include "gui/multi_image.h"
#include "gui/slider.h"
#include "gui/spinning_car.h"
#include "gui/textbox.h"
#include "gui/toggle.h"
#include "gui/wheel.h"

Include dependency graph for gui.cpp:

Go to the source code of this file.

Functions

void Quit (int returnCode)
void MainPause ()
void MainUnpause ()
void ReloadDisplay ()
void ResetWorld (bool fullreset)
bool LoadWorld ()
bool UnloadWorld ()

Variables

bool verbose_output


Function Documentation

bool LoadWorld  ) 
 

Definition at line 876 of file main.cpp.

Referenced by REPLAY::PlayStart(), and VGUI::Gui::ProcessAction().

void MainPause  ) 
 

Definition at line 618 of file main.cpp.

Referenced by handleKeyRelease().

void MainUnpause  ) 
 

Definition at line 633 of file main.cpp.

void Quit int  returnCode  ) 
 

Cleaup and exit.

Parameters:
returnCode the exit code
This function cleans up the game state and restores the desktop environment to it's previous state.

Definition at line 275 of file main.cpp.

References error_log, gamecontrols, REPLAY::Recording(), replay, GAMESTATE::SetGameState(), state, STATE_EXIT, REPLAY::Stop(), verbose_output, and GAMECONTROLS::WriteControlFile().

Referenced by VGUI::Gui::ProcessAction().

void ReloadDisplay  ) 
 

Definition at line 402 of file main.cpp.

References ChangeDisplay(), cur_fullscreen, cur_screen_bpp, cur_screen_h, cur_screen_w, cur_tex_size, SETTINGS::Get(), objects, settings, showfps, tree_detail, VAMOSWORLD::UpdateSettings(), OBJECTS::UpdateSettings(), view_dist, and world.

Referenced by VGUI::Gui::ProcessAction().

void ResetWorld bool  fullreset  ) 
 

Definition at line 2112 of file main.cpp.

References GAMESTATE::GetCarName(), VAMOSWORLD::reset(), TIMER::Reset(), SelectCar(), state, timer, and world.

Referenced by REPLAY::Start().

bool UnloadWorld  ) 
 

Definition at line 859 of file main.cpp.

References backdrop, BACKDROP::DeInit(), VAMOSWORLD::DeInit(), sound, SOUNDMANAGER::Unload(), and world.

Referenced by LoadWorld().


Variable Documentation

bool verbose_output
 

Definition at line 115 of file main.cpp.


Generated on Thu Oct 19 04:09:40 2006 by  doxygen 1.4.6