kh.data = ≻
eventPushKeyHandler(&kh);
- cmdwin_push("<select>");
+ cmdwin_push("<ÁªÂò>");
eventHandle();
cmdwin_pop();
eventPopKeyHandler();
ie = (struct inv_entry *) sc.selection;
if (ie == NULL) {
- cmdwin_push("none!");
+ cmdwin_push("²¿¤â¤·¤Ê¤¤¡ª");
return NULL;
}
kh.data = ≻
eventPushKeyHandler(&kh);
- cmdwin_push("<select>");
+ cmdwin_push("<ÁªÂò>");
eventHandle();
cmdwin_pop();
eventPopKeyHandler();
character = (class Character *) sc.selection;
if (character == NULL) {
- cmdwin_push("none!"); /* fixme: move to cmd_front_end? */
+ cmdwin_push("²¿¤â¤·¤Ê¤¤¡ª"); /* fixme: move to cmd_front_end? */
/* Hack alert: this saves the caller from having to remember to
* do this. Doing it unconditionally is undesirable because it
* can cause status screen flashes if the old mode requires a
int ui_get_direction(void)
{
int dir;
- cmdwin_push("<direction>");
+ cmdwin_push("<Êý¸þ>");
getkey(&dir, dirkey);
cmdwin_pop();
if (dir == CANCEL) {
- cmdwin_push("none!");
+ cmdwin_push("²¿¤â¤·¤Ê¤¤¡ª");
} else {
cmdwin_spush(directionToString(dir));
}
struct place *place = 0;
cmdwin_clear();
- cmdwin_spush("Search");
+ cmdwin_spush("õ¤¹");
/* FIXME: this is duplicated in cmdHandle(), these command functions
* all need to be cleaned up to ensure consistency. */
place_for_each_object_at(place, x2, y2, search_visitor, pc);
obj_dec_ref(pc);
- log_begin("You find ");
+ log_begin("");
old_reveal = Reveal;
Reveal = true;
place_describe(place, x2, y2, PLACE_DESCRIBE_ALL);
- log_end(".");
+ log_end("¤ò¸«¤Ä¤±¤¿¡£");
Reveal = old_reveal;
pc->decActionPoints(kern_intvar_get("AP_COST:search")); // SAM: We may want a '-1' value here, to signify "all remaining AP"...
int x, y;
cmdwin_clear();
- cmdwin_spush("Get");
+ cmdwin_spush("¼è¤ë");
dir = ui_get_direction();
item = place_get_filtered_object(actor->getPlace(), x, y,
cmdGetFilter);
if (!item) {
- log_msg("Get - nothing there!");
+ log_msg("¼è¤ë - ²¿¤â¤Ê¤¤¡ª");
return false;
}
class Container *container;
cmdwin_clear();
- cmdwin_spush("Open");
+ cmdwin_spush("³«¤¯");
// Get the party member who will open the container (in combat mode
// this is passed in as a parameter).
struct KeyHandler kh;
struct ScrollerContext data;
- cmdwin_push("<select>");
+ cmdwin_push("<ÁªÂò>");
statlist[0].sprite = mech->getSprite();
snprintf(statlist[0].line1, sizeof(statlist[0].line1), "%s",
foogodSetHintText(SCROLLER_HINT);
foogodSetMode(FOOGOD_HINT);
omode = statusGetMode();
- statusSetGenericList("Choose Target", 2, statlist);
+ statusSetGenericList("ÂоÝ", 2, statlist);
statusSetMode(GenericList);
data.selection = NULL;
/* Nothing to open */
if (NULL == container) {
- cmdwin_push("abort!");
- log_msg("Open - nothing there!");
+ cmdwin_push("Ãæ»ß¡ª");
+ log_msg("³«¤¯ - ²¿¤â¤Ê¤¤¡ª");
return false;
}
cmdwin_push("%s!", container->getName());
// Describe the contents of the container.
- log_msg("You find:");
+ log_msg("¸«¤Ä¤±¤¿¤â¤Î:");
container->forEach(cmd_describe_inv_entry, NULL);
// Open the container (automagically spills all the contents onto the
eventPushQuitHandler(&qh);
cmdwin_clear();
- cmdwin_spush("Quit");
+ cmdwin_spush("½ªÎ»¤¹¤ë");
cmdwin_spush("<y/n>");
getkey(&yesno, yesnokey);
cmdwin_pop();
/* Cancel quit? */
if (yesno == 'n') {
- cmdwin_spush("abort!");
+ cmdwin_spush("Ãæ»ß¡ª");
Quit = false;
goto pop_qh;
}
- cmdwin_spush("save");
+ cmdwin_spush("Êݸ¤¹¤ë");
cmdwin_spush("<y/n>");
getkey(&yesno, yesnokey);
cmdwin_pop();
/* Don't save? */
if (yesno == 'n') {
- cmdwin_spush("not saving!");
+ cmdwin_spush("Êݸ¤·¤Ê¤¤¡ª");
Quit = true;
goto pop_qh;
}
if (cmdSave()) {
- cmdwin_spush("saved!");
- log_msg("Goodbye!\n");
+ cmdwin_spush("Êݸ¤·¤¿¡ª");
+ log_msg("¤µ¤è¤¦¤Ê¤é¡ª\n");
Quit = true;
} else {
Quit = false;
// Get the direction
cmdwin_clear();
- cmdwin_spush("Attack");
- cmdwin_spush("<direction>");
+ cmdwin_spush("¹¶·â¤¹¤ë");
+ cmdwin_spush("<Êý¸þ>");
getkey(&dir, cardinaldirkey);
cmdwin_pop();
if (dir == CANCEL) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
return;
}
cmdwin_spush("%s", directionToString(dir));
info.npc_party = place_get_Party(info.place, info.x, info.y);
if (info.npc_party == NULL) {
- cmdwin_spush("nobody there!");
- log_msg("Attack - nobody there!");
+ cmdwin_spush("ï¤â¤¤¤Ê¤¤¡ª");
+ log_msg("¹¶·â¤¹¤ë - ï¤â¤¤¤Ê¤¤¡ª");
return;
}
info.px = player_party->getX();
// If the npc is not hostile then get player confirmation.
if (! are_hostile(info.npc_party, player_party)) {
int yesno;
- cmdwin_spush("attack non-hostile");
+ cmdwin_spush("Ũ¤Ç¤Ê¤¤¼Ô¤ò¹¶·â¤¹¤ë");
cmdwin_spush("<y/n>");
getkey(&yesno, yesnokey);
cmdwin_pop();
if (yesno == 'n') {
- cmdwin_spush("no");
+ cmdwin_spush("¤¤¤¤¤¨");
return;
}
- cmdwin_spush("yes");
+ cmdwin_spush("¤Ï¤¤");
make_hostile(info.npc_party, player_party);
}
// Log the attack.
- log_begin("You attack ");
+ log_begin("");
info.npc_party->describe();
- log_end(".");
+ log_end("¤ò¹¶·â¤·¤¿¡£");
// Enter combat
combat_enter(&cinfo);
int dir;
cmdwin_clear();
- cmdwin_spush("Fire");
+ cmdwin_spush("ˤ·â¤¹¤ë");
class Vehicle *vehicle = player_party->getVehicle();
if ((!vehicle ||
// SAM:
// In future, we may check for adjacent "cannon"
// mechanisms here (as in U5).
- cmdwin_spush("No cannons available!");
- log_msg("Fire - no cannons!");
+ cmdwin_spush("ˤ·â¤Ç¤¤Ê¤¤¡ª");
+ log_msg("ˤ·â¤¹¤ë - Âçˤ¤¬¤Ê¤¤¡ª");
return;
}
cmdwin_spush("%s", vehicle->getOrdnance()->getName());
- cmdwin_spush("<direction>");
+ cmdwin_spush("<Êý¸þ>");
getkey(&dir, dirkey);
cmdwin_pop();
if (dir == CANCEL) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
return;
}
if (! vehicle->fire_weapon(directionToDx(dir),
directionToDy(dir),
player_party)) {
- cmdwin_spush("Not a broadside!");
- log_msg("Fire - not a broadside!");
+ cmdwin_spush("¦ÌÌÊý¸þ¤Ç¤Ê¤¤¡ª");
+ log_msg("ˤ·â¤¹¤ë - ¦ÌÌÊý¸þ¤Ç¤Ê¤¤¡ª");
return;
}
}
const char *msg = 0;
cmdwin_clear();
- cmdwin_spush("Ready");
+ cmdwin_spush("ÁõÈ÷¤¹¤ë");
// Select user
if (member) {
return false;
if (member->isCharmed()) {
- cmdwin_push("Charmed!");
- log_msg("Ready - charmed!");
+ cmdwin_push("ËâË¡¤¬¤«¤±¤é¤ì¤Æ¤¤¤ë¡ª");
+ log_msg("ÁõÈ÷¤¹¤ë - ËâË¡¤¬¤«¤±¤é¤ì¤Æ¤¤¤ë¡ª");
return false;
}
}
log_begin_group();
- log_msg("%s readies arms:", member->getName());
+ log_msg("%s¤ÎÁõÈ÷:", member->getName());
statusSelectCharacter(member->getOrder());
kh.data = ≻
eventPushKeyHandler(&kh);
- cmdwin_spush("<select/ESC>");
+ cmdwin_spush("<ÁªÂò/ESC>");
for (;;) {
ie = (struct inv_entry *) sc.selection;
if (ie == NULL) {
- cmdwin_spush("done!");
+ cmdwin_spush("½ª¤¨¤¿¡ª");
break;
}
log_begin("%s - ", arms->getName());
if (ie->ref && member->unready(arms)) {
- msg = "unreadied!";
+ msg = "³°¤·¤¿¡ª";
member->decActionPoints(arms->getRequiredActionPoints());
statusRepaint();
} else {
switch (member->ready(arms)) {
case Character::Readied:
statusRepaint();
- msg = "readied!";
+ msg = "ÁõÈ÷¤·¤¿¡ª";
member->decActionPoints(arms->getRequiredActionPoints());
/* Move the readied item to the front of the
* list for easy access next time, and to
//statusSetMode(Ready);
break;
case Character::NoAvailableSlot:
- msg = "all full!";
+ msg = "»ý¤Á¤¤ì¤Ê¤¤¡ª";
break;
case Character::WrongType:
- msg = "can't use!";
+ msg = "»È¤¨¤Ê¤¤¡ª";
break;
case Character::TooHeavy:
- msg = "too heavy!";
+ msg = "½Å¤¹¤®¤ë¡ª";
break;
default:
assert(false);
eventPushMouseButtonHandler(&mbh);
eventPushKeyHandler(&kh);
- cmdwin_spush("<target> (ESC to exit)");
+ cmdwin_spush("<ÂоÝ> (ESC¤ÇÃæ»ß)");
eventHandle();
cmdwin_pop();
eventPopKeyHandler();
mapSetDirty();
if (data.abort) {
- cmdwin_spush("Done.");
+ cmdwin_spush("½ª¤¨¤¿¡£");
return -1;
}
int y;
cmdwin_clear();
- cmdwin_spush("Handle");
+ cmdwin_spush("Áàºî¤¹¤ë");
if (pc) {
// A party member was specified as a parameter, so this must be
|| ! mech->getObjectType()->canHandle()
|| (! mech->isVisible()
&& ! Reveal)) {
- cmdwin_spush("nothing!");
- log_msg("Handle - nothing there to handle!");
+ cmdwin_spush("²¿¤â¤Ê¤¤¡ª");
+ log_msg("Áàºî¤¹¤ë - ²¿¤â¤Ê¤¤¡ª");
return false;
}
// remain hidden from x)amine and s)earch commands)
const char *mechName=mech->getName();
if (!mechName) {
- mechName = "a hidden mechanism";
+ mechName = "±£¤µ¤ì¤¿ÁõÃÖ";
}
cmdwin_spush("%s", mechName);
- log_msg("%s handles %s", pc->getName(), mechName);
+ log_msg("%s¤Ï%s¤òÁàºî¤·¤¿¡£", pc->getName(), mechName);
mech->getObjectType()->handle(mech, pc);
pc->runHook(OBJ_HOOK_HANDLE_DONE, "p", mech);
pc->decActionPoints(kern_intvar_get("AP_COST:handle_mechanism"));
int result;
cmdwin_clear();
- cmdwin_spush("Use");
+ cmdwin_spush("»È¤¦");
// Select user
if (flags & CMD_SELECT_MEMBER) {
assert(0);
break;
case 1:
- log_msg("New Order - only one party member!");
+ log_msg("½ç½ø - ¤¢¤Ê¤¿¤·¤«¤¤¤Ê¤¤¡ª");
return;
case 2:
pc1 = player_party->getMemberByOrder(0);
}
cmdwin_clear();
- cmdwin_spush("Switch");
+ cmdwin_spush("Æþ¤ìÂؤï¤ë");
// Set the mode now - before calling select_party_member - so that the
// screen will not flash back to a short status window between the two
return;
}
- cmdwin_spush("with");
+ cmdwin_spush("¤È");
pc2 = select_party_member();
if (pc2 == NULL) {
swap:
player_party->switchOrder(pc1, pc2);
- log_msg("New Order: %s switched with %s\n", pc1->getName(),
+ log_msg("½ç½ø: %s¤Ï%s¤ÈÆþ¤ìÂؤï¤Ã¤¿¡£", pc1->getName(),
pc2->getName());
// If one of the switched members was the party leader then make the
// *** Prompt user & check if valid ***
cmdwin_clear();
- cmdwin_spush("Talk");
+ cmdwin_spush("Ïä¹");
if (! member) {
member = select_party_member();
obj = place_get_object(Place, x, y, being_layer);
if (!obj) {
- cmdwin_spush("nobody there!");
- log_msg("Try talking to a PERSON.");
+ cmdwin_spush("ï¤â¤¤¤Ê¤¤¡ª");
+ log_msg("¿Í¤ÈÏ乤褦¤Ë¡ª");
goto cleanup;
}
// speaker is not the party itself.
obj = obj->getSpeaker();
if (! obj) {
- cmdwin_spush("cancel");
+ cmdwin_spush("̾ȧ");
goto cleanup;
}
if (TimeStop && !obj->isPlayerPartyMember()) {
- cmdwin_spush("time stopped!");
- log_msg("This person seems frozen in time.");
+ cmdwin_spush("»þ¤¬»ß¤Þ¤Ã¤Æ¤¤¤ë¡ª");
+ log_msg("¤³¤Î¿Í¤Ï¤Þ¤ë¤ÇÅà¤Ã¤Æ¤¤¤ë¤è¤¦¤À¡£");
goto cleanup;
}
conv = obj->getConversation();
if (!conv) {
- cmdwin_spush("no response!");
- log_begin("No response from ");
+ cmdwin_spush("È¿±þ¤¬¤Ê¤¤¡ª");
+ log_begin("");
obj->describe();
- log_end(".");
+ log_end("¤«¤é¤Ï²¿¤ÎÈ¿±þ¤â¤Ê¤«¤Ã¤¿¡£");
goto cleanup;
}
struct get_char_info info;
if (allow_sunrise) {
- cmdwin_spush("<hours[0-9]/[s]unrise>");
+ cmdwin_spush("<[0-9]»þ´Ö/[s]ÌëÌÀ¤±>");
info.string = "0123456789sS";
} else {
- cmdwin_spush("<hours[0-9]>");
+ cmdwin_spush("<[0-9]»þ´Ö>");
info.string = "0123456789";
}
if (! info.c || info.c == '0') {
cmdwin_pop();
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
return 0;
}
else if (allow_sunrise
int sunrise;
cmdwin_pop();
- cmdwin_push("until sunrise");
+ cmdwin_push("ÌëÌÀ¤±¤Þ¤Ç");
hour = clock_time_of_day() / 60;
sunrise = SUNRISE_HOUR + 1;
if (hour < sunrise)
return HOURS_PER_DAY - hour + sunrise;
}
else if (info.c == '1') {
- cmdwin_push(" hour");
+ cmdwin_push("»þ´Ö");
return 1;
}
else {
- cmdwin_push(" hours");
+ cmdwin_push("»þ´Ö");
return info.c - '0';
}
}
/* Push the prompt but remember it for use within getnum() */
if (max == -1) {
- snprintf(prompt, sizeof(prompt), "<quantity>");
+ snprintf(prompt, sizeof(prompt), "<¿ôÎÌ>");
} else {
snprintf(prompt, sizeof(prompt),
- "<quantity[0-%d]/RET=%d>", max, max);
+ "<¿ôÎÌ[0-%d]/ENT=%d>", max, max);
}
info.digit = 0;
info.digit = 0;
else
info.digit = max;
- } else if (info.state == GN_CANCEL)
- cmdwin_spush("none!");
+ } else if (info.state == GN_CANCEL) {
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
+ }
return info.digit;
}
class Character *guard = 0;
cmdwin_clear();
- cmdwin_spush("Camp");
+ cmdwin_spush("µÙ©¤ò¼è¤ë");
if (!place_is_passable(camper->getPlace(), camper->getX(),
camper->getY(), camper, PFLAG_IGNOREVEHICLES)) {
- cmdwin_spush("not here!");
- log_msg("Camp - not here!");
+ cmdwin_spush("¤³¤³¤Ç¤Ï¤Ç¤¤Ê¤¤¡ª");
+ log_msg("µÙ©¤ò¼è¤ë - ¤³¤³¤Ç¤Ï¤Ç¤¤Ê¤¤¡ª");
return 0;
}
if (place_get_subplace(camper->getPlace(),
camper->getX(),
camper->getY())) {
- cmdwin_spush("not here!");
- log_msg("Camp - not here!");
+ cmdwin_spush("¤³¤³¤Ç¤Ï¤Ç¤¤Ê¤¤¡ª");
+ log_msg("µÙ©¤ò¼è¤ë - ¤³¤³¤Ç¤Ï¤Ç¤¤Ê¤¤¡ª");
return 0;
}
return 0;
cmdwin_spush(""); /* for the '-' */
- cmdwin_spush("set a watch");
+ cmdwin_spush("¸«Ä¥¤ê¤òÃÖ¤¯");
cmdwin_spush("<y/n>");
getkey(&yesno, &yesnokey);
guard = select_party_member();
if (!guard) {
cmdwin_pop();
- cmdwin_push("no watch");
+ cmdwin_push("¸«Ä¥¤ê¤Ê¤·");
}
else if (guard->isDead()) {
- log_msg("You prop up the corpse and wave off "
- "the flies...");
+ log_msg("°äÂΤòΩ¤Æ¤«¤±¡¢Çè¤òʧ¤¤¤Î¤±¤¿¡Ä");
}
// else select_party_member() prints the name
} else {
cmdwin_pop();
- cmdwin_spush("no watch");
+ cmdwin_spush("¸«Ä¥¤ê¤Ê¤·");
}
player_party->beginCamping(guard, hours);
int hours = 0;
cmdwin_clear();
- cmdwin_spush("Loiter");
+ cmdwin_spush("¤¦¤í¤Ä¤¯");
/* Check if enemies are around. */
if (place_contains_hostiles(subject->getPlace(), subject)) {
- cmdwin_spush("foes nearby!");
- log_msg("Loiter - foes nearby!");
+ cmdwin_spush("Ũ¤¬¶á¤¯¤Ë¤¤¤ë¡ª");
+ log_msg("¤¦¤í¤Ä¤¯ - Ũ¤¬¶á¤¯¤Ë¤¤¤ë¡ª");
return;
}
/* Check if any party members are engaged in a task. */
class Character *pc;
if ((pc = cmdAnyPartyMemberEngagedInTask())) {
- log_msg("Loiter - %s engaged in task!", pc->getName());
- cmdwin_spush("busy with tasks!");
- return;
+ log_msg("¤¦¤í¤Ä¤¯ - %s¤ÏÊ̤Τ³¤È¤ò¤·¤Æ¤¤¤ë¡ª", pc->getName());
+ cmdwin_spush("Ë»¤·¤¤¡ª");
+ return;
}
/* Prompt for the number of hours. */
}
/* Tell the party to start loitering. */
- cmdwin_spush("loitering...");
+ cmdwin_spush("¤¦¤í¤Ä¤¤¤Æ¤¤¤ë¡Ä");
player_party->beginLoitering(hours);
/* End the turn. */
int hours;
cmdwin_clear();
- cmdwin_spush("Rest");
+ cmdwin_spush("µÙ©¤ò¼è¤ë");
// Party must be in follow mode.
if (player_party->getPartyControlMode() != PARTY_CONTROL_FOLLOW) {
cmdwin_spush("must be in follow mode!");
log_begin_group();
- log_msg("Camp - party not in follow mode!");
- log_msg("(Hint: hit 'f' to enter follow mode)");
+ log_msg("µÙ©¤ò¼è¤ë - ÄÉÀ×Ãæ¤Ç¤Ê¤¤¡ª");
+ log_msg("¥Ò¥ó¥È: 'f'¤ò²¡¤¹¤ÈÄÉÀפ¹¤ë¡£");
log_end_group();
return 0;
}
// Check for an object that will serve as a bed.
if (place_get_object(camper->getPlace(), camper->getX(),
camper->getY(), bed_layer) == NULL) {
- cmdwin_spush("no bed!");
- log_msg("Camp - no bed here!");
+ cmdwin_spush("¥Ù¥Ã¥É¤¬¤Ê¤¤¡ª");
+ log_msg("µÙ©¤ò¼è¤ë - ¥Ù¥Ã¥É¤¬¤Ê¤¤¡ª");
return 0;
}
// Rendezvous the party around the bed.
if (! player_party->rendezvous(camper->getPlace(), camper->getX(),
camper->getY())) {
- log_msg("Camp - party can't rendezvous!");
+ log_msg("µÙ©¤ò¼è¤ë - Ãç´Ö¤È½¸¹ç¤·¤Æ¤¤¤Ê¤¤¡ª");
return 0;
}
// Put the party in "sleep" mode before returning back to the main
// event loop.
- cmdwin_spush("resting...");
+ cmdwin_spush("µÙ©Ãæ¡Ä");
player_party->beginResting(hours);
camper->endTurn();
memset(context, 0, sizeof(*context));
context->ptr = context->spell_name;
- context->prompt = "<spell name>";
+ context->prompt = "<¼öʸ>";
context->state = GN_ZERO;
kh.fx = get_spell_name;
eventPopKeyHandler();
if (strlen(context->spell_name) == 0) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
return -1;
}
const char *string;
int success;
} tbl[] = {
- { "^c+gok^c-!", 1 },
- { "^c+Gno target^c-!", 0 },
- { "^c+yno effect^c-!", 1 },
- { "^c+yno hostiles here^c-!", 1 },
- { "^c+Glacks skill^c-!", 0 },
- { "^c+rfailed^c-!", 1 },
- { "^c+Gnot here^c-!", 0 },
- { "^c+rcritical fail^c-!!!", 1 },
- { "^c+ynot now^c-!", 0 },
+ { "^c+gÀ®¸ù^c-¡ª", 1 },
+ { "^c+GÂоݤ¬¤Ê¤¤^c-¡ª", 0 },
+ { "^c+y¸ú²Ì¤¬¤Ê¤¤^c-¡ª", 1 },
+ { "^c+yŨ¤¬¤¤¤Ê¤¤^c-¡ª", 1 },
+ { "^c+GǽÎϤ¬Â¤ê¤Ê¤¤^c-¡ª", 0 },
+ { "^c+r¼ºÇÔ^c-¡ª", 1 },
+ { "^c+G¤³¤³¤Ç¤Ï¤Ç¤¤Ê¤¤^c-¡ª", 0 },
+ { "^c+rÃ×̿Ū¤Ê¼ºÇÔ^c-¡ª¡ª¡ª", 1 },
+ { "^c+yº£¤Ï¤Ç¤¤Ê¤¤^c-¡ª", 0 },
};
if (result < 0 || result >= array_sz(tbl)) {
char spell_name[MAX_SPELL_NAME_LENGTH];
if (MagicNegated) {
- log_msg("Cast - magic negated!\n");
+ log_msg("¾§¤¨¤ë - ÂǤÁ¾Ã¤µ¤ì¤¿¡ª\n");
return false;
}
cmdwin_clear();
- cmdwin_spush("Cast");
+ cmdwin_spush("¾§¤¨¤ë");
/* If the pc is null then we are in non-combat mode and need to promp
* the user. */
/* Make sure the PC is not asleep, dead, etc. */
if (pc->isDead()) {
- cmdwin_spush("unable right now!");
- log_msg("Cast - %s is too dead!", pc->getName());
+ cmdwin_spush("º£¤Ï¤Ç¤¤Ê¤¤¡ª");
+ log_msg("¾§¤¨¤ë - %s¤Ï»à¤ó¤Ç¤¤¤ë¡ª", pc->getName());
return false;
}
if (pc->isAsleep()) {
- cmdwin_spush("unable right now!");
- log_msg("Cast - %s is asleep!", pc->getName());
+ cmdwin_spush("º£¤Ï¤Ç¤¤Ê¤¤¡ª");
+ log_msg("¾§¤¨¤ë - %s¤Ï̲¤Ã¤Æ¤¤¤ë¡ª", pc->getName());
return false;
}
spell = magic_lookup_spell(&Session->magic, context.spell_name);
if (!spell) {
/* Bugfix for SF1564255: don't let player guess at spells. */
- cmdwin_spush("none mixed!");
- log_end("none mixed!");
+ cmdwin_spush("Ä´¹ç¤·¤Æ¤¤¤Ê¤¤¡ª");
+ log_end("Ä´¹ç¤·¤Æ¤¤¤Ê¤¤¡ª");
return false;
}
/* Check if the spell can be used in this context. */
if (!(player_party->getContext() & spell->context)) {
- cmdwin_spush("not here!");
- log_end("not here!");
+ cmdwin_spush("¤³¤³¤Ç¤Ï»È¤¨¤Ê¤¤¡ª");
+ log_end("¤³¤³¤Ç¤Ï»È¤¨¤Ê¤¤¡ª");
return false;
}
* try to cast In Nox Por to see what I mean...
*/
if (!natural && pc->getLevel() < spell->level) {
- cmdwin_spush("need more experience!");
- log_end("must be level %d!", spell->level);
+ cmdwin_spush("¤â¤Ã¤È·Ð¸³¤¬É¬Íסª");
+ log_end("¥ì¥Ù¥ë%d°Ê¾åɬÍפÀ¡ª", spell->level);
return false;
}
}
if (!natural && !mixed) {
- cmdwin_spush("none mixed!");
- log_end("none mixed!");
+ cmdwin_spush("Ä´¹ç¤·¤Æ¤¤¤Ê¤¤¡ª");
+ log_end("Ä´¹ç¤·¤Æ¤¤¤Ê¤¤¡ª");
return false;
}
/* Check if the character has enough mana to cast the spell. */
if (pc->getMana() < spell->cost) {
- cmdwin_spush("need more mana!");
- log_end("need more mana!");
+ cmdwin_spush("¤â¤Ã¤ÈËâÎϤ¬É¬Íסª");
+ log_end("¤â¤Ã¤ÈËâÎϤ¬É¬ÍפÀ¡ª");
return false;
}
if (mixed) {
int count = ie->count - 1;
player_party->takeOut(ie->type, 1);
- log_msg("%d %s remaining", count, spell_name);
+ if (count) {
+ log_msg("¸å%d²ó»Ä¤Ã¤Æ¤¤¤ë¡£", count);
+ } else {
+ log_msg("¤â¤¦»Ä¤Ã¤Æ¤¤¤Ê¤¤¡£");
+ }
}
/* Some spells have status in the foogod window, so repaint it now. */
list_init(&reagents);
cmdwin_clear();
- cmdwin_spush("Mix");
+ cmdwin_spush("Ä´¹ç¤¹¤ë");
// Select a spell...
if (select_spell(&context) == -1)
ie_spell = player_party->inventory->search(spell->type);
}
if (ie_spell && ie_spell->count) {
- cmdwin_spush("%d mixed", ie_spell->count);
+ cmdwin_spush("%d¤ÄÄ´¹ç¤µ¤ì¤Æ¤¤¤ë", ie_spell->count);
} else {
- cmdwin_spush("0 mixed");
+ cmdwin_spush("Ä´¹ç¤µ¤ì¤Æ¤¤¤Ê¤¤");
}
// Prompt for reagents
- cmdwin_spush("<select, then M)ix>");
+ cmdwin_spush("<ÁªÂò¤·¤¿¸å'm'¤ÇÄ´¹ç>");
- foogodSetHintText("\005\006=scroll ENT=add/remove ESC=abort M=done");
+ foogodSetHintText("\005\006=ÁªÂò ENT=²Ã¤¨¤ë/¼è¤ê½ü¤¯ ESC=ÃæÃÇ M=Ä´¹ç");
foogodSetMode(FOOGOD_HINT);
// Show the reagents in the status window
// u5 silently aborts here
cmdwin_pop();
eventPopKeyHandler();
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
goto done;
}
* whatsoever. */
cmdwin_pop();
eventPopKeyHandler();
- cmdwin_spush("none!");
+ cmdwin_spush("¤Ê¤Ë¤â¤·¤Ê¤¤¡ª");
goto done;
}
eventPopKeyHandler();
if (list_empty(&reagents)) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
goto done;
}
break;
cmdwin_spush(0); /* for the '-' after the quantity */
- cmdwin_spush("not enough reagents!");
+ cmdwin_spush("ÈëÌô¤¬Â¤ê¤Ê¤¤¡ª");
getkey(&dummy, anykey);
cmdwin_pop_to_mark();
}
cmdwin_push("-");
- log_begin("Mix: %s - ", spell_name);
+ log_begin("Ä´¹ç¤¹¤ë: %s - ", spell_name);
// For each reagent required by the spell, check if it is in the list
// of reagents given by the player. If not then remember this fact. If
// If the spell is invalid or the reagents are incorrect then punish
// the player.
if (!spell) {
- cmdwin_spush("oops!");
+ cmdwin_spush("¤ª¤ª¤Ã¤È¡ª");
player_party->damage(DAMAGE_ACID);
- log_end("ACID!");
+ log_end("»À¤À¡ª");
goto done;
} else if (mistake) {
- cmdwin_spush("ouch!");
+ cmdwin_spush("¤¦¤ï¤¢¤Ã¡ª");
player_party->damage(DAMAGE_BOMB);
- log_end("BOMB!");
+ log_end("Çúȯ¡ª");
goto done;
}
// All is well. Add the spell to player inventory.
- cmdwin_spush("ok");
+ cmdwin_spush("À®¸ù");
player_party->add(spell->type, quantity);
- log_end("ok!");
+ log_end("À®¸ù¡ª");
done:
// In case of cancellation I need to unselect all the reagents.
if ( mapTileIsVisible(x, y) ) {
if (mapTileLightLevel(x,y) < MIN_XAMINE_LIGHT_LEVEL) {
- log_continue("Too dark!");
+ log_continue("°Å¤¹¤®¤ë¡ª");
} else {
- log_continue("You see ");
place_describe(place, x, y, PLACE_DESCRIBE_ALL);
+ log_continue("¤¬¸«¤¨¤ë¡£");
}
} else if (ShowAllTerrain || XrayVision) {
- log_continue("You see (via xray) ");
place_describe(place, x, y, PLACE_DESCRIBE_TERRAIN);
+ log_continue("¤¬Æ©»ë¤Ç¤¤ë¡£");
} else {
- log_continue("You can't see!");
+ log_continue("¸«¤¨¤Ê¤¤¡ª");
}
log_end(NULL);
int detailed_examine_XY(struct place *place, int x, int y, void *unused)
{
if (DeveloperMode) {
- log_begin("At XY=(%d,%d): ", x, y);
+ log_begin("At XY=(%d,%d): ", x, y);
} else {
- log_begin("");
+ log_begin("");
}
if ( mapTileIsVisible(x, y) ) {
- if (mapTileLightLevel(x,y) < MIN_XAMINE_LIGHT_LEVEL) {
- log_continue("You can't see!");
- } else {
- log_continue("You see:\n");
- place_examine(place, x, y);
- }
- } else if (ShowAllTerrain || XrayVision) {
- log_continue("You see (via xray):\n");
+ if (mapTileLightLevel(x,y) < MIN_XAMINE_LIGHT_LEVEL) {
+ log_continue("¸«¤¨¤Ê¤¤¡ª");
+ } else {
+ log_continue("¼¡¤Î¤â¤Î¤¬¸«¤¨¤ë¡£\n");
place_examine(place, x, y);
+ }
+ } else if (ShowAllTerrain || XrayVision) {
+ log_continue("¼¡¤Î¤â¤Î¤¬Æ©»ë¤Ç¸«¤¨¤ë¡£\n");
+ place_examine(place, x, y);
} else {
- log_continue("You can't see!");
+ log_continue("¸«¤¨¤Ê¤¤¡ª");
}
#if 0
bool ret = true;
cmdwin_clear();
- cmdwin_spush("Xamine");
+ cmdwin_spush("Ä´¤Ù¤ë");
x = pc->getX();
y = pc->getY();
log_begin_group();
if (pc)
- log_msg("%s examines around...", pc->getName());
+ log_msg("%s¤Ï¤¢¤¿¤ê¤òÄ´¤Ù¤¿¡Ä", pc->getName());
else
- log_msg("You examine around...");
+ log_msg("¤¢¤Ê¤¿¤Ï¤¢¤¿¤ê¤òÄ´¤Ù¤¿¡Ä");
look_at_XY(pc->getPlace(), x, y, 0); // First look at the current tile
if (select_target_with_doing(x, y, &x, &y, pc->getVisionRadius(),
// SAM: Perhaps this function belongs in common.c?
switch (player_party->getContext()) {
case CONTEXT_WILDERNESS:
- return "Party Context";
+ return "Á´°÷¤Î¾õÂÖ";
break;
default:
- return "Character Context";
+ return "¸Ä¿Í¤Î¾õÂÖ";
break;
}
} // name_of_context()
else {
// Must be party mode.
// Use the player party's location as the origin.
- who = "The party";
+ who = "Á´°÷";
place_name = player_party->getPlace()->name;
x = player_party->getX();
y = player_party->getY();
// place_name = player_party->getPlace()->name;
log_begin_group();
- log_msg("This is %s.", name_of_context() );
- log_msg("%s is in %s.", who, place_name);
- if (Place->underground) {
- log_msg("It is %s, %s of %s in the year %d.",
- day_name(), week_name(), month_name(), Session->clock.year );
- }
- else
- {
- log_msg("It is %s on %s, "
- "%s of %s in the year %d.",
- vague_time_as_string(), day_name(),
- week_name(), month_name(), Session->clock.year );
- }
+ log_msg("¤³¤ì¤Ï%s¤Ç¤¢¤ë¡£", name_of_context() );
+ log_msg("%s¤Ï%s¤Ë¤¤¤ë¡£", who, place_name);
+ if (Place->underground) {
+ log_msg("º£¤Ï%dǯ %s %s %s¤À¡£",
+ Session->clock.year, month_name(), week_name(), day_name() );
+ } else {
+ log_msg("º£¤Ï%dǯ %s %s "
+ "%s¤Î%s¤À¡£",
+ Session->clock.year, month_name(), week_name(),
+ day_name(), vague_time_as_string() );
+ }
// SAM: Is this really interesting though, I wonder?
- log_msg("%d game turns have passed.", Turn);
+ log_msg("%d²ó¤¬·Ð²á¤·¤¿¡£", Turn);
- log_msg("The wind is blowing from the %s.",
+ log_msg("É÷¤Ï%s¤«¤é¿á¤¤¤Æ¤¤¤ë¡£",
directionToString(windGetDirection()) );
if (Place->underground) {
- log_msg("%s is underground, and cannot see the sky.",
+ log_msg("%s¤ÏÃϲ¼¤Ë¤¤¤Æ¶õ¤Ï¸«¤¨¤Ê¤¤¡£",
who);
} // underground
else {
// This message won't be true if you are under
// a roof in a town. In future there should be
// logic querying the (future) roof-ripping code here.
- log_msg("%s is beneath the open sky.", who);
+ log_msg("%s¤Ï¶õ¤Î¸«¤¨¤ë¾ì½ê¤Ë¤¤¤ë¡£", who);
// The kernel no longer has any special knowledge about which
// astral body is the sun, so we have to deal with all astral
// bodies generically now. I mean, a game may have two or even
// more suns. The time runs independently and isn't cued off
// the sun.
- if (is_noon())
- log_msg("It is noon.");
- else if (is_midnight())
- log_msg("It is midnight.");
+ if (is_noon()) {
+ log_msg("Æü¤¬¾º¤Ã¤Æ¤¤¤ë¡£");
+ } else if (is_midnight()) {
+ log_msg("Æü¤ÏÄÀ¤ó¤Ç¤¤¤ë¡£");
+ }
// Report on each astral body generically.
list_for_each(&Session->sky.bodies, elem) {
struct astral_body *body;
body = outcast(elem, struct astral_body, list);
if (astral_body_is_visible(body->arc)) {
- log_begin("%s is up at arc %d", body->name,
+ log_begin("%s¤Î¹â¤µ¤Ï%dÅÙ", body->name,
body->arc);
if (body->n_phases > 1) {
char *phase_name =
body->phases[body->phase].
name;
- if (phase_name)
- log_continue(" in its %s "
- "phase",
+ if (phase_name) {
+ log_continue("¡¢%s",
phase_name);
- else
- log_continue(" in phase %d",
+ } else {
+ log_continue("¡¢·îÁê¤Ï%d",
body->phase);
+ }
}
- log_end(".");
+ log_end("¤À¡£");
}
}
} // open air, under the sky
if (player_party->getVehicle()) {
- log_msg("%s is %s a %s.",
- who, "using", player_party->getVehicle()->getName() );
+ log_msg("%s¤Ï%s¤Ë¾è¤Ã¤Æ¤¤¤ë¡£",
+ who, player_party->getVehicle()->getName() );
// SAM:
// In future, we shall want GhulScript to specify
// whether one is to be
// SAM: Not true for a party of Gazers or Nixies.
// Similar GhulScript for party / character movement mode
// descriptions and gerunds?
- log_msg("%s is on foot.", who);
+ log_msg("%s¤ÏÊ⤤¤Æ¤¤¤ë¡£", who);
}
log_end_group();
// Standing over a subplace. Try to enter with no
// direction, this will prompt the player to provide a
// direction.
- log_msg("Enter-%s", subplace->name);
+ log_msg("Æþ¤ë-%s", subplace->name);
player_party->try_to_enter_subplace_from_edge(subplace,
0, 0);
} else {
- log_msg("Enter-Use a side entrance!");
+ log_msg("Æþ¤ë-Æþ¤ê¸ý¤«¤éÆþ¤Ã¤¿¡ª");
}
} else if (!place_is_passable(player_party->getPlace(),
place_get_terrain(player_party->getPlace(),
player_party->getX(),
player_party->getY() );
- log_msg("Enter-Cannot zoom-in to %s!", tt->name);
+ log_msg("Æþ¤ë-%s¤Ë¤ÏÆþ¤ì¤Ê¤¤¡ª", tt->name);
} else {
// If standing on ordinary terrain, zoom in:
struct terrain * tt =
place_get_terrain(player_party->getPlace(),
player_party->getX(),
player_party->getY() );
- log_msg("Enter-%s", tt->name);
+ log_msg("Æþ¤ë-%s", tt->name);
run_combat(false, 0, 0, NULL);
}
}
bool ret = true;
class Character *pc;
if ((pc = cmdAnyPartyMemberEngagedInTask())) {
- log_msg("Denied - %s engaged in task!", pc->getName());
+ log_msg("µñÈÝ - %s¤ÏÊ̤Τ³¤È¤ò¤·¤Æ¤¤¤ë¡ª", pc->getName());
cmdwin_spush("busy with tasks!");
return false;
}
char *fname = save_game_menu();
if (!fname) {
- cmdwin_spush("abort!");
+ cmdwin_spush("Ãæ»ß¡ª");
return false;
}
- log_begin("Saving to %s...", fname);
+ log_begin("%s¤ËÊݸÃæ¡Ä", fname);
if (session_save(fname)) {
- log_end("^c+rfailed!^c-");
- cmdwin_spush("failed!");
+ log_end("^c+r¼ºÇÔ¡ª^c-");
+ cmdwin_spush("¼ºÇÔ¡ª");
ret = false;
} else {
cmdwin_spush("ok!");
- log_end("^c+gok!^c-");
+ log_end("^c+g´°Î»¡ª^c-");
}
session_save(fname);
free(fname);
{
int yesno;
cmdwin_clear();
- cmdwin_spush("Reply");
+ cmdwin_spush("ÊÖÅú");
cmdwin_spush("<y/n>");
getkey(&yesno, yesnokey);
cmdwin_pop();
if (yesno == 'y') {
- cmdwin_spush("yes");
- log_msg("^c+%c%s:^c- Yes", CONV_PC_COLOR, name);
+ cmdwin_spush("¤Ï¤¤");
+ log_msg("^c+%c%s:^c- ¤Ï¤¤", CONV_PC_COLOR, name);
return 1;
} else {
- cmdwin_spush("no");
- log_msg("^c+%c%s:^c- No", CONV_PC_COLOR, name);
+ cmdwin_spush("¤¤¤¤¤¨");
+ log_msg("^c+%c%s:^c- ¤¤¤¤¤¨", CONV_PC_COLOR, name);
return 0;
}
}
static int ui_getline_handler(struct KeyHandler *kh, int key, int keymod)
{
getline_t *data = (getline_t*)kh->data;
+ char kana_buf[128];
+ int kana_len;
+ int i;
if (key == CANCEL) {
while (data->ptr > data->buf) {
cmdwin_pop();
data->room++;
}
+ alpha_to_kana(0, NULL);
return 1;
}
if (key == '\n') {
+ alpha_to_kana(0, NULL);
return 1;
}
if (key == '\b') {
if (data->ptr != data->buf) {
- data->ptr--;
- *data->ptr = 0;
- data->room++;
- cmdwin_pop();
+ if (*(data->ptr - 1) & 0x80) {
+ data->ptr -= 2;
+ *data->ptr = 0;
+ data->room += 2;
+ cmdwin_pop();
+ cmdwin_pop();
+ } else {
+ data->ptr--;
+ *data->ptr = 0;
+ data->room++;
+ cmdwin_pop();
+ }
}
+ alpha_to_kana(0, NULL);
return 0;
}
if (data->filter
&& data->filter(key)) {
+ alpha_to_kana(0, NULL);
return 0;
}
- if (isprintable(key)
+ if ((isprintable(key) || (key & 0x80))
&& data->room) {
cmdwin_push("%c", key);
*data->ptr++ = key;
data->room--;
}
+ kana_len = alpha_to_kana (key, kana_buf);
+ if (kana_len) {
+ for (i = 0; i < kana_len; i++) {
+ ui_getline_handler (kh, kana_buf[i], keymod);
+ }
+ }
+
return 0;
}
int ui_getline(char *buf, int len)
{
cmdwin_clear();
- cmdwin_push("Say: ");
+ cmdwin_push("¸À¤¦: ");
return ui_getline_plain(buf, len);
}
sc.selection = NULL;
cmdwin_clear();
- cmdwin_spush("Buy");
- cmdwin_spush("<select/ESC>");
+ cmdwin_spush("Ç㤦");
+ cmdwin_spush("<ÁªÂò/ESC>");
eventPushKeyHandler(&kh);
eventHandle();
eventPopKeyHandler();
trade = (struct trade_info *) sc.selection;
if (!trade) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
break;
}
if (player_party->gold < trade->cost) {
int dummy;
- cmdwin_spush("not enough gold! <hit any key>");
+ cmdwin_spush("¶â²ß¤¬Â¤ê¤Ê¤¤¡ª <¥¡¼¤ò²¡¤¹>");
getkey(&dummy, anykey);
continue;
}
cmdwin_pop_to_mark();
if (quantity == 0) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
continue;
}
// *** trade ***
class ObjectType *type = (class ObjectType*)trade->data;
- cmdwin_spush("ok");
- log_msg("You buy %d %s%s for %d gold\n", quantity,
- trade->name, quantity > 1 ? "s" : "", cost);
+ cmdwin_spush("Çã¤Ã¤¿");
+ log_msg("¤¢¤Ê¤¿¤Ï%s¤ò¶â²ß%dËç¤Ç%d¤ÄÇã¤Ã¤¿¡£\n", trade->name,
+ cost, quantity);
player_party->gold -= cost;
if (type->canBuy()) {
// Allocate the trade list.
trades = new struct trade_info[merch->n_trades];
if (!trades) {
- log_msg("^c+%c%s:^c- I don't need anything.\n",
+ log_msg("^c+%c%s:^c- ¤½¤ì¤Ï¤¤¤é¤Ê¤¤¡£\n",
CONV_NPC_COLOR, merch->name);
return 0;
}
sc.selection = NULL;
cmdwin_clear();
- cmdwin_spush("Sell");
- cmdwin_spush("<select or ESC>");
+ cmdwin_spush("Çä¤ë");
+ cmdwin_spush("<ÁªÂò/ESC>");
eventPushKeyHandler(&kh);
eventHandle();
eventPopKeyHandler();
trade = (struct trade_info *) sc.selection;
if (!trade) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
break;
}
cmdwin_pop_to_mark();
if (quantity == 0) {
- cmdwin_spush("none!");
+ cmdwin_spush("²¿¤â¤·¤Ê¤¤¡ª");
continue;
}
foogodRepaint();
cmdwin_spush("ok");
- log_msg("You sell %d %s%s for %d gold\n", quantity,
- trade->name, quantity > 1 ? "s" : "",
- quantity * trade->cost);
+ log_msg("¤¢¤Ê¤¿¤Ï%s¤ò¶â²ß%dËç¤Ç%d¤ÄÇä¤Ã¤¿¡£\n", trade->name,
+ quantity * trade->cost, quantity);
// refresh the sell list
n_trades = fill_sell_list(merch, trades);
for (;;) {
cmdwin_clear();
- cmdwin_spush("Buy or sell");
- cmdwin_spush("<B/S/ESC>");
+ cmdwin_spush("Ç㤦/Çä¤ë¡©");
+ cmdwin_spush("<B:Ç㤦/S:Çä¤ë/ESC>");
getkey(&key, get_buy_or_sell_key);
switch (key) {
}
static const char *cmd_help_text =
-"Use the arrow keys to indicate direction.\n"
-"Use the ESC key to cancel commands.\n"
-"Use the first letter to start a command.\n"
+"Êý¸þ¤ÏÌð°õ¥¡¼(¥Æ¥ó¥¡¼)¤Ç¼¨¤¹¡£\n"
+"ESC¤ò²¡¤¹¤ÈÌ¿Îá¤òÃæÃǤ¹¤ë¡£\n"
+"Ì¿Îá¤Ï¼¡¤ÎÄ̤ê¤Ç¤¢¤ë¡£\n"
"\n"
-"A)ttack something\n"
-"B)oard a ship or other vehicle\n"
-"C)ast a spell\n"
-"E)nter a town or dungeon\n"
-"F)ire a ship's cannon or other ordnance\n"
-"G)et something on the ground\n"
-"H)andle a lever or mechanism\n"
-"K)amp in a bed or the wilderness\n"
-"L)oiter for a while\n"
-"N)ew-Order (rearrange party order)\n"
-"O)pen a chest, door or other closed object\n"
-"Q)uit and save the game\n"
-"R)eady weapons or armor\n"
-"S)earch for hidden stuff\n"
-"T)alk to somebody\n"
-"U)se an item in inventory\n"
-"Z)tats (show party status)\n"
-"X)amine around\n"
-"@)AT (info about place & time)\n"
-"<space> (pass a turn)\n"
-"CTRL-Q)uit without saving\n"
-"CTRL-S)ave without quitting\n"
-"CTRL-R)eload the last saved game\n"
+"A)²¿¤«¤ò¹¶·â¤¹¤ë\n"
+"B)Á¥¤Ê¤É¤Ë¾è¤ë\n"
+"C)¼öʸ¤ò¾§¤¨¤ë\n"
+"E)Ä®¤äƶ·¢¤ËÆþ¤ë\n"
+"F)Á¥¤ÎÂçˤ¤Ê¤É¤Çˤ·â¤¹¤ë\n"
+"G)ÃÖ¤«¤ì¤¿¤â¤Î¤ò¼è¤ë\n"
+"H)¥ì¥Ð¡¼¤äµ¡³£¤òÁàºî¤¹¤ë\n"
+"K)¥Ù¥Ã¥É¤ä¹ÓÌî¤ÇµÙ©¤ò¼è¤ë\n"
+"L)¤·¤Ð¤é¤¯¤¦¤í¤Ä¤¯\n"
+"N)½ç½ø¤òÊѹ¹¤¹¤ë\n"
+"O)È¢¤äÈâ¤Ê¤É¤ò³«¤¯\n"
+"Q)¥²¡¼¥à¤ò½ªÎ»¤¹¤ë\n"
+"R)Éð´ï¤äËɶñ¤òÁõÈ÷¤¹¤ë\n"
+"S)±£¤µ¤ì¤¿¤â¤Î¤òõ¤¹\n"
+"T)狼¤ÈÏä¹\n"
+"U)»ý¤Áʪ¤ò»È¤¦\n"
+#ifdef USE_SKILLS
+"Y)ǽÎϤò»È¤¦\n"
+#endif
+"Z)¾õÂÖ¤òɽ¼¨¤¹¤ë\n"
+"X)¤¢¤¿¤ê¤òÄ´¤Ù¤ë\n"
+"@)¾ì½ê¤ä»þ´Ö¤Ë¤Ä¤¤¤Æɽ¼¨¤¹¤ë\n"
+"<space> ²¿¤â¤·¤Ê¤¤\n"
+"CTRL-Q)Êݸ¤»¤º¥²¡¼¥à¤ò½ªÎ»¤¹¤ë\n"
+"CTRL-S)½ªÎ»¤»¤º¥²¡¼¥à¤òÊݸ¤¹¤ë\n"
+"CTRL-R)ºÇ¸å¤ËÊݸ¤·¤¿¾õÂÖ¤òÆɤ߹þ¤à\n"
+"²ñÏÃÃæ¤Ë<Tab>¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È¡¦¥í¡¼¥Þ»ú¤ÎÀÚÂØ\n"
"\n"
-"When talking to people, enter a keyword.\n"
-"Most people reply to NAME, JOB, TRADE and\n"
-"JOIN. Their replies will give you hints\n"
-"about more keywords.\n"
+"²ñÏÃÃæ¤Ï¥¡¼¥ï¡¼¥É¤òÆþÎϤ¹¤ë¡£Â¿¤¯¤Î¿Íʪ¤Ï¡¢\n"
+"̾Á°¡¢»Å»ö¡¢¼è°ú¡¢Ãç´Ö¤ËÂФ·¤ÆÈ¿±þ¤¹¤ë¡£¤³¤¿\n"
+"¤¨¤Ë¤Ï¹¹¤Ê¤ë¥¡¼¥ï¡¼¥É¤Î¼ê¤¬¤«¤ê¤¬´Þ¤Þ¤ì¤Æ¤¤\n"
+"¤ë¤³¤È¤¬¤¢¤ë¡£\n"
;
void cmdHelp(void)
foogodSetHintText(PAGER_HINT);
foogodSetMode(FOOGOD_HINT);
- statusSetPageText("Commands", cmd_help_text);
+ statusSetPageText("Ì¿Îá", cmd_help_text);
statusSetMode(Page);
kh.fx = scroller;
int yesno;
char buf[64];
- log_begin("Do you want to name your ");
+ log_begin("¤¢¤Ê¤¿¤Î");
vehicle->describe();
- log_end("?");
+ log_end("¤Ë̾Á°¤ò¤Ä¤±¤ë¤«¡©");
+ cmdwin_spush("̾¤Å¤±¤ë");
- cmdwin_spush("Name");
cmdwin_spush("<y/n>");
getkey(&yesno, yesnokey);
cmdwin_pop();
cmdwin_pop();
if (yesno == 'n') {
- cmdwin_spush("no!");
- log_msg("It's likely to be stolen!");
+ cmdwin_spush("¤¤¤¤¤¨¡ª");
+ log_msg("¤Þ¤ë¤ÇÅð¤ó¤À¤â¤Î¤Î¤è¤¦¤À¡ª");
return;
}
if (!ui_getline(buf, sizeof(buf))) {
- log_msg("It's likely to be stolen!");
+ log_msg("¤Þ¤ë¤ÇÅð¤ó¤À¤â¤Î¤Î¤è¤¦¤À¡ª");
return;
}
vehicle->setName(buf);
- log_begin("You christen ");
+ log_begin("¤¢¤Ê¤¿¤Ï");
vehicle->describe();
- log_end(".");
+ log_end("¤È̾¤Å¤±¤¿¡£");
}
void cmdSettings(void)
assert(actor);
cmdwin_clear();
- cmdwin_spush("Drop");
+ cmdwin_spush("ÃÖ¤¯");
omode = statusGetMode();
- statusBrowseContainer(actor->getInventoryContainer(), "Drop");
+ statusBrowseContainer(actor->getInventoryContainer(), "ÃÖ¤¯");
ie = ui_select_item();
statusSetMode(omode);
/* Don't drop quest items in temporary places! */
if (place_is_wilderness_combat(actor->getPlace())
&& ie->type->isQuestItem()) {
- log_msg("%s seems important, it might get lost here!",
+ log_msg("%s¤Ï½ÅÍפ½¤¦¤À¡£¤³¤³¤ËÃÖ¤¯¤È¼º¤¦¤Ë°ã¤¤¤Ê¤¤¡ª",
ie->type->getName());
return;
}
NULL);
actor->takeOut(ie->type, quantity);
actor->runHook(OBJ_HOOK_DROP_DONE, "pd", ie->type, quantity);
- log_msg("%s wouldnt fit!", ie->type->getName());
+ log_msg("%s¤Ï¹ç¤ï¤Ê¤¤¡ª", ie->type->getName());
}
else
{
- log_msg("Couldnt drop %s!", ie->type->getName());
+ log_msg("%s¤òÃÖ¤±¤Ê¤¤¡ª", ie->type->getName());
}
/* remove from party inventory */
actor->decActionPoints(kern_intvar_get("AP_COST:drop_item"));
kh.data = ≻
eventPushKeyHandler(&kh);
- cmdwin_push("<select>");
+ cmdwin_push("<ÁªÂò>");
eventHandle();
cmdwin_pop();
eventPopKeyHandler();
/* dead actor? */
if (pc->isDead()) {
- log_msg("%s - %s is too dead!", cmdstr, pc->getName());
- cmdwin_push("can't!");
+ log_msg("%s - %s¤Ï»à¤ó¤Ç¤¤¤ë¡ª", cmdstr, pc->getName());
+ cmdwin_push("¤Ç¤¤Ê¤¤¡ª");
return 0;
}
/* sleeping actor? */
if (pc->isAsleep()) {
- log_msg("%s - %s rolls over and snores!", cmdstr,
+ log_msg("%s - %s¤Ï¤Ò¤Ã¤¯¤êÊ֤äƤ¤¤Ó¤¤ò¤«¤¤¤Æ¤¤¤ë¡ª", cmdstr,
pc->getName());
- cmdwin_push("can't!");
+ cmdwin_push("¤Ç¤¤Ê¤¤¡ª");
return 0;
}
/* level, ap, mp */
screenPrint(rect, SP_RIGHTJUSTIFIED,
- "^c+GLvl:^c+y%d^c- MP:^c+b%d^c- AP:^c+r%d^c-^c-",
+ "^c+G¥ì¥Ù¥ë:^c+y%d^c- ËâÎÏ:^c+b%d^c- ¹ÔÆ°:^c+r%d^c-^c-",
ssent->level,
skill->mp,
skill->ap);
/* setup the status browser data */
memset(&data, 0, sizeof(data));
cmd_build_skill_list(&data.list, pc);
- data.title = "Yuse";
+ data.title = "ǽÎÏ";
data.paint = cmd_paint_skill;
data.unref = cmd_skill_list_unref;
cmdwin_push(ssent->skill->name);
} else {
ssent = 0;
- cmdwin_push("none");
+ cmdwin_push("²¿¤â¤·¤Ê¤¤");
}
/* restore browser status mode */
int cant = 0, result = 0, yused = 0;
/* select/verify the actor */
- if (!(actor = cmd_front_end(actor, "Yuse"))) {
+ if (!(actor = cmd_front_end(actor, "ǽÎÏ"))) {
return;
}
if (! skill->wilderness_ok
&& place_is_wilderness(actor->getPlace())) {
cant = 1;
- log_msg("Not in the wilderness!");
+ log_msg("¹ÓÌî¤Ç¤Ï»È¤¨¤Ê¤¤¡ª");
}
/* check level */
if (actor->getLevel() < ssent->level) {
cant = 1;
- log_msg("Must be level %d!", ssent->level);
+ log_msg("¥ì¥Ù¥ë%d°Ê¾åɬÍפÀ¡ª", ssent->level);
}
/* check mana */
if (actor->getMana() < skill->mp) {
cant = 1;
- log_msg("Not enough mana!");
+ log_msg("ËâÎϤ¬Â¤ê¤Ê¤¤¡ª");
}
/* check tools */
struct inv_entry *ie=player_party->inventory->
search(tool);
if (!ie || !ie->count) {
- log_msg("Need %s!", tool->getName());
+ log_msg("%s¤¬É¬ÍפÀ¡ª", tool->getName());
cant = 1;
}
}
ie = player_party->inventory->search(objtype);
if (!ie || ie->count < mat->quantity) {
cant = 1;
- log_msg("Need %d %s!", mat->quantity,
+ log_msg("%d¤Ä¤Î%s¤¬É¬ÍפÀ¡ª", mat->quantity,
objtype->getName());
}
}
/* cant? */
if (cant) {
- cmdwin_push("failed!");
- log_end("^c+rFailed!^c-");
+ cmdwin_push("¼ºÇÔ¡ª");
+ log_end("^c+r¼ºÇÔ¡ª^c-");
return;
}
) {
if (solo_member->engagedInTask()) {
- log_msg("%s is engaged in %s, abort?", solo_member->getName(), solo_member->getTaskName());
+ log_msg("%s¤Ï%s¤·¤Æ¤¤¤ë¡£ÃæÃǤ¹¤ë¤«¡©", solo_member->getName(), solo_member->getTaskName());
if (! ui_get_yes_no(solo_member->getName())) {
return false;
}
bool cmdToggleFollowMode(void)
{
- log_begin("Follow mode ");
+ log_begin("ÄÉÀ×");
if (player_party->getPartyControlMode() == PARTY_CONTROL_FOLLOW) {
- log_end("OFF");
+ log_end("¤·¤Ê¤¤¡£");
player_party->enableRoundRobinMode();
return false;
} else {
- log_end("ON");
+ log_end("¤¹¤ë¡£");
player_party->enableFollowMode();
return true;
}