From 917ebc17c617dfd27e4e997dce713cb1dfb6cfdc Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 24 Sep 2008 14:47:03 +0000 Subject: begun the work on voting --- src/game/client/gameclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 5ae98ced..e1634706 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -32,6 +32,7 @@ #include "components/scoreboard.hpp" #include "components/skins.hpp" #include "components/sounds.hpp" +#include "components/voting.hpp" GAMECLIENT gameclient; @@ -55,6 +56,7 @@ static SCOREBOARD scoreboard; static SOUNDS sounds; static EMOTICON emoticon; static DAMAGEIND damageind; +static VOTING voting; static PLAYERS players; static NAMEPLATES nameplates; @@ -105,6 +107,7 @@ void GAMECLIENT::on_console_init() motd = &::motd; damageind = &::damageind; mapimages = &::mapimages; + voting = &::voting; // make a list of all the systems, make sure to add them in the corrent render order all.add(skins); @@ -115,6 +118,7 @@ void GAMECLIENT::on_console_init() all.add(controls); all.add(camera); all.add(sounds); + all.add(voting); all.add(particles); // doesn't render anything, just updates all the particles all.add(&maplayers_background); // first to render -- cgit 1.4.1