1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
/**
** Items.h - Names of items.
**
** Written: 12/3/98 - JSF
**/
/*
Copyright (C) 1998 Jeffrey S. Freedman
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef INCL_ITEMS
#define INCL_ITEMS 1
#ifndef ALPHA_LINUX_CXX
# include <iosfwd>
#endif
extern char **item_names; // The game items' names.
extern int num_item_names;
void Setup_item_names (std::ifstream& items, std::ifstream& msgs);
/*
* Some offsets in text.flx and exultmsg.txt:
*/
const int first_move_aside = 0x400; // For guards when blocked.
const int last_move_aside = 0x402;
const int first_preach = 0x403, last_preach = 0x407;
const int first_preach2 = 0x408, last_preach2 = 0x40b;
const int first_amen = 0x40c, last_amen = 0x40f;
const int first_waiter_ask = 0x41b, last_waiter_ask = 0x41f;
const int first_more_food = 0x420, last_more_food = 0x424;
const int first_munch = 0x425, last_munch = 0x428;
const int first_ouch = 0x429;
const int last_ouch = 0x42c;
const int first_need_help = 0x430;
const int last_need_help = 0x433;
const int first_will_help = 0x434;
const int last_will_help = 0x436;
const int first_to_battle = 0x439;
const int last_to_battle = 0x43b;
const int first_farmer = 0x43f, last_farmer = 0x441;
const int first_miner = 0x442, last_miner = 0x444;
const int first_flee = 0x448;
const int last_flee = 0x44e;
const int first_lamp_on = 0x463;
const int last_lamp_on = 0x466;
const int lamp_off = 0x467;
const int first_call_police = 0x469;
const int last_call_police = 0x46d;
const int first_call_guards = 0x46c;
const int last_call_guards = 0x46d;
const int first_theft = 0x46e; // Warnings.
const int last_theft = 0x470;
const int first_close_shutters = 0x471;
const int last_close_shutters = 0x473;
const int first_open_shutters = 0x474;
const int last_open_shutters = 0x476;
const int first_hunger = 0x477; // A little hungry. (3 of each).
const int first_needfood = 0x47a; // Must have food.
const int first_starving = 0x47b; // Starving.
const int heard_something = 0x495;
const int first_awakened = 0x495;
const int last_awakened = 0x49a;
// Messages in exultmsg.txt:
const int first_chair_thief = 2800, last_chair_thief = 2804;
const int first_waiter_banter = 2805, last_waiter_banter = 2807;
const int first_waiter_serve = 2808, last_waiter_serve = 2809;
const int first_bed_occupied = 2810, num_bed_occupied = 3;
const int first_catchup = 2813, last_catchup = 2815;
#endif
|