Searched refs:seg2p (Results 1 – 7 of 7) sorted by relevance
128 station_type = seg2p->special; in fuelcen_create()144 Assert( (seg2p != NULL) ); in fuelcen_create()145 if ( seg2p == NULL ) return; in fuelcen_create()150 seg2p->value = Num_fuelcenters; in fuelcen_create()178 Assert( (seg2p != NULL) ); in matcen_create()180 if ( seg2p == NULL ) return; in matcen_create()203 RobotCenters[seg2p->matcen_num].segnum = seg2p-Segment2s; in matcen_create()216 seg2p->special = station_type; in fuelcen_activate()244 Assert((seg2p->matcen_num >= 0) && (seg2p->matcen_num <= Highest_segment_index)); in trigger_matcen()289 seg2p->special = 0; in fuelcen_delete()[all …]
297 segment2 *seg2p = &Segment2s[segp-Segments]; in paging_touch_robot_maker() local299 if ( seg2p->special == SEGMENT_IS_ROBOTMAKER ) { in paging_touch_robot_maker()301 if (RobotCenters[seg2p->matcen_num].robot_flags != 0) { in paging_touch_robot_maker()308 flags = RobotCenters[seg2p->matcen_num].robot_flags[i]; in paging_touch_robot_maker()327 segment2 *seg2p = &Segment2s[segp-Segments]; in paging_touch_segment() local329 if ( seg2p->special == SEGMENT_IS_ROBOTMAKER ) in paging_touch_segment()
1941 segment2 *seg2p = &Segment2s[segnum]; in apply_light_to_segment() local1947 seg2p->static_light += light_at_point; in apply_light_to_segment()1948 if (seg2p->static_light < 0) // if it went negative, saturate in apply_light_to_segment()1949 seg2p->static_light = 0; in apply_light_to_segment()2169 segment2 *seg2p = &Segment2s[i]; in set_ambient_sound_flags_common() local2176 seg2p->s2_flags |= s2f_bit; in set_ambient_sound_flags_common()2187 segment2 *seg2p = &Segment2s[i]; in set_ambient_sound_flags_common() local2189 if (seg2p->s2_flags & s2f_bit) in set_ambient_sound_flags_common()
34 register char *seg2p; in zend_qsort() local70 seg2p = seg2; in zend_qsort()72 if ((seg2p - begin) <= (end - seg2p)) { in zend_qsort()73 if ((seg2p + siz) < end) { in zend_qsort()74 begin_stack[loop] = seg2p + siz; in zend_qsort()77 end = seg2p - siz; in zend_qsort()80 if ((seg2p - siz) > begin) { in zend_qsort()82 end_stack[loop++] = seg2p - siz; in zend_qsort()84 begin = seg2p + siz; in zend_qsort()