while(true)
{
music.play(MUSIC_ACTIVATE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(y,0);
addchar(y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
char bright=0;
int skill=0;
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(y,0);
addchar(y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
move(y,25);
set_activity_color(temppool[p]->activity.type);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(y,0);
addchar(y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
char bright=0;
int skill=0;
int page=0;
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(cr.name);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
{
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddchar(y,0,(y-2)/2+'A');addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
move(y,25);
addstr(temppool[p]->get_type_name());
while(true)
{
music.play(MUSIC_STOPEVIL);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddstr(0,0,"部隊はどこへ向かうか?");
while(true)
{
- erase();
+ clear();
locheader();
printlocation(loc);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"リベラル自動車の選択");
pool[p]->alive=0; // Kill for the purposes of disbanding all contacts below
}
oldforcemonth=month;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,year);
addstr("年");
if(nonsighttime>=365*4)
{
music.play(MUSIC_BASEMODE);
- erase();
+ clear();
char str[100];
if(nonsighttime>=365*16)
strcpy(str,"どれだけの時が流れただろうか…時代は変わった。");
if(!forcewait)
{
- erase();
+ clear();
if(activesquad!=NULL) selectedsiege=-1;
advancelocations();
if(forcewait)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddstr(7,5,"時は流れる…",gamelog);
mvaddstr(9,12,year,gamelog);
while(true)
{
- erase();
+ clear();
if(won==1)
{
set_color(COLOR_GREEN,COLOR_BLACK,1);
for(int c=0;c<COURTNUM;c++,y++)
{
set_alignment_color(court[c],true);
- mvaddstr(y,60,courtname[c]);
+ mvaddstr(y,60,to_half(courtname[c]));
}
}
for(int l=0;l<LAWNUM;l++)
for(int pos=0;pos<len(word);)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"本当に解散するか?");
while(true)
{
music.play(MUSIC_REVIEWMODE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddstr(0,0,"リベラルの確認と部隊の編成を行う");
{
char clearformess=false;
fundreport(clearformess);
- if(clearformess) erase();
+ if(clearformess) clear();
}
if(c=='y') music.enableIf(!music.isEnabled());
}
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
{
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddchar(y,0,y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
char bright=0;
int skill=0;
//const int pagenum=2;
while(true)
{
- erase();
+ clear();
move(0,0);
if(temppool[p]->align!=1)
{
partysize=squadsize(cursquad);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
{
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddchar(y,0,y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
char bright=0;
int skill=0;
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
set_color(COLOR_BLACK,COLOR_BLACK,1);
else set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddchar(y,0,y+'A'-2);addstr(" - ");
- addstr(temppool[p]->name);
+ addstr(to_half(temppool[p]->name));
mvaddstr(y,25,location[temppool[p]->base]->getname(true, true));
if(location[temppool[p]->base]->siege.siege)
- addstr(" <Under Siege>");
+ addstr(" <包囲中>");
}
y=2;
// add name
set_color(namecolor,COLOR_BLACK,brightness);
- addstr(cr.name);
+ addstr(to_half(cr.name));
// add close bracket (if used)
if(cr.flag & CREATUREFLAG_SLEEPER)
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
mode=GAMEMODE_CHASECAR;
music.play(MUSIC_CARCHASE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("この場所から引き上げるとき、保守に付けられているのを感じた!", gamelog);
int partysize=squadsize(activesquad),partyalive=squadalive(activesquad),encsize=0;
for(int e=0;e<ENCMAX;e++) if(encounter[e].exists) encsize++;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddstr(0,0,location[chaseseq.location]->getname());
mode=GAMEMODE_CHASEFOOT;
music.play(MUSIC_FOOTCHASE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("建物を出ると、保守に付けられているのを感じた!", gamelog);
int partysize=squadsize(activesquad),partyalive=squadalive(activesquad),encsize=0;
for(int e=0;e<ENCMAX;e++) if(encounter[e].exists) encsize++;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
mvaddstr(0,0,location[chaseseq.location]->getname());
//Create interrogation data
newcr->activity.intr()=new interrogation;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
/* common - Prompt to decide how to sort liberals.*/
void sorting_prompt(short listforsorting)
{
- erase();
+ clear();
move(1,1);
set_color(COLOR_WHITE,COLOR_BLACK,0);
switch(listforsorting)
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(firstline);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
addstr(firstline);
if(party[p]->prisoner!=NULL)set_color(COLOR_MAGENTA,COLOR_BLACK,1);
else set_color(COLOR_WHITE,COLOR_BLACK,0);
move(p+2,2);
- addstr(party[p]->name);
+ addstr(to_half(party[p]->name));
if(party[p]->prisoner!=NULL)addstr("+H");
int skill=0;
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
printfunds();
// changes that will change gameplay.
void help(const char* string)
{
- erase();
+ clear();
}
// Generates help page on activities.
return;
}
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
addstr("リベラル・ヘルプ");
/* helper function for initsongs() */
void MusicClass::loadsong(int i,const char* filename)
{ // the reason it prints progress on the screen is because it might be a little slow sometimes so this reassures the user progress is being made
- erase();
+ clear();
if(oggsupport)
{
mvaddstr(12,0,"Loading Ogg Vorbis music ("+tostring(i+1)+"/"+tostring(MUSIC_OFF)+"): "+artdir+"ogg/"+filename+".ogg");
loadsong(MUSIC_REAGANIFIED,"reaganified"); // load Reaganified music
// stalinized.ogg or .mid - The Soviet (and now Russian) National Anthem by Alexander Vasilyevich Alexandrov
loadsong(MUSIC_STALINIZED,"stalinized"); // load Stalinized music
- erase();
+ clear();
refresh();
songsinitialized=true;
#endif // DONT_INCLUDE_SDL
}
}
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(armor==NULL)
if(ledger.get_funds()<hcost)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(!foundcloth&&ledger.get_funds()<cost)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
while (LCSrandom(10)<dif && quality <= armortype[at]->get_quality_levels())
quality++;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
Item *it=new Armor(*armortype[at],quality);
if(v==VIEW_LIBERALCRIMESQUADPOS&&survey[VIEW_LIBERALCRIMESQUAD]<=0) survey[v]=-1;
}
- erase();
+ clear();
//TODO: Sort out the gamelog for this.
set_color(COLOR_WHITE,COLOR_BLACK,1);
{
if(string)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(msg[0])
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(msg[0])
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(!graffiti[s]->get_weapon().can_graffiti())
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
int issue=VIEW_LIBERALCRIMESQUAD,power=1;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(!LCSrandom(10) &&
!(graffiti[s]->skill_check(SKILL_STREETSENSE,DIFFICULTY_AVERAGE)))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
{
if(!(prostitutes[p]->skill_check(SKILL_STREETSENSE,DIFFICULTY_AVERAGE))) // Street sense to avoid
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
}
else
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
char done=0;
short crime=0;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(!LCSrandom(30) &&
!(trouble[t]->skill_check(SKILL_STREETSENSE,DIFFICULTY_AVERAGE)))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(!LCSrandom(4))
if(trouble[t]->get_weapon().is_threatening())
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
{
for(int count=0;count<=LCSrandom(5)+2;count++)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(trouble[t]->skill_roll(SKILL_HANDTOHAND)>LCSrandom(6)+count)
{
if(wonfight)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_GREEN,COLOR_BLACK,1);
move(8,1);
if(!wonfight)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_RED,COLOR_BLACK,1);
move(8,1);
if(!LCSrandom(5))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
switch(LCSrandom(10))
{
cr.train(SKILL_STREETSENSE,5);
//THEFT SEQUENCE
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("車泥棒の冒険", gamelog);
getkey();
//APPROACH?
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("車泥棒の冒険");
for(bool entered=false;!entered;)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("車泥棒の冒険");
for(bool started=false;!started;)
{
nervous_counter++;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("リベラル車泥棒の冒険");
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
/* get a wheelchair */
void getwheelchair(Creature &cr,char &clearformess)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(LCSrandom(2))
if(squad[sq]->squad[p]->activity.type!=ACTIVITY_NONE&&
squad[sq]->squad[p]->activity.type!=ACTIVITY_VISIT)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(location[squad[sq]->activity.arg]->closed||
location[squad[sq]->activity.arg]->siege.siege)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
long v=id_getcar(caridused[c2]);
if(v!=-1)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(location[squad[sq]->activity.arg]->needcar&&squad[sq]->squad[0])
if(squad[sq]->squad[0]->carid==-1)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
bool canDepart=true;
if(location[squad[sq]->activity.arg]->parent==travelLocation)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
int price;
case SITE_CITY_ATLANTA:
case SITE_CITY_MIAMI:
case SITE_CITY_WASHINGTON_DC:
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr(squad[sq]->name, gamelog);
case SITE_BUSINESS_PAWNSHOP:
case SITE_BUSINESS_CARDEALERSHIP:
case SITE_BUSINESS_ARMSDEALER:
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
break;
case SITE_HOSPITAL_UNIVERSITY:
case SITE_HOSPITAL_CLINIC:
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
clearformess=1;
break;
default:
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
int c='t';
criminalize(*pool[p],LAWFLAG_CARTHEFT);
break;
case ACTIVITY_POLLS:
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(pool[p]->alive&&pool[p]->blood<0)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
pool[p]->die();
//EVICTED!!!!!!!!!
else
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
pool[p]->get_attribute(ATTRIBUTE_HEALTH,true)<=1)
{
pool[p]->die();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
{
pool[p]->location=pool[p]->base;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
{
if(dispersal_status[p]==DISPERSAL_NOCONTACT||dispersal_status[p]==DISPERSAL_HIDING||dispersal_status[p]==DISPERSAL_ABANDONLCS)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(!disbanding)
if(subordinates>0) // Disintegration of the LCS
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
}
}
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(bigboss!=-1) // Normal promotion
d.date[e]->flag|=CREATUREFLAG_LOVESLAVE;
d.date[e]->hireid=pool[p]->id;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
clearformess=1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(pool[p]->name, gamelog);
int e;
clearformess=1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(pool[p]->name, gamelog);
for(e=len(d.date)-1;e>=0;e--)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(d.date[e]->name, gamelog);
//Create interrogation data
d.date[e]->activity.intr()=new interrogation;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
{
if(pool[p]==cr)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
clearformess=1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(cr->name);
if(techniques[TECHNIQUE_KILL]) // Kill the Hostage
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(cr->name, gamelog);
}
}
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr(cr->name, gamelog);
{
getkey();
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(y=1,0);
gamelog.newline();
music.play(MUSIC_RECRUITING);
cr.train(SKILL_STREETSENSE,5);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"リベラルスカウトの冒険");
printcreatureinfo(&cr);
getkey();
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"リベラルスカウトの冒険");
printcreatureinfo(&encounter[0]);
} else {
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"リベラルスカウトの冒険");
printcreatureinfo(&cr);
if(c >= 0 && c < ENCMAX-1 && encounter[c].exists)
{
int id=encounter[c].id;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,0,"リベラルスカウトの冒険");
printcreatureinfo(&encounter[c]);
music.play(MUSIC_RECRUITING);
clearformess=1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
if(pool[p]->meetings++>5 && LCSrandom(pool[p]->meetings-5))
getkey();
- erase();
+ clear();
sleeperize_prompt(*r.recruit,*pool[p],6);
r.recruit->hireid=pool[p]->id;
while(true)
{
- erase();
+ clear();
locheader();
printparty();
while(true)
{
- erase();
+ clear();
locheader();
printparty();
}
if(policesleeperwarning)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr("あなたは警察署の潜伏者から", gamelog);
if(numpres>0)
{
music.play(MUSIC_SIEGE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
}
else
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
}
if(ceosleepercount||!LCSrandom(5))
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr("", gamelog);
music.play(MUSIC_SIEGE);
location[l]->siege.timeuntilcorps=-1;
// Corps raid!
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
}
if(ccssleepercount>0)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr("あなたは潜伏者からCCSによる", gamelog);
music.play(MUSIC_SIEGE);
location[l]->siege.timeuntilccs=-1;
// CCS raid!
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
!LCSrandom(5))
{
// CCS Carbombs safehouse!!
- erase();
+ clear();
set_color(COLOR_RED,COLOR_BLACK,1);
move(8,1);
getkey();
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,1);
else
{
// CCS Raids safehouse
- erase();
+ clear();
set_color(COLOR_RED,COLOR_BLACK,1);
move(8,1);
}
if(agentsleepercount)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr("潜伏者の諜報員によると、CIAは", gamelog);
music.play(MUSIC_SIEGE);
location[l]->siege.timeuntilcia=-1;
// CIA raids!
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(!location[l]->siege.siege&&offended_amradio&&attitude[VIEW_AMRADIO]<=35&&!LCSrandom(600)&&numpres>0)
{
music.play(MUSIC_SIEGE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(!location[l]->siege.siege&&offended_cablenews&&attitude[VIEW_CABLENEWS]<=35&&!LCSrandom(600)&&numpres>0)
{
music.play(MUSIC_SIEGE);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
firemensleepercount++;
if(LCSrandom(firemensleepercount+1)>0||!LCSrandom(10))
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(firemensleepercount) addstr("潜伏者の焚書官によると、", gamelog);
music.play(MUSIC_SIEGE);
location[l]->siege.timeuntilfiremen=-1;
// Firemen raid!
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
getkey();
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
else if(law[LAW_FREESPEECH]==-2 && location[l]->siege.timeuntilfiremen==0)
{
location[l]->siege.timeuntilfiremen=-1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
//resolve sieges with no people
if(liberalcount[l]==0)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(location[l]->compound_stores==0&&eaters>0)
{
starving=true;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
{
pool[p]->die();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(attack)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
{
no_bad=0;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(len(pol))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
//AIR STRIKE!
bool hit=true;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
if(hasAAGun)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("雷のような対空砲の音がアジトに響き渡った!", gamelog);
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
if(LCSrandom(5))
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("一部始終がテレビ中継されている。リベラル・クライム・スコードのメンバー全員が20ジュースを得た!", gamelog);
if(hit)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("爆発がアジトを揺さぶる!", gamelog);
if(hasAAGun && !LCSrandom(3))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("対空砲に直撃した!", gamelog);
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("残されたものは破片だけだった…", gamelog);
}
else if(hasGenerator && !LCSrandom(3))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("発電機が破壊された!", gamelog);
getkey();
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("明かりが消え真っ暗になった。", gamelog);
if(len(pol))
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
}
else
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
move(8,1);
addstr("幸いなことに死傷者はいなかった。", gamelog);
no_bad=0;
//ENGINEERS
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(1,1);
switch(LCSrandom(5))
{
int polsta=find_police_station(loc);
//END SIEGE
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
if(location[loc]->siege.siegetype==SIEGE_POLICE && location[loc]->siege.escalationstate == 0)
if(location[loc]->siege.siegetype==SIEGE_CCS&&location[loc]->type==SITE_INDUSTRY_WAREHOUSE)
location[loc]->renting=RENTING_CCS; // CCS Captures warehouse
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
addstr(location[loc]->getname(), gamelog);
// Let's roll
autopromote(loc);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
void sally_forth()
{ //GIVE INFO SCREEN
music.play(MUSIC_DEFENSE);
- erase();
+ clear();
set_color(COLOR_RED,COLOR_BLACK,1);
move(1,30);
addstr("包囲網: 脱出か死か");
{
music.play(MUSIC_DEFENSE);
//GIVE INFO SCREEN
- erase();
+ clear();
set_color(COLOR_RED,COLOR_BLACK,1);
move(1,30);
addstr("防衛戦: 脱出か死か");
{
music.play(MUSIC_CONQUER);
//GIVE INFO SCREEN
- erase();
+ clear();
set_color(COLOR_YELLOW,COLOR_BLACK,1);
move(1,37);
addstr("脱出!", gamelog);
{
//GIVE INFO SCREEN
music.play(MUSIC_CONQUER);
- erase();
+ clear();
set_color(COLOR_GREEN,COLOR_BLACK,1);
move(1,26);
addstr("* * * * * 勝利 * * * * *", gamelog);
{
music.play(MUSIC_CONQUER);
//GIVE INFO SCREEN
- erase();
+ clear();
set_color(COLOR_GREEN,COLOR_BLACK,1);
move(1,26);
addstr("* * * * * 勝利 * * * * *", gamelog);
}
for(int i=0;i<LAWFLAGNUM;i++) if(breakercount[i]) typenum++;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
inline int addchar(char ch,Log &log) { log.record(ch); return addchar(ch); }
inline int mvaddchar(int y,int x,char ch,Log &log) { log.record(ch); return mvaddchar(y,x,ch); }
/* Redefining addstr() and mvaddstr() so they use addchar() and mvaddchar(), fixing display of extended characters */
+#if defined(CH_USE_MULTIBYTE)
+#else
#undef addstr
-#if !defined(CH_USE_MULTIBYTE)
inline int addstr(const char* text) { int ret=ERR; for(int i=0;i<len(text);i++) ret=addchar(text[i]); return ret; }
#endif
-#if !defined(CH_USE_MULTIBYTE)
#undef mvaddstr
inline int mvaddstr(int y,int x,const char* text) { int ret=move(y,x); if(ret!=ERR) ret=addstr(text); return ret; }
-#endif
/* Various wrappers to addstr() and mvaddstr() which handle permutations of:
- Including or not including the gamelog for external message logging
- std::string or c-style char arrays */
void liberalize(Creature &cr,bool rename=true);
/* gives a cover name to CCS members */
void nameCCSMember(Creature &cr);
+/* convert to half width katakana */
+char *to_half(char *str);
/*
misc.cpp
case 3:strcat(loc.name,"ヘルシー");break;
case 4:strcat(loc.name,"ニュー ユー");break;
}
- strcat(loc.name,"・");
switch(LCSrandom(5))
{
case 0:strcat(loc.name,"ダイエット");break;
case 3:strcat(loc.name,"マイクロ");break;
case 4:strcat(loc.name,"テクノ");break;
}
- strcat(loc.name,"・");
switch(LCSrandom(5))
{
case 0:strcat(loc.name,"パンダ");break;
case 3:strcat(loc.name,"モーニング");break;
case 4:strcat(loc.name,"イブニング");break;
}
- strcat(loc.name,"・");
switch(LCSrandom(5))
{
case 0:strcat(loc.name,"マグ");break;
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
music.play(MUSIC_ELECTIONS);
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,3);
addstr("保守強硬派議会による保守強硬発議!");
//DATING AND REAGANIFIED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,15);
addstr("この国の崩壊が迫る中、あなたは休暇を過ごしていた。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,13);
addstr("保守派はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
//HIDING AND REAGANIFIED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,15);
addstr("この国の崩壊が迫る中、あなたは行方を眩ませていた。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,13);
addstr("保守派はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
//IF YOU ARE ALL IN PRISON, JUST PASS AWAY QUIETLY
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,22);
addstr("投獄されている間にこの国は後退した。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,19);
addstr("あなたの良心が解放されることはないだろう。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,32);
addstr("光は消え去った…");
//DISBANDED AND REAGANIFIED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,16);
addstr("姿を消し平穏な日々を送っていた。だがもう限界だ。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,13);
addstr("保守派はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
music.play(MUSIC_ELECTIONS);
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,11);
addstr("スターリン主義議会によるスターリン主義発議!");
//DATING AND STALINIZED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,15);
addstr("この国の崩壊が迫る中、あなたは休暇を過ごしていた。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,8);
addstr("スターリン主義者はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
//HIDING AND STALINIZED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,15);
addstr("この国の崩壊が迫る中、あなたは行方を眩ませていた。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,8);
addstr("スターリン主義者はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
//IF YOU ARE ALL IN PRISON, YOU END UP IN A GULAG, COMRADE
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,22);
addstr("投獄されている間にこの国は後退した。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,13);
addstr("あなたは新たに併合されたカナダの強制収容所に送られる。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,26);
addstr("光の届かないツンドラの地に…");
//DISBANDED AND STALINIZED
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(12,16);
addstr("姿を消し平穏な日々を送っていた。だがもう限界だ。");
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(12,8);
addstr("スターリン主義者はこの世界を自分たちの思い通りに変えてしまった。");
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(12,8);
addstr("あなたはいずれ捕らえられるだろう。もはやどうすることもできない。");
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
/* endgame - header for announcing constitutional amendments */
void amendmentheading()
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
g.location=g.base;
bool breaker[LAWFLAGNUM]={0};
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
if(defense!=2)
{
int prosecution=0;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(1,1);
getkey();
//JURY RETURN MESSAGE
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(1,1);
addstr("陪審員は協議から戻ってきた。", gamelog);
// I would imagine this would disregard the strength of the defense. -- LK
else
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(1,1);
addstr("裁判所はそれを受け入れた。", gamelog);
//COMMUTE DEATH IN RIGHT CLIMATE
if(g.deathpenalty&&law[LAW_DEATHPENALTY]==2)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(8,1);
addstr(g.name, gamelog);
//EXECUTE
if(g.deathpenalty)
{
- erase();
+ clear();
set_color(COLOR_RED,COLOR_BLACK,1);
move(8,1);
addstr("恥辱:", gamelog);
//SET FREE
else
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(8,1);
addstr(g.name, gamelog);
{
if(g.deathpenalty)
{
- erase();
+ clear();
set_color(COLOR_YELLOW,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
}
else
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
{
if(g.deathpenalty)
{
- erase();
+ clear();
set_color(COLOR_YELLOW,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
"は刑務所内で政治犯罪被害者に関するビデオを見た。"
};
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
getkey();
- erase();
+ clear();
return;
}
if(!escaped)experience=pickrandom(labor_camp_experiences);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
getkey();
- erase();
+ clear();
return;
}
}
}
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
addstr(g.name, gamelog);
getkey();
- erase();
+ clear();
return;
}
void guardianupdate(char size, int power)
{
music.play(MUSIC_NEWSPAPER);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(5,2);
while(true)
{
music.play(MUSIC_NEWSPAPER);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
{
music.play(MUSIC_NEWSPAPER);
if(law[LAW_FREESPEECH]==-2)offended_firemen=1;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(loottype[li]->get_idname()=="LOOT_CEOPHOTOS") // Tmp -XML
while(true)
{
- erase();
+ clear();
int y=2,totalmoney=0,dailymoney=0,numpages=1;
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
mvaddstr(0,23,"LCS MONTHLY INTELLIGENCE REPORT");
mvaddstr(2,27,"CURRENT POLITICAL TRENDS");
music.play(MUSIC_DEFEAT);
set_color(COLOR_WHITE,COLOR_BLACK,1);
- erase();
+ clear();
move(10,10);
addstr("もはやリベラル・クライム・スコードは記憶の中にしか存在しない。", gamelog);
gamelog.newline();
getkey();
set_color(COLOR_WHITE,COLOR_BLACK,0);
- erase();
+ clear();
move(16,12);
addstr("LCSメンバーだった者たちも全員捕らえられた。", gamelog);
gamelog.newline();
getkey();
set_color(COLOR_BLACK,COLOR_BLACK,1);
- erase();
+ clear();
move(20,14);
addstr("夢の実現を見ることは決してないだろう…", gamelog);
gamelog.newline();
if(location[pool[p]->location]->type==SITE_GOVERNMENT_POLICESTATION)
{
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
if(pool[p]->flag & CREATUREFLAG_MISSING)
//FUND REPORTS
if(canseethings)fundreport(clearformess);
ledger.resetMonthlyAmounts();
- if(clearformess) erase();
+ if(clearformess) clear();
//HEAL CLINIC PEOPLE
for(p=0;p<len(pool);p++)
if(pool[p]->clinic==0)
{
pool[p]->blood=100;
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
cr.juice-=1;
if(cr.juice<-2)
{
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_SECRETDOCUMENTS")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_POLICERECORDS")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_CORPFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_PRISONFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_CABLENEWSFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_AMRADIOFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_RESEARCHFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_JUDGEFILES")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
Item *it=new Loot(*loottype[getloottype("LOOT_CCS_BACKERLIST")]);
location[homes]->loot.push_back(it);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
cr.juice-=1;
if(cr.juice<-2)
{
- erase();
+ clear();
move(6,1);
addstr("潜伏中の", gamelog);
addstr(cr.name, gamelog);
cr.juice-=1;
if(cr.juice<-2)
{
- erase();
+ clear();
move(6,1);
addstr("潜伏中の", gamelog);
addstr(cr.name, gamelog);
break;
}
}
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0); move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
location[recruit->worklocation]->hidden=0;
pool.push_back(recruit);
- erase();
+ clear();
move(6,1);
addstr("潜伏者の", gamelog);
addstr(cr.name, gamelog);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
{
if(canseethings)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
//PROPOSITIONS
if(canseethings)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
//CHANGE THINGS AND REPORT
if(canseethings)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
{
if(canseethings)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
if(canseethings)
{
music.play(MUSIC_ELECTIONS);
- if(clearformess) erase();
+ if(clearformess) clear();
else makedelimiter();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(8,1);
//CHANGE THINGS AND REPORT
if(canseethings)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
locheader();
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
addstr(customers.squad[buyer]->name);
while(true)
{
- erase();
+ clear();
locheader();
printparty();
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
// Let the squad stop stressing out over the encounter if there are no enemies this round
if(!enemy) encounter_timer=0;
- erase();
+ clear();
if(location[cursite]->siege.siege)
{
if(c=='n')
{
mapshowing=false;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,0);
move(0,0);
pool[p]->location==cursite)
{
pool[p]->flag&=~CREATUREFLAG_SLEEPER;
- erase();
+ clear();
move(8,1);
addstr("潜伏者の", gamelog);
addstr(pool[p]->name, gamelog);
if(!validsum)return;
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
while(true)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(4,6);
move(7,2);
addstr("ファーストネーム: ");
addstr(first[(int)gender]);
- move(7,30);
+ move(7,52);
set_color(COLOR_BLACK,COLOR_BLACK,1);
addstr(" (Aを押すと両親が考え直す)");
set_color(COLOR_WHITE,COLOR_BLACK,1);
addstr("ラストネーム: ");
addstr(last);
- move(9,30);
+ move(9,49);
set_color(COLOR_BLACK,COLOR_BLACK,1);
- addstr(" (Bを押すと別の家族に生まれる)");
+ addstr("(Bを押すと別の家族に生まれる)");
move(11,2);
set_color(COLOR_WHITE,COLOR_BLACK,1);
set_color(COLOR_YELLOW,COLOR_BLACK,1);
addstr("不明");
}
- move(11,30);
+ move(11,41);
set_color(COLOR_BLACK,COLOR_BLACK,1);
- addstr(" (Cを押すと生まれたときの性別が変わる)");
+ addstr("(Cを押すと生まれたときの性別が変わる)");
move(13,2);
set_color(COLOR_WHITE,COLOR_BLACK,1);
set_color(COLOR_RED,COLOR_BLACK,1);
addstr("運命は変えられない");
}
- move(13,30);
+ move(13,47);
set_color(COLOR_BLACK,COLOR_BLACK,1);
- addstr(" (Dを押すと子供時代を切り替える)");
-
+ addstr("(Dを押すと子供時代を切り替える)");
if(!multipleCityMode)
{
move(15,2);
set_color(COLOR_WHITE,COLOR_BLACK,1);
addstr("都市: ");
addstr(lcityname);
- move(15,30);
+ move(15,55);
set_color(COLOR_BLACK,COLOR_BLACK,1);
- addstr(" (Eを押すと場所が代わる)");
+ addstr("(Eを押すと場所が代わる)");
}
move(19-multipleCityMode*2,4);
}
strcpy(newcr->propername,first[(int)gender]);
- strcat(newcr->propername," ");
+ strcat(newcr->propername,"・");
strcat(newcr->propername,last);
int c;
for(int q=0;q<10;q++)
{
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("革命の内側: 悲しみの子供時代");
}
}
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(4,2);
addstr("新たな保守の時代", gamelog);
getkey();
- erase();
+ clear();
set_color(COLOR_WHITE,COLOR_BLACK,1);
move(0,0);
addstr("あなたは人々からどのように呼ばれるか?");
void mode_title()
{
//title screen
- erase();
+ clear();
char str[100];