light: entities: delete some dead code
This commit is contained in:
parent
dea6514298
commit
8b1e1e0164
|
|
@ -67,8 +67,6 @@ public:
|
|||
|
||||
const bsp2_dleaf_t *leaf; // for vis testing
|
||||
|
||||
entity_t *next;
|
||||
|
||||
const char *classname() const;
|
||||
|
||||
public:
|
||||
|
|
@ -99,7 +97,6 @@ public:
|
|||
targetent {nullptr},
|
||||
generated {false},
|
||||
leaf {nullptr},
|
||||
next {nullptr},
|
||||
|
||||
// settings
|
||||
|
||||
|
|
@ -145,9 +142,6 @@ public:
|
|||
* Stores the RGB values to determine the light color
|
||||
*/
|
||||
|
||||
//#define MAX_LIGHTS 65536
|
||||
//extern entity_t *lights[MAX_LIGHTS];
|
||||
|
||||
const std::vector<entity_t>& GetLights();
|
||||
|
||||
const entdict_t *FindEntDictWithKeyPair(const std::string &key, const std::string &value);
|
||||
|
|
|
|||
|
|
@ -159,19 +159,6 @@ SetupSpotlights(void)
|
|||
}
|
||||
}
|
||||
|
||||
/* helper function */
|
||||
static void
|
||||
scan_vec3(vec3_t dest, const char *buf, const char *name)
|
||||
{
|
||||
int i;
|
||||
double vec[3] = { 0.0, 0.0, 0.0 };
|
||||
|
||||
if (sscanf(buf, "%lf %lf %lf", &vec[0], &vec[1], &vec[2]) != 3)
|
||||
logprint("WARNING: Not 3 values for %s\n", name);
|
||||
for (i = 0; i < 3; ++i)
|
||||
dest[i] = vec[i];
|
||||
}
|
||||
|
||||
void
|
||||
vec_from_mangle(vec3_t v, const vec3_t m)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue