Update of /cvsroot/gcblue/gcb_wx/src/scriptinterface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11058/src/scriptinterface
Modified Files:
tcScenarioInterface.cpp tcSubInterface.cpp
Log Message:
Multiple smoke trail fixes
Animation tweaks
Index: tcSubInterface.cpp
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/src/scriptinterface/tcSubInterface.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tcSubInterface.cpp 23 Nov 2004 23:30:58 -0000 1.1
--- tcSubInterface.cpp 27 Jan 2005 01:01:52 -0000 1.2
***************
*** 103,107 ****
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect(SEFFECT_LOWBEEP);
}
--- 103,107 ----
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect("LowBeep");
}
***************
*** 124,128 ****
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect(SEFFECT_LOWBEEP);
}
--- 124,128 ----
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect("LowBeep");
}
***************
*** 144,148 ****
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect(SEFFECT_LOWBEEP);
}
--- 144,148 ----
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect("LowBeep");
}
***************
*** 164,168 ****
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect(SEFFECT_LOWBEEP);
}
--- 164,168 ----
messageInterface->ChannelMessage("Info", s.c_str());
! sound->PlayEffect("LowBeep");
}
Index: tcScenarioInterface.cpp
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/src/scriptinterface/tcScenarioInterface.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** tcScenarioInterface.cpp 5 Dec 2004 02:49:48 -0000 1.15
--- tcScenarioInterface.cpp 27 Jan 2005 01:01:52 -0000 1.16
***************
*** 539,546 ****
}
! void tcScenarioInterface::PlayEffect(int effectNumber)
{
wxASSERT(director);
! director->AddEvent(new tcSoundEffectEvent(eventTime,effectNumber));
}
--- 539,546 ----
}
! void tcScenarioInterface::PlayEffect(const std::string& effectName)
{
wxASSERT(director);
! director->AddEvent(new tcSoundEffectEvent(eventTime, effectName));
}
|