diff options
| author | manuel <manuel@mausz.at> | 2011-04-11 14:15:59 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-11 14:15:59 +0200 |
| commit | c68e77cac9558316ac16d58c0f6b888599ab021a (patch) | |
| tree | 556b4c36fb325a117dd2ff27c472689a82c1a156 /pacman-c++/util.h | |
| parent | 3c2e420d3418f326e091c67673f9eec610e45fc2 (diff) | |
| download | foop-c68e77cac9558316ac16d58c0f6b888599ab021a.tar.gz foop-c68e77cac9558316ac16d58c0f6b888599ab021a.tar.bz2 foop-c68e77cac9558316ac16d58c0f6b888599ab021a.zip | |
- make moving animation a bit smoother (on my computer at least)
- make animation stop after getting blocked
Diffstat (limited to 'pacman-c++/util.h')
| -rw-r--r-- | pacman-c++/util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pacman-c++/util.h b/pacman-c++/util.h index 1422dee..f68af67 100644 --- a/pacman-c++/util.h +++ b/pacman-c++/util.h | |||
| @@ -13,11 +13,11 @@ namespace Util | |||
| 13 | Transmission::map_t createDemoMap(); | 13 | Transmission::map_t createDemoMap(); |
| 14 | Transmission::map_t createEmptyMap(); | 14 | Transmission::map_t createEmptyMap(); |
| 15 | 15 | ||
| 16 | // default is to assert false with -1 | 16 | // default is to assert false with -1 |
| 17 | Transmission::field_t actorMovementToTransmission(Actor::Movement mov, | 17 | Transmission::field_t actorMovementToTransmission(Actor::Movement mov, |
| 18 | Transmission::field_t def = -1); | 18 | Transmission::field_t def = Transmission::none); |
| 19 | Actor::Movement transmissionMovementToActor(Transmission::field_t field, | 19 | Actor::Movement transmissionMovementToActor(Transmission::field_t field, |
| 20 | Actor::Movement def = Actor::Movement(-1)); | 20 | Actor::Movement def = Actor::None); |
| 21 | 21 | ||
| 22 | void QByteArrayToStdString(const QByteArray& arr, std::string& str); | 22 | void QByteArrayToStdString(const QByteArray& arr, std::string& str); |
| 23 | 23 | ||
