mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
Added animation handler for standard characters that can be talked to
svn-id: r25888
This commit is contained in:
parent
437bc950b6
commit
41574458fc
@ -1966,8 +1966,6 @@ HandlerMethodPtr HotspotTickHandlers::getHandler(uint16 procOffset) {
|
||||
return voiceBubbleAnimHandler;
|
||||
case PUZZLED_TICK_PROC_ID:
|
||||
return puzzledAnimHandler;
|
||||
case 0x7F3A:
|
||||
return standardAnimHandler;
|
||||
case 0x7207:
|
||||
return roomExitAnimHandler;
|
||||
case PLAYER_TICK_PROC_ID:
|
||||
@ -1976,6 +1974,10 @@ HandlerMethodPtr HotspotTickHandlers::getHandler(uint16 procOffset) {
|
||||
return followerAnimHandler;
|
||||
case 0x7EFA:
|
||||
return skorlAnimHandler;
|
||||
case 0x7F37:
|
||||
return standardAnimHandler2;
|
||||
case 0x7F3A:
|
||||
return standardAnimHandler;
|
||||
case 0x7F69:
|
||||
return droppingTorchAnimHandler;
|
||||
case 0x7FA1:
|
||||
@ -2008,6 +2010,11 @@ void HotspotTickHandlers::standardAnimHandler(Hotspot &h) {
|
||||
h.executeScript();
|
||||
}
|
||||
|
||||
void HotspotTickHandlers::standardAnimHandler2(Hotspot &h) {
|
||||
h.handleTalkDialog();
|
||||
standardCharacterAnimHandler(h);
|
||||
}
|
||||
|
||||
void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) {
|
||||
Resources &res = Resources::getReference();
|
||||
ValueTableData &fields = res.fieldList();
|
||||
|
@ -58,6 +58,7 @@ private:
|
||||
static void defaultHandler(Hotspot &h);
|
||||
static void voiceBubbleAnimHandler(Hotspot &h);
|
||||
static void standardAnimHandler(Hotspot &h);
|
||||
static void standardAnimHandler2(Hotspot &h);
|
||||
static void standardCharacterAnimHandler(Hotspot &h);
|
||||
static void puzzledAnimHandler(Hotspot &h);
|
||||
static void roomExitAnimHandler(Hotspot &h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user