… | |
… | |
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? */ |
… | |
… | |
178 | |
176 | |
179 | // wether the player can "see" this mapspace or not, decided by los |
177 | // wether the player can "see" this mapspace or not, decided by los |
180 | // 0 - nothing see, 100 - fully visible |
178 | // 0 - nothing see, 100 - fully visible |
181 | MTH sint8 visibility_at (maptile *map, int x, int y) const; |
179 | MTH sint8 visibility_at (maptile *map, int x, int y) const; |
182 | |
180 | |
183 | MTH void set_skill (object *skill, object *ob = 0); |
|
|
184 | |
|
|
185 | MTH void connect (client *ns); |
181 | MTH void connect (client *ns); |
186 | MTH void disconnect (); |
182 | MTH void disconnect (); |
187 | |
183 | |
188 | MTH void activate (); |
184 | MTH void activate (); |
189 | MTH void deactivate (); |
185 | MTH void deactivate (); |