ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_misc.C
(Generate patch)

Comparing deliantra/server/server/c_misc.C (file contents):
Revision 1.66 by root, Sun Apr 20 06:20:38 2008 UTC vs.
Revision 1.72 by root, Fri Dec 19 22:47:29 2008 UTC

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 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008 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 8 * Deliantra is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
92 dump_friendly_objects (); 92 dump_friendly_objects ();
93 return 0; 93 return 0;
94} 94}
95 95
96int 96int
97command_printlos (object *op, char *params)
98{
99 if (op)
100 print_los (op);
101 return 0;
102}
103
104
105int
106command_version (object *op, char *params) 97command_version (object *op, char *params)
107{ 98{
108 version (op); 99 version (op);
109 return 0; 100 return 0;
110} 101}
163} 154}
164 155
165int 156int
166command_fix_me (object *op, char *params) 157command_fix_me (object *op, char *params)
167{ 158{
168 sum_weight (op); 159 op->update_weight ();
169 op->update_stats (); 160 op->update_stats ();
170 new_draw_info (NDI_UNIQUE, 0, op, "Your character was fixed."); 161 new_draw_info (NDI_UNIQUE, 0, op, "Your character was fixed.");
171
172 return 1;
173}
174
175int
176command_logs (object *op, char *params)
177{
178 new_draw_info (NDI_UNIQUE, 0, op, "Nobody is currently logging kills.");
179 162
180 return 1; 163 return 1;
181} 164}
182 165
183int 166int

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines