rewrite bspfile.[ch] so they work off an object rather than global data.

The direct filesystem access is also removed. Fix up qfvis and qflight to
compile with the new bspfile. qfvis seems to work, qflight probably doesn't
This commit is contained in:
Bill Currie 2002-09-19 05:35:17 +00:00
parent 86f542a971
commit 24a9b48127
10 changed files with 285 additions and 308 deletions

View file

@ -59,4 +59,6 @@ byte *GetFileSpace (int size);
void TransformSample (vec3_t in, vec3_t out);
void RotateSample (vec3_t in, vec3_t out);
extern struct bsp_s *bsp;
#endif// __light_h