OSDN Git Service

hengband/hengband.git
9 years agoAdd Doxygen comments to function for special effects spells in spells2.c.
Deskull [Sun, 20 Jul 2014 07:48:46 +0000 (16:48 +0900)]
Add Doxygen comments to function for special effects spells in spells2.c.

9 years agoAdd Doxygen comments of functions for projection in spells2.c.
Deskull [Sun, 20 Jul 2014 07:37:48 +0000 (16:37 +0900)]
Add Doxygen comments of functions for projection in spells2.c.

9 years agoAdd Doxygen comments to functions for ball spells in spells2.c.
Deskull [Sun, 20 Jul 2014 06:53:18 +0000 (15:53 +0900)]
Add Doxygen comments to functions for ball spells in spells2.c.

9 years agoAdd Doxygen comments of argument functions in spell2.c.
Deskull [Fri, 18 Jul 2014 13:00:06 +0000 (22:00 +0900)]
Add Doxygen comments of argument functions in spell2.c.

9 years agoAdd Doxygen comments to functions of cave calculation in spells2.c.
Deskull [Tue, 15 Jul 2014 12:07:41 +0000 (21:07 +0900)]
Add Doxygen comments to functions of cave calculation in spells2.c.

9 years agoAdd Doxygen comments to functions of cave effects in spells2.c.
Deskull [Tue, 15 Jul 2014 11:57:24 +0000 (20:57 +0900)]
Add Doxygen comments to functions of cave effects in spells2.c.

9 years agoAdd Doxygen comments to functions of genocide and destruction effect in spells2.c.
Deskull [Tue, 15 Jul 2014 11:49:24 +0000 (20:49 +0900)]
Add Doxygen comments to functions of genocide and destruction effect in spells2.c.

9 years agoAdd Doxygen comments to dispel effect functions in spells2.c.
Deskull [Tue, 15 Jul 2014 11:37:04 +0000 (20:37 +0900)]
Add Doxygen comments to dispel effect functions in spells2.c.

9 years agoAdd Doxygen comments to others detection functions in spells2.c.
Deskull [Tue, 15 Jul 2014 11:26:09 +0000 (20:26 +0900)]
Add Doxygen comments to others detection functions in spells2.c.

9 years agoAdd Doxygen comments to functions in spells2.c.
Deskull [Tue, 15 Jul 2014 11:18:13 +0000 (20:18 +0900)]
Add Doxygen comments to functions in spells2.c.

9 years agoAdd Doxygen comments to functions in spells2.c.
Deskull [Tue, 15 Jul 2014 11:08:28 +0000 (20:08 +0900)]
Add Doxygen comments to functions in spells2.c.

9 years agoAdd Doxygen comments to variables and definitions in spells1.c.
Deskull [Tue, 15 Jul 2014 10:44:15 +0000 (19:44 +0900)]
Add Doxygen comments to variables and definitions in spells1.c.

9 years agoAdd Doxygen comments to functions in spells1.c.
Deskull [Tue, 15 Jul 2014 10:28:07 +0000 (19:28 +0900)]
Add Doxygen comments to functions in spells1.c.

9 years agoAdd a Doxygen comment to project() in spell1.c.
Deskull [Tue, 15 Jul 2014 10:14:48 +0000 (19:14 +0900)]
Add a Doxygen comment to project() in spell1.c.

9 years agoAdd Doxygen comment to member of structure in bldg.c.
Deskull [Mon, 14 Jul 2014 12:02:59 +0000 (21:02 +0900)]
Add Doxygen comment to member of structure in bldg.c.

9 years agoAdd Doxygen comments to functions in report.c.
Deskull [Mon, 14 Jul 2014 11:57:23 +0000 (20:57 +0900)]
Add Doxygen comments to functions in report.c.

9 years agoAdd Doxygen comments to definition in report.c.
Deskull [Mon, 14 Jul 2014 11:45:10 +0000 (20:45 +0900)]
Add Doxygen comments to definition in report.c.

9 years agoAdd Doxygen file header to spell4.c.
Deskull [Mon, 14 Jul 2014 11:36:05 +0000 (20:36 +0900)]
Add Doxygen file header to spell4.c.

9 years agoAdd Doxygen comments to functions in scores.c.
Deskull [Mon, 14 Jul 2014 11:24:14 +0000 (20:24 +0900)]
Add Doxygen comments to functions in scores.c.

9 years agoAdd Doxygen comments to functions in scores.c.
Deskull [Mon, 14 Jul 2014 11:14:05 +0000 (20:14 +0900)]
Add Doxygen comments to functions in scores.c.

9 years agoAdd Doxygen comments to functions in scores.c.
Deskull [Mon, 14 Jul 2014 10:34:07 +0000 (19:34 +0900)]
Add Doxygen comments to functions in scores.c.

9 years agoAdd Doxygen comments to definition in monster2.c.
Deskull [Mon, 14 Jul 2014 10:18:35 +0000 (19:18 +0900)]
Add Doxygen comments to definition in monster2.c.

9 years agoAdd Doxygen comments of variables in monster2.c.
Deskull [Mon, 14 Jul 2014 09:58:10 +0000 (18:58 +0900)]
Add Doxygen comments of variables in monster2.c.

9 years agoRemove temporary source files.
Deskull [Mon, 14 Jul 2014 09:39:12 +0000 (18:39 +0900)]
Remove temporary source files.

9 years agoAdd Doxygen comments to save.c.
Deskull [Sat, 12 Jul 2014 09:40:16 +0000 (18:40 +0900)]
Add Doxygen comments to save.c.

9 years agoAdd Doxygen comments to save.c.
Deskull [Sat, 12 Jul 2014 09:32:38 +0000 (18:32 +0900)]
Add Doxygen comments to save.c.

9 years agoAdd Doxygen comments to save.c.
Deskull [Sat, 12 Jul 2014 09:12:41 +0000 (18:12 +0900)]
Add Doxygen comments to save.c.

9 years agoAdd Doxygen comments to save.c.
Deskull [Sat, 12 Jul 2014 08:48:04 +0000 (17:48 +0900)]
Add Doxygen comments to save.c.

9 years agoAdd Doxygen comments to save.c.
Deskull [Sat, 12 Jul 2014 08:02:59 +0000 (17:02 +0900)]
Add Doxygen comments to save.c.

9 years agoAdd Doxygen comments to spells1.c.
Deskull [Thu, 10 Jul 2014 13:14:07 +0000 (22:14 +0900)]
Add Doxygen comments to spells1.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Thu, 10 Jul 2014 12:55:38 +0000 (21:55 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 14:16:11 +0000 (23:16 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 14:00:26 +0000 (23:00 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 13:43:22 +0000 (22:43 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 13:19:52 +0000 (22:19 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 13:05:28 +0000 (22:05 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 12:15:21 +0000 (21:15 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comments to monster2.c.
Deskull [Tue, 8 Jul 2014 12:05:55 +0000 (21:05 +0900)]
Add Doxygen comments to monster2.c.

9 years agoAdd Doxygen comment to load.c.
Deskull [Mon, 7 Jul 2014 13:33:05 +0000 (22:33 +0900)]
Add Doxygen comment to load.c.

9 years agoAdd Doxygen comment to load.c.
Deskull [Mon, 7 Jul 2014 13:11:14 +0000 (22:11 +0900)]
Add Doxygen comment to load.c.

9 years agoAdd Doxygen comments to load.c.
Deskull [Mon, 7 Jul 2014 12:57:40 +0000 (21:57 +0900)]
Add Doxygen comments to load.c.

9 years agoAdd Doxygen comments to load.c.
Deskull [Mon, 7 Jul 2014 12:48:24 +0000 (21:48 +0900)]
Add Doxygen comments to load.c.

9 years agoAdd Doxygen comments to load.c.
Deskull [Mon, 7 Jul 2014 12:39:19 +0000 (21:39 +0900)]
Add Doxygen comments to load.c.

9 years agoAdd Doxygen header to japanese.c.
Deskull [Mon, 7 Jul 2014 12:29:00 +0000 (21:29 +0900)]
Add Doxygen header to japanese.c.

9 years agoDoxygen設定ファイルの修正。
Deskull [Sat, 28 Jun 2014 12:55:13 +0000 (21:55 +0900)]
Doxygen設定ファイルの修正。

9 years agojapanese.cの関数にDoxygen用コメントを付与。
Deskull [Sat, 28 Jun 2014 11:45:54 +0000 (20:45 +0900)]
japanese.cの関数にDoxygen用コメントを付与。

9 years agoフォーラムメッセージ https://sourceforge.jp/projects/hengband/forums/30152/33687/72875/
Deskull [Sat, 28 Jun 2014 11:04:23 +0000 (20:04 +0900)]
フォーラムメッセージ https://sourceforge.jp/projects/hengband/forums/30152/33687/72875/
に従って、Term_fresh()関数を修正。

9 years ago『ボルガ博士』にCAN_SPEAK追加。
Deskull [Sat, 28 Jun 2014 10:41:32 +0000 (19:41 +0900)]
『ボルガ博士』にCAN_SPEAK追加。

9 years agoVC++2010向けのReleaseコンパイル設定を修正。
Deskull [Sat, 28 Jun 2014 10:21:04 +0000 (19:21 +0900)]
VC++2010向けのReleaseコンパイル設定を修正。

10 years agoAdd comment to music.cfg.
Deskull [Thu, 3 Apr 2014 12:27:36 +0000 (21:27 +0900)]
Add comment to music.cfg.

10 years agoAdd comments to music.cfg.
Deskull [Wed, 2 Apr 2014 13:24:45 +0000 (22:24 +0900)]
Add comments to music.cfg.

10 years agostart v2.1.5
dis- [Wed, 2 Apr 2014 00:15:37 +0000 (09:15 +0900)]
start v2.1.5

10 years agoReactivate BOM for fxxkin' Visual Studio v2.1.4
Habu [Tue, 25 Mar 2014 03:43:01 +0000 (12:43 +0900)]
Reactivate BOM for fxxkin' Visual Studio

10 years agofix compile error on English version
dis- [Tue, 25 Mar 2014 03:04:57 +0000 (12:04 +0900)]
fix compile error on English version

10 years agoRemove debug message
Habu [Fri, 14 Mar 2014 13:33:36 +0000 (22:33 +0900)]
Remove debug message

10 years agoRefacotr: replace ifdef JP macros
dis- [Thu, 13 Mar 2014 07:56:13 +0000 (16:56 +0900)]
Refacotr: replace ifdef JP macros

10 years agoRefacotr: replace ifdef JP macros
dis- [Thu, 13 Mar 2014 03:50:42 +0000 (12:50 +0900)]
Refacotr: replace ifdef JP macros

10 years agofix encoding
dis- [Wed, 12 Mar 2014 09:18:54 +0000 (18:18 +0900)]
fix encoding

10 years agoRefactor: replace ifdef JP macro
dis- [Wed, 12 Mar 2014 09:11:06 +0000 (18:11 +0900)]
Refactor: replace ifdef JP macro

10 years ago射撃威力の表示もブレス等と同条件に変更
dis- [Tue, 11 Mar 2014 10:35:59 +0000 (19:35 +0900)]
射撃威力の表示もブレス等と同条件に変更

10 years agoモンスターの思い出の挙動を変更。
dis- [Tue, 11 Mar 2014 10:25:53 +0000 (19:25 +0900)]
モンスターの思い出の挙動を変更。
デフォルトでは魔法/ブレスの攻撃力を非表示に。
スキャン・モンスターまたは十分数のモンスターを倒すことで最大HP、AC、魔法/ブレスの攻撃力を表示。

10 years agoadd mktemp argument
dis- [Tue, 11 Mar 2014 08:22:57 +0000 (17:22 +0900)]
add mktemp argument

10 years agoコンパイル時にNKFを使用して文字コードを変換するようにした
Habu [Mon, 10 Mar 2014 13:55:27 +0000 (22:55 +0900)]
コンパイル時にNKFを使用して文字コードを変換するようにした

古い環境のiconvではEUC-JP-MSをサポートしていないので、
-fexec-charset=EUC-JP-MS が使えずコンパイルができないため、NKFを使
用してソースコードを変換するようにした。
また、内部でのiconvの変換はEUC-JPに戻し、iconvに渡す前にCP932から
Unicodeマッピングした文字コードをJISのUnicodeに変換するようにした。

10 years agoWindowsで変換不可能な全角マイナス(U+2212)を変換可能な文字に調整
Habu [Mon, 10 Mar 2014 12:49:53 +0000 (21:49 +0900)]
Windowsで変換不可能な全角マイナス(U+2212)を変換可能な文字に調整

10 years agoMerge branch 'dash-tilde-fix'
Habu [Sat, 8 Mar 2014 17:11:19 +0000 (02:11 +0900)]
Merge branch 'dash-tilde-fix'

10 years agoascii_to_zenkakuの全角マイナス記号を適切なものに修正
Habu [Sat, 8 Mar 2014 16:59:05 +0000 (01:59 +0900)]
ascii_to_zenkakuの全角マイナス記号を適切なものに修正

10 years agoiconvに渡す文字コードをEUC-JP-MSに変更
Habu [Sat, 8 Mar 2014 15:58:35 +0000 (00:58 +0900)]
iconvに渡す文字コードをEUC-JP-MSに変更

iconvに渡す文字コードがEUC-JPでは「〜」は波ダッシュ(U+301C)を想定する
ため、全角チルダ(U+FF5E)を正常に処理できず文字化けを起こしてしまう。
(いわゆる波ダッシュ・全角チルダ問題)

全角チルダを正常に変換し表示できるようにするため、EUC-JP-MSを渡すよう
にした。

10 years ago全角ダッシュ、波ダッシュの文字コードを統一
Habu [Sat, 8 Mar 2014 14:57:31 +0000 (23:57 +0900)]
全角ダッシュ、波ダッシュの文字コードを統一

各ファイルにわたって全角ダッシュと波ダッシュの文字コードがまちまちなの
で、全角ダッシュを(U+2015)、波ダッシュを(U+FF5E)に統一した。

本来、波ダッシュはUnicode上の位置は(U+301C)だが、Windows環境においては
波ダッシュが不適切に扱われておりCP932に変換できないため、全角チルダ
(U+FF5E)とした。

10 years agoInitialize Rand_state directly insted of using temporary buffer
Habu [Sat, 8 Mar 2014 13:04:39 +0000 (22:04 +0900)]
Initialize Rand_state directly insted of using temporary buffer

10 years agoMerge branch 'RNG-improve'
Habu [Sat, 8 Mar 2014 12:43:50 +0000 (21:43 +0900)]
Merge branch 'RNG-improve'

10 years agomove score-server
dis- [Sat, 8 Mar 2014 11:37:52 +0000 (20:37 +0900)]
move score-server

10 years agoUse CryptGenRandom() for RNG initialize in Windows
Habu [Fri, 7 Mar 2014 15:31:12 +0000 (00:31 +0900)]
Use CryptGenRandom() for RNG initialize in Windows

10 years agoRNGの初期シードに /dev/urandom を使用するようにした
Habu [Fri, 7 Mar 2014 13:38:37 +0000 (22:38 +0900)]
RNGの初期シードに /dev/urandom を使用するようにした

configureで /dev/urandom の存在をチェックし、存在する場合は使用する。
存在しない場合はこれまでどおりtime()関数などを使用する。

10 years agoゲームに関係しない箇所での乱数の消費を避けるように修正
Habu [Fri, 7 Mar 2014 13:26:39 +0000 (22:26 +0900)]
ゲームに関係しない箇所での乱数の消費を避けるように修正

 - セーブファイルのロード時に無駄な荒野生成をしていた箇所を削除
   (荒野マップデータはすぐにセーブファイルから上書きされる)
 - セーブ時にXOR用初期バイトと生成に乱数を消費していた箇所を
   Rand_externalを使用するように修正

10 years agoChange uniform distribution RNG method
Habu [Thu, 6 Mar 2014 12:43:20 +0000 (21:43 +0900)]
Change uniform distribution RNG method

真の一様分布を得るため、分布で割った余りを使用する方法から
分布でスケーリングした範囲を割り算する方法に変更

10 years agoAdd some entries to .gitignore
Habu [Thu, 6 Mar 2014 09:26:24 +0000 (18:26 +0900)]
Add some entries to .gitignore

10 years agoavoid assertion of argument range in function isprint()
Habu [Thu, 6 Mar 2014 09:23:42 +0000 (18:23 +0900)]
avoid assertion of argument range in function isprint()

VSのDebugモードでコンパイルするとモンスターの思い出表示等で2バイト文字の片割れを
isprint()に渡してしまい、引数範囲のassertionにひっかかってしまうので、2バイト文字か
どうかの判定をisprint()より先に移動し、2バイト文字ならisprint()が呼ばれないようにした。

10 years agoAdd a check on the existence of libiconv
Habu [Mon, 3 Mar 2014 03:48:28 +0000 (12:48 +0900)]
Add a check on the existence of libiconv

glibcにiconv関数が統合されていない環境を考慮し、libiconvが存在する場合は
gccのオプションに-liconvが付加されるようにした。

10 years agoMerge branch 'experimental-utf8nize-convert-to-utf8'
Habu [Fri, 28 Feb 2014 13:54:34 +0000 (22:54 +0900)]
Merge branch 'experimental-utf8nize-convert-to-utf8'

10 years agoguess_convert_to_system_encodingをJPが定義されている時のみ呼ぶように修正
Habu [Fri, 28 Feb 2014 13:49:54 +0000 (22:49 +0900)]
guess_convert_to_system_encodingをJPが定義されている時のみ呼ぶように修正

10 years agogccのオプションに--exec-charset=EUC-JPが付加されるように修正
Habu [Fri, 28 Feb 2014 13:40:43 +0000 (22:40 +0900)]
gccのオプションに--exec-charset=EUC-JPが付加されるように修正

10 years agoハイフン→ダッシュに修正
Habu [Fri, 28 Feb 2014 13:32:58 +0000 (22:32 +0900)]
ハイフン→ダッシュに修正

10 years agoangband.rcをシフトJISに変換
Habu [Fri, 28 Feb 2014 13:10:52 +0000 (22:10 +0900)]
angband.rcをシフトJISに変換

10 years agoソースコードのUTF-8化。
Habu [Fri, 28 Feb 2014 13:08:47 +0000 (22:08 +0900)]
ソースコードのUTF-8化。
VSはBOM付きしか正常に開けないのでBOM付きファイルに。

10 years agoソースコード以外のテキストファイルをUTF-8に変換
Habu [Fri, 28 Feb 2014 12:17:13 +0000 (21:17 +0900)]
ソースコード以外のテキストファイルをUTF-8に変換

10 years agoutf8_to_sysにUNIX用の UTF-8 -> EUC-JP 変換を実装
Habu [Fri, 28 Feb 2014 12:09:04 +0000 (21:09 +0900)]
utf8_to_sysにUNIX用の UTF-8 -> EUC-JP 変換を実装

10 years agoバッファオーバーの可能性に関する修正と、変換失敗時のメッセージ表示追加
Habu [Thu, 27 Feb 2014 14:36:04 +0000 (23:36 +0900)]
バッファオーバーの可能性に関する修正と、変換失敗時のメッセージ表示追加

10 years agoコメントの誤りを修正
Habu [Thu, 27 Feb 2014 14:32:19 +0000 (23:32 +0900)]
コメントの誤りを修正

10 years agoファイルの読み込み時に文字コードを適切なものに変換するように修正
Habu [Wed, 26 Feb 2014 14:41:05 +0000 (23:41 +0900)]
ファイルの読み込み時に文字コードを適切なものに変換するように修正

ファイルを読み込み時に文字コードがUTF-8かどうかを推測し、UTF-8ならば
システムの文字コード(WindowsならCP932、Linux/UNIXならEUC-JP)に
変換して読み込むようにした。

10 years agoMerge branch 'master' of github.com:/dis-/hengband
dis- [Fri, 28 Feb 2014 03:12:13 +0000 (12:12 +0900)]
Merge branch 'master' of github.com:/dis-/hengband

10 years agoFix preprocessor error about music implementation and music.cfg.
Deskull [Thu, 27 Feb 2014 14:59:27 +0000 (23:59 +0900)]
Fix preprocessor error about music implementation and music.cfg.

10 years agorefactor: replace ifdef macro in spells1.c
dis- [Thu, 27 Feb 2014 03:39:16 +0000 (12:39 +0900)]
refactor: replace ifdef macro in spells1.c

10 years agorefactor: blue-mage spell damage explain
dis- [Wed, 26 Feb 2014 07:00:40 +0000 (16:00 +0900)]
refactor: blue-mage spell damage explain

10 years agofix typo
dis- [Tue, 25 Feb 2014 10:35:48 +0000 (19:35 +0900)]
fix typo

10 years agorefactor: share monspell_damage in cast_learned_spell
dis- [Tue, 25 Feb 2014 10:31:55 +0000 (19:31 +0900)]
refactor: share monspell_damage in cast_learned_spell

10 years agoshow all mon_spell damage
dis- [Mon, 24 Feb 2014 13:37:55 +0000 (22:37 +0900)]
show all mon_spell damage

10 years agoenable to get mon_spell_damage by race
dis- [Mon, 24 Feb 2014 10:00:38 +0000 (19:00 +0900)]
enable to get mon_spell_damage by race

10 years agoadd comments
dis- [Mon, 24 Feb 2014 02:41:54 +0000 (11:41 +0900)]
add comments

refactor: create monspell_damage()

refactor: remove duplicated spell_damage definition from process_warning

10 years agorefactor: extract summoning functions in monst_spell_monst
dis- [Sun, 23 Feb 2014 15:11:43 +0000 (00:11 +0900)]
refactor: extract summoning functions in monst_spell_monst

10 years agorefactor: RF6_SPECIAL, RF6_TELE*
dis- [Sat, 22 Feb 2014 11:47:02 +0000 (20:47 +0900)]
refactor: RF6_SPECIAL, RF6_TELE*