… | |
… | |
130 | sint8 ACC (RW, gen_hp); /* Bonuses to regeneration speed of hp */ |
130 | sint8 ACC (RW, gen_hp); /* Bonuses to regeneration speed of hp */ |
131 | sint8 ACC (RW, gen_sp); /* Bonuses to regeneration speed of sp */ |
131 | sint8 ACC (RW, gen_sp); /* Bonuses to regeneration speed of sp */ |
132 | sint8 ACC (RW, gen_sp_armour); /* Penalty to sp regen from armour */ |
132 | sint8 ACC (RW, gen_sp_armour); /* Penalty to sp regen from armour */ |
133 | sint8 ACC (RW, gen_grace); /* Bonuses to regeneration speed of grace */ |
133 | sint8 ACC (RW, gen_grace); /* Bonuses to regeneration speed of grace */ |
134 | sint16 ACC (RW, item_power); /* Total item power of objects equipped */ |
134 | sint16 ACC (RW, item_power); /* Total item power of objects equipped */ |
135 | uint8 ACC (RW, state); /* Input state of the player (name, password, etc */ |
|
|
136 | uint8 ACC (RW, listening); /* Which priority will be used in info_all */ |
135 | uint8 ACC (RW, listening); /* Which priority will be used in info_all */ |
137 | sint8 ACC (RW, last_level); /* Last level we sent to client */ |
136 | sint8 ACC (RW, last_level); /* Last level we sent to client */ |
138 | |
137 | |
139 | /* Try to put all the bitfields together - saves some small amount of memory */ |
138 | /* Try to put all the bitfields together - saves some small amount of memory */ |
140 | uint32 ACC (RO, braced):1; /* Will not move if braced, only attack */ |
139 | uint32 ACC (RO, braced):1; /* Will not move if braced, only attack */ |
… | |
… | |
206 | }; |
205 | }; |
207 | |
206 | |
208 | struct player : zero_initialised, attachable<player>, player_pod |
207 | struct player : zero_initialised, attachable<player>, player_pod |
209 | { |
208 | { |
210 | player *next; /* Pointer to next player, NULL if this is last */ |
209 | player *next; /* Pointer to next player, NULL if this is last */ |
211 | client *ACC (RO, socket); /* Socket information for this player */ |
210 | client *ACC (RO, ns); /* Socket information for this player */ |
212 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
211 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
213 | shstr invis_race; /* What race invisible to? */ |
212 | shstr invis_race; /* What race invisible to? */ |
214 | |
213 | |
215 | void clear () |
214 | void clear () |
216 | { |
215 | { |