Lines Matching refs:newpp
253 stplayer(PLAYER *newpp, int enter_status)
262 newpp->p_maze[y][x] = Maze[y][x];
265 newpp->p_maze[y][x] = Maze[y][x];
267 newpp->p_maze[y][x] = SPACE;
269 newpp->p_maze[y][x] = Maze[y][x];
273 newpp->p_maze[y][x] = Maze[y][x];
279 newpp->p_over = SPACE;
280 newpp->p_x = x;
281 newpp->p_y = y;
282 newpp->p_undershot = false;
286 newpp->p_flying = rand_num(20);
287 newpp->p_flyx = 2 * rand_num(6) - 5;
288 newpp->p_flyy = 2 * rand_num(6) - 5;
289 newpp->p_face = FLYER;
294 newpp->p_flying = -1;
295 newpp->p_face = rand_dir();
297 newpp->p_damage = 0;
298 newpp->p_damcap = MAXDAM;
299 newpp->p_nchar = 0;
300 newpp->p_ncount = 0;
301 newpp->p_nexec = 0;
302 newpp->p_ammo = ISHOTS;
304 newpp->p_nboots = 0;
307 newpp->p_scan = SCANLEN;
308 newpp->p_cloak = 0;
311 newpp->p_scan = 0;
312 newpp->p_cloak = CLOAKLEN;
314 newpp->p_ncshot = 0;
337 newpp->p_ident->i_score,
338 stat_char(newpp), newpp->p_ident->i_name,
339 newpp->p_ident->i_team);
340 y = STAT_PLAY_ROW + 1 + (newpp - Player);
342 if (pp != newpp) {
346 newpp->p_ammo += NSHOTS;
362 drawmaze(newpp);
363 drawplayer(newpp, true);
364 look(newpp);
368 showexpl(newpp->p_y, newpp->p_x, FLYER);
370 sendcom(newpp, REFRESH);
371 sendcom(newpp, READY, 0);
372 (void) fflush(newpp->p_output);