mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Got better at working in CPP... we don't want a forward_list here, we want a deque!
This commit is contained in:
parent
585683b978
commit
f0fbd07804
1 changed files with 99 additions and 111 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
#include "../m_pw.h"
|
#include "../m_pw.h"
|
||||||
#include "../z_zone.h"
|
#include "../z_zone.h"
|
||||||
|
|
||||||
#include <forward_list>
|
#include <deque>
|
||||||
|
|
||||||
#include "../core/string.h"
|
#include "../core/string.h"
|
||||||
|
|
||||||
|
|
@ -249,8 +249,8 @@ public:
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
std::forward_list<GonerChatLine> LinesToDigest;
|
std::deque<GonerChatLine> LinesToDigest;
|
||||||
std::forward_list<GonerChatLine> LinesOutput;
|
std::deque<GonerChatLine> LinesOutput;
|
||||||
|
|
||||||
class GonerBGData
|
class GonerBGData
|
||||||
{
|
{
|
||||||
|
|
@ -492,24 +492,13 @@ static void Initial_Control_Info(void)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (LinesToDigest.empty())
|
LinesToDigest.push_back(line);
|
||||||
{
|
|
||||||
LinesToDigest.emplace_front(line);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
LinesToDigest.emplace_after(
|
|
||||||
LinesToDigest.begin(),
|
|
||||||
line
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void M_AddGonerLines(void)
|
void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
SRB2_ASSERT(LinesToDigest.empty());
|
SRB2_ASSERT(LinesToDigest.empty());
|
||||||
|
|
||||||
auto _ = srb2::finally([]() { LinesToDigest.reverse(); });
|
|
||||||
|
|
||||||
static bool leftoff = false;
|
static bool leftoff = false;
|
||||||
|
|
||||||
goner_delay = TICRATE;
|
goner_delay = TICRATE;
|
||||||
|
|
@ -519,7 +508,7 @@ void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
if (!MAIN_Goner[0].mvar2)
|
if (!MAIN_Goner[0].mvar2)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Metal Sonic. Are you online?");
|
"Metal Sonic. Are you online?");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -527,10 +516,10 @@ void M_AddGonerLines(void)
|
||||||
|
|
||||||
if (leftoff)
|
if (leftoff)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"It must have run into some sort of error...");
|
"It must have run into some sort of error...");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Don't worry, your settings so far are saved. "\
|
"Don't worry, your settings so far are saved. "\
|
||||||
"Let's pick up where we left off.");
|
"Let's pick up where we left off.");
|
||||||
|
|
||||||
|
|
@ -545,40 +534,40 @@ void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
case GDGONER_VIDEO:
|
case GDGONER_VIDEO:
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"Take a close look, Miles. Moments ago he was at my throat! "\
|
"Take a close look, Miles. Moments ago he was at my throat! "\
|
||||||
"Now he's docile as can be on that operating table.");
|
"Now he's docile as can be on that operating table.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"I don't feel very safe!");
|
"I don't feel very safe!");
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/4,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/4,
|
||||||
"But its programming is definitely locked down...");
|
"But its programming is definitely locked down...");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"You've given me quite the headache, Metal. "\
|
"You've given me quite the headache, Metal. "\
|
||||||
"Thankfully, Tails caught you in the act.");
|
"Thankfully, Tails caught you in the act.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/5,
|
||||||
"Wait, I'm getting weird readings over the network.");
|
"Wait, I'm getting weird readings over the network.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Metal Sonic is the unit labeled \"MS-1\", right?");
|
"Metal Sonic is the unit labeled \"MS-1\", right?");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE,
|
||||||
"The ""\x87""viewport""\x80"" and ""\x87""audio""\x80"" "\
|
"The ""\x87""viewport""\x80"" and ""\x87""audio""\x80"" "\
|
||||||
"config looks like it got messed up.");
|
"config looks like it got messed up.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"So you're right. I wonder if it has anything to do with that outburst.");
|
"So you're right. I wonder if it has anything to do with that outburst.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Alright, Metal! I don't remember your specifications offhand. "\
|
"Alright, Metal! I don't remember your specifications offhand. "\
|
||||||
"First things first, go ahead and set up your "\
|
"First things first, go ahead and set up your "\
|
||||||
"\x87""Video Options""\x80"" yourself.");
|
"\x87""Video Options""\x80"" yourself.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Initial_Control_Info);
|
LinesToDigest.emplace_back(0, Initial_Control_Info);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -586,101 +575,101 @@ void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
if (!leftoff)
|
if (!leftoff)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Ah, you can see us now. Good.");
|
"Ah, you can see us now. Good.");
|
||||||
}
|
}
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Now, calibrate your ""\x87""Sound Options""\x80"".");
|
"Now, calibrate your ""\x87""Sound Options""\x80"".");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"You always make your stuff so loud by default, Eggman. It might need a moment.");
|
"You always make your stuff so loud by default, Eggman. It might need a moment.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Not Metal! He always needed to be stealthy. But go on, set your sliders.");
|
"Not Metal! He always needed to be stealthy. But go on, set your sliders.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GDGONER_PROFILE:
|
case GDGONER_PROFILE:
|
||||||
{
|
{
|
||||||
if (!leftoff)
|
if (!leftoff)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"Oh! Let's tell Metal about our project!");
|
"Oh! Let's tell Metal about our project!");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Of course. I and my lab assista-");
|
"Of course. I and my lab assista-");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Lab PARTNER.");
|
"Lab PARTNER.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Irrelevant!");
|
"Irrelevant!");
|
||||||
}
|
}
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/4,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/4,
|
||||||
"We made a machine together, Tails and I. "\
|
"We made a machine together, Tails and I. "\
|
||||||
"It's called a \"""\x82""Ring Racer""\x80""\".");
|
"It's called a \"""\x82""Ring Racer""\x80""\".");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE,
|
||||||
"At its core, it is designed to utilise the boundless potential "\
|
"At its core, it is designed to utilise the boundless potential "\
|
||||||
"of the ""\x83""High Voltage Ring""\x80"".");
|
"of the ""\x83""High Voltage Ring""\x80"".");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE,
|
||||||
"We made this special ""\x83""Ring""\x80"" by combining the power of tens of "\
|
"We made this special ""\x83""Ring""\x80"" by combining the power of tens of "\
|
||||||
"thousands of ordinary ""\x82""Rings""\x80"".");
|
"thousands of ordinary ""\x82""Rings""\x80"".");
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"We recorded some of our testing for you, MS-1. Maybe your neural "\
|
"We recorded some of our testing for you, MS-1. Maybe your neural "\
|
||||||
"network could train on some less violent data for once.");
|
"network could train on some less violent data for once.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/4,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/4,
|
||||||
"While that's uploading, why don't you set up your ""\x87""Profile Card""\x80""?");
|
"While that's uploading, why don't you set up your ""\x87""Profile Card""\x80""?");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Yes! That's one of my contributions.");
|
"Yes! That's one of my contributions.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"(I'm too used to my systems being designed for me alone...)");
|
"(I'm too used to my systems being designed for me alone...)");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Every racer carries one, to contain their personal settings.");
|
"Every racer carries one, to contain their personal settings.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"It helps get your ""\x87""controls""\x80"" set up nice and quickly, "\
|
"It helps get your ""\x87""controls""\x80"" set up nice and quickly, "\
|
||||||
"when starting your vehicle and navigating the menu.");
|
"when starting your vehicle and navigating the menu.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"And it helps track your wins, too.");
|
"And it helps track your wins, too.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"Bragging rights. My idea!");
|
"Bragging rights. My idea!");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"You can make the ID and player tag on there anything you want.");
|
"You can make the ID and player tag on there anything you want.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"Mine says \"Nine Tails\". That's the name of my original character! "\
|
"Mine says \"Nine Tails\". That's the name of my original character! "\
|
||||||
"He's like me if I never met my ""\x84""brother""\x80"". He'd use cool "\
|
"He's like me if I never met my ""\x84""brother""\x80"". He'd use cool "\
|
||||||
"robotics, but be kind of mean to protect himself...");
|
"robotics, but be kind of mean to protect himself...");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"Mine says \"Robotnik\". You can't beat a classic.");
|
"Mine says \"Robotnik\". You can't beat a classic.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"And I'm not sure if you'll need it, but we always tell new drivers to "\
|
"And I'm not sure if you'll need it, but we always tell new drivers to "\
|
||||||
"look at the ""\x87""Accessibility""\x80"" settings. Often there's some "\
|
"look at the ""\x87""Accessibility""\x80"" settings. Often there's some "\
|
||||||
"feature they're not expecting. Maybe you'd be surprised too?");
|
"feature they're not expecting. Maybe you'd be surprised too?");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"So go on, do your ""\x87""Profile Setup""\x80""!");
|
"So go on, do your ""\x87""Profile Setup""\x80""!");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
@ -689,42 +678,42 @@ void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
if (!leftoff)
|
if (!leftoff)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"Now that that's been set up, you can use your ""\x87""Profile controls""\x80"" on menus from here on out, too.");
|
"Now that that's been set up, you can use your ""\x87""Profile controls""\x80"" on menus from here on out, too.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"Miles. How's the upload going?");
|
"Miles. How's the upload going?");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Just finished.");
|
"Just finished.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Perfect.");
|
"Perfect.");
|
||||||
}
|
}
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"Now, Metal... it's important you pay attention.");
|
"Now, Metal... it's important you pay attention.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"We have a ""\x88""choice""\x80"" ready for you.");
|
"We have a ""\x88""choice""\x80"" ready for you.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"You can play back our testing data as a sort of ""\x82""tutorial""\x80"\
|
"You can play back our testing data as a sort of ""\x82""tutorial""\x80"\
|
||||||
" and learn the core parts of driving in a safe environment...");
|
" and learn the core parts of driving in a safe environment...");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"...or if you're too headstrong and want to figure things out"\
|
"...or if you're too headstrong and want to figure things out"\
|
||||||
" for yourself, we can let you loose in our ""\x85""playground""\x80""!");
|
" for yourself, we can let you loose in our ""\x85""playground""\x80""!");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"If you do run into trouble, the ""\x82""tutorial""\x80"" can"\
|
"If you do run into trouble, the ""\x82""tutorial""\x80"" can"\
|
||||||
" always be found in the ""\x87""Extras""\x80"" menu later on.");
|
" always be found in the ""\x87""Extras""\x80"" menu later on.");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Either way, MS-1. Even when you move on from this setup,"\
|
"Either way, MS-1. Even when you move on from this setup,"\
|
||||||
" you can always change your ""\x87""Options""\x80"" at any time.");
|
" you can always change your ""\x87""Options""\x80"" at any time.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -732,35 +721,35 @@ void M_AddGonerLines(void)
|
||||||
{
|
{
|
||||||
if (!leftoff)
|
if (!leftoff)
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/3,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/3,
|
||||||
"And... the training data is completed.");
|
"And... the training data is completed.");
|
||||||
}
|
}
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"It's kind of funny, actually.");
|
"It's kind of funny, actually.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/3,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/3,
|
||||||
"Oh? Care to elucidate, Prower?");
|
"Oh? Care to elucidate, Prower?");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"No matter how much time we took getting here, a machine like "\
|
"No matter how much time we took getting here, a machine like "\
|
||||||
"Metal can play it back in minutes.");
|
"Metal can play it back in minutes.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"It could have been five days or five years of development on "\
|
"It could have been five days or five years of development on "\
|
||||||
"our ""\x82""Ring Racers""\x80"", and that would barely matter to it.");
|
"our ""\x82""Ring Racers""\x80"", and that would barely matter to it.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/4,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/4,
|
||||||
"Ha! As if. I'd like to think our partnership hasn't felt "\
|
"Ha! As if. I'd like to think our partnership hasn't felt "\
|
||||||
"particularly protracted.");
|
"particularly protracted.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"But yes. Perhaps now you have a better appreciation of what "\
|
"But yes. Perhaps now you have a better appreciation of what "\
|
||||||
"we're building here, Metal.");
|
"we're building here, Metal.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/5,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/5,
|
||||||
"Now, I'm willing to let bygones be bygones.");
|
"Now, I'm willing to let bygones be bygones.");
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"As long as you keep your violence to the track, I'll be "\
|
"As long as you keep your violence to the track, I'll be "\
|
||||||
"giving you your autonomy back in a moment.");
|
"giving you your autonomy back in a moment.");
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"We've kept the keys from you long enough!");
|
"We've kept the keys from you long enough!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -768,7 +757,7 @@ void M_AddGonerLines(void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"I am error");
|
"I am error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1568,24 +1557,23 @@ void M_GonerGDQ(boolean opinion)
|
||||||
|
|
||||||
if (opinion) // Save The Animals
|
if (opinion) // Save The Animals
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, TICRATE/2,
|
||||||
"Why wouldn't you save the frames..?");
|
"Why wouldn't you save the frames..?");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Camera);
|
LinesToDigest.emplace_back(0, Miles_Look_Camera);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, 0,
|
||||||
"Don't mind him. Good luck on the run!");
|
"Don't mind him. Good luck on the run!");
|
||||||
LinesToDigest.emplace_front(0, Miles_Look_Electric);
|
LinesToDigest.emplace_back(0, Miles_Look_Electric);
|
||||||
}
|
}
|
||||||
else // Save The Frames
|
else // Save The Frames
|
||||||
{
|
{
|
||||||
LinesToDigest.emplace_front(0, Miles_Electric_Lower);
|
LinesToDigest.emplace_back(0, Miles_Electric_Lower);
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_TAILS, TICRATE/2,
|
LinesToDigest.emplace_back(GONERSPEAKER_TAILS, TICRATE/2,
|
||||||
"But what about all the little animals...");
|
"But what about all the little animals...");
|
||||||
|
|
||||||
LinesToDigest.emplace_front(GONERSPEAKER_EGGMAN, 0,
|
LinesToDigest.emplace_back(GONERSPEAKER_EGGMAN, 0,
|
||||||
"It's just logical. I know you'll conquer this run.");
|
"It's just logical. I know you'll conquer this run.");
|
||||||
}
|
}
|
||||||
LinesToDigest.reverse();
|
|
||||||
|
|
||||||
if (gamedata->gonerlevel <= GDGONER_TUTORIAL)
|
if (gamedata->gonerlevel <= GDGONER_TUTORIAL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue