OSDN Git Service

hengband/hengband.git
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*

10 years agorefactor: extract monst_spell_monst
dis- [Fri, 21 Feb 2014 16:32:18 +0000 (01:32 +0900)]
refactor: extract monst_spell_monst

10 years agoDisplay shooting power on monster description.
Deskull [Fri, 21 Feb 2014 13:45:51 +0000 (22:45 +0900)]
Display shooting power on monster description.

10 years agorefactor: extract damage spells in monst_spell_monst
dis- [Thu, 20 Feb 2014 08:35:53 +0000 (17:35 +0900)]
refactor: extract damage spells in monst_spell_monst

10 years agoModify .gitignore
Habu [Wed, 19 Feb 2014 12:48:49 +0000 (21:48 +0900)]
Modify .gitignore

Add ignore directory 'lib/save/'.

10 years agoRefactor: change jverb() from stupid 'if-else' enumeration to reference table
Habu [Wed, 19 Feb 2014 11:47:37 +0000 (20:47 +0900)]
Refactor: change jverb() from stupid 'if-else' enumeration to reference table

10 years agorefactor: extract breath spells in monst_spell_monst
dis- [Wed, 19 Feb 2014 09:12:12 +0000 (18:12 +0900)]
refactor: extract breath spells in monst_spell_monst

10 years agorefactor: integrate monst_beam_monst, monst_bolt_monst
dis- [Wed, 19 Feb 2014 07:53:07 +0000 (16:53 +0900)]
refactor: integrate monst_beam_monst, monst_bolt_monst

10 years agorefactor: integrate monst_breath_monst() into breath
dis- [Wed, 19 Feb 2014 07:29:45 +0000 (16:29 +0900)]
refactor: integrate monst_breath_monst() into breath

10 years agorefactor: remove learnable from arguments
dis- [Wed, 19 Feb 2014 06:48:27 +0000 (15:48 +0900)]
refactor: remove learnable from arguments

10 years agorefactor: simplify the arguments in mspells_4.c
dis- [Wed, 19 Feb 2014 03:14:48 +0000 (12:14 +0900)]
refactor: simplify the arguments in mspells_4.c

10 years agoadd mspells4.c on makefile.*
dis- [Tue, 18 Feb 2014 14:14:20 +0000 (23:14 +0900)]
add mspells4.c on makefile.*

10 years agoadd mspells4.c on makefile.bcc
dis- [Tue, 18 Feb 2014 14:06:36 +0000 (23:06 +0900)]
add mspells4.c on makefile.bcc

10 years agofix argument on calling RF6_TELE_AWAY
dis- [Tue, 18 Feb 2014 13:53:27 +0000 (22:53 +0900)]
fix argument on calling RF6_TELE_AWAY

10 years agoadd mspells4.c in Makefile.am
dis- [Tue, 18 Feb 2014 13:39:29 +0000 (22:39 +0900)]
add mspells4.c in Makefile.am

10 years agoFix comments.
Deskull [Tue, 18 Feb 2014 13:33:18 +0000 (22:33 +0900)]
Fix comments.

10 years agoAdd Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 13:23:18 +0000 (22:23 +0900)]
Add Doxygen comment to wizard1.c.

10 years agoAdd Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 12:58:26 +0000 (21:58 +0900)]
Add Doxygen comment to wizard1.c.

10 years agoAdd Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 12:39:13 +0000 (21:39 +0900)]
Add Doxygen comment to wizard1.c.

10 years agoFix argument on calling RF6_TELE_AWAY().
Deskull [Tue, 18 Feb 2014 12:14:59 +0000 (21:14 +0900)]
Fix argument on calling RF6_TELE_AWAY().

10 years agoAdd mspells4.c to VC project files.
Deskull [Tue, 18 Feb 2014 12:08:27 +0000 (21:08 +0900)]
Add mspells4.c to VC project files.
Fix encoding of mspells1.c, mspells4.c.

10 years agorefactor: extract switch in make_attack_spell
dis- [Tue, 18 Feb 2014 09:24:21 +0000 (18:24 +0900)]
refactor: extract switch in make_attack_spell

10 years agorefactor: replace #ifdef JP macros on make_attack_spell
dis- [Tue, 18 Feb 2014 04:34:57 +0000 (13:34 +0900)]
refactor: replace #ifdef JP macros on make_attack_spell

10 years agorefactor: extract ball/bolt spells in make_attack_spell
dis- [Tue, 18 Feb 2014 02:29:34 +0000 (11:29 +0900)]
refactor: extract ball/bolt spells in make_attack_spell

10 years agorefactor: extract ball functions in make_attack_spell
dis- [Mon, 17 Feb 2014 10:07:54 +0000 (19:07 +0900)]
refactor: extract ball functions in make_attack_spell

10 years agorefactor: extract breath functions in make_attack_spell
dis- [Mon, 17 Feb 2014 07:29:07 +0000 (16:29 +0900)]
refactor: extract breath functions in make_attack_spell

10 years agoAdd Doxygen comment to wizard1.c.
Deskull [Mon, 17 Feb 2014 13:30:48 +0000 (22:30 +0900)]
Add Doxygen comment to wizard1.c.

10 years agoAdd Doxygen comment to wizard1.c.
Deskull [Mon, 17 Feb 2014 12:59:01 +0000 (21:59 +0900)]
Add Doxygen comment to wizard1.c.

10 years agoMerge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband
Deskull [Mon, 17 Feb 2014 11:53:29 +0000 (20:53 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband

10 years agoTemporary revert of tiling implement.
Deskull [Mon, 17 Feb 2014 11:52:03 +0000 (20:52 +0900)]
Temporary revert of tiling implement.

10 years agorefactor: replace #ifdef JP macros on make_attack_spell
dis- [Sun, 16 Feb 2014 10:27:53 +0000 (19:27 +0900)]
refactor: replace #ifdef JP macros on make_attack_spell

10 years agorefactor: replace #ifdef JP macros
dis- [Sun, 16 Feb 2014 01:38:06 +0000 (10:38 +0900)]
refactor: replace #ifdef JP macros

10 years agoExtend features of tiling. (separation of Cell size and Tile size / add offset position.)
Deskull [Sun, 16 Feb 2014 00:25:48 +0000 (09:25 +0900)]
Extend features of tiling. (separation of Cell size and Tile size / add offset position.)

10 years agoDelete temporary files.
Deskull [Sat, 15 Feb 2014 14:20:42 +0000 (23:20 +0900)]
Delete temporary files.
Expanding implementation for tiling.

10 years agoAdd Doxygen comment to monster1.c.
Deskull [Sat, 15 Feb 2014 12:54:28 +0000 (21:54 +0900)]
Add Doxygen comment to monster1.c.

10 years agoAdd Doxygen comment to monster1.c.
Deskull [Sat, 15 Feb 2014 12:36:16 +0000 (21:36 +0900)]
Add Doxygen comment to monster1.c.

10 years agoAdd Doxygen comment to monster1.c.
Deskull [Sat, 15 Feb 2014 12:19:40 +0000 (21:19 +0900)]
Add Doxygen comment to monster1.c.

10 years agoAdd Doxygen comments to wild.c.
Deskull [Fri, 14 Feb 2014 14:30:37 +0000 (23:30 +0900)]
Add Doxygen comments to wild.c.

10 years agoAdd Doxygen comment to wild.c
Deskull [Fri, 14 Feb 2014 14:09:51 +0000 (23:09 +0900)]
Add Doxygen comment to wild.c

10 years agoFix coding mismatch.
Deskull [Fri, 14 Feb 2014 13:37:51 +0000 (22:37 +0900)]
Fix coding mismatch.

10 years agoupdate explain of charge-drain attack
dis- [Fri, 14 Feb 2014 08:39:43 +0000 (17:39 +0900)]
update explain of charge-drain attack

10 years agoMerge branch 'master' of github.com:dis-/hengband
dis- [Fri, 14 Feb 2014 07:58:23 +0000 (16:58 +0900)]
Merge branch 'master' of github.com:dis-/hengband

10 years agofix crush on roff_aux
dis- [Fri, 14 Feb 2014 07:17:48 +0000 (16:17 +0900)]
fix crush on roff_aux

10 years agoadd explains of drain-charge attacks
dis- [Fri, 14 Feb 2014 06:15:54 +0000 (15:15 +0900)]
add explains of drain-charge attacks

10 years agorefactor: replace #ifdef macro in roff_aux
dis- [Fri, 14 Feb 2014 05:53:43 +0000 (14:53 +0900)]
refactor: replace #ifdef macro in roff_aux

10 years agoModify .gitignore file
Habu [Thu, 13 Feb 2014 23:36:47 +0000 (08:36 +0900)]
Modify .gitignore file

Add entry for ignoring game data files that is auto generated.

10 years agoRemove excess arguments
Habu [Thu, 13 Feb 2014 18:23:44 +0000 (03:23 +0900)]
Remove excess arguments

10 years agoAdd include header file 'wctype.h'
Habu [Thu, 13 Feb 2014 18:21:35 +0000 (03:21 +0900)]
Add include header file 'wctype.h'

10 years agoChange HOLD_LIFE flag to HOLD_EXP
Habu [Thu, 13 Feb 2014 18:00:47 +0000 (03:00 +0900)]
Change HOLD_LIFE flag to HOLD_EXP

HOLD_LIFE flag is changed to HOLD_EXP flag at 1e16b0f.

10 years agoModify .gitignore file
Habu [Thu, 13 Feb 2014 15:53:08 +0000 (00:53 +0900)]
Modify .gitignore file

Add Entry for ignoring auto-generated documents by Doxygen.

10 years agoFix line feed code
Habu [Thu, 13 Feb 2014 15:47:45 +0000 (00:47 +0900)]
Fix line feed code

10 years agoAdd .gitignore file
habu [Thu, 13 Feb 2014 15:25:43 +0000 (00:25 +0900)]
Add .gitignore file

10 years agoMerge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband
Deskull [Thu, 13 Feb 2014 14:06:35 +0000 (23:06 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband