1baf038448
the C source in the distribution. There are still multi-line C strings in the generated C source, but I'll leave that for someone more versed in Perl than I am.
165 lines
5.5 KiB
Text
165 lines
5.5 KiB
Text
$NetBSD: patch-ac,v 1.3 2004/01/19 08:45:48 agc Exp $
|
||
|
||
--- action.c 2004/01/19 00:15:08 1.1
|
||
+++ action.c 2004/01/19 00:18:13
|
||
@@ -36,8 +36,8 @@
|
||
hook_action_talk(int cur_scene, const char *verb, const char *obj)
|
||
{
|
||
if(you.f_ignore_talk){
|
||
- fmtmsg("話しかけようとしたが,あなたは無視された。
|
||
-着ているものがいけないような気がする。", obj);
|
||
+ fmtmsg("話しかけようとしたが,あなたは無視された。\n"
|
||
+"着ているものがいけないような気がする。", obj);
|
||
return MIN_OK;
|
||
}
|
||
|
||
@@ -102,80 +102,80 @@
|
||
int
|
||
def_action_help(int cur_scene, const char *verb, const char *obj)
|
||
{
|
||
- fmtmsg("
|
||
-コマンドは基本的に
|
||
-
|
||
-[動詞] [目的語]
|
||
-
|
||
-で指示する。大文字小文字は無視される。
|
||
-目的語を省略すると適当な相手が選ばれる。
|
||
-よく使うコマンドは一文字をタイプするだけでよい。
|
||
-
|
||
---よく使うコマンド--
|
||
-
|
||
-$bH$nelp または ? :この文章を表示
|
||
-$bE$nast :東へ歩く
|
||
-$bW$nest :西へ歩く
|
||
-$bN$north :北へ歩く
|
||
-$bS$nouth :南へ歩く
|
||
-$bI$nnventory :所持金/持ち物表示
|
||
-Enter :中に入る
|
||
-Exit :中から出る
|
||
-Look :あたりを見わたす
|
||
-Use :道具を使用する/武器を装備する
|
||
-Wear/Put on :着る/被る
|
||
-Take off :脱ぐ/武器の装備を解く
|
||
-Buy :買う
|
||
-Open :開ける
|
||
-Close :閉じる
|
||
-
|
||
-License :ゲームのライセンスの表示
|
||
-Version :バージョンの表示
|
||
-
|
||
-Save <file> :ゲームを<file>に保存して中断する
|
||
-$P
|
||
-ホームディレクトリに .minamircというファイルを置くことにより,
|
||
-自分の名前やラスボスの名前を変えることができる。
|
||
-
|
||
---設定例--
|
||
-name=一成
|
||
-friend=智子
|
||
-nemesis=社長
|
||
-");
|
||
+ fmtmsg("\n"
|
||
+"コマンドは基本的に\n"
|
||
+"\n"
|
||
+"[動詞] [目的語]\n"
|
||
+"\n"
|
||
+"で指示する。大文字小文字は無視される。\n"
|
||
+"目的語を省略すると適当な相手が選ばれる。\n"
|
||
+"よく使うコマンドは一文字をタイプするだけでよい。\n"
|
||
+"\n"
|
||
+"--よく使うコマンド--\n"
|
||
+"\n"
|
||
+"$bH$nelp または ? :この文章を表示\n"
|
||
+"$bE$nast :東へ歩く\n"
|
||
+"$bW$nest :西へ歩く\n"
|
||
+"$bN$north :北へ歩く\n"
|
||
+"$bS$nouth :南へ歩く\n"
|
||
+"$bI$nnventory :所持金/持ち物表示\n"
|
||
+"Enter :中に入る\n"
|
||
+"Exit :中から出る\n"
|
||
+"Look :あたりを見わたす\n"
|
||
+"Use :道具を使用する/武器を装備する\n"
|
||
+"Wear/Put on :着る/被る\n"
|
||
+"Take off :脱ぐ/武器の装備を解く\n"
|
||
+"Buy :買う\n"
|
||
+"Open :開ける\n"
|
||
+"Close :閉じる\n"
|
||
+"\n"
|
||
+"License :ゲームのライセンスの表示\n"
|
||
+"Version :バージョンの表示\n"
|
||
+"\n"
|
||
+"Save <file> :ゲームを<file>に保存して中断する\n"
|
||
+"$P\n"
|
||
+"ホームディレクトリに .minamircというファイルを置くことにより,\n"
|
||
+"自分の名前やラスボスの名前を変えることができる。\n"
|
||
+"\n"
|
||
+"--設定例--\n"
|
||
+"name=一成\n"
|
||
+"friend=智子\n"
|
||
+"nemesis=社長\n"
|
||
+);
|
||
return cur_scene;
|
||
}
|
||
|
||
int
|
||
def_action_license(int cur_scene, const char *verb, const char *obj)
|
||
{
|
||
- rawmsg("
|
||
-MINAMI SHINJUKU ADVENTURE
|
||
-
|
||
-Copyright (c) 2001
|
||
- Issei Numata and ASCII CORPORATION. All rights reserved.
|
||
-
|
||
-Redistribution and use in source and binary forms, with or without
|
||
-modification, are permitted provided that the following conditions
|
||
-are met:
|
||
-1. Redistributions of source code must retain the above copyright
|
||
- notice, this list of conditions and the following disclaimer,
|
||
- verbatim and that no modifications are made prior to this
|
||
- point in the file.
|
||
-2. Redistributions in binary form must reproduce the above copyright
|
||
- notice, this list of conditions and the following disclaimer in the
|
||
- documentation and/or other materials provided with the distribution.
|
||
-
|
||
-THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND
|
||
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
-ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR THEIR PETS BE LIABLE
|
||
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
-OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
-SUCH DAMAGE.
|
||
-");
|
||
+ rawmsg("\n"
|
||
+"MINAMI SHINJUKU ADVENTURE\n"
|
||
+"\n"
|
||
+"Copyright (c) 2001\n"
|
||
+" Issei Numata and ASCII CORPORATION. All rights reserved.\n"
|
||
+"\n"
|
||
+"Redistribution and use in source and binary forms, with or without\n"
|
||
+"modification, are permitted provided that the following conditions\n"
|
||
+"are met:\n"
|
||
+"1. Redistributions of source code must retain the above copyright\n"
|
||
+" notice, this list of conditions and the following disclaimer,\n"
|
||
+" verbatim and that no modifications are made prior to this\n"
|
||
+" point in the file.\n"
|
||
+"2. Redistributions in binary form must reproduce the above copyright\n"
|
||
+" notice, this list of conditions and the following disclaimer in the\n"
|
||
+" documentation and/or other materials provided with the distribution.\n"
|
||
+"\n"
|
||
+"THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND\n"
|
||
+"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n"
|
||
+"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n"
|
||
+"ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR THEIR PETS BE LIABLE\n"
|
||
+"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n"
|
||
+"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n"
|
||
+"OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)\n"
|
||
+"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n"
|
||
+"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n"
|
||
+"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n"
|
||
+"SUCH DAMAGE.\n"
|
||
+);
|
||
return cur_scene;
|
||
}
|