1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
9 | * the terms of the Affero GNU General Public License as published by the |
9 | * the terms of the Affero GNU General Public License as published by the |
… | |
… | |
21 | * |
21 | * |
22 | * The authors can be reached via e-mail to <support@deliantra.net> |
22 | * The authors can be reached via e-mail to <support@deliantra.net> |
23 | */ |
23 | */ |
24 | |
24 | |
25 | #include <global.h> |
25 | #include <global.h> |
26 | #include <loader.h> |
|
|
27 | #include <sproto.h> |
26 | #include <sproto.h> |
28 | |
27 | |
29 | /* Handles misc. input request - things like hash table, malloc, maps, etc */ |
28 | /* Handles misc. input request - things like hash table, malloc, maps, etc */ |
30 | |
29 | |
31 | typedef struct |
30 | typedef struct |
… | |
… | |
209 | " Wis %2d\n" |
208 | " Wis %2d\n" |
210 | " Cha %2d\n" |
209 | " Cha %2d\n" |
211 | " Pow %2d\n" |
210 | " Pow %2d\n" |
212 | " wc %d damage %d ac %d\n", |
211 | " wc %d damage %d ac %d\n", |
213 | &ob->name, |
212 | &ob->name, |
214 | &ob->name, |
213 | ob->level, |
215 | ob->stats.hp, ob->stats.maxhp, ob->stats.sp, ob->stats.maxsp, |
214 | ob->stats.hp, ob->stats.maxhp, ob->stats.sp, ob->stats.maxsp, |
216 | ob->stats.Str, |
215 | ob->stats.Str, |
217 | ob->stats.Dex, |
216 | ob->stats.Dex, |
218 | ob->stats.Con, |
217 | ob->stats.Con, |
219 | ob->stats.Int, |
218 | ob->stats.Int, |