mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 00:11:06 +00:00
20 lines
364 B
C++
20 lines
364 B
C++
|
void print(...) = #1;
|
||
|
string ftos (float) = #2;
|
||
|
|
||
|
void main(float brkat, float contat) {
|
||
|
float i;
|
||
|
|
||
|
for (i = 0; i < 10; i += 1) {
|
||
|
if (i == contat) {
|
||
|
print("ct ");
|
||
|
continue;
|
||
|
}
|
||
|
print(ftos(i), " ");
|
||
|
if (i == brkat) {
|
||
|
print("brk ");
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
print("end\n");
|
||
|
}
|