--- deliantra/server/include/player.h 2007/01/07 02:39:14 1.43 +++ deliantra/server/include/player.h 2007/01/08 18:18:35 1.44 @@ -134,7 +134,6 @@ sint8 ACC (RW, gen_grace); /* Bonuses to regeneration speed of grace */ sint16 ACC (RW, item_power); /* Total item power of objects equipped */ uint8 ACC (RW, listening); /* Which priority will be used in info_all */ - sint8 ACC (RW, last_level); /* Last level we sent to client */ /* Try to put all the bitfields together - saves some small amount of memory */ bool ACC (RW, braced); /* Will not move if braced, only attack */ @@ -146,21 +145,9 @@ bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */ bool ACC (RW, hidden); /* If True, player (DM) is hidden from view */ - object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ - sint64 last_skill_exp[NUM_SKILLS]; /* shadow register. if != exp. obj update client */ - float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ - float ACC (RW, last_weapon_sp); /* if diff than weapon_sp, update client */ - uint16 ACC (RW, last_flags); /* fire/run on flags for last tick */ - sint32 ACC (RW, last_weight); /* Last weight as sent to client; -1 means do not send weight */ - sint32 ACC (RW, last_weight_limit); /* Last weight limit transmitted to client */ - uint32 ACC (RW, last_path_attuned); /* Last spell attunment sent to client */ - uint32 ACC (RW, last_path_repelled); /* Last spell repelled sent to client */ - uint32 ACC (RW, last_path_denied); /* Last spell denied sent to client */ living ACC (RO, orig_stats); /* Permanent real stats of player */ - living ACC (RO, last_stats); /* Last stats as sent to client */ - float ACC (RW, last_speed); /* Last speed as sent to client */ - sint16 ACC (RW, last_resist[NROFATTACKS]); /* last resist values sent to client */ + object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ sint16 ACC (RW, bed_x), ACC (RW, bed_y); /* x,y - coordinates of respawn (savebed) */ @@ -181,8 +168,6 @@ char write_buf[MAX_BUF]; /* Holds arbitrary input from client */ /* should go */ char ACC (RW, password)[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */ - time_t ACC (RW, last_save_time); - uint32 ACC (RW, last_save_tick); partylist *ACC (RW, party); /* Party this player is part of */ partylist *ACC (RW, party_to_join); /* used when player wants to join a party */ /* but we will have to get password first */