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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.113 by root, Tue Apr 24 12:32:16 2007 UTC vs.
Revision 1.114 by root, Wed Apr 25 18:47:51 2007 UTC

318player::player () 318player::player ()
319{ 319{
320 /* There are some elements we want initialised to non zero value - 320 /* There are some elements we want initialised to non zero value -
321 * we deal with that below this point. 321 * we deal with that below this point.
322 */ 322 */
323 outputs_sync = 6; /* Every 2 seconds */ 323 outputs_sync = 4;
324 outputs_count = 10; /* Keeps present behaviour */ 324 outputs_count = 4;
325 unapply = unapply_nochoice; 325 unapply = unapply_nochoice;
326 326
327 savebed_map = first_map_path; /* Init. respawn position */ 327 savebed_map = first_map_path; /* Init. respawn position */
328 328
329 gen_sp_armour = 10; 329 gen_sp_armour = 10;
2419 make_visible (op); 2419 make_visible (op);
2420 new_draw_info (NDI_UNIQUE, 0, op, "Your invisibility spell runs out."); 2420 new_draw_info (NDI_UNIQUE, 0, op, "Your invisibility spell runs out.");
2421 } 2421 }
2422 } 2422 }
2423 2423
2424 if (op->contr->outputs_sync)
2425 for (i = 0; i < NUM_OUTPUT_BUFS; i++)
2426 if (op->contr->outputs[i].buf && (op->contr->outputs[i].first_update + op->contr->outputs_sync) < (uint16) pticks)
2427 flush_output_element (op, &op->contr->outputs[i]);
2428
2429 if (op->contr->ns->state == ST_PLAYING) 2424 if (op->contr->ns->state == ST_PLAYING)
2430 { 2425 {
2431 /* these next three if clauses make it possible to SLOW DOWN 2426 /* these next three if clauses make it possible to SLOW DOWN
2432 hp/grace/spellpoint regeneration. */ 2427 hp/grace/spellpoint regeneration. */
2433 if (op->contr->gen_hp >= 0) 2428 if (op->contr->gen_hp >= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines