diff options
author | Filippos Karapetis | 2013-12-23 21:03:35 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-12-23 21:03:35 +0200 |
commit | 8d7b10f7c3463390a928b7aca889a4bfae5dc8ad (patch) | |
tree | 1f8091fe87c8c49bdd3df48d0d68525ae4e0234a /engines/neverhood/modules/module1600_sprites.cpp | |
parent | fec15ed2ccec8917c63728b44f40417ed983a73b (diff) | |
download | scummvm-rg350-8d7b10f7c3463390a928b7aca889a4bfae5dc8ad.tar.gz scummvm-rg350-8d7b10f7c3463390a928b7aca889a4bfae5dc8ad.tar.bz2 scummvm-rg350-8d7b10f7c3463390a928b7aca889a4bfae5dc8ad.zip |
NEVERHOOD: Add names to some message IDs
Diffstat (limited to 'engines/neverhood/modules/module1600_sprites.cpp')
-rw-r--r-- | engines/neverhood/modules/module1600_sprites.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/neverhood/modules/module1600_sprites.cpp b/engines/neverhood/modules/module1600_sprites.cpp index 06a00c82c0..e930d1fdc3 100644 --- a/engines/neverhood/modules/module1600_sprites.cpp +++ b/engines/neverhood/modules/module1600_sprites.cpp @@ -211,11 +211,11 @@ uint32 AsCommonCar::handleMessage(int messageNum, const MessageParam ¶m, Ent uint32 AsCommonCar::hmAnimation(int messageNum, const MessageParam ¶m, Entity *sender) { uint32 messageResult = AsCommonCar::handleMessage(messageNum, param, sender); switch (messageNum) { - case 0x100D: + case NM_ANIMATION_START: if (_isBusy && param.asInteger() == 0x025424A2) gotoNextState(); break; - case 0x3002: + case NM_ANIMATION_STOP: gotoNextState(); break; } @@ -227,7 +227,7 @@ uint32 AsCommonCar::hmLeaveCar(int messageNum, const MessageParam ¶m, Entity case 0x2009: stEnterCar(); break; - case 0x3002: + case NM_ANIMATION_STOP: sendMessage(_parentScene, 0x200A, 0); SetMessageHandler(&AsCommonCar::handleMessage); break; @@ -866,7 +866,7 @@ uint32 KmScene1608::xHandleMessage(int messageNum, const MessageParam ¶m) { else GotoState(&Klaymen::stTryStandIdle); break; - case 0x4812: + case NM_KLAYMEN_PICKUP: if (param.asInteger() == 2) GotoState(&Klaymen::stPickUpNeedle); else if (param.asInteger() == 1) |