1
0
Fork 0
forked from fte/fteqw

Premptive compile fixes...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3603 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-08-28 17:20:55 +00:00
parent 22bb395305
commit 9cbdfb7fd0
4 changed files with 10 additions and 17 deletions

View file

@ -1437,13 +1437,6 @@ typedef struct {
vec3_t dlightcfade; vec3_t dlightcfade;
} clcustomtents_t; } clcustomtents_t;
#define CTE_CUSTOMCOUNT 1
#define CTE_CUSTOMDIRECTION 2
#define CTE_STAINS 4
#define CTE_GLOWS 8
#define CTE_CHANNELFADE 16
#define CTE_ISBEAM 128
clcustomtents_t customtenttype[255]; //network based. clcustomtents_t customtenttype[255]; //network based.
void CL_ParseCustomTEnt(void) void CL_ParseCustomTEnt(void)
{ {

View file

@ -678,6 +678,15 @@ enum {
TEDP_TEI_PLASMAHIT = 79, TEDP_TEI_PLASMAHIT = 79,
}; };
#define CTE_CUSTOMCOUNT 1
#define CTE_CUSTOMDIRECTION 2
#define CTE_STAINS 4
#define CTE_GLOWS 8
#define CTE_CHANNELFADE 16
#define CTE_CUSTOMVELOCITY 32
#define CTE_ISBEAM 128
//FTE's version of TEI_SHOWLMP2 //FTE's version of TEI_SHOWLMP2
#define SL_ORG_NW 0 #define SL_ORG_NW 0
#define SL_ORG_NE 1 #define SL_ORG_NE 1

View file

@ -429,9 +429,8 @@ void Sh_Shutdown(void);
void BE_BaseEntShadowDepth(void); void BE_BaseEntShadowDepth(void);
//Sets the given light+colour to be the current one that everything is to be lit/culled by. //Sets the given light+colour to be the current one that everything is to be lit/culled by.
void BE_SelectDLight(dlight_t *dl, vec3_t colour); void BE_SelectDLight(dlight_t *dl, vec3_t colour);
void BE_SelectEntity(entity_t *ent);
//Returns true if the mesh is not lit by the current light //Returns true if the mesh is not lit by the current light
qboolean BE_LightCullModel(vec3_t org, model_t *model); qboolean BE_LightCullModel(vec3_t org, model_t *model);
#endif #endif
void BE_SelectEntity(entity_t *ent);
#endif #endif

View file

@ -73,14 +73,6 @@ typedef struct {
qbyte dlighttime; qbyte dlighttime;
qbyte dlightcfade[3]; qbyte dlightcfade[3];
} svcustomtents_t; } svcustomtents_t;
#define CTE_CUSTOMCOUNT 1
#define CTE_CUSTOMDIRECTION 2
#define CTE_STAINS 4
#define CTE_GLOWS 8
#define CTE_CHANNELFADE 16
#define CTE_CUSTOMVELOCITY 32
#define CTE_UNUSED2 64
#define CTE_ISBEAM 128
typedef struct laggedpacket_s typedef struct laggedpacket_s
{ {