diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-11-08 12:50:46 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-11-08 12:50:46 +0000 |
| commit | 388a04d957a0fd9af9287cbe6f1ee905371886c7 (patch) | |
| tree | a493826c21bfca82dbd7b122d859025e0693c62e /src/game/client/components/maplist.hpp | |
| parent | 4fa7806009ec4b6acfbf545e56d22e87ea5fa3f2 (diff) | |
| download | zcatch-388a04d957a0fd9af9287cbe6f1ee905371886c7.tar.gz zcatch-388a04d957a0fd9af9287cbe6f1ee905371886c7.zip | |
better voting support
Diffstat (limited to 'src/game/client/components/maplist.hpp')
| -rw-r--r-- | src/game/client/components/maplist.hpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/game/client/components/maplist.hpp b/src/game/client/components/maplist.hpp deleted file mode 100644 index 9b7ee1fd..00000000 --- a/src/game/client/components/maplist.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#include <game/client/component.hpp> - -class MAPLIST : public COMPONENT -{ - char buffer[2048]; - const char *maps[128]; - int num_maps; -public: - MAPLIST(); - virtual void on_reset(); - virtual void on_message(int msgtype, void *rawmsg); - - int num() const { return num_maps; } - const char *name(int index) const { return maps[index]; } -}; |