end of the function AAS_ClearShownDebugLines =========================================================================== Parameter: - Returns: - Changes Globals: - ===========================================================================
| 128 | // Changes Globals: - |
| 129 | //=========================================================================== |
| 130 | void AAS_DebugLine(vec3_t start, vec3_t end, int color) |
| 131 | { |
| 132 | int line; |
| 133 | |
| 134 | for (line = 0; line < MAX_DEBUGLINES; line++) |
| 135 | { |
| 136 | if (!debuglines[line]) |
| 137 | { |
| 138 | debuglines[line] = botimport.DebugLineCreate(); |
| 139 | debuglinevisible[line] = qfalse; |
| 140 | numdebuglines++; |
| 141 | } //end if |
| 142 | if (!debuglinevisible[line]) |
| 143 | { |
| 144 | botimport.DebugLineShow(debuglines[line], start, end, color); |
| 145 | debuglinevisible[line] = qtrue; |
| 146 | return; |
| 147 | } //end else |
| 148 | } //end for |
| 149 | } //end of the function AAS_DebugLine |
| 150 | //=========================================================================== |
| 151 | // |
| 152 | // Parameter: - |
no outgoing calls
no test coverage detected