lots of whitespace

This commit is contained in:
Bill Currie 2010-08-27 22:12:13 +09:00
parent 5c0a55d818
commit 5cf5c1e227
11 changed files with 115 additions and 117 deletions

View file

@ -52,7 +52,7 @@ typedef struct visfacet_s {
int texturenum; int texturenum;
int contents[2]; // 0 = front side int contents[2]; // 0 = front side
struct visfacet_s *original; // face on node struct visfacet_s *original;// face on node
int outputnumber; // valid only for original faces after int outputnumber; // valid only for original faces after
// write surfaces // write surfaces
qboolean detail; // is a detail face qboolean detail; // is a detail face
@ -70,8 +70,10 @@ typedef struct surface_s {
qboolean onnode; // true if surface has already been used qboolean onnode; // true if surface has already been used
// as a splitting node // as a splitting node
qboolean has_detail; // true if the surface has detail brushes qboolean has_detail; // true if the surface has detail brushes
qboolean has_struct; // true if the surface has non-detail brushes qboolean has_struct; // true if the surface has non-detail
face_t *faces; // links to all the faces on either side of the surf // brushes
face_t *faces; // links to all the faces on either side
// of the surf
} surface_t; } surface_t;
// there is a node_t structure for every node and leaf in the bsp tree // there is a node_t structure for every node and leaf in the bsp tree

View file

@ -26,29 +26,25 @@
#include "bsp5.h" #include "bsp5.h"
#define MAX_FACES 256 #define MAX_FACES 256
typedef struct mface_s typedef struct mface_s {
{
struct mface_s *next; struct mface_s *next;
plane_t plane; plane_t plane;
int texinfo; int texinfo;
} mface_t; } mface_t;
typedef struct mbrush_s typedef struct mbrush_s {
{
struct mbrush_s *next; struct mbrush_s *next;
mface_t *faces; mface_t *faces;
qboolean detail; // true if brush is detail brush qboolean detail; // true if brush is detail brush
} mbrush_t; } mbrush_t;
typedef struct epair_s typedef struct epair_s {
{
struct epair_s *next; struct epair_s *next;
char *key; char *key;
char *value; char *value;
} epair_t; } epair_t;
typedef struct typedef struct {
{
vec3_t origin; vec3_t origin;
mbrush_t *brushes; mbrush_t *brushes;
epair_t *epairs; epair_t *epairs;