… | |
… | |
118 | bool ACC (RW, braced); /* Will not move if braced, only attack */ |
118 | bool ACC (RW, braced); /* Will not move if braced, only attack */ |
119 | bool ACC (RW, tmp_invis); /* Will invis go away when we attack ? */ |
119 | bool ACC (RW, tmp_invis); /* Will invis go away when we attack ? */ |
120 | bool ACC (RW, do_los); /* If true, need to call update_los() in draw(), and clear */ |
120 | bool ACC (RW, do_los); /* If true, need to call update_los() in draw(), and clear */ |
121 | bool ACC (RW, fire_on); /* Player should fire object, not move */ |
121 | bool ACC (RW, fire_on); /* Player should fire object, not move */ |
122 | bool ACC (RW, run_on); /* Player should keep moving in dir until run is off */ |
122 | bool ACC (RW, run_on); /* Player should keep moving in dir until run is off */ |
123 | bool ACC (RW, has_hit); /* If set, weapon_sp instead of speed will count */ |
|
|
124 | bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */ |
123 | bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */ |
125 | bool ACC (RW, hidden); /* If True, player (DM) is hidden from view */ |
124 | bool ACC (RW, hidden); /* If True, player (DM) is hidden from view */ |
126 | |
125 | |
127 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
126 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
|
|
127 | float ACC (RW, weapon_sp_left); // same as speed_left, but for attacks |
128 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
128 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
129 | object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ |
129 | object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ |
130 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
130 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
131 | |
131 | |
132 | object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks |
132 | object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks |
… | |
… | |
168 | /* the player can see. For maps smaller than */ |
168 | /* the player can see. For maps smaller than */ |
169 | /* MAP_CLIENT_.., the upper left is used */ |
169 | /* MAP_CLIENT_.., the upper left is used */ |
170 | |
170 | |
171 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
171 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
172 | |
172 | |
173 | MTH float weapon_speed () const; |
|
|
174 | |
|
|
175 | MTH static player *create (); |
173 | MTH static player *create (); |
176 | |
174 | |
177 | static player *load_pl (object_thawer &thawer); |
175 | static player *load_pl (object_thawer &thawer); |
178 | MTH static player *load_pl (const char *path); |
176 | MTH static player *load_pl (const char *path); |
179 | |
177 | |