Home
last modified time | relevance | path

Searched refs:radar_ptr (Results 1 – 14 of 14) sorted by relevance

/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/x11/
H A Dpaintradar.c145 int rs = radar_ptr[i].size; in Paint_objects_radar()
146 unsigned s = (rs <= 0 ? 1 : radar_ptr[i].size); in Paint_objects_radar()
149 if (radar_ptr[i].type == RadarFriend) { in Paint_objects_radar()
156 x = radar_ptr[i].x - s / 2 - slidingradar_x; in Paint_objects_radar()
157 y = RadarHeight - radar_ptr[i].y - 1 - s / 2 - slidingradar_y; in Paint_objects_radar()
184 RELEASE(radar_ptr, num_radar, max_radar); in Paint_objects_radar()
H A Dpainthud.c362 x = (int)(radar_ptr[i].x * hrscale in Paint_hudradar()
364 y = (int)(radar_ptr[i].y * hrscale in Paint_hudradar()
383 if (radar_ptr[i].type == RadarEnemy) { in Paint_hudradar()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/NT/
H A Dpaintradar.c183 int rs = radar_ptr[i].size; in Paint_objects_radar()
184 unsigned s = (rs <= 0 ? 1 : radar_ptr[i].size); in Paint_objects_radar()
187 if (radar_ptr[i].type == friend) { in Paint_objects_radar()
194 x = radar_ptr[i].x - s / 2 - slidingradar_x; in Paint_objects_radar()
195 y = RadarHeight - radar_ptr[i].y - 1 - s / 2 - slidingradar_y; in Paint_objects_radar()
222 RELEASE(radar_ptr, num_radar, max_radar); in Paint_objects_radar()
H A Dpainthud.c359 x = radar_ptr[i].x * hrscale in Paint_hudradar()
361 y = radar_ptr[i].y * hrscale in Paint_hudradar()
380 if (radar_ptr[i].type == normal) { in Paint_hudradar()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/
H A Dradar.c246 x = radar_ptr[i].x; in Radar_paint_objects()
247 y = radar_ptr[i].y; in Radar_paint_objects()
248 s = radar_ptr[i].size; in Radar_paint_objects()
252 if (radar_ptr[i].type == RadarFriend) glColor3ub(0, 0xff, 0); in Radar_paint_objects()
263 RELEASE(radar_ptr, num_radar, max_radar); in Radar_paint_objects()
H A Dsdlgui.c1726 x = (int)(radar_ptr[i].x * hrscale in Paint_hudradar()
1728 y = (int)(radar_ptr[i].y * hrscale in Paint_hudradar()
1747 if (radar_ptr[i].type == RadarEnemy) { in Paint_hudradar()
1755 if (radar_ptr[i].size == 0) { in Paint_hudradar()
/dports/games/xpilot/xpilot-4.5.5/src/client/
H A Dpaintradar.c210 int s = radar_ptr[i].size; in Paint_objects_radar()
223 x = radar_ptr[i].x - s / 2 - slidingradar_x; in Paint_objects_radar()
224 y = RadarHeight - radar_ptr[i].y - 1 - s / 2 - slidingradar_y; in Paint_objects_radar()
254 RELEASE(radar_ptr, num_radar, max_radar); in Paint_objects_radar()
H A Dpaintdata.c80 radar_t *radar_ptr; variable
824 STORE(radar_t, radar_ptr, num_radar, max_radar, t); in Handle_radar()
960 if (max_radar > 0 && radar_ptr) { in paintdataCleanup()
962 free(radar_ptr); in paintdataCleanup()
963 radar_ptr = 0; in paintdataCleanup()
H A Dpaintdata.h167 extern radar_t *radar_ptr;
H A Dpainthud.c390 int sz = radar_ptr[i].size; in Paint_hudradar()
395 int x = radar_ptr[i].x * hrscale - in Paint_hudradar()
398 int y = radar_ptr[i].y * hrscale - in Paint_hudradar()
/dports/games/xpilot/xpilot-4.5.5/src/server/
H A Dframe.c105 static radar_t *radar_ptr; variable
264 EXPAND(radar_ptr, num_radar, max_radar, radar_t, 1); in Frame_radar_buffer_add()
265 p = &radar_ptr[num_radar++]; in Frame_radar_buffer_add()
307 p = &radar_ptr[radar_shuffle[i]]; in Frame_radar_buffer_send()
324 p = &radar_ptr[radar_shuffle[i]]; in Frame_radar_buffer_send()
350 free(radar_ptr); in Frame_radar_buffer_free()
351 radar_ptr = NULL; in Frame_radar_buffer_free()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dframe.c72 static radar_t *radar_ptr; variable
236 EXPAND(radar_ptr, num_radar, max_radar, radar_t, 1); in Frame_radar_buffer_add()
237 p = &radar_ptr[num_radar++]; in Frame_radar_buffer_add()
273 p = &radar_ptr[radar_shuffle[i]]; in Frame_radar_buffer_send()
289 p = &radar_ptr[radar_shuffle[i]]; in Frame_radar_buffer_send()
312 XFREE(radar_ptr); in Frame_radar_buffer_free()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/
H A Dclient.c207 radar_t *radar_ptr; variable
2001 STORE(radar_t, radar_ptr, num_radar, max_radar, t); in Handle_fastradar()
2282 if (max_radar > 0 && radar_ptr) { in Client_cleanup()
2284 XFREE(radar_ptr); in Client_cleanup()
H A Dclient.h624 extern radar_t *radar_ptr;