This commit is contained in:
parent
487b432f7e
commit
9f01a0427a
7 changed files with 198 additions and 67 deletions
|
@ -73,6 +73,14 @@ scripts/c5l2_celebrate.dat
|
|||
scripts/c5l3_celebrate.dat
|
||||
scripts/c5l4_celebrate.dat
|
||||
|
||||
scripts/triggerspeech_firstnet.dat
|
||||
scripts/triggerspeech_firstcoral.dat
|
||||
scripts/triggerspeech_garych2l1.dat
|
||||
scripts/triggerspeech_bubblegeyser.dat
|
||||
scripts/triggerspeech_firstbubble.dat
|
||||
scripts/triggerspeech_breakfloor.dat
|
||||
scripts/triggerspeech_usebubble.dat
|
||||
scripts/triggerspeech_weight.dat
|
||||
|
||||
translations/swe.dat
|
||||
translations/dut.dat
|
||||
|
|
|
@ -327,85 +327,88 @@ eng=Happy Birthday!
|
|||
; ---------------------------------------------------------------
|
||||
; Ingame conversations
|
||||
; ---------------------------------------------------------------
|
||||
Chapter 1 - Level 1 - 01
|
||||
;Chapter 1 - Level 1 - 01
|
||||
[STR__INGAME__CH1__L1__SPONGEY1]
|
||||
eng=Hi Squidward !!! Ready for another great day together, friend?
|
||||
[STR__INGAME__CH1__L1__SQUIDWARD1]
|
||||
eng=Today's Sunday, SpongeBob. Forget the Krusty Krab. Hey moron, why don't you take your net and go waste somebody else's time!
|
||||
|
||||
Chapter 1 - Level 1 - 02
|
||||
;Chapter 1 - Level 1 - 02
|
||||
[STR__INGAME__CH1__L1__SQUIDWARD2]
|
||||
eng=Look SpongeBob, I told you, use your net and GO FISH!
|
||||
|
||||
|
||||
Chapter 1 - Level 2 - 01
|
||||
;Chapter 1 - Level 2 - 01
|
||||
[STR__INGAME__CH1__L2__SANDY1]
|
||||
eng=Take that you ' ya sorry ol' clam. Y'all need to learn some manners! Hold on there little square dude if you want to defend yourself you need to do this!!!!
|
||||
|
||||
Chapter 1 - Level 2 - 02
|
||||
;Chapter 1 - Level 2 - 02
|
||||
[STR__INGAME__CH1__L2__SANDY2]
|
||||
eng=I like you SpongeBob. We're tighter than bark on a tree. Why don't y'all borrow my diving hat so your head can stay water logged.
|
||||
|
||||
Chapter 1 - Level 2 - 03
|
||||
;Chapter 1 - Level 2 - 03
|
||||
[STR__INGAME__CH1__L2__SANDY3]
|
||||
eng=SpongeBob you silly 'ol sponge, try using your helmet!!!
|
||||
|
||||
|
||||
Chapter 1 - Level 4 - 01
|
||||
;Chapter 1 - Level 4 - 01
|
||||
[STR__INGAME__CH1__L4__KRUSTY1]
|
||||
eng=SpongeBob!!! Argh! Where have you been hiding, boy? Take these'ere glasses, lad. You got to see the jellyfish before you can catch'em.
|
||||
|
||||
Chapter 1 - Level 4 - 02
|
||||
;Chapter 1 - Level 4 - 02
|
||||
[STR__INGAME__CH1__L4__KRUSTY2]
|
||||
eng=SpongeBob!!! Put yer glasses on lad or I won't let you work during yer vacation!
|
||||
|
||||
|
||||
Chapter 2 - Level 1 - 01
|
||||
;Chapter 2 - Level 1 - 01
|
||||
[STR__INGAME__CH2__L1__KRUSTY1]
|
||||
eng=SpongeBob!!! Now listen Boy! I'm countin' on ya to use this ere coral blower to make your way around Bikini Bottom!!! And watch out for that scurvy Plankton he is up to his old tricks again!!!
|
||||
|
||||
Chapter 2 - Level 1 - 02
|
||||
;Chapter 2 - Level 1 - 02
|
||||
[STR__INGAME__CH2__L1__KRUSTY2]
|
||||
eng=Use the Coral Blower me boy! Blast away!
|
||||
|
||||
|
||||
Chapter 2 - Level 2 - 01
|
||||
;Chapter 2 - Level 2 - 01
|
||||
[STR__INGAME__CH2__L2__PATRICK1]
|
||||
eng=Hey SpongeBob. I got an extra balloon for my birthday. Want it? Ooooo, you're floating away! Hey, where'd my balloon go? SpongeBob!
|
||||
|
||||
Chapter 2 - Level 2 - 02
|
||||
;Chapter 2 - Level 2 - 02
|
||||
[STR__INGAME__CH2__L2__PATRICK2]
|
||||
eng=Here best pal you can still use my balloon!!! Happy Birthday to me!
|
||||
|
||||
Chapter 3 - Level 2 - 01
|
||||
;Chapter 3 - Level 2 - 01
|
||||
[STR__INGAME__CH3__L2__SANDY1]
|
||||
eng=Hai yah!
|
||||
|
||||
Chapter 3 - Level 2 - 02
|
||||
;Chapter 3 - Level 2 - 02
|
||||
[STR__INGAME__CH3__L2__SANDY2]
|
||||
eng=Excellent! You'll be able to use this move on most of the enemies you encounter, as well as special objects.
|
||||
|
||||
Chapter 3 - Level 3 - 01
|
||||
;Chapter 3 - Level 3 - 01
|
||||
[STR__INGAME__CH3__L3__PATRICK1]
|
||||
eng=DA DA DA DA DA DUM DUM DUM DUM.... Here you go SpongeBob! One bubblewand dipped and ready to go!!!! Up, down and all around! I don't know what that means.
|
||||
|
||||
Chapter 3 - Level 3 - 02
|
||||
;Chapter 3 - Level 3 - 02
|
||||
[STR__INGAME__CH3__L3__PATRICK2]
|
||||
eng=SpongeBob , Here you go... another bubblewand dipped and ready to go!!!! I did it again.
|
||||
|
||||
|
||||
Chapter 2 - Level 1 - 01
|
||||
;Chapter 2 - Level 1 - 01
|
||||
[STR__INGAME__CH4__L3__KRUSTY1]
|
||||
eng=SpongeBob!!! Now listen Boy! There are dangerous surfaces that none shall pass unless they have squeaky boots. I happen to have a pair. You can owe me.
|
||||
|
||||
Chapter 2 - Level 1 - 02
|
||||
;Chapter 2 - Level 1 - 02
|
||||
[STR__INGAME__CH4__L3__KRUSTY2]
|
||||
eng=I ain't telling you again lad! Wear your boots and you'll go far! Argh!
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; End of level celebration text
|
||||
; ---------------------------------------------------------------
|
||||
|
||||
[STR__INGAME__CH1__L1__SBCELEBRATE]
|
||||
eng=Yippee... Now to find the Jar of Sea-Nut Butter!
|
||||
[STR__INGAME__CH1__L2__SBCELEBRATE]
|
||||
|
@ -454,6 +457,30 @@ eng=I got it! Well, celebration time is over! Now back to Bikini Bottom to add t
|
|||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; Speech trigger texts
|
||||
; ---------------------------------------------------------------
|
||||
|
||||
[STR__INGAME__TRIGGERSPEECH_FIRSTNET]
|
||||
eng=Hey, I can use this net to catch jellyfish and throw them at those annoying critters.
|
||||
[STR__INGAME__TRIGGERSPEECH_FIRSTCORAL]
|
||||
eng=With this coral blower, I can suck up all of those sea shells laying around, and use them to break up the rock walls.
|
||||
[STR__INGAME__TRIGGERSPEECH_GARYCH2L1]
|
||||
eng=Hmmmm, using the coral blower on those rocks up there should cover up those spikes!
|
||||
[STR__INGAME__TRIGGERSPEECH_BUBBLEGEYSER]
|
||||
eng=Bubbles! Hey, I wonder if I can jump on them...
|
||||
[STR__INGAME__TRIGGERSPEECH_FIRSTBUBBLE]
|
||||
eng=I can make bubbles! And what do you know, I can jump on them!
|
||||
[STR__INGAME__TRIGGERSPEECH_BREAKFLOOR]
|
||||
eng=The floor doesn’t look too stable. A good ol butt bounce should do the trick.
|
||||
[STR__INGAME__TRIGGERSPEECH_USEBUBBLE]
|
||||
eng=A few bubbles should get me up there...
|
||||
[STR__INGAME__TRIGGERSPEECH_WEIGHT]
|
||||
eng=I cant't lift that.. hmmmm. those pulleys should do the trick.
|
||||
|
||||
|
||||
|
||||
|
||||
; ---------------------------------------------------------------
|
||||
; Pause menu
|
||||
; ---------------------------------------------------------------
|
||||
|
|
|
@ -628,7 +628,9 @@ SCRIPTS_LIST := ch1l1_01 ch1l1_02 ch1l2_01 ch1l2_02 ch1l2_03 ch1l4_01 ch1l4_02
|
|||
c2l1_celebrate c2l2_celebrate c2l3_celebrate c2l4_celebrate \
|
||||
c3l1_celebrate c3l2_celebrate c3l3_celebrate c3l4_celebrate \
|
||||
c4l1_celebrate c4l2_celebrate c4l3_celebrate c4l4_celebrate \
|
||||
c5l1_celebrate c5l2_celebrate c5l3_celebrate c5l4_celebrate
|
||||
c5l1_celebrate c5l2_celebrate c5l3_celebrate c5l4_celebrate \
|
||||
triggerspeech_firstnet triggerspeech_firstcoral triggerspeech_garych2l1 triggerspeech_bubblegeyser \
|
||||
triggerspeech_firstbubble triggerspeech_breakfloor triggerspeech_usebubble triggerspeech_weight
|
||||
|
||||
SCRIPTS_IN_DIR := $(GAME_DATA_DIR)/scripts
|
||||
|
||||
|
|
|
@ -248,15 +248,15 @@ const sSpeechTable SpeechTable[]=
|
|||
{SPEECH_148,-1},
|
||||
{SPEECH_149,-1},
|
||||
{SPEECH_150,-1},
|
||||
{SPEECH_151,-1},
|
||||
{SPEECH_152,-1},
|
||||
{SPEECH_153,-1},
|
||||
{SPEECH_154,-1},
|
||||
{SPEECH_155,-1},
|
||||
{SPEECH_151,SCRIPTS_TRIGGERSPEECH_FIRSTNET_DAT},
|
||||
{SPEECH_152,SCRIPTS_TRIGGERSPEECH_FIRSTCORAL_DAT},
|
||||
{SPEECH_153,SCRIPTS_TRIGGERSPEECH_GARYCH2L1_DAT},
|
||||
{SPEECH_154,SCRIPTS_TRIGGERSPEECH_BREAKFLOOR_DAT},
|
||||
{SPEECH_155,SCRIPTS_TRIGGERSPEECH_BUBBLEGEYSER_DAT},
|
||||
{SPEECH_156,-1},
|
||||
{SPEECH_157,-1},
|
||||
{SPEECH_158,-1},
|
||||
{SPEECH_159,-1},
|
||||
{SPEECH_157,SCRIPTS_TRIGGERSPEECH_USEBUBBLE_DAT},
|
||||
{SPEECH_158,SCRIPTS_TRIGGERSPEECH_FIRSTBUBBLE_DAT},
|
||||
{SPEECH_159,SCRIPTS_TRIGGERSPEECH_WEIGHT_DAT},
|
||||
};
|
||||
const int SpeechTableSize=sizeof(SpeechTable)/sizeof(sSpeechTable);
|
||||
|
||||
|
@ -759,7 +759,7 @@ void CConversation::dumpConversationScripts()
|
|||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
Purpose: God knows..
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
|
@ -773,32 +773,33 @@ void CConversation::registerConversationLevelScripts(int level)
|
|||
{
|
||||
case 1:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L1_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L1_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C1L1_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_FIRSTNET_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L1_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L1_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C1L1_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L2_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L2_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L2_03_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C1L2_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L2_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L2_02_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L2_03_DAT);
|
||||
registerConversationScript(SCRIPTS_C1L2_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C1L3_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C1L3_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 4:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L4_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH1L4_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C1L4_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L4_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH1L4_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C1L4_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -815,29 +816,33 @@ void CConversation::registerConversationLevelScripts(int level)
|
|||
{
|
||||
case 1:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH2L1_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH2L1_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C2L1_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_FIRSTCORAL_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_GARYCH2L1_DAT);
|
||||
registerConversationScript(SCRIPTS_CH2L1_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH2L1_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C2L1_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH2L2_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH2L2_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C2L2_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_BUBBLEGEYSER_DAT);
|
||||
registerConversationScript(SCRIPTS_CH2L2_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH2L2_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C2L2_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C2L3_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_FIRSTBUBBLE_DAT);
|
||||
registerConversationScript(SCRIPTS_C2L3_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 4:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C2L4_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C2L4_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -854,30 +859,32 @@ void CConversation::registerConversationLevelScripts(int level)
|
|||
{
|
||||
case 1:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH4L3_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH4L3_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C3L1_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_BREAKFLOOR_DAT);
|
||||
registerConversationScript(SCRIPTS_CH4L3_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH4L3_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C3L1_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH3L2_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C3L2_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_CH3L2_01_DAT);
|
||||
registerConversationScript(SCRIPTS_C3L2_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_CH3L3_01_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_CH3L3_02_DAT);
|
||||
CConversation::registerConversationScript(SCRIPTS_C3L3_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_USEBUBBLE_DAT);
|
||||
registerConversationScript(SCRIPTS_CH3L3_01_DAT);
|
||||
registerConversationScript(SCRIPTS_CH3L3_02_DAT);
|
||||
registerConversationScript(SCRIPTS_C3L3_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 4:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C3L4_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C3L4_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -894,25 +901,25 @@ void CConversation::registerConversationLevelScripts(int level)
|
|||
{
|
||||
case 1:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C4L1_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C4L1_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C4L2_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C4L2_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C4L3_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C4L3_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 4:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C4L4_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C4L4_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -929,25 +936,42 @@ void CConversation::registerConversationLevelScripts(int level)
|
|||
{
|
||||
case 1:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C5L1_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C5L1_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 2:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C5L2_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C5L2_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 3:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C5L3_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C5L3_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
case 4:
|
||||
{
|
||||
CConversation::registerConversationScript(SCRIPTS_C5L4_CELEBRATE_DAT);
|
||||
registerConversationScript(SCRIPTS_C5L4_CELEBRATE_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 6:
|
||||
{
|
||||
switch ( CLevel::getCurrentChapterLevel() )
|
||||
{
|
||||
case 5:
|
||||
{
|
||||
registerConversationScript(SCRIPTS_TRIGGERSPEECH_WEIGHT_DAT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*=========================================================================
|
||||
|
||||
tspeech.h
|
||||
tspeech.cpp
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
|
@ -19,8 +19,36 @@
|
|||
#include "sound\sound.h"
|
||||
#endif
|
||||
|
||||
#ifndef __GAME_CONVO_H__
|
||||
#include "game\convo.h"
|
||||
#endif
|
||||
|
||||
int CSpeechTrigger::m_speechRef[9] =
|
||||
|
||||
|
||||
|
||||
|
||||
// Makes the speech triggers you proper conversation boxes
|
||||
#define __SPEECH_TRIGGERS_AS_CONVERSATIONS__
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __SPEECH_TRIGGERS_AS_CONVERSATIONS__
|
||||
int CSpeechTrigger::s_speechRef[9] =
|
||||
{
|
||||
SCRIPTS_TRIGGERSPEECH_FIRSTNET_DAT,//SPEECH_151,
|
||||
SCRIPTS_TRIGGERSPEECH_FIRSTCORAL_DAT,//SPEECH_152,
|
||||
SCRIPTS_TRIGGERSPEECH_GARYCH2L1_DAT,//SPEECH_153,
|
||||
SCRIPTS_TRIGGERSPEECH_BREAKFLOOR_DAT,//SPEECH_154,
|
||||
SCRIPTS_TRIGGERSPEECH_BUBBLEGEYSER_DAT,//SPEECH_155,
|
||||
0,//SPEECH_156,
|
||||
SCRIPTS_TRIGGERSPEECH_USEBUBBLE_DAT,//SPEECH_157,
|
||||
SCRIPTS_TRIGGERSPEECH_FIRSTBUBBLE_DAT,//SPEECH_158,
|
||||
SCRIPTS_TRIGGERSPEECH_WEIGHT_DAT,//SPEECH_159,
|
||||
};
|
||||
#else
|
||||
int CSpeechTrigger::s_speechRef[9] =
|
||||
{
|
||||
SPEECH_151,
|
||||
SPEECH_152,
|
||||
|
@ -32,6 +60,7 @@ int CSpeechTrigger::m_speechRef[9] =
|
|||
SPEECH_158,
|
||||
SPEECH_159,
|
||||
};
|
||||
#endif
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
|
@ -45,7 +74,12 @@ void CSpeechTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
case TYPE_PLAYER:
|
||||
{
|
||||
CSoundMediator::playSpeech( m_speechRef[m_data] );
|
||||
|
||||
#ifdef __SPEECH_TRIGGERS_AS_CONVERSATIONS__
|
||||
CConversation::trigger((FileEquate)s_speechRef[m_data]);
|
||||
#else
|
||||
CSoundMediator::playSpeech( s_speechRef[m_data] );
|
||||
#endif
|
||||
setToShutdown();
|
||||
|
||||
break;
|
||||
|
|
|
@ -47,7 +47,7 @@ protected:
|
|||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
int m_data;
|
||||
static int m_speechRef[9];
|
||||
static int s_speechRef[9];
|
||||
};
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
|
|
@ -2951,6 +2951,42 @@ SOURCE=..\..\..\data\scripts\fma_party.scr
|
|||
SOURCE=..\..\..\data\scripts\fma_plankton.scr
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "speech triggers"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_breakfloor.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_bubblegeyser.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_firstbubble.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_firstcoral.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_firstnet.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_garych2l1.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_usebubble.scr
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\data\scripts\triggerspeech_weight.scr
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue