Lines Matching defs:obj
24 OBJECT *obj;
28 obj = (OBJECT *) malloc(sizeof root);
30 obj = Null(OBJECT*);
33 obj = free_root.next;
34 free_root.next = obj->next;
35 obj->next->prev = &free_root;
37 obj->type = typ;
38 obj->image = img;
39 obj->next = where;
40 obj->prev = where->prev;
41 where->prev = obj;
42 obj->prev->next = obj;
43 obj->velx = vx;
44 obj->vely = vy;
45 obj->contend = 0;
46 obj->strategy = 0;
47 obj->flags = 0;
48 obj->posx = px;
49 obj->posy = py;
51 occupant[py][px] = obj;
53 obj->energy = energ;
54 obj->mass = mas;
55 return(obj);