diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-24 14:47:03 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-09-24 14:47:03 +0000 |
| commit | 917ebc17c617dfd27e4e997dce713cb1dfb6cfdc (patch) | |
| tree | 11d85f18ef289de3de322bed5274dc616c23ac45 /src/game/client/gameclient.cpp | |
| parent | 2f28978237f0ead749a39229f1c683df63d34871 (diff) | |
| download | zcatch-917ebc17c617dfd27e4e997dce713cb1dfb6cfdc.tar.gz zcatch-917ebc17c617dfd27e4e997dce713cb1dfb6cfdc.zip | |
begun the work on voting
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |