Changeset 505
- Timestamp:
- 08/12/07 05:41:12 (1 year ago)
- Files:
-
- trunk/src/Makefile.inc (modified) (11 diffs)
- trunk/src/birth.c (modified) (1 diff)
- trunk/src/cmd5.c (modified) (1 diff)
- trunk/src/dungeon.c (modified) (1 diff)
- trunk/src/externs.h (modified) (1 diff)
- trunk/src/init2.c (modified) (1 diff)
- trunk/src/script.h (deleted)
- trunk/src/spells1.c (modified) (1 diff)
- trunk/src/store.c (modified) (1 diff)
- trunk/src/wizard2.c (modified) (1 diff)
- trunk/src/x-spell.c (modified) (1 diff)
- trunk/src/xtra1.c (modified) (1 diff)
- trunk/src/z-smap.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/Makefile.inc
r504 r505 19 19 birth.o: birth.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 20 20 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 21 ui.h z-type.h externs.h cmds.h script.h21 ui.h z-type.h externs.h cmds.h 22 22 cave.o: cave.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 23 23 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ … … 40 40 cmd5.o: cmd5.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 41 41 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 42 ui.h z-type.h externs.h script.h42 ui.h z-type.h externs.h 43 43 cmd6.o: cmd6.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 44 44 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ … … 46 46 dungeon.o: dungeon.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 47 47 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 48 option.h types.h ui.h z-type.h externs.h cmds.h script.h48 option.h types.h ui.h z-type.h externs.h cmds.h 49 49 effects.o: effects.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 50 50 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ … … 61 61 init2.o: init2.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 62 62 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 63 ui.h z-type.h externs.h init.h script.hcmds.h63 ui.h z-type.h externs.h init.h cmds.h 64 64 load.o: load.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 65 65 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ … … 68 68 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 69 69 option.h types.h ui.h z-type.h externs.h z-blockfile.h z-smap.h 70 log.o: log.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \71 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \72 ui.h z-type.h externs.h log.h73 maid-x11.o: maid-x11.c angband.h h-basic.h z-file.h z-form.h z-util.h \74 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \75 option.h types.h ui.h z-type.h externs.h76 main.o: main.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \77 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \78 ui.h z-type.h externs.h main.h79 main-crb.o: main-crb.c80 main-gcu.o: main-gcu.c angband.h h-basic.h z-file.h z-form.h z-util.h \81 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \82 option.h types.h ui.h z-type.h externs.h83 main-gtk.o: main-gtk.c angband.h h-basic.h z-file.h z-form.h z-util.h \84 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \85 option.h types.h ui.h z-type.h externs.h86 main-ros.o: main-ros.c87 main-sdl.o: main-sdl.c angband.h h-basic.h z-file.h z-form.h z-util.h \88 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \89 option.h types.h ui.h z-type.h externs.h cmds.h90 main-win.o: main-win.c angband.h h-basic.h z-file.h z-form.h z-util.h \91 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \92 option.h types.h ui.h z-type.h externs.h93 main-x11.o: main-x11.c angband.h h-basic.h z-file.h z-form.h z-util.h \94 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \95 option.h types.h ui.h z-type.h externs.h96 main-xaw.o: main-xaw.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 z-quark.h z-msg.h config.h defines.h \98 option.h types.h ui.h z-type.h externs.h99 main-xxx.o: main-xxx.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 z-quark.h z-msg.h config.h defines.h \101 option.h types.h ui.h z-type.h externs.h102 70 melee1.o: melee1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 103 71 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ … … 124 92 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 125 93 option.h types.h ui.h z-type.h externs.h 126 pathfind.o: pathfind.c angband.h h-basic.h z-file.h z-form.h z-util.h \127 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \128 option.h types.h ui.h z-type.h externs.h129 94 randart.o: randart.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 130 95 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ … … 133 98 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 134 99 option.h types.h ui.h z-type.h externs.h randname.h 135 save.o: save.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \136 z- rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \137 ui.h z-type.h externs.h100 pathfind.o: pathfind.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 101 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 102 option.h types.h ui.h z-type.h externs.h 138 103 score.o: score.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 139 104 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ … … 142 107 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 143 108 option.h types.h ui.h z-type.h externs.h 144 snd-sdl.o: snd-sdl.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 109 save.o: save.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 110 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 111 ui.h z-type.h externs.h 112 spells1.o: spells1.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 145 113 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 146 114 option.h types.h ui.h z-type.h externs.h 147 spells1.o: spells1.c angband.h h-basic.h z-file.h z-form.h z-util.h \148 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \149 option.h types.h ui.h z-type.h externs.h script.h150 115 spells2.o: spells2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 151 116 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ … … 156 121 store.o: store.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 157 122 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 158 ui.h z-type.h externs.h script.hcmds.h123 ui.h z-type.h externs.h cmds.h 159 124 tables.o: tables.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 160 125 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ … … 177 142 wizard2.o: wizard2.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 178 143 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 179 option.h types.h ui.h z-type.h externs.h cmds.h script.h144 option.h types.h ui.h z-type.h externs.h cmds.h 180 145 x-spell.o: x-spell.c angband.h h-basic.h z-file.h z-form.h z-util.h \ 181 146 z-virt.h z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h \ 182 option.h types.h ui.h z-type.h externs.h script.h147 option.h types.h ui.h z-type.h externs.h 183 148 xtra1.o: xtra1.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 184 149 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 185 ui.h z-type.h externs.h script.h150 ui.h z-type.h externs.h 186 151 xtra2.o: xtra2.c angband.h h-basic.h z-file.h z-form.h z-util.h z-virt.h \ 187 152 z-rand.h z-term.h z-quark.h z-msg.h config.h defines.h option.h types.h \ 188 153 ui.h z-type.h externs.h cmds.h 189 z-blockfile.o: z-blockfile.c z-virt.h h-basic.h z-blockfile.h z-file.h190 154 z-file.o: z-file.c z-file.h h-basic.h z-virt.h z-util.h z-form.h 191 155 z-form.o: z-form.c z-form.h h-basic.h z-type.h z-util.h z-virt.h … … 193 157 z-quark.o: z-quark.c z-virt.h h-basic.h z-quark.h 194 158 z-rand.o: z-rand.c z-rand.h h-basic.h 195 z-smap.o: z-smap.c z-virt.h h-basic.h z-file.h z-smap.h196 159 z-term.o: z-term.c z-term.h h-basic.h z-virt.h 197 160 z-type.o: z-type.c h-basic.h z-form.h z-term.h ui.h z-type.h 198 161 z-util.o: z-util.c z-util.h h-basic.h 199 162 z-virt.o: z-virt.c z-virt.h h-basic.h z-util.h 163 z-blockfile.o: z-blockfile.c z-virt.h h-basic.h z-blockfile.h z-file.h 164 z-smap.o: z-smap.c z-virt.h h-basic.h z-file.h z-smap.h trunk/src/birth.c
r500 r505 11 11 #include "angband.h" 12 12 #include "cmds.h" 13 #include "script.h"14 13 15 14 trunk/src/cmd5.c
r332 r505 10 10 11 11 #include "angband.h" 12 13 #include "script.h"14 12 15 13 trunk/src/dungeon.c
r500 r505 12 12 #include "z-file.h" 13 13 #include "cmds.h" 14 #include "script.h"15 14 16 15 trunk/src/externs.h
r500 r505 685 685 extern void repeat_check(void); 686 686 687 /* x-spell.c */ 688 extern int get_spell_index(const object_type *o_ptr, int index); 689 extern cptr get_spell_name(int tval, int index); 690 extern void get_spell_info(int tval, int index, char *buf, size_t len); 691 extern bool cast_spell(int tval, int index); 692 687 693 /* xtra1.c */ 688 694 extern void cnv_stat(int val, char *out_val, size_t len); trunk/src/init2.c
r494 r505 13 13 14 14 #include "init.h" 15 #include "script.h"16 15 #include "cmds.h" 17 16 #include "option.h" trunk/src/spells1.c
r449 r505 11 11 #include "angband.h" 12 12 13 #include "script.h"14 13 15 14 trunk/src/store.c
r489 r505 1 /* File: store.c */ 2 3 /* 4 * Copyright (c) 1997-2005 Andrew Sidwell, Ben Harrison, James E. Wilson, 5 * Robert A. Koeneke 6 * 7 * This software may be copied and distributed for educational, research, 8 * and not for profit purposes provided that this copyright and statement 9 * are included in all such copies. Other copyrights may also apply. 10 */ 11 1 /* 2 * File: store.c 3 * Purpose: Store stocking and UI 4 * 5 * Copyright (c) 1997 Robert A. Koeneke, James E. Wilson, Ben Harrison 6 * Copyright (c) 2007 Andrew Sidwell, who rewrote a fair portion 7 * 8 * This work is free software; you can redistribute it and/or modify it 9 * under the terms of either: 10 * 11 * a) the GNU General Public License as published by the Free Software 12 * Foundation, version 2, or 13 * 14 * b) the "Angband licence": 15 * This software may be copied and distributed for educational, research, 16 * and not for profit purposes provided that this copyright and statement 17 * are included in all such copies. Other copyrights may also apply. 18 */ 12 19 #include "angband.h" 13 #include "script.h"14 20 #include "cmds.h" 21 15 22 16 23 /*** Constants and definitions ***/ trunk/src/wizard2.c
r500 r505 8 8 * are included in all such copies. Other copyrights may also apply. 9 9 */ 10 11 10 #include "angband.h" 12 11 #include "cmds.h" 13 #include "script.h"14 12 15 13 trunk/src/x-spell.c
r367 r505 11 11 12 12 #include "angband.h" 13 #include "script.h"14 13 15 14 trunk/src/xtra1.c
r479 r505 10 10 11 11 #include "angband.h" 12 #include "script.h"13 12 14 13 trunk/src/z-smap.h
r503 r505 4 4 #include "h-basic.h" 5 5 6 typedef struct _sentry_t { 6 typedef struct _sentry_t 7 { 7 8 byte type; 8 9 u32b keylen; 9 10 u32b datalen; 10 11 char *key; 11 union { 12 union 13 { 12 14 bool boolval; 13 15 char charval; … … 24 26 } sentry_t; 25 27 26 typedef struct _smap_t { 28 typedef struct _smap_t 29 { 27 30 sentry_t *entries; 28 31 } smap_t;
