components/prboom/p_spec.c
/////////////////////////////
//
// Add a friction thinker to the thinker list
//
// Add_Friction adds a new friction thinker to the list of active thinkers.
//
Add a friction thinker to the thinker list
Add_Friction adds a new friction thinker to the list of active thinkers.
Add a friction thinker to the thinker list Add_Friction adds a new friction thinker to the list of active thinkers .
static void Add_Friction(int friction, int movefactor, int affectee)
    {
    friction_t *f = Z_Malloc(sizeof *f, PU_LEVSPEC, 0);
    f->thinker.function = T_Friction;
    f->friction = friction;
    f->movefactor = movefactor;
    f->affectee = affectee;
    P_AddThinker(&f->thinker);
    }
static void Add_Friction ( int friction , int movefactor , int affectee ) { friction_t * f = Z_Malloc ( sizeof * f , PU_LEVSPEC , 0 ) ; f -> thinker . function = T_Friction ; f -> friction = friction ; f -> movefactor = movefactor ; f -> affectee = affectee ; P_AddThinker ( & f -> thinker ) ; }
Add a friction thinker to the thinker list
Add_Friction adds a new friction thinker to the list of active thinkers.
Add a friction thinker to the thinker list Add_Friction adds a new friction thinker to the list of active thinkers .
/*.acp1*/ /*(actionf_p1) */