… | |
… | |
120 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
120 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
121 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
121 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
122 | object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ |
122 | object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ |
123 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
123 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
124 | |
124 | |
125 | object_ptr ACC (RW, combat_skill); // which skill to use for direct attacks |
|
|
126 | object_ptr ACC (RW, combat_ob); // which weapon to use |
125 | object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks |
127 | object_ptr ACC (RW, ranged_skill); // which skill to use for ranged attacks |
126 | object_ptr ACC (RW, ranged_ob); // which skill/item/spell to use for ranged attacks |
128 | object_ptr ACC (RW, ranged_ob); // bow/spell |
|
|
129 | object_ptr ACC (RW, golem); // the currently controlled golem |
127 | object_ptr ACC (RW, golem); // the currently controlled golem |
130 | |
128 | |
131 | sint16 ACC (RW, bed_x), ACC (RW, bed_y); /* x,y - coordinates of respawn (savebed) */ |
129 | sint16 ACC (RW, bed_x), ACC (RW, bed_y); /* x,y - coordinates of respawn (savebed) */ |
132 | shstr ACC (RW, savebed_map); /* map where player will respawn after death */ |
130 | shstr ACC (RW, savebed_map); /* map where player will respawn after death */ |
133 | shstr ACC (RW, maplevel); /* On which level is the player? */ |
131 | shstr ACC (RW, maplevel); /* On which level is the player? */ |
… | |
… | |
163 | /* the player can see. For maps smaller than */ |
161 | /* the player can see. For maps smaller than */ |
164 | /* MAP_CLIENT_.., the upper left is used */ |
162 | /* MAP_CLIENT_.., the upper left is used */ |
165 | |
163 | |
166 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
164 | shstr ACC (RW, invis_race); /* What race invisible to? */ |
167 | |
165 | |
|
|
166 | MTH float weapon_speed () const; |
|
|
167 | |
168 | MTH static player *create (); |
168 | MTH static player *create (); |
169 | |
169 | |
170 | static player *load_pl (object_thawer &thawer); |
170 | static player *load_pl (object_thawer &thawer); |
171 | MTH static player *load_pl (const char *path); |
171 | MTH static player *load_pl (const char *path); |
172 | |
172 | |