src/render/rConsoleGraph.cpp File Reference

#include "aa_config.h"
#include "rFont.h"
#include "tSysTime.h"
#include "rConsole.h"
#include "rSysdep.h"
#include "rScreen.h"
#include "rGL.h"
#include "tConfiguration.h"
#include "rDisplayList.h"

Include dependency graph for rConsoleGraph.cpp:

Go to the source code of this file.

Functions

static void sr_ConsolePerFrame ()
void CenterDisplay (const tString &s, REAL timeout, REAL r, REAL g, REAL b)

Variables

static tColoredString sr_centerString
static REAL center_r
static REAL center_g
static REAL center_b
static REAL center_fadetime
static REAL Time
static rDisplayListAlphaSensitive sr_consoleDisplayList
static rPerFrameTask console_pf & sr_ConsolePerFrame
REAL centerMessageY = 0
static tConfItem< REALcmlocy ("CM_LOCY", centerMessageY)
static int sr_columns = 78
static tConfItem< int > sr_columnsConf ("CONSOLE_COLUMNS", sr_columns)
static int sr_indent = 3
static tConfItem< int > sr_indentConf ("CONSOLE_INDENT", sr_indent)


Function Documentation

void CenterDisplay ( const tString s,
REAL  timeout,
REAL  r,
REAL  g,
REAL  b 
)

Definition at line 187 of file rConsoleGraph.cpp.

References center_b, center_fadetime, center_g, center_r, rCenterDisplayCallback::CenterDisplay(), and tSysTimeFloat().

00187                                                                       {
00188     rCenterDisplayCallback::CenterDisplay();
00189 
00190     sr_centerString=s;
00191     center_fadetime=timeout+tSysTimeFloat();
00192     center_r=r;
00193     center_g=g;
00194     center_b=b;
00195 }

Here is the call graph for this function:

static void sr_ConsolePerFrame (  )  [static]

Definition at line 48 of file rConsoleGraph.cpp.

References rConsole::autoDisplayAtSwap, rConsole::Render(), and sr_con.

00048                                 {
00049     if (sr_con.autoDisplayAtSwap)
00050         sr_con.Render();
00051 }

Here is the call graph for this function:


Variable Documentation

REAL center_b [static]

Definition at line 42 of file rConsoleGraph.cpp.

Referenced by CenterDisplay(), and rConsole::Render().

REAL center_fadetime [static]

Definition at line 42 of file rConsoleGraph.cpp.

Referenced by CenterDisplay(), and rConsole::Render().

REAL center_g [static]

Definition at line 42 of file rConsoleGraph.cpp.

Referenced by CenterDisplay(), and rConsole::Render().

REAL center_r [static]

Definition at line 42 of file rConsoleGraph.cpp.

Referenced by CenterDisplay(), and rConsole::Render().

REAL centerMessageY = 0

Definition at line 66 of file rConsoleGraph.cpp.

tConfItem<REAL> cmlocy("CM_LOCY", centerMessageY) [static]

tColoredString sr_centerString [static]

Definition at line 41 of file rConsoleGraph.cpp.

int sr_columns = 78 [static]

Definition at line 70 of file rConsoleGraph.cpp.

tConfItem<int> sr_columnsConf("CONSOLE_COLUMNS", sr_columns) [static]

rDisplayListAlphaSensitive sr_consoleDisplayList [static]

Definition at line 46 of file rConsoleGraph.cpp.

rPerFrameTask console_pf& sr_ConsolePerFrame [static]

Definition at line 53 of file rConsoleGraph.cpp.

int sr_indent = 3 [static]

Definition at line 73 of file rConsoleGraph.cpp.

tConfItem<int> sr_indentConf("CONSOLE_INDENT", sr_indent) [static]

REAL Time [static]

Definition at line 44 of file rConsoleGraph.cpp.

Referenced by rConsole::Render(), su_GetSDLInput(), and su_StoreSDLEvent().


Generated on Sat Mar 15 23:02:41 2008 for Armagetron Advanced by  doxygen 1.5.4