OSDN Git Service

hengband/hengband.git
11 years agoFix brainf**k indent and correspondance of braces
habu [Mon, 22 Apr 2013 11:47:40 +0000 (11:47 +0000)]
Fix brainf**k indent and correspondance of braces

11 years agoDelete redefined variables
habu [Mon, 22 Apr 2013 11:47:36 +0000 (11:47 +0000)]
Delete redefined variables

11 years agoUse cptr (aka const char*) to point to string literal
habu [Mon, 22 Apr 2013 11:47:33 +0000 (11:47 +0000)]
Use cptr (aka const char*) to point to string literal

11 years agoshow quest complete time
dis- [Sun, 21 Apr 2013 14:25:22 +0000 (14:25 +0000)]
show quest complete time

11 years agoRedraw the amount of player's mana even if casting a spell is canceled
habu [Sat, 20 Apr 2013 09:42:25 +0000 (09:42 +0000)]
Redraw the amount of player's mana even if casting a spell is canceled

11 years agostart 2.1.3
dis- [Sun, 14 Apr 2013 05:07:18 +0000 (05:07 +0000)]
start 2.1.3

11 years agoNerf bow of accuracy / velocity a little. v2.1.2
dis- [Thu, 11 Apr 2013 13:13:27 +0000 (13:13 +0000)]
Nerf bow of accuracy / velocity a little.

11 years agokill KILL_EXP flag. no more need.
dis- [Sat, 30 Mar 2013 14:24:09 +0000 (14:24 +0000)]
kill KILL_EXP flag. no more need.

11 years agoApply class/race/personality melee-bonus for critical-norm-rate
dis- [Thu, 28 Mar 2013 12:03:02 +0000 (12:03 +0000)]
Apply class/race/personality melee-bonus for critical-norm-rate

11 years agoSimplify the critical-shot-calcuration
dis- [Thu, 28 Mar 2013 11:36:13 +0000 (11:36 +0000)]
Simplify the critical-shot-calcuration

11 years agoadjust critical_shot -- consider race/class/personality
dis- [Wed, 27 Mar 2013 14:42:05 +0000 (14:42 +0000)]
adjust critical_shot -- consider race/class/personality

11 years agoNerf Monsters in Vault Quest.
dis- [Wed, 27 Mar 2013 13:12:08 +0000 (13:12 +0000)]
Nerf Monsters in Vault Quest.

11 years agoC window to-h bonus now considers race/class/personality bonus
dis- [Wed, 27 Mar 2013 11:47:06 +0000 (11:47 +0000)]
C window to-h bonus now considers race/class/personality bonus

11 years agoshowing critical rate do not contains hit bonus of unidentified bow
dis- [Wed, 27 Mar 2013 11:03:55 +0000 (11:03 +0000)]
showing critical rate do not contains hit bonus of unidentified bow

11 years agoAdd new option -- show critical ratio of ammo
dis- [Mon, 25 Mar 2013 14:27:57 +0000 (14:27 +0000)]
Add new option -- show critical ratio of ammo

11 years agoAdd new option -- show_ammo_detail / show_ammo_no_crit
dis- [Mon, 25 Mar 2013 13:40:58 +0000 (13:40 +0000)]
Add new option -- show_ammo_detail / show_ammo_no_crit

11 years agoRefactor Option-message
dis- [Mon, 25 Mar 2013 13:20:25 +0000 (13:20 +0000)]
Refactor Option-message

11 years agoShow use turn of launchers.
dis- [Mon, 25 Mar 2013 12:40:29 +0000 (12:40 +0000)]
Show use turn of launchers.

11 years agoApply 3362 for lite_town
dis- [Wed, 20 Mar 2013 00:06:45 +0000 (00:06 +0000)]
Apply 3362 for lite_town

11 years agoChange Old Castle Reward. Archer/Ranger gets Yoichi and Sniper gets Wilhelm Tell
dis- [Wed, 20 Mar 2013 00:05:33 +0000 (00:05 +0000)]
Change Old Castle Reward. Archer/Ranger gets Yoichi and Sniper gets Wilhelm Tell

11 years agoFix to_h and to_d of launcher ego.
dis- [Tue, 19 Mar 2013 23:28:56 +0000 (23:28 +0000)]
Fix to_h and to_d of launcher ego.

11 years agoGood to_h Bows makes more critical. Decrease ammo's contribution.
dis- [Tue, 19 Mar 2013 23:26:36 +0000 (23:26 +0000)]
Good to_h Bows makes more critical. Decrease ammo's contribution.

11 years agoGood to_h Bows makes more critical. Decrease ammo's contribution.
dis- [Tue, 19 Mar 2013 23:15:42 +0000 (23:15 +0000)]
Good to_h Bows makes more critical. Decrease ammo's contribution.

11 years agoShow ammo damage with critical.
dis- [Tue, 19 Mar 2013 15:53:51 +0000 (15:53 +0000)]
Show ammo damage with critical.

11 years agofix bug of calc_expect_crit. return too small value for no critical case.
dis- [Sun, 17 Mar 2013 10:31:42 +0000 (10:31 +0000)]
fix bug of calc_expect_crit. return too small value for no critical case.

11 years agoFix a bug of piercing shot that an artifact arrow/bolt disappears with a monster...
iks [Sat, 16 Mar 2013 08:23:29 +0000 (08:23 +0000)]
Fix a bug of piercing shot that an artifact arrow/bolt disappears with a monster at end of piercing when the arrow/bolt sticks to any monster on a piercing route and it dies
- Don't judge a arrow/bolt sticks to monsters or not in the case that the player class is Sniper and a concentrate amount is greater than 0

11 years agoBuff Sniper's melee combat -- same as archer
dis- [Sun, 10 Mar 2013 11:50:17 +0000 (11:50 +0000)]
Buff Sniper's melee combat -- same as archer

11 years agoSniper gets 'Lion Slayer' at Old Castle Quest
dis- [Sun, 10 Mar 2013 11:39:26 +0000 (11:39 +0000)]
Sniper gets 'Lion Slayer' at Old Castle Quest

11 years agoHigh-concentrated Snipers hits more often
dis- [Sun, 10 Mar 2013 11:25:28 +0000 (11:25 +0000)]
High-concentrated Snipers hits more often

11 years agoIntegrate aura damage into elec_dam, fire_dam and cold_dam
habu [Sat, 9 Mar 2013 03:17:06 +0000 (03:17 +0000)]
Integrate aura damage into elec_dam, fire_dam and cold_dam

11 years agoRefer to a struct's member at offset by atoffset macro
habu [Sat, 9 Mar 2013 03:02:55 +0000 (03:02 +0000)]
Refer to a struct's member at offset by atoffset macro

11 years agoAdd atoffset macro
habu [Sat, 9 Mar 2013 03:02:54 +0000 (03:02 +0000)]
Add atoffset macro

11 years agoRefactor hit_trap() function
habu [Sat, 9 Mar 2013 03:02:52 +0000 (03:02 +0000)]
Refactor hit_trap() function

11 years agoModify the code which search stairs in tgt_pt
habu [Fri, 8 Mar 2013 13:25:46 +0000 (13:25 +0000)]
Modify the code which search stairs in tgt_pt

11 years agoModify travel command
habu [Fri, 8 Mar 2013 12:05:28 +0000 (12:05 +0000)]
Modify travel command

- We can continue traveling to the previously designated place
  when being disturbed traveling

11 years agoキャラクタの耐性等の表示画面の変更
habu [Fri, 8 Mar 2013 10:39:43 +0000 (10:39 +0000)]
キャラクタの耐性等の表示画面の変更

ヘッダー部分の色を、フラグを所持していれば白、所持していなければ暗い灰
色で表示するようにした

11 years agoAdd decision of special key for main-gcu to inkey_special()
habu [Mon, 4 Mar 2013 13:40:59 +0000 (13:40 +0000)]
Add decision of special key for main-gcu to inkey_special()

11 years agofix typo
dis- [Mon, 4 Mar 2013 12:44:09 +0000 (12:44 +0000)]
fix typo

11 years agofix s16b must be u32b at rd_monster_old
dis- [Sun, 3 Mar 2013 12:38:45 +0000 (12:38 +0000)]
fix s16b must be u32b at rd_monster_old

11 years agoRest and Shoot exp is reduced by accumulated damages. 9/10 per maxhp.
dis- [Sun, 3 Mar 2013 09:05:40 +0000 (09:05 +0000)]
Rest and Shoot exp is reduced by accumulated damages. 9/10 per maxhp.

11 years agoSave damages dealt by player for each monster. (Do not use yet)
dis- [Sun, 3 Mar 2013 06:51:21 +0000 (06:51 +0000)]
Save damages dealt by player for each monster. (Do not use yet)

11 years agoFix a crush bug on death
habu [Wed, 27 Feb 2013 04:26:40 +0000 (04:26 +0000)]
Fix a crush bug on death

vasprintf that heavily depend on platform is currently unused.

11 years agoGet rid of all gcc(-Wall) warnings
habu [Tue, 26 Feb 2013 07:58:14 +0000 (07:58 +0000)]
Get rid of all gcc(-Wall) warnings

11 years agoUse return value of write function
habu [Tue, 26 Feb 2013 07:53:04 +0000 (07:53 +0000)]
Use return value of write function

But fd_copy is unused currently

11 years agoAdd some terrains on shallow water. Water Cave uses them.
dis- [Sun, 24 Feb 2013 05:46:57 +0000 (05:46 +0000)]
Add some terrains on shallow water. Water Cave uses them.

11 years agoChange location of setting CAVE_KNOWN flag
habu [Thu, 21 Feb 2013 11:26:49 +0000 (11:26 +0000)]
Change location of setting CAVE_KNOWN flag

Location of setting CAVE_KNOWN flag is changed from cave_lite_hack()
and cave_view_hack() to note_spot().
note_spot() is better place than before, and it works well when
playing Ninja.

11 years agoReduce chest in Dump Witness.
dis- [Wed, 20 Feb 2013 15:20:37 +0000 (15:20 +0000)]
Reduce chest in Dump Witness.

11 years agoWhen sending data to socket in Unix, use send function instead of write as same as...
habu [Wed, 20 Feb 2013 13:04:41 +0000 (13:04 +0000)]
When sending data to socket in Unix, use send function instead of write as same as Windows

11 years agoFix a bug of rumor code
habu [Wed, 20 Feb 2013 13:04:40 +0000 (13:04 +0000)]
Fix a bug of rumor code

Duplicated messages were displayed in some cases.

11 years agoFix a bug of underground arcade generation code
habu [Wed, 20 Feb 2013 13:04:38 +0000 (13:04 +0000)]
Fix a bug of underground arcade generation code

11 years agoBug fix in relation to gaining experience of hex spells
habu [Wed, 20 Feb 2013 13:04:37 +0000 (13:04 +0000)]
Bug fix in relation to gaining experience of hex spells

When gaining experience of a hex spell, it referred to another hex
spell's table in some cases.

11 years agoBug fix: command menu is unusable in pet command
habu [Wed, 20 Feb 2013 13:04:35 +0000 (13:04 +0000)]
Bug fix: command menu is unusable in pet command

11 years agoSuppress gcc warning
habu [Wed, 20 Feb 2013 13:04:34 +0000 (13:04 +0000)]
Suppress gcc warning

11 years agoModify torch_lost_fuel bug. No more create minus charge torches.
dis- [Wed, 20 Feb 2013 12:53:33 +0000 (12:53 +0000)]
Modify torch_lost_fuel bug. No more create minus charge torches.

11 years ago"generate_rooms()" makes at least 2 rooms.
deskull [Wed, 20 Feb 2013 12:36:00 +0000 (12:36 +0000)]
"generate_rooms()" makes at least 2 rooms.

11 years agoreplace realm_subinfo's char[n] to cptr
iks [Tue, 19 Feb 2013 16:33:45 +0000 (16:33 +0000)]
replace realm_subinfo's char[n] to cptr

11 years agoAdd comment for Dump Witness.
dis- [Tue, 19 Feb 2013 14:53:12 +0000 (14:53 +0000)]
Add comment for Dump Witness.

11 years agoAdd new quest 'Dump Witness' for Newbies.
dis- [Tue, 19 Feb 2013 14:44:54 +0000 (14:44 +0000)]
Add new quest 'Dump Witness' for Newbies.

11 years agoRefactor quest completion code
habu [Tue, 19 Feb 2013 12:32:40 +0000 (12:32 +0000)]
Refactor quest completion code

11 years agoRefactoring of search() function
habu [Tue, 19 Feb 2013 12:32:34 +0000 (12:32 +0000)]
Refactoring of search() function

11 years agoMore refactoring of slaying calculation
habu [Tue, 19 Feb 2013 12:32:31 +0000 (12:32 +0000)]
More refactoring of slaying calculation

11 years agoAdd TR_SLAY_GOOD and TR_KILL_GOOD to object flags
habu [Mon, 18 Feb 2013 16:28:45 +0000 (16:28 +0000)]
Add TR_SLAY_GOOD and TR_KILL_GOOD to object flags

Hex's Runesword spell uses TR_SLAY_GOOD flag now.
No artifacts and egos have those flags currently. No random artifacts
also have.

11 years agoFix stupid mistake in offset calculation macro
habu [Mon, 18 Feb 2013 16:16:30 +0000 (16:16 +0000)]
Fix stupid mistake in offset calculation macro

11 years agouse char* instead of void* for offset calculation
habu [Mon, 18 Feb 2013 15:51:04 +0000 (15:51 +0000)]
use char* instead of void* for offset calculation

11 years agoTweak color settings in main-gcu.c
habu [Mon, 18 Feb 2013 15:23:37 +0000 (15:23 +0000)]
Tweak color settings in main-gcu.c

11 years agoSlaying and Elemental Brand damage calculation refer to sturct table
habu [Mon, 18 Feb 2013 15:17:31 +0000 (15:17 +0000)]
Slaying and Elemental Brand damage calculation refer to sturct table

11 years agoThrown torch's dice is changed
iks [Mon, 18 Feb 2013 14:57:22 +0000 (14:57 +0000)]
Thrown torch's dice is changed

11 years agoThrown torches given pretty larger dice, fire brand, kill undead when them has fuel
iks [Mon, 18 Feb 2013 13:55:40 +0000 (13:55 +0000)]
Thrown torches given pretty larger dice, fire brand, kill undead when them has fuel

11 years agoRemove plog for debug.
iks [Mon, 18 Feb 2013 12:48:13 +0000 (12:48 +0000)]
Remove plog for debug.

11 years agoCalcuration of magnification of hissatsu technics is devided from tot_dam_aux into...
iks [Mon, 18 Feb 2013 12:31:24 +0000 (12:31 +0000)]
Calcuration of magnification of hissatsu technics is devided from tot_dam_aux into hissatsu.c

11 years agoAdd setlocale function call for support multibyte character in main-gcu
habu [Sun, 17 Feb 2013 13:16:17 +0000 (13:16 +0000)]
Add setlocale function call for support multibyte character in main-gcu

11 years agoAdd a check of libncursesw for support multibyte character in main-gcu
habu [Sun, 17 Feb 2013 13:16:16 +0000 (13:16 +0000)]
Add a check of libncursesw for support multibyte character in main-gcu

11 years agoChange macro key stroke wait period shorter which is in inkey_aux because of too...
iks [Sun, 17 Feb 2013 11:46:07 +0000 (11:46 +0000)]
Change macro key stroke wait period shorter which is in inkey_aux because of too long period for inputting ESCAPE at main-gcu.c.

11 years agoX Term_fresh O Term_flush according to the comment line (for gcu+getch)
iks [Sun, 17 Feb 2013 10:11:14 +0000 (10:11 +0000)]
X Term_fresh O Term_flush according to the comment line (for gcu+getch)

11 years agoRemove the "simple" linear congruent RNG
habu [Sun, 17 Feb 2013 09:23:39 +0000 (09:23 +0000)]
Remove the "simple" linear congruent RNG

11 years agoRNG algorithm is changed to Xorshift
habu [Sun, 17 Feb 2013 07:08:28 +0000 (07:08 +0000)]
RNG algorithm is changed to Xorshift

RNG algorithm is changed from original one to Xorshift.
Xorshift uses Rand_state[0]-Rand_state[3] variables as RNG state,
therefore Rand_place and Rand_state[4]-Rand_state[63] variables are
unused now.

11 years agoWhen being in wilderness, travel command can be used at any time
habu [Sun, 17 Feb 2013 03:52:07 +0000 (03:52 +0000)]
When being in wilderness, travel command can be used at any time

11 years agoUpdate Quest info for QUEST_TYPE_FIND_EXIT
dis- [Sat, 16 Feb 2013 10:46:49 +0000 (10:46 +0000)]
Update Quest info for QUEST_TYPE_FIND_EXIT

11 years agoUpdate Tengu and Death Swords. Set No-teleport Area and put more items.
dis- [Sat, 16 Feb 2013 10:41:31 +0000 (10:41 +0000)]
Update Tengu and Death Swords. Set No-teleport Area and put more items.

11 years agoVirtical or holizontal direction is preferentially selected in traveling
habu [Sat, 16 Feb 2013 08:31:39 +0000 (08:31 +0000)]
Virtical or holizontal direction is preferentially selected in traveling

11 years agoVisible and unignorable traps abort traveling
habu [Sat, 16 Feb 2013 07:45:31 +0000 (07:45 +0000)]
Visible and unignorable traps abort traveling

11 years agoTravel algorithm is improved for avoiding traps, lavas, waters.
iks [Sat, 16 Feb 2013 05:08:09 +0000 (05:08 +0000)]
Travel algorithm is improved for avoiding traps, lavas, waters.

11 years agoAdd serif of Chargeman Ken
iks [Fri, 15 Feb 2013 18:37:54 +0000 (18:37 +0000)]
Add serif of Chargeman Ken

11 years agoDark grid that isn't lit by lite is unknown grid
habu [Fri, 15 Feb 2013 18:11:01 +0000 (18:11 +0000)]
Dark grid that isn't lit by lite is unknown grid

11 years agoWhen using travel command, we can only pass already known grids
habu [Fri, 15 Feb 2013 16:36:08 +0000 (16:36 +0000)]
When using travel command, we can only pass already known grids

Known grids are those directly viewed by player or detected by mapping area magic

11 years agoSet disturbing flag for travel command.
iks [Fri, 15 Feb 2013 15:53:31 +0000 (15:53 +0000)]
Set disturbing flag for travel command.

11 years agoSecond argument of disturb function is now for stopping or nonstopping flag of travel...
iks [Fri, 15 Feb 2013 14:41:09 +0000 (14:41 +0000)]
Second argument of disturb function is now for stopping or nonstopping flag of travel command.

11 years agoFix typo and overflow of calc_expect_crit
dis- [Fri, 15 Feb 2013 11:20:08 +0000 (11:20 +0000)]
Fix typo and overflow of calc_expect_crit

11 years agoFix 'C' show-damage problem for Windows. Type modified.
dis- [Thu, 14 Feb 2013 23:17:42 +0000 (23:17 +0000)]
Fix 'C' show-damage problem for Windows. Type modified.

11 years agoundo failed-commit.
dis- [Thu, 14 Feb 2013 15:02:00 +0000 (15:02 +0000)]
undo failed-commit.

11 years agoDo Not Use z_older_than. Out of date.
dis- [Thu, 14 Feb 2013 14:51:31 +0000 (14:51 +0000)]
Do Not Use z_older_than. Out of date.

11 years agoAdd initialize posx, posy at load_prefs_aux
dis- [Thu, 14 Feb 2013 14:17:31 +0000 (14:17 +0000)]
Add initialize posx, posy at load_prefs_aux

11 years agoAdjust Arena's rewards. Add Wand of Teleport Away instead of Scroll of Genocide.
dis- [Thu, 14 Feb 2013 11:43:39 +0000 (11:43 +0000)]
Adjust Arena's rewards. Add Wand of Teleport Away instead of Scroll of Genocide.

11 years agoIn Vault Quest, target weapons must not be auto-picked by diceboost.
dis- [Thu, 14 Feb 2013 11:18:32 +0000 (11:18 +0000)]
In Vault Quest, target weapons must not be auto-picked by diceboost.

11 years agoFix Savedate error.
dis- [Thu, 14 Feb 2013 10:58:46 +0000 (10:58 +0000)]
Fix Savedate error.

11 years agoExtract Process per 100 energy. Now it contains music and hex upkeep effects.
dis- [Thu, 14 Feb 2013 10:40:44 +0000 (10:40 +0000)]
Extract Process per 100 energy. Now it contains music and hex upkeep effects.

11 years agoFor Windows -- Cannot create windows out of sight.
dis- [Tue, 12 Feb 2013 13:07:16 +0000 (13:07 +0000)]
For Windows -- Cannot create windows out of sight.

11 years agoUpdate Version to 2.1.2
dis- [Mon, 11 Feb 2013 01:51:11 +0000 (01:51 +0000)]
Update Version to 2.1.2

11 years agoApply Critical-Expected-Value to 'C' window. v2.1.1
dis- [Sun, 10 Feb 2013 13:54:23 +0000 (13:54 +0000)]
Apply Critical-Expected-Value to 'C' window.

11 years agoAdd comment for Potion of Restore Mana. Not the same as Staff of the Magi.
dis- [Sun, 10 Feb 2013 11:11:21 +0000 (11:11 +0000)]
Add comment for Potion of Restore Mana. Not the same as Staff of the Magi.