-/*
+/*
* Copyright (C) 2003 Robert Kooima
*
* NEVERBALL is free software; you can redistribute it and/or modify
gp->si += (s0 - 1);
gp->sj += (s0 - 1);
gp->sk += (s0 - 1);
-
+
gp->mi = mi;
}
v_crs(plane_n[pi], u, v);
v_nrm(plane_n[pi], plane_n[pi]);
-
+
plane_d[pi] = v_dot(plane_n[pi], p1);
for (i = 0; i < 6; i++)
if (strcmp(k[i], "state") == 0)
xp->f = atoi(v[i]);
-
+
if (strcmp(k[i], "invisible") == 0)
xp->i = atoi(v[i]);
up->w[1] = 0.f;
up->w[2] = 0.f;
- up->a = 90.f;
-
for (i = 0; i < c; i++)
{
if (strcmp(k[i], "radius") == 0)
sscanf(v[i], "%f", &up->r);
- if (strcmp(k[i], "angle") == 0)
- sscanf(v[i], "%f", &up->a);
-
if (strcmp(k[i], "origin") == 0)
{
int x = 0, y = 0, z = 0;
m_basis(M, fp->sv[si].n, fp->sv[sj].n, fp->sv[sk].n);
m_xps(X, M);
-
+
if (m_inv(I, X))
{
m_vxfm(p, I, d);
}
/* Sort all lumps in the range by their flag values. */
-
+
for (li = 1; li < lc; li++)
for (lj = 0; lj < li; lj++)
if (fp->lv[l0 + li].fl < fp->lv[l0 + lj].fl)