diff options
| author | manuel <manuel@mausz.at> | 2011-04-14 19:18:48 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-14 19:18:48 +0200 |
| commit | 197708500f3adaaa50bc1a5a94aec0db8ea621e5 (patch) | |
| tree | 9fd6c9de8aef4f62e34e2d28fd485eaf52a5c909 /pacman-c++/util.cpp | |
| parent | 3fd1334e6d5339cad07ac4e4e23991a73d960a8e (diff) | |
| download | foop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.tar.gz foop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.tar.bz2 foop-197708500f3adaaa50bc1a5a94aec0db8ea621e5.zip | |
add dynamic player count for client. currently works only with 1 player as server doesn't send the initial map to the clients
Diffstat (limited to 'pacman-c++/util.cpp')
| -rw-r--r-- | pacman-c++/util.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pacman-c++/util.cpp b/pacman-c++/util.cpp index 2fb9f69..eaf18e4 100644 --- a/pacman-c++/util.cpp +++ b/pacman-c++/util.cpp | |||
| @@ -75,9 +75,10 @@ namespace Util | |||
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | map[0][0] |= Transmission::bonuspoint; | 77 | map[0][0] |= Transmission::bonuspoint; |
| 78 | map[1][0] |= Color::red | Transmission::pacman | Transmission::direction_right; | 78 | map[1][0] |= Color::red | Transmission::pacman | Transmission::direction_right; |
| 79 | map[23][0] = Color::blue | Transmission::pacman | Transmission::direction_none; | 79 | //map[23][0] = Color::blue | Transmission::pacman | Transmission::direction_none; |
| 80 | map[24][0] = Color::green | Transmission::pacman | Transmission::direction_none; | 80 | //map[24][0] = Color::green | Transmission::pacman | Transmission::direction_none; |
| 81 | //map[25][0] = Color::yellow | Transmission::pacman | Transmission::direction_none; | ||
| 81 | 82 | ||
| 82 | /* auto place normal points*/ | 83 | /* auto place normal points*/ |
| 83 | for (unsigned int x = 0; x < Constants::map_size.width; ++x) | 84 | for (unsigned int x = 0; x < Constants::map_size.width; ++x) |
