Changeset 993
- Timestamp:
- 10/01/08 00:53:56 (3 months ago)
- Files:
-
- trunk/src/Makefile.inc (modified) (1 diff)
- trunk/src/Makefile.src (modified) (1 diff)
- trunk/src/angband.h (modified) (1 diff)
- trunk/src/attack.c (modified) (1 diff)
- trunk/src/birth.c (modified) (1 diff)
- trunk/src/cave.c (modified) (3 diffs)
- trunk/src/cmd-obj.c (modified) (1 diff)
- trunk/src/cmd1.c (modified) (1 diff)
- trunk/src/cmd2.c (modified) (1 diff)
- trunk/src/cmd3.c (modified) (1 diff)
- trunk/src/cmd4.c (modified) (1 diff)
- trunk/src/cmd5.c (modified) (1 diff)
- trunk/src/cmd6.c (modified) (1 diff)
- trunk/src/defines.h (modified) (2 diffs)
- trunk/src/dungeon.c (modified) (1 diff)
- trunk/src/externs.h (modified) (1 diff)
- trunk/src/files.c (modified) (1 diff)
- trunk/src/init1.c (modified) (1 diff)
- trunk/src/load.c (modified) (1 diff)
- trunk/src/monster (added)
- trunk/src/monster/melee1.c (moved) (moved from trunk/src/melee1.c) (1 diff, 1 prop)
- trunk/src/monster/melee2.c (moved) (moved from trunk/src/melee2.c) (3 diffs, 1 prop)
- trunk/src/monster/monster1.c (moved) (moved from trunk/src/monster1.c) (1 prop)
- trunk/src/monster/monster2.c (moved) (moved from trunk/src/monster2.c) (1 prop)
- trunk/src/object (added)
- trunk/src/object/obj-desc.c (moved) (moved from trunk/src/obj-desc.c) (1 prop)
- trunk/src/object/obj-info.c (moved) (moved from trunk/src/obj-info.c) (1 prop)
- trunk/src/object/obj-make.c (moved) (moved from trunk/src/obj-make.c) (1 prop)
- trunk/src/object/obj-ui.c (moved) (moved from trunk/src/obj-ui.c) (1 prop)
- trunk/src/object/obj-util.c (moved) (moved from trunk/src/obj-util.c) (1 prop)
- trunk/src/object/randart.c (moved) (moved from trunk/src/randart.c) (1 diff, 1 prop)
- trunk/src/object/tvalsval.h (moved) (moved from trunk/src/tvalsval.h) (2 diffs, 1 prop)
- trunk/src/spells1.c (modified) (1 diff)
- trunk/src/spells2.c (modified) (1 diff)
- trunk/src/squelch.c (modified) (1 diff)
- trunk/src/store.c (modified) (1 diff)
- trunk/src/tables.c (modified) (1 diff)
- trunk/src/target.c (modified) (1 diff)
- trunk/src/types.h (modified) (4 diffs)
- trunk/src/wiz-spoil.c (modified) (1 diff)
- trunk/src/wiz-stats.c (modified) (1 diff)
- trunk/src/wizard.c (modified) (1 diff)
- trunk/src/x-spell.c (modified) (1 diff)
- trunk/src/xtra1.c (modified) (1 diff)
- trunk/src/xtra2.c (modified) (1 diff)
- trunk/src/xtra3.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/Makefile.inc
r966 r993 11 11 depgen: 12 12 head -n 15 Makefile.inc > Makefile.new 13 gcc -MM $(BASEOBJS:.o=.c) >> Makefile.new13 gcc -MM -I. $(BASEOBJS:.o=.c) >> Makefile.new 14 14 15 15 # Dependencies 16 16 attack.o: attack.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 17 17 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 18 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 18 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 19 externs.h object/tvalsval.h 19 20 birth.o: birth.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 20 21 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 21 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h cmds.h \22 game-event.h game-cmd.h ui-menu.h22 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 23 object/tvalsval.h cmds.h game-event.h game-cmd.h ui-menu.h 23 24 button.o: button.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 24 25 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 25 defines.h option.h types.h ui.h z-type.h object.h externs.h 26 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 27 externs.h 26 28 cave.o: cave.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 27 29 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 28 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h \29 game-event.h30 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 31 object/tvalsval.h game-event.h 30 32 cmd0.o: cmd0.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 31 33 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 32 option.h types.h ui.h z-type.h object.h externs.h wizard.h cmds.h \33 ui-menu.h34 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 35 wizard.h cmds.h ui-menu.h 34 36 cmd1.o: cmd1.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 35 37 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 36 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h cmds.h 38 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 39 object/tvalsval.h cmds.h 37 40 cmd2.o: cmd2.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 38 41 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 39 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 42 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 43 object/tvalsval.h 40 44 cmd3.o: cmd3.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 41 45 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 42 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 46 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 47 object/tvalsval.h 43 48 cmd4.o: cmd4.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 44 49 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 45 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h ui-menu.h 50 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 51 object/tvalsval.h ui-menu.h 46 52 cmd5.o: cmd5.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 47 53 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 48 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 54 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 55 object/tvalsval.h 49 56 cmd6.o: cmd6.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 50 57 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 51 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h cmds.h \52 effects.h list-effects.h58 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 59 object/tvalsval.h cmds.h effects.h list-effects.h 53 60 cmd-obj.o: cmd-obj.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 54 61 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 55 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h \56 cmds.h62 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 63 externs.h object/tvalsval.h cmds.h 57 64 death.o: death.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 58 65 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 59 option.h types.h ui.h z-type.h object.h externs.h ui-menu.h cmds.h 66 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 67 ui-menu.h cmds.h 60 68 debug.o: debug.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 61 69 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 62 option.h types.h ui.h z-type.h object.h externs.h debug.h 70 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 71 debug.h 63 72 dungeon.o: dungeon.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 64 73 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 65 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h \66 cmds.h game-event.h74 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 75 externs.h object/tvalsval.h cmds.h game-event.h 67 76 effects.o: effects.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 68 77 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 69 defines.h option.h types.h ui.h z-type.h object.h externs.h effects.h \70 list-effects.h78 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 79 externs.h effects.h list-effects.h 71 80 files.o: files.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 72 81 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 73 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h ui-menu.h \74 cmds.h82 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 83 object/tvalsval.h ui-menu.h cmds.h 75 84 game-cmd.o: game-cmd.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 76 85 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 77 defines.h option.h types.h ui.h z-type.h object.h externs.h game-cmd.h 86 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 87 externs.h game-cmd.h 78 88 game-event.o: game-event.c z-virt.h h-basic.h game-event.h 79 89 generate.o: generate.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 80 90 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 81 defines.h option.h types.h ui.h z-type.h object.h externs.h 91 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 92 externs.h 82 93 history.o: history.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 83 94 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 84 defines.h option.h types.h ui.h z-type.h object.h externs.h 95 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 96 externs.h 85 97 init1.o: init1.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 86 98 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 87 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h effects.h \88 list-effects.h init.h99 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 100 object/tvalsval.h effects.h list-effects.h init.h 89 101 init2.o: init2.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 90 102 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 91 option.h types.h ui.h z-type.h object.h externs.h init.h cmds.h \92 game-event.h game-cmd.h103 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 104 init.h cmds.h game-event.h game-cmd.h 93 105 load.o: load.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 94 106 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 95 option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 96 melee1.o: melee1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 97 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 98 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 99 melee2.o: melee2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 100 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 101 defines.h option.h types.h ui.h z-type.h object.h externs.h bitflag.h \ 102 tvalsval.h 103 monster1.o: monster1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 104 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 105 defines.h option.h types.h ui.h z-type.h object.h externs.h 106 monster2.o: monster2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 107 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 108 defines.h option.h types.h ui.h z-type.h object.h externs.h 109 obj-desc.o: obj-desc.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 110 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 111 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 112 obj-info.o: obj-info.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 113 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 114 defines.h option.h types.h ui.h z-type.h object.h externs.h effects.h \ 115 list-effects.h cmds.h tvalsval.h 116 obj-make.o: obj-make.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 117 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 118 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 119 obj-ui.o: obj-ui.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 120 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 121 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 122 obj-util.o: obj-util.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 123 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 124 defines.h option.h types.h ui.h z-type.h object.h externs.h randname.h \ 125 tvalsval.h 107 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 108 object/tvalsval.h 109 melee1.o: monster/melee1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 110 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 111 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 112 externs.h object/tvalsval.h 113 melee2.o: monster/melee2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 114 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 115 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 116 externs.h bitflag.h object/tvalsval.h 117 monster1.o: monster/monster1.c angband.h h-basic.h z-file.h z-form.h \ 118 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 119 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 120 z-type.h externs.h 121 monster2.o: monster/monster2.c angband.h h-basic.h z-file.h z-form.h \ 122 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 123 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 124 z-type.h externs.h 125 obj-desc.o: object/obj-desc.c angband.h h-basic.h z-file.h z-form.h \ 126 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 127 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 128 z-type.h externs.h object/tvalsval.h 129 obj-info.o: object/obj-info.c angband.h h-basic.h z-file.h z-form.h \ 130 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 131 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 132 z-type.h externs.h effects.h list-effects.h cmds.h object/tvalsval.h 133 obj-make.o: object/obj-make.c angband.h h-basic.h z-file.h z-form.h \ 134 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 135 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 136 z-type.h externs.h object/tvalsval.h 137 obj-ui.o: object/obj-ui.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 138 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 139 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 140 externs.h object/tvalsval.h 141 obj-util.o: object/obj-util.c angband.h h-basic.h z-file.h z-form.h \ 142 z-util.h z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h \ 143 config.h defines.h option.h types.h object/types.h monster/types.h ui.h \ 144 z-type.h externs.h randname.h object/tvalsval.h 126 145 option.o: option.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 127 146 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 128 defines.h option.h types.h ui.h z-type.h object.h externs.h 147 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 148 externs.h 129 149 randart.o: randart.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 130 150 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 131 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h \132 init.h randname.h151 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 152 externs.h object/tvalsval.h init.h randname.h 133 153 randname.o: randname.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 134 154 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 135 defines.h option.h types.h ui.h z-type.h object.h externs.h randname.h 155 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 156 externs.h randname.h 136 157 pathfind.o: pathfind.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 137 158 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 138 defines.h option.h types.h ui.h z-type.h object.h externs.h 159 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 160 externs.h 139 161 score.o: score.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 140 162 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 141 option.h types.h ui.h z-type.h object.h externs.h163 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h 142 164 signals.o: signals.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 143 165 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 144 defines.h option.h types.h ui.h z-type.h object.h externs.h 166 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 167 externs.h 145 168 save.o: save.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 146 169 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 147 option.h types.h ui.h z-type.h object.h externs.h170 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h 148 171 spells1.o: spells1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 149 172 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 150 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 173 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 174 externs.h object/tvalsval.h 151 175 spells2.o: spells2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 152 176 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 153 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 177 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 178 externs.h object/tvalsval.h 154 179 squelch.o: squelch.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 155 180 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 156 defines.h option.h types.h ui.h z-type.h object.h externs.h cmds.h \157 ui-menu.htvalsval.h181 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 182 externs.h cmds.h ui-menu.h object/tvalsval.h 158 183 store.o: store.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 159 184 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 160 option.h types.h ui.h z-type.h object.h externs.h cmds.h ui-menu.h \161 game-event.htvalsval.h185 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 186 cmds.h ui-menu.h game-event.h object/tvalsval.h 162 187 tables.o: tables.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 163 188 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 164 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 189 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 190 externs.h object/tvalsval.h 165 191 target.o: target.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 166 192 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 167 defines.h option.h types.h ui.h z-type.h object.h externs.h cmds.h 193 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 194 externs.h cmds.h 168 195 trap.o: trap.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 169 196 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 170 option.h types.h ui.h z-type.h object.h externs.h197 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h 171 198 ui.o: ui.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 172 199 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 173 option.h types.h ui.h z-type.h object.h externs.h200 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h 174 201 ui-birth.o: ui-birth.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 175 202 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 176 defines.h option.h types.h ui.h z-type.h object.h externs.h ui-menu.h \177 game-event.h game-cmd.h203 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 204 externs.h ui-menu.h game-event.h game-cmd.h 178 205 ui-event.o: ui-event.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 179 206 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 180 defines.h option.h types.h ui.h z-type.h object.h externs.h 207 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 208 externs.h 181 209 ui-menu.o: ui-menu.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 182 210 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 183 defines.h option.h types.h ui.h z-type.h object.h externs.h ui-menu.h 211 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 212 externs.h ui-menu.h 184 213 util.o: util.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 185 214 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 186 option.h types.h ui.h z-type.h object.h externs.h randname.h 215 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 216 randname.h 187 217 variable.o: variable.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 188 218 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 189 defines.h option.h types.h ui.h z-type.h object.h externs.h 219 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 220 externs.h 190 221 wiz-spoil.o: wiz-spoil.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 191 222 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 192 defines.h option.h types.h ui.h z-type.h object.h externs.h cmds.h \193 tvalsval.h223 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 224 externs.h cmds.h object/tvalsval.h 194 225 wiz-stats.o: wiz-stats.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 195 226 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 196 defines.h option.h types.h ui.h z-type.h object.h externs.h cmds.h \197 wizard.htvalsval.h227 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 228 externs.h cmds.h wizard.h object/tvalsval.h 198 229 wizard.o: wizard.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 199 230 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 200 defines.h option.h types.h ui.h z-type.h object.h externs.h wizard.h \201 cmds.htvalsval.h231 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 232 externs.h wizard.h cmds.h object/tvalsval.h 202 233 x-spell.o: x-spell.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 203 234 z-virt.h z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h \ 204 defines.h option.h types.h ui.h z-type.h object.h externs.h tvalsval.h 235 defines.h option.h types.h object/types.h monster/types.h ui.h z-type.h \ 236 externs.h object/tvalsval.h 205 237 xtra1.o: xtra1.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 206 238 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 207 option.h types.h ui.h z-type.h object.h externs.h game-event.h \208 tvalsval.h239 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 240 game-event.h object/tvalsval.h 209 241 xtra2.o: xtra2.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 210 242 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 211 option.h types.h ui.h z-type.h object.h externs.h cmds.h tvalsval.h 243 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 244 cmds.h object/tvalsval.h 212 245 xtra3.o: xtra3.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 213 246 z-rand.h z-term.h ui-event.h z-quark.h z-msg.h config.h defines.h \ 214 option.h types.h ui.h z-type.h object.h externs.h game-event.h \215 ui-birth.htvalsval.h247 option.h types.h object/types.h monster/types.h ui.h z-type.h externs.h \ 248 game-event.h ui-birth.h object/tvalsval.h 216 249 z-file.o: z-file.c z-file.h h-basic.h z-virt.h z-util.h z-form.h 217 250 z-form.o: z-form.c z-form.h h-basic.h z-type.h z-util.h z-virt.h trunk/src/Makefile.src
r966 r993 77 77 init2.o \ 78 78 load.o \ 79 melee1.o \ 80 melee2.o \ 81 monster1.o \ 82 monster2.o \ 83 obj-desc.o \ 84 obj-info.o \ 85 obj-make.o \ 86 obj-ui.o \ 87 obj-util.o \ 79 monster/melee1.o \ 80 monster/melee2.o \ 81 monster/monster1.o \ 82 monster/monster2.o \ 83 object/obj-desc.o \ 84 object/obj-info.o \ 85 object/obj-make.o \ 86 object/obj-ui.o \ 87 object/obj-util.o \ 88 object/randart.o \ 88 89 option.o \ 89 randart.o \90 90 randname.o \ 91 91 pathfind.o \ trunk/src/angband.h
r918 r993 36 36 #include "option.h" 37 37 #include "types.h" 38 #include "object/types.h" 39 #include "object/object.h" 40 #include "monster/types.h" 41 #include "store.h" 42 38 43 #include "ui.h" 39 44 #include "z-type.h" 40 #include "object.h"41 45 #include "externs.h" 42 46 trunk/src/attack.c
r986 r993 17 17 */ 18 18 #include "angband.h" 19 #include "tvalsval.h" 19 20 #include "object/object.h" 21 #include "object/tvalsval.h" 20 22 21 23 trunk/src/birth.c
r987 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 #include "cmds.h" 21 21 #include "game-event.h" trunk/src/cave.c
r951 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 #include "game-event.h" 21 21 … … 3703 3703 * a given grid, and if a monster can target the player. 3704 3704 */ 3705 bool projectable(int y1, int x1, int y2, int x2 )3705 bool projectable(int y1, int x1, int y2, int x2, int flg) 3706 3706 { 3707 3707 int y, x; … … 3711 3711 3712 3712 /* Check the projection path */ 3713 grid_n = project_path(grid_g, MAX_RANGE, y1, x1, y2, x2, 0);3713 grid_n = project_path(grid_g, MAX_RANGE, y1, x1, y2, x2, flg); 3714 3714 3715 3715 /* No grid is ever projectable from itself */ trunk/src/cmd-obj.c
r918 r993 18 18 */ 19 19 #include "angband.h" 20 #include " tvalsval.h"20 #include "object/tvalsval.h" 21 21 #include "cmds.h" 22 22 trunk/src/cmd1.c
r918 r993 18 18 */ 19 19 #include "angband.h" 20 #include " tvalsval.h"20 #include "object/tvalsval.h" 21 21 #include "cmds.h" 22 22 trunk/src/cmd2.c
r938 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 /* trunk/src/cmd3.c
r950 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/cmd4.c
r975 r993 18 18 */ 19 19 #include "angband.h" 20 #include " tvalsval.h"20 #include "object/tvalsval.h" 21 21 #include "option.h" 22 22 #include "ui.h" trunk/src/cmd5.c
r918 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/cmd6.c
r918 r993 18 18 */ 19 19 #include "angband.h" 20 #include " tvalsval.h"20 #include "object/tvalsval.h" 21 21 #include "cmds.h" 22 22 #include "effects.h" trunk/src/defines.h
r979 r993 946 946 * Bit flags for the "project()" function 947 947 * 948 * NONE: No flags 948 949 * JUMP: Jump directly to the target location (this is a hack) 949 950 * BEAM: Work as a beam weapon (affect every grid passed through) … … 955 956 * HIDE: Hack -- disable "visual" feedback from projection 956 957 */ 958 #define PROJECT_NONE 0x00 957 959 #define PROJECT_JUMP 0x01 958 960 #define PROJECT_BEAM 0x02 trunk/src/dungeon.c
r966 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 #include "z-file.h" 21 21 #include "cmds.h" trunk/src/externs.h
r966 r993 296 296 extern int project_path(u16b *gp, int range, \ 297 297 int y1, int x1, int y2, int x2, int flg); 298 extern bool projectable(int y1, int x1, int y2, int x2 );298 extern bool projectable(int y1, int x1, int y2, int x2, int flg); 299 299 extern void scatter(int *yp, int *xp, int y, int x, int d, int m); 300 300 extern void health_track(int m_idx); trunk/src/files.c
r983 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 #include "ui-menu.h" 21 21 #include "cmds.h" trunk/src/init1.c
r940 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/load.c
r966 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/monster/melee1.c
- Property svn:mergeinfo set
r918 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/monster/melee2.c
- Property svn:mergeinfo set
r918 r993 18 18 #include "angband.h" 19 19 #include "bitflag.h" 20 #include "tvalsval.h" 20 #include "object/tvalsval.h" 21 22 23 /* 24 * Determine if a bolt will arrive, checking that no monsters are in the way 25 */ 26 #define clean_shot(Y1, X1, Y2, X2) \ 27 projectable(Y1, X1, Y2, X2, PROJECT_STOP) 28 21 29 22 30 /* … … 349 357 350 358 return FALSE; 351 }352 353 354 355 /*356 * Determine if a bolt spell will hit the player.357 *358 * This is exactly like "projectable", but it will return FALSE if a monster359 * is in the way.360 *361 * Then we should perhaps instead supply a flag to "projectable()". XXX XXX362 */363 static bool clean_shot(int y1, int x1, int y2, int x2)364 {365 int y, x;366 367 int grid_n;368 u16b grid_g[512];369 370 /* Check the projection path */371 grid_n = project_path(grid_g, MAX_RANGE, y1, x1, y2, x2, PROJECT_STOP);372 373 /* Source and target the same */374 if (!grid_n) return (FALSE);375 376 /* Final grid */377 y = GRID_Y(grid_g[grid_n-1]);378 x = GRID_X(grid_g[grid_n-1]);379 380 /* May not end in a wall grid */381 if (!cave_floor_bold(y, x)) return (FALSE);382 383 /* May not end in an unrequested grid */384 if ((y != y2) || (x != x2)) return (FALSE);385 386 /* Assume okay */387 return (TRUE);388 359 } 389 360 … … 738 709 739 710 /* Check path */ 740 if (!projectable(m_ptr->fy, m_ptr->fx, py, px)) return (FALSE); 711 if (!projectable(m_ptr->fy, m_ptr->fx, py, px, PROJECT_NONE)) 712 return (FALSE); 741 713 } 742 714 trunk/src/monster/monster1.c
- Property svn:mergeinfo set
trunk/src/monster/monster2.c
- Property svn:mergeinfo set
trunk/src/object/obj-desc.c
- Property svn:mergeinfo set
trunk/src/object/obj-info.c
- Property svn:mergeinfo set
trunk/src/object/obj-make.c
- Property svn:mergeinfo set
trunk/src/object/obj-ui.c
- Property svn:mergeinfo set
trunk/src/object/obj-util.c
- Property svn:mergeinfo set
trunk/src/object/randart.c
- Property svn:mergeinfo set
r918 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 #include "init.h" 21 21 #include "randname.h" trunk/src/object/tvalsval.h
- Property svn:mergeinfo set
r990 r993 1 #ifndef INCLUDED_ TVALSV_H2 #define INCLUDED_ TVALSV_H1 #ifndef INCLUDED_OBJECT_TVALSVAL_H 2 #define INCLUDED_OBJECT_TVALSVAL_H 3 3 4 4 … … 374 374 375 375 376 #endif /* INCLUDED_ TVALSV_H */376 #endif /* INCLUDED_OBJECT_TVALSVAL_H */ trunk/src/spells1.c
r918 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/spells2.c
r930 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/squelch.c
r918 r993 20 20 #include "cmds.h" 21 21 #include "ui-menu.h" 22 #include " tvalsval.h"22 #include "object/tvalsval.h" 23 23 24 24 /* trunk/src/store.c
r991 r993 21 21 #include "ui-menu.h" 22 22 #include "game-event.h" 23 #include " tvalsval.h"23 #include "object/tvalsval.h" 24 24 25 25 trunk/src/tables.c
r918 r993 17 17 */ 18 18 #include "angband.h" 19 #include " tvalsval.h"19 #include "object/tvalsval.h" 20 20 21 21 trunk/src/target.c
r954 r993 114 114 115 115 /* Monster must be projectable */ 116 if (!projectable(py, px, m_ptr->fy, m_ptr->fx)) return (FALSE); 116 if (!projectable(py, px, m_ptr->fy, m_ptr->fx, PROJECT_STOP)) 117 return (FALSE); 117 118 118 119 /* Hack -- no targeting hallucinations */ trunk/src/types.h
r918 r993 116 116 117 117 118 /** 119 * Information about object kinds, including player knowledge. 120 * 121 * TODO: split out the user-changeable bits into a separate struct so this 122 * one can be read-only. 123 */ 124 typedef struct 125 { 126 /** Constants **/ 127 128 u32b name; /**< (const char *) object_kind::name + k_name = Name */ 129 u32b text; /**< (const char *) object_kind::text + k_text = Description */ 130 131 byte tval; /**< General object type (see TV_ macros) */ 132 byte sval; /**< Object sub-type (see SV_ macros) */ 133 s16b pval; /**< Power for any flags which need it */ 134 135 s16b to_h; /**< Bonus to-hit */ 136 s16b to_d; /**< Bonus to damage */ 137 s16b to_a; /**< Bonus to armor */ 138 s16b ac; /**< Base armor */ 139 140 byte dd; /**< Damage dice */ 141 byte ds; /**< Damage sides */ 142 s16b weight; /**< Weight, in 1/10lbs */ 143 144 s32b cost; /**< Object base cost */ 145 146 u32b flags1; /**< Flags, set 1 (see TR1_ macros) */ 147 u32b flags2; /**< Flags, set 2 (see TR2_ macros) */ 148 u32b flags3; /**< Flags, set 3 (see TR3_ macros) */ 149 150 byte d_attr; /**< Default object attribute */ 151 char d_char; /**< Default object character */ 152 153 byte alloc_prob; /**< Allocation: commonness */ 154 byte alloc_min; /**< Highest normal dungeon level */ 155 byte alloc_max; /**< Lowest normal dungeon level */ 156 byte level; /**< Level */ 157 158 u16b effect; /**< Effect this item produces (effects.c) */ 159 u16b time_base; /**< Recharge time (if appropriate) */ 160 byte time_dice; /**< Randomised recharge time dice */ 161 byte time_sides; /**< Randomised recharge time sides */ 162 163 byte charge_base; /**< Non-random initial charge base */ 164 byte charge_dd; /**< Randomised initial charge dice */ 165 byte charge_ds; /**< Randomised initial charge sides */ 166 167 byte gen_mult_prob; /**< Probability of generating more than one */ 168 byte gen_dice; /**< Number to generate dice */ 169 byte gen_side; /**< Number to generate sides */ 170 171 u16b flavor; /**< Special object flavor (or zero) */ 172 173 174 /** Game-dependent **/ 175 176 byte x_attr; /**< Desired object attribute (set by user/pref file) */ 177 char x_char; /**< Desired object character (set by user/pref file) */ 178 179 /** Also saved in savefile **/ 180 181 u16b note; /**< Autoinscription quark number */ 182 183 bool aware; /**< Set if player is aware of the kind's effects */ 184 bool tried; /**< Set if kind has been tried */ 185 186 bool squelch; /**< Set if kind should be squelched */ 187 bool everseen; /**< Set if kind has ever been seen (to despoilify squelch menus) */ 188 } object_kind; 189 190 191 192 /** 193 * Information about artifacts. 194 * 195 * Note that ::cur_num is written to the savefile. 196 * 197 * TODO: Fix this max_num/cur_num crap and just have a big boolean array of 198 * which artifacts have been created and haven't, so this can become read-only. 199 */ 200 typedef struct 201 { 202 u32b name; /**< (const char *) artifact_type::name + a_name = Name */ 203 u32b text; /**< (const char *) artifact_type::text + a_text = Description */ 204 205 byte tval; /**< General artifact type (see TV_ macros) */ 206 byte sval; /**< Artifact sub-type (see SV_ macros) */ 207 s16b pval; /**< Power for any flags which need it */ 208 209 s16b to_h; /**< Bonus to hit */ 210 s16b to_d; /**< Bonus to damage */ 211 s16b to_a; /**< Bonus to armor */ 212 s16b ac; /**< Base armor */ 213 214 byte dd; /**< Base damage dice */ 215 byte ds; /**< Base damage sides */ 216 217 &nb
