1 void(string, ...) print = #1;
2 string(float) ftos = #2;
4 string(vector) vtos = #5;
5 void(string, ...) error = #6;
19 float(entity targ) visible = {
20 local vector spot1, spot2;
21 spot1 = self.origin + self.view;
22 spot2 = targ.origin + targ.view;
24 print("spot1 = ", vtos(spot1), "\n");
25 print("spot2 = ", vtos(spot2), "\n");
26 // This was part of some QC code which had a bug
27 // we don't actually return anything important here.
31 void(vector a, vector b) main = {
37 error("ERROR, self == targ\n");
42 print("vis: ", ftos(visible(targ)), "\n");