OSDN Git Service
Habu [Fri, 7 Mar 2014 15:31:12 +0000 (00:31 +0900)]
Use CryptGenRandom() for RNG initialize in Windows
Habu [Fri, 7 Mar 2014 13:38:37 +0000 (22:38 +0900)]
RNGの初期シードに /dev/urandom を使用するようにした
configureで /dev/urandom の存在をチェックし、存在する場合は使用する。
存在しない場合はこれまでどおりtime()関数などを使用する。
Habu [Fri, 7 Mar 2014 13:26:39 +0000 (22:26 +0900)]
ゲームに関係しない箇所での乱数の消費を避けるように修正
- セーブファイルのロード時に無駄な荒野生成をしていた箇所を削除
(荒野マップデータはすぐにセーブファイルから上書きされる)
- セーブ時にXOR用初期バイトと生成に乱数を消費していた箇所を
Rand_externalを使用するように修正
Habu [Thu, 6 Mar 2014 12:43:20 +0000 (21:43 +0900)]
Change uniform distribution RNG method
真の一様分布を得るため、分布で割った余りを使用する方法から
分布でスケーリングした範囲を割り算する方法に変更
Habu [Thu, 6 Mar 2014 09:26:24 +0000 (18:26 +0900)]
Add some entries to .gitignore
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()が呼ばれないようにした。
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が付加されるようにした。
Habu [Fri, 28 Feb 2014 13:54:34 +0000 (22:54 +0900)]
Merge branch 'experimental-utf8nize-convert-to-utf8'
Habu [Fri, 28 Feb 2014 13:49:54 +0000 (22:49 +0900)]
guess_convert_to_system_encodingをJPが定義されている時のみ呼ぶように修正
Habu [Fri, 28 Feb 2014 13:40:43 +0000 (22:40 +0900)]
gccのオプションに--exec-charset=EUC-JPが付加されるように修正
Habu [Fri, 28 Feb 2014 13:32:58 +0000 (22:32 +0900)]
ハイフン→ダッシュに修正
Habu [Fri, 28 Feb 2014 13:10:52 +0000 (22:10 +0900)]
angband.rcをシフトJISに変換
Habu [Fri, 28 Feb 2014 13:08:47 +0000 (22:08 +0900)]
ソースコードのUTF-8化。
VSはBOM付きしか正常に開けないのでBOM付きファイルに。
Habu [Fri, 28 Feb 2014 12:17:13 +0000 (21:17 +0900)]
ソースコード以外のテキストファイルをUTF-8に変換
Habu [Fri, 28 Feb 2014 12:09:04 +0000 (21:09 +0900)]
utf8_to_sysにUNIX用の UTF-8 -> EUC-JP 変換を実装
Habu [Thu, 27 Feb 2014 14:36:04 +0000 (23:36 +0900)]
バッファオーバーの可能性に関する修正と、変換失敗時のメッセージ表示追加
Habu [Thu, 27 Feb 2014 14:32:19 +0000 (23:32 +0900)]
コメントの誤りを修正
Habu [Wed, 26 Feb 2014 14:41:05 +0000 (23:41 +0900)]
ファイルの読み込み時に文字コードを適切なものに変換するように修正
ファイルを読み込み時に文字コードがUTF-8かどうかを推測し、UTF-8ならば
システムの文字コード(WindowsならCP932、Linux/UNIXならEUC-JP)に
変換して読み込むようにした。
dis- [Fri, 28 Feb 2014 03:12:13 +0000 (12:12 +0900)]
Merge branch 'master' of github.com:/dis-/hengband
Deskull [Thu, 27 Feb 2014 14:59:27 +0000 (23:59 +0900)]
Fix preprocessor error about music implementation and music.cfg.
dis- [Thu, 27 Feb 2014 03:39:16 +0000 (12:39 +0900)]
refactor: replace ifdef macro in spells1.c
dis- [Wed, 26 Feb 2014 07:00:40 +0000 (16:00 +0900)]
refactor: blue-mage spell damage explain
dis- [Tue, 25 Feb 2014 10:35:48 +0000 (19:35 +0900)]
fix typo
dis- [Tue, 25 Feb 2014 10:31:55 +0000 (19:31 +0900)]
refactor: share monspell_damage in cast_learned_spell
dis- [Mon, 24 Feb 2014 13:37:55 +0000 (22:37 +0900)]
show all mon_spell damage
dis- [Mon, 24 Feb 2014 10:00:38 +0000 (19:00 +0900)]
enable to get mon_spell_damage by race
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
dis- [Sun, 23 Feb 2014 15:11:43 +0000 (00:11 +0900)]
refactor: extract summoning functions in monst_spell_monst
dis- [Sat, 22 Feb 2014 11:47:02 +0000 (20:47 +0900)]
refactor: RF6_SPECIAL, RF6_TELE*
dis- [Fri, 21 Feb 2014 16:32:18 +0000 (01:32 +0900)]
refactor: extract monst_spell_monst
Deskull [Fri, 21 Feb 2014 13:45:51 +0000 (22:45 +0900)]
Display shooting power on monster description.
dis- [Thu, 20 Feb 2014 08:35:53 +0000 (17:35 +0900)]
refactor: extract damage spells in monst_spell_monst
Habu [Wed, 19 Feb 2014 12:48:49 +0000 (21:48 +0900)]
Modify .gitignore
Add ignore directory 'lib/save/'.
Habu [Wed, 19 Feb 2014 11:47:37 +0000 (20:47 +0900)]
Refactor: change jverb() from stupid 'if-else' enumeration to reference table
dis- [Wed, 19 Feb 2014 09:12:12 +0000 (18:12 +0900)]
refactor: extract breath spells in monst_spell_monst
dis- [Wed, 19 Feb 2014 07:53:07 +0000 (16:53 +0900)]
refactor: integrate monst_beam_monst, monst_bolt_monst
dis- [Wed, 19 Feb 2014 07:29:45 +0000 (16:29 +0900)]
refactor: integrate monst_breath_monst() into breath
dis- [Wed, 19 Feb 2014 06:48:27 +0000 (15:48 +0900)]
refactor: remove learnable from arguments
dis- [Wed, 19 Feb 2014 03:14:48 +0000 (12:14 +0900)]
refactor: simplify the arguments in mspells_4.c
dis- [Tue, 18 Feb 2014 14:14:20 +0000 (23:14 +0900)]
add mspells4.c on makefile.*
dis- [Tue, 18 Feb 2014 14:06:36 +0000 (23:06 +0900)]
add mspells4.c on makefile.bcc
dis- [Tue, 18 Feb 2014 13:53:27 +0000 (22:53 +0900)]
fix argument on calling RF6_TELE_AWAY
dis- [Tue, 18 Feb 2014 13:39:29 +0000 (22:39 +0900)]
add mspells4.c in Makefile.am
Deskull [Tue, 18 Feb 2014 13:33:18 +0000 (22:33 +0900)]
Fix comments.
Deskull [Tue, 18 Feb 2014 13:23:18 +0000 (22:23 +0900)]
Add Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 12:58:26 +0000 (21:58 +0900)]
Add Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 12:39:13 +0000 (21:39 +0900)]
Add Doxygen comment to wizard1.c.
Deskull [Tue, 18 Feb 2014 12:14:59 +0000 (21:14 +0900)]
Fix argument on calling RF6_TELE_AWAY().
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.
dis- [Tue, 18 Feb 2014 09:24:21 +0000 (18:24 +0900)]
refactor: extract switch in make_attack_spell
dis- [Tue, 18 Feb 2014 04:34:57 +0000 (13:34 +0900)]
refactor: replace #ifdef JP macros on make_attack_spell
dis- [Tue, 18 Feb 2014 02:29:34 +0000 (11:29 +0900)]
refactor: extract ball/bolt spells in make_attack_spell
dis- [Mon, 17 Feb 2014 10:07:54 +0000 (19:07 +0900)]
refactor: extract ball 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
Deskull [Mon, 17 Feb 2014 13:30:48 +0000 (22:30 +0900)]
Add Doxygen comment to wizard1.c.
Deskull [Mon, 17 Feb 2014 12:59:01 +0000 (21:59 +0900)]
Add Doxygen comment to wizard1.c.
Deskull [Mon, 17 Feb 2014 11:53:29 +0000 (20:53 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband
Deskull [Mon, 17 Feb 2014 11:52:03 +0000 (20:52 +0900)]
Temporary revert of tiling implement.
dis- [Sun, 16 Feb 2014 10:27:53 +0000 (19:27 +0900)]
refactor: replace #ifdef JP macros on make_attack_spell
dis- [Sun, 16 Feb 2014 01:38:06 +0000 (10:38 +0900)]
refactor: replace #ifdef JP macros
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.)
Deskull [Sat, 15 Feb 2014 14:20:42 +0000 (23:20 +0900)]
Delete temporary files.
Expanding implementation for tiling.
Deskull [Sat, 15 Feb 2014 12:54:28 +0000 (21:54 +0900)]
Add Doxygen comment to monster1.c.
Deskull [Sat, 15 Feb 2014 12:36:16 +0000 (21:36 +0900)]
Add Doxygen comment to monster1.c.
Deskull [Sat, 15 Feb 2014 12:19:40 +0000 (21:19 +0900)]
Add Doxygen comment to monster1.c.
Deskull [Fri, 14 Feb 2014 14:30:37 +0000 (23:30 +0900)]
Add Doxygen comments to wild.c.
Deskull [Fri, 14 Feb 2014 14:09:51 +0000 (23:09 +0900)]
Add Doxygen comment to wild.c
Deskull [Fri, 14 Feb 2014 13:37:51 +0000 (22:37 +0900)]
Fix coding mismatch.
dis- [Fri, 14 Feb 2014 08:39:43 +0000 (17:39 +0900)]
update explain of charge-drain attack
dis- [Fri, 14 Feb 2014 07:58:23 +0000 (16:58 +0900)]
Merge branch 'master' of github.com:dis-/hengband
dis- [Fri, 14 Feb 2014 07:17:48 +0000 (16:17 +0900)]
fix crush on roff_aux
dis- [Fri, 14 Feb 2014 06:15:54 +0000 (15:15 +0900)]
add explains of drain-charge attacks
dis- [Fri, 14 Feb 2014 05:53:43 +0000 (14:53 +0900)]
refactor: replace #ifdef macro in roff_aux
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.
Habu [Thu, 13 Feb 2014 18:23:44 +0000 (03:23 +0900)]
Remove excess arguments
Habu [Thu, 13 Feb 2014 18:21:35 +0000 (03:21 +0900)]
Add include header file 'wctype.h'
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.
Habu [Thu, 13 Feb 2014 15:53:08 +0000 (00:53 +0900)]
Modify .gitignore file
Add Entry for ignoring auto-generated documents by Doxygen.
Habu [Thu, 13 Feb 2014 15:47:45 +0000 (00:47 +0900)]
Fix line feed code
habu [Thu, 13 Feb 2014 15:25:43 +0000 (00:25 +0900)]
Add .gitignore file
Deskull [Thu, 13 Feb 2014 14:06:35 +0000 (23:06 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/hengband/hengband
Deskull [Thu, 13 Feb 2014 13:58:35 +0000 (22:58 +0900)]
Add Doxygen comment to wild.c.
Deskull [Thu, 13 Feb 2014 13:46:32 +0000 (22:46 +0900)]
Add Doxygen comment to wild.c
Deskull [Thu, 13 Feb 2014 13:13:35 +0000 (22:13 +0900)]
Remove EVIL flag from 504:Ethereal drake.
Deskull [Thu, 13 Feb 2014 12:52:05 +0000 (21:52 +0900)]
Fix selection of quest music.
dis- [Thu, 13 Feb 2014 09:41:26 +0000 (18:41 +0900)]
refactor: drain-life->HP damage, drain-exp->Exp damage
Deskull [Wed, 12 Feb 2014 14:45:08 +0000 (23:45 +0900)]
Fix select_floor_music().
Deskull [Wed, 12 Feb 2014 14:23:28 +0000 (23:23 +0900)]
Expanding feature of Term_xtra_win_music().
Deskull [Wed, 12 Feb 2014 13:57:32 +0000 (22:57 +0900)]
Expand feature and rename music_basic to play_music().
Deskull [Wed, 12 Feb 2014 13:35:55 +0000 (22:35 +0900)]
Add loading process of BGM setting for dungeon, quest, town.
Deskull [Wed, 12 Feb 2014 13:02:54 +0000 (22:02 +0900)]
Fix status error of Black knight of Gwyn.
deskull [Tue, 11 Feb 2014 14:23:16 +0000 (14:23 +0000)]
Add BGM selection by feeling.
deskull [Tue, 11 Feb 2014 11:01:51 +0000 (11:01 +0000)]
Fix undefined variable type.
deskull [Mon, 10 Feb 2014 13:42:55 +0000 (13:42 +0000)]
Implementing choice of music format.
deskull [Mon, 10 Feb 2014 13:15:34 +0000 (13:15 +0000)]
Implementing choice music (+ arena/battle/quest)
deskull [Mon, 10 Feb 2014 12:46:47 +0000 (12:46 +0000)]
Implementing choice music.
deskull [Sun, 9 Feb 2014 11:16:23 +0000 (11:16 +0000)]
Setting music definition for BGM playing.
deskull [Sun, 9 Feb 2014 10:34:54 +0000 (10:34 +0000)]
Setting music definition for BGM playing.
deskull [Sun, 9 Feb 2014 09:47:40 +0000 (09:47 +0000)]
Implementing music loop by MCI for BGM playing.
deskull [Sun, 9 Feb 2014 05:53:07 +0000 (05:53 +0000)]
Implementing MCI command for BGM playing.