src/tron/gFriends.cpp File Reference

#include "gFriends.h"
#include "uMenu.h"
#include <memory>

Include dependency graph for gFriends.cpp:

Go to the source code of this file.

Functions

bool getFriendsEnabled ()
void FriendsToggle ()
tStringgetFriends ()

Variables

static bool sg_enableFriends = false
static tConfItem< bool > sg_enableFriendsConf ("ENABLE_FRIENDS", sg_enableFriends)
static gFriends sg_friends


Function Documentation

void FriendsToggle (  ) 

Definition at line 70 of file gFriends.cpp.

References sg_enableFriends.

Referenced by gServerMenu::HandleEvent().

00071 {
00072         if (sg_enableFriends)
00073                 sg_enableFriends = false;
00074         else
00075         sg_enableFriends = true;
00076 }

Here is the caller graph for this function:

tString* getFriends (  ) 

Definition at line 78 of file gFriends.cpp.

References gFriends::friends.

Referenced by gServerMenu::Update().

00079 {
00080         return sg_friends.friends;
00081 }

Here is the caller graph for this function:

bool getFriendsEnabled (  ) 

Definition at line 65 of file gFriends.cpp.

References sg_enableFriends.

Referenced by gBrowserMenuItem::RenderBackground(), and gServerMenu::Update().

00066 {
00067         return sg_enableFriends;
00068 }

Here is the caller graph for this function:


Variable Documentation

bool sg_enableFriends = false [static]

Definition at line 32 of file gFriends.cpp.

Referenced by gFriends::FriendsMenu(), FriendsToggle(), and getFriendsEnabled().

tConfItem< bool > sg_enableFriendsConf("ENABLE_FRIENDS", sg_enableFriends) [static]

gFriends sg_friends [static]

Definition at line 35 of file gFriends.cpp.


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