OSDN Git Service

前半を日本語訳
[starfighter-jp/starfighter-jp.git] / src / shop.cpp
index 2e63cad..a853b70 100644 (file)
@@ -28,36 +28,36 @@ static void drawSecondaryWeaponSurface()
 {
        char description[50] = "";
 
-       drawString("Secondary Weapon", 10, 3, FONT_WHITE, shopSurface[2]);
+       drawString("Êä½õÁõÈ÷", 10, 3, FONT_WHITE, shopSurface[2]);
 
        switch (player.weaponType[1])
        {
                case W_NONE:
-                       strcpy(description, "Type : None");
+                       strcpy(description, "¥¿¥¤¥×¡§¤Ê¤·");
                        break;
                case W_ROCKETS:
-                       strcpy(description, "Type : Rockets");
+                       strcpy(description, "¥¿¥¤¥×¡§¥í¥±¥Ã¥È");
                        break;
                case W_DOUBLE_ROCKETS:
-                       strcpy(description, "Type : Dbl Rockets");
+                       strcpy(description, "¥¿¥¤¥×¡§¥À¥Ö¥ë ¥í¥±¥Ã¥È");
                        break;
                case W_MICRO_ROCKETS:
-                       strcpy(description, "Type : Micro Rockets");
+                       strcpy(description, "¥¿¥¤¥×¡§¥Þ¥¤¥¯¥í ¥í¥±¥Ã¥È");
                        break;
                case W_LASER:
-                       strcpy(description, "Type : Laser");
+                       strcpy(description, "¥¿¥¤¥×¡§¥ì¡¼¥¶¡¼");
                        break;
                case W_CHARGER:
-                       strcpy(description, "Type : Charger");
+                       strcpy(description, "¥¿¥¤¥×¡§¥Á¥ã¡¼¥¸");
                        break;
                case W_HOMING_MISSILE:
-                       strcpy(description, "Type : Homing Missile");
+                       strcpy(description, "¥¿¥¤¥×¡§¥Û¡¼¥ß¥ó¥° ¥ß¥µ¥¤¥ë");
                        break;
                case W_DOUBLE_HOMING_MISSILES:
-                       strcpy(description, "Type : Dbl Homing Missiles");
+                       strcpy(description, "¥¿¥¤¥×¡§¥À¥Ö¥ë ¥Û¡¼¥ß¥ó¥° ¥ß¥µ¥¤¥ë");
                        break;
                case W_MICRO_HOMING_MISSILES:
-                       strcpy(description, "Type : Mcr Homing Missiles");
+                       strcpy(description, "¥¿¥¤¥×¡§¥Þ¥¤¥¯¥í ¥Û¡¼¥ß¥ó¥° ¥ß¥µ¥¤¥ë");
                        break;
        }
        drawString(description, 10, 22, FONT_WHITE, shopSurface[2]);
@@ -65,7 +65,7 @@ static void drawSecondaryWeaponSurface()
        if ((player.weaponType[1] != W_LASER) &&
                (player.weaponType[1] != W_CHARGER) && (player.weaponType[1] != W_NONE))
        {
-               sprintf(description, "Capacity : %d", game.maxRocketAmmo);
+               sprintf(description, "ºÇÂç¿ô¡§%d", game.maxRocketAmmo);
                drawString(description, 10, 37, FONT_WHITE, shopSurface[2]);
        }
 }
@@ -199,27 +199,27 @@ static void drawShop()
        char description[100];
        strcpy(description, "");
 
-       drawString("Primary Weapon", 10, 3, FONT_WHITE, shopSurface[0]);
-       sprintf(description, "Plasma Cannons : %d", game.minPlasmaOutput);
+       drawString("¼çÁõÈ÷", 10, 3, FONT_WHITE, shopSurface[0]);
+       sprintf(description, "¥×¥é¥º¥Þ¥«¥Î¥ó¡§%dÌç", game.minPlasmaOutput);
        drawString(description, 10, 22, FONT_WHITE, shopSurface[0]);
-       sprintf(description, "Plasma Power   : Stage %d",
+       sprintf(description, "¥×¥é¥º¥Þ²ÐÎÏ¡¡¡§¥ì¥Ù¥ë %d",
                game.minPlasmaDamage);
        drawString(description, 10, 37, FONT_WHITE, shopSurface[0]);
-       sprintf(description, "Cooler         : Stage %d",
+       sprintf(description, "ÎäµÑÁõÃÖ¡¡¡¡¡¡¡§¥ì¥Ù¥ë %d",
                game.minPlasmaRate);
        drawString(description, 10, 52, FONT_WHITE, shopSurface[0]);
 
-       drawString("Powerup Weapon", 10, 3, FONT_WHITE, shopSurface[1]);
-       sprintf(description, "Plasma Output    : Stage %d",
+       drawString("°ì»þ¶¯²½", 10, 3, FONT_WHITE, shopSurface[1]);
+       sprintf(description, "¥×¥é¥º¥Þ½ÐÎÏÈÏ°Ï¡¡¡§¥ì¥Ù¥ë %d",
                game.maxPlasmaOutput);
        drawString(description, 10, 22, FONT_WHITE, shopSurface[1]);
-       sprintf(description, "Plasma Condensor : Stage %d",
+       sprintf(description, "¥×¥é¥º¥Þ¥³¥ó¥Ç¥ó¥µ¡§¥ì¥Ù¥ë %d",
                game.maxPlasmaDamage);
        drawString(description, 10, 37, FONT_WHITE, shopSurface[1]);
-       sprintf(description, "Liquid Nitrogen  : Stage %d",
+       sprintf(description, "±ÕÂÎÃâÁÇ¡¡¡¡¡¡¡¡¡¡¡§¥ì¥Ù¥ë %d",
                game.maxPlasmaRate);
        drawString(description, 10, 52, FONT_WHITE, shopSurface[1]);
-       sprintf(description, "Plasma Capacity  : %d", game.maxPlasmaAmmo);
+       sprintf(description, "¥×¥é¥º¥ÞÍÆÎÌ¡¡¡¡¡¡¡§%d", game.maxPlasmaAmmo);
        drawString(description, 10, 67, FONT_WHITE, shopSurface[1]);
 
        drawSecondaryWeaponSurface();
@@ -228,12 +228,12 @@ static void drawShop()
 
        blevelRect(shopSurface[3], 0, 0, 600, 120, 0x00, 0x00, 0x22);
 
-       drawString("Temporary Weapons", 10, 2, FONT_WHITE, shopSurface[3]);
-       drawString("Ammo and Storage", 260, 2, FONT_WHITE, shopSurface[3]);
+       drawString("°ì»þ¶¯²½", 10, 2, FONT_WHITE, shopSurface[3]);
+       drawString("ÇúÌô¤È¥³¥ó¥Æ¥Ê", 260, 2, FONT_WHITE, shopSurface[3]);
 
-       drawString("Primary Weapons", 10, 62, FONT_WHITE, shopSurface[3]);
+       drawString("¼çÁõÈ÷", 10, 62, FONT_WHITE, shopSurface[3]);
 
-       drawString("Secondary Weapons", 260, 62, FONT_WHITE, shopSurface[3]);
+       drawString("ÉûÁõÈ÷", 260, 62, FONT_WHITE, shopSurface[3]);
 
        signed char icons = MAX_SHOPITEMS;
 
@@ -250,54 +250,54 @@ static void drawShop()
                        shopItems[i].y - 178, shopSurface[3]);
        }
 
-       sprintf(description, "Shield Units : %d", player.maxShield);
+       sprintf(description, "\8e¼\8e°\8eÙ\8eÄ\8eÞ \8eÕ\8eÆ\8e¯\8eÄ : %d", player.maxShield);
        drawString(description, 10, 4, FONT_WHITE, shopSurface[4]);
-       sprintf(description, "Cash : $%d", game.cash);
+       sprintf(description, "\8e·\8e¬\8e¯\8e¼\8e­ : $%d", game.cash);
        drawString(description, 10, 80, FONT_WHITE, shopSurface[4]);
-       sprintf(description, "Plasma Cells : %.3d", player.ammo[0]);
+       sprintf(description, "\8eÌ\8eß\8e×\8e½\8eÞ\8eÏ \8e¾\8eÙ : %.3d", player.ammo[0]);
        drawString(description, 430, 4, FONT_WHITE, shopSurface[4]);
-       sprintf(description, "Rockets : %.3d", player.ammo[1]);
+       sprintf(description, "\8eÛ\8e¹\8e¯\8eÄ : %.3d", player.ammo[1]);
        drawString(description, 475, 80, FONT_WHITE, shopSurface[4]);
 
        shopSurface[5] = createSurface(601, 56);
        blevelRect(shopSurface[5], 0, 0, 600, 35, 0x00, 0x99, 0x00);
        blevelRect(shopSurface[5], 0, 20, 600, 35, 0x00, 0x33, 0x00);
-       drawString("Information", 5, 4, FONT_WHITE, shopSurface[5]);
+       drawString("ÀâÌÀ", 5, 4, FONT_WHITE, shopSurface[5]);
 
        switch (shopSelectedItem)
        {
                case -1:
                        break;
                case -2:
-                       drawString("You don't have enough money", 20, 30, FONT_WHITE,
+                       drawString("Âå¶â¤¬Â­¤ê¤Ê¤¤", 20, 30, FONT_WHITE,
                                shopSurface[5]);
                        break;
                case -3:
-                       drawString("Cannot upgrade ship", 5, 22, FONT_WHITE, shopSurface[5]);
-                       drawString("Hardware capacity has been reached", 20, 38, FONT_CYAN,
+                       drawString("¶¯²½¤Ç¤­¤Ê¤¤", 5, 22, FONT_WHITE, shopSurface[5]);
+                       drawString("µ¡ÂΤ賦¤Ë㤷¤Æ¤¤¤ë", 20, 38, FONT_CYAN,
                                shopSurface[5]);
                        break;
                case -4:
-                       drawString("Ammunition limit reached", 20, 30, FONT_WHITE,
+                       drawString("ÍÆÎ̤賦¤Ë㤷¤Æ¤¤¤ë", 20, 30, FONT_WHITE,
                                shopSurface[5]);
                        break;
                case -5:
-                       drawString("You cannot sell that item", 20, 30, FONT_WHITE,
+                       drawString("¤½¤ì¤ÏÇäµÑ¤Ç¤­¤Ê¤¤", 20, 30, FONT_WHITE,
                                shopSurface[5]);
                        break;
                case -6:
-                       drawString("Nothing to sell", 20, 30, FONT_WHITE, shopSurface[5]);
+                       drawString("ÇäµÑ¤Ç¤­¤ë¤â¤Î¤¬¤Ê¤¤", 20, 30, FONT_WHITE, shopSurface[5]);
                        break;
                case -7:
-                       drawString("Rockets cannot be bought for Laser or Charger Cannon",
+                       drawString("¥ì¡¼¥¶¡¼¤Þ¤¿¤Ï¥Á¥ã¡¼¥¸¤Î¾ì¹ç¤Ï¥í¥±¥Ã¥ÈÃƤò¹ØÆþ¤Ç¤­¤Ê¤¤",
                                5, 30, FONT_WHITE, shopSurface[5]);
                        break;
                case -8:
-                       drawString("You already have that weapon", 20, 30, FONT_WHITE,
+                       drawString("´û¤ËÁõÈ÷¤·¤Æ¤¤¤ë", 20, 30, FONT_WHITE,
                                shopSurface[5]);
                        break;
                case -9:
-                       drawString("This weapon's ammo limit has been reached", 20, 30,
+                       drawString("¤½¤ÎÁõÈ÷¤Î¸Â³¦¤Ë㤷¤Æ¤¤¤ë", 20, 30,
                                FONT_WHITE, shopSurface[5]);
                        break;
                default:
@@ -324,96 +324,96 @@ void initShop()
        /* ----------- Temporary Items ----------- */
 
        shopItems[SHOP_PLASMA_MAX_OUTPUT].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MAX_OUTPUT].name, "Plasma channel splitter");
+       strcpy(shopItems[SHOP_PLASMA_MAX_OUTPUT].name, "¥×¥é¥º¥Þ¥Á¥ã¥Í¥ë ¥¹¥×¥ê¥Ã¥¿¡¼");
        strcpy(shopItems[SHOP_PLASMA_MAX_OUTPUT].description,
-               "Improves poweredup plasma output");
+               "°ì»þ¶¯²½»þ¤Î¥×¥é¥º¥Þ½ÐÎÏÈϰϤ¬Áý²Ã¤¹¤ë");
        shopItems[SHOP_PLASMA_MAX_OUTPUT].image = 9;
 
        shopItems[SHOP_PLASMA_MAX_DAMAGE].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MAX_DAMAGE].name, "Plasma capacity condensor");
+       strcpy(shopItems[SHOP_PLASMA_MAX_DAMAGE].name, "¥×¥é¥º¥Þ¥­¥ã¥Ñ¥·¥Æ¥£¡¼ ¥³¥ó¥Ç¥ó¥µ¡¼");
        strcpy(shopItems[SHOP_PLASMA_MAX_DAMAGE].description,
-               "Increases poweredup plasma damage");
+               "°ì»þ¶¯²½»þ¤Î¥×¥é¥º¥Þ²ÐÎϤ¬Áý²Ã¤¹¤ë");
        shopItems[SHOP_PLASMA_MAX_DAMAGE].image = 10;
 
        shopItems[SHOP_PLASMA_MAX_RATE].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MAX_RATE].name, "Liquid nitrogen capsules");
+       strcpy(shopItems[SHOP_PLASMA_MAX_RATE].name, "±ÕÂÎÃâÁÇ¥«¥×¥»¥ë");
        strcpy(shopItems[SHOP_PLASMA_MAX_RATE].description,
-               "Increases plasma firing rate");
+               "°ì»þ¶¯²½»þ¤ÎÏ¢¼Í®ÅÙ¤¬Áý²Ã¤¹¤ë");
        shopItems[SHOP_PLASMA_MAX_RATE].image = 11;
 
        shopItems[SHOP_PLASMA_AMMO].price = 10;
-       strcpy(shopItems[SHOP_PLASMA_AMMO].name, "10 Plasma cells");
-       strcpy(shopItems[SHOP_PLASMA_AMMO].description, "Plasma ammunition");
+       strcpy(shopItems[SHOP_PLASMA_AMMO].name, "10 ¥×¥é¥º¥Þ¥»¥ë");
+       strcpy(shopItems[SHOP_PLASMA_AMMO].description, "¥×¥é¥º¥Þ²ÐÌô");
        shopItems[SHOP_PLASMA_AMMO].image = 12;
 
        shopItems[SHOP_ROCKET_AMMO].price = 10;
-       strcpy(shopItems[SHOP_ROCKET_AMMO].name, "Rocket Ammo");
+       strcpy(shopItems[SHOP_ROCKET_AMMO].name, "¥í¥±¥Ã¥ÈÃÆ");
        strcpy(shopItems[SHOP_ROCKET_AMMO].description,
-               "High velocity dumb fire rocket");
+               "̵ͶƳ¹â®¥í¥±¥Ã¥ÈÃÆ");
        shopItems[SHOP_ROCKET_AMMO].image = 13;
 
        /* ----------- Permanent Items ----------- */
 
        shopItems[SHOP_PLASMA_MIN_OUTPUT].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MIN_OUTPUT].name, "Additional Plasma Cannon");
+       strcpy(shopItems[SHOP_PLASMA_MIN_OUTPUT].name, "¥×¥é¥º¥Þ¥«¥Î¥ó¤ÎÁýÀß");
        strcpy(shopItems[SHOP_PLASMA_MIN_OUTPUT].description,
-               "Adds an extra plasma cannon to the Firefly");
+               "¥Õ¥¡¥¤¥¢¥Õ¥é¥¤¤Ë¿·¤¿¤Ê¥×¥é¥º¥Þ¥«¥Î¥óˤ¤òÁýÀߤ¹¤ë");
        shopItems[SHOP_PLASMA_MIN_OUTPUT].image = 14;
 
        shopItems[SHOP_PLASMA_MIN_DAMAGE].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MIN_DAMAGE].name, "Plasma Power Booster");
+       strcpy(shopItems[SHOP_PLASMA_MIN_DAMAGE].name, "¥×¥é¥º¥Þ¥Ñ¥ï¡¼¥Ö¡¼¥¹¥¿¡¼");
        strcpy(shopItems[SHOP_PLASMA_MIN_DAMAGE].description,
-               "Increases power of plasma shots");
+               "¥×¥é¥º¥ÞÃƤβÐÎϤòÁýÂ礵¤»¤ë");
        shopItems[SHOP_PLASMA_MIN_DAMAGE].image = 15;
 
        shopItems[SHOP_PLASMA_MIN_RATE].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MIN_RATE].name, "Plasma Cooling Booster");
+       strcpy(shopItems[SHOP_PLASMA_MIN_RATE].name, "¥×¥é¥º¥ÞÎäµÑ¥Ö¡¼¥¹¥¿¡¼");
        strcpy(shopItems[SHOP_PLASMA_MIN_RATE].description,
-               "Permanently increases firing rate");
+               "Ï¢¼Í®ÅÙ¤òÁýÂ礵¤»¤ë");
        shopItems[SHOP_PLASMA_MIN_RATE].image = 16;
 
        /* ----------- Ammo Items -------------- */
 
        shopItems[SHOP_PLASMA_MAX_AMMO].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_PLASMA_MAX_AMMO].name, "Plasma compressor");
+       strcpy(shopItems[SHOP_PLASMA_MAX_AMMO].name, "¥×¥é¥º¥Þ¥³¥ó¥Ç¥ó¥µ¡¼");
        strcpy(shopItems[SHOP_PLASMA_MAX_AMMO].description,
-               "Increases plasma ammo capacity");
+               "¥×¥é¥º¥Þ²ÐÌô¤ÎÍÆÎ̤¬Áý²Ã¤¹¤ë");
        shopItems[SHOP_PLASMA_MAX_AMMO].image = 17;
 
        shopItems[SHOP_ROCKET_MAX_AMMO].price = 0; // Overwritten later
-       strcpy(shopItems[SHOP_ROCKET_MAX_AMMO].name, "Rocket Pod");
+       strcpy(shopItems[SHOP_ROCKET_MAX_AMMO].name, "¥í¥±¥Ã¥È¥Ý¥Ã¥É");
        strcpy(shopItems[SHOP_ROCKET_MAX_AMMO].description,
-               "Allows for an additional 5 rockets to be carried");
+               "ÁõÈ÷¤Ç¤­¤ë¥í¥±¥Ã¥ÈÃƤ¬ 5ËÜ Áý²Ã¤¹¤ë");
        shopItems[SHOP_ROCKET_MAX_AMMO].image = 18;
 
        /* ---------- Weaponary --------------- */
 
        shopItems[SHOP_DOUBLE_ROCKETS].price = 2000;
-       strcpy(shopItems[SHOP_DOUBLE_ROCKETS].name, "Dual Rocket Launcher");
+       strcpy(shopItems[SHOP_DOUBLE_ROCKETS].name, "2Ï¢Áõ¥í¥±¥Ã¥È¥é¥ó¥Á¥ã¡¼");
        strcpy(shopItems[SHOP_DOUBLE_ROCKETS].description,
-               "Allows for two rockets to be fired at once");
+               "°ìÅÙ¤Ë2ËÜ¤Î¥í¥±¥Ã¥ÈÃƤòȯ¼Í¤¹¤ë");
        shopItems[SHOP_DOUBLE_ROCKETS].image = 19;
 
        shopItems[SHOP_MICRO_ROCKETS].price = 2500;
-       strcpy(shopItems[SHOP_MICRO_ROCKETS].name, "Micro Rocket Launcher");
+       strcpy(shopItems[SHOP_MICRO_ROCKETS].name, "¥Þ¥¤¥¯¥í ¥í¥±¥Ã¥È¥é¥ó¥Á¥ã¡¼");
        strcpy(shopItems[SHOP_MICRO_ROCKETS].description,
-               "Launches several less powerful rockets at once");
+               "¿¿ô¤Î¾®·¿¥í¥±¥Ã¥ÈÃƤò°ìÅÙ¤Ëȯ¼Í¤¹¤ë");
        shopItems[SHOP_MICRO_ROCKETS].image = 20;
 
        shopItems[SHOP_LASER].price = 5000;
-       strcpy(shopItems[SHOP_LASER].name, "Laser Cannon");
-       strcpy(shopItems[SHOP_LASER].description, "Laser Cannon");
+       strcpy(shopItems[SHOP_LASER].name, "¥ì¡¼¥¶¡¼¥«¥Î¥ó");
+       strcpy(shopItems[SHOP_LASER].description, "¥ì¡¼¥¶¡¼¥«¥Î¥ó");
        shopItems[SHOP_LASER].image = 21;
 
        shopItems[SHOP_HOMING_MISSILE].price = 7500;
-       strcpy(shopItems[SHOP_HOMING_MISSILE].name, "Homing Missile Launcher");
+       strcpy(shopItems[SHOP_HOMING_MISSILE].name, "ͶƳ¥ß¥µ¥¤¥ë¥é¥ó¥Á¥ã¡¼");
        sprintf(shopItems[SHOP_HOMING_MISSILE].description,
-               "Fires homing missile (max %i missiles)", maxHoming);
+               "ͶƳ¥ß¥µ¥¤¥ë¤òȯ¼Í¤¹¤ë (ºÇÂç %iËÜ)", maxHoming);
        shopItems[SHOP_HOMING_MISSILE].image = 22;
 
        shopItems[SHOP_CHARGER].price = 10000;
-       strcpy(shopItems[SHOP_CHARGER].name, "Charge Cannon");
-       strcpy(shopItems[SHOP_CHARGER].description, "A charge up cannon");
+       strcpy(shopItems[SHOP_CHARGER].name, "¥Á¥ã¡¼¥¸¥«¥Î¥ó");
+       strcpy(shopItems[SHOP_CHARGER].description, "¥¨¥Í¥ë¥®¡¼¤ò½¼Å¶¤¹¤ë¥«¥Î¥óˤ");
        shopItems[SHOP_CHARGER].image = 23;
 
        shopItems[SHOP_DOUBLE_HOMING_MISSILES].price = 10000;