doom3-gpl
Doom 3 GPL source release
|
Go to the source code of this file.
Classes | |
struct | st_lwNode |
struct | st_lwPlugin |
struct | st_lwKey |
struct | st_lwEnvelope |
struct | st_lwEParam |
struct | st_lwVParam |
struct | st_lwClipStill |
struct | st_lwClipSeq |
struct | st_lwClipAnim |
struct | st_lwClipXRef |
struct | st_lwClipCycle |
struct | st_lwClip |
struct | st_lwTMap |
struct | st_lwImageMap |
struct | st_lwProcedural |
struct | st_lwGradKey |
struct | st_lwGradient |
struct | st_lwTexture |
struct | st_lwTParam |
struct | st_lwCParam |
struct | st_lwGlow |
struct | st_lwRMap |
struct | st_lwLine |
struct | st_lwSurface |
struct | st_lwVMap |
struct | st_lwVMapPt |
struct | st_lwPoint |
struct | st_lwPolVert |
struct | st_lwPolygon |
struct | st_lwPointList |
struct | st_lwPolygonList |
struct | st_lwLayer |
struct | st_lwTagList |
struct | st_lwObject |
Macros | |
#define | LWID_(a, b, c, d) (((a)<<24)|((b)<<16)|((c)<<8)|(d)) |
#define | ID_FORM LWID_('F','O','R','M') |
#define | ID_LWO2 LWID_('L','W','O','2') |
#define | ID_LWOB LWID_('L','W','O','B') |
#define | ID_LAYR LWID_('L','A','Y','R') |
#define | ID_TAGS LWID_('T','A','G','S') |
#define | ID_PNTS LWID_('P','N','T','S') |
#define | ID_BBOX LWID_('B','B','O','X') |
#define | ID_VMAP LWID_('V','M','A','P') |
#define | ID_VMAD LWID_('V','M','A','D') |
#define | ID_POLS LWID_('P','O','L','S') |
#define | ID_PTAG LWID_('P','T','A','G') |
#define | ID_ENVL LWID_('E','N','V','L') |
#define | ID_CLIP LWID_('C','L','I','P') |
#define | ID_SURF LWID_('S','U','R','F') |
#define | ID_DESC LWID_('D','E','S','C') |
#define | ID_TEXT LWID_('T','E','X','T') |
#define | ID_ICON LWID_('I','C','O','N') |
#define | ID_FACE LWID_('F','A','C','E') |
#define | ID_CURV LWID_('C','U','R','V') |
#define | ID_PTCH LWID_('P','T','C','H') |
#define | ID_MBAL LWID_('M','B','A','L') |
#define | ID_BONE LWID_('B','O','N','E') |
#define | ID_SURF LWID_('S','U','R','F') |
#define | ID_PART LWID_('P','A','R','T') |
#define | ID_SMGP LWID_('S','M','G','P') |
#define | ID_PRE LWID_('P','R','E',' ') |
#define | ID_POST LWID_('P','O','S','T') |
#define | ID_KEY LWID_('K','E','Y',' ') |
#define | ID_SPAN LWID_('S','P','A','N') |
#define | ID_TCB LWID_('T','C','B',' ') |
#define | ID_HERM LWID_('H','E','R','M') |
#define | ID_BEZI LWID_('B','E','Z','I') |
#define | ID_BEZ2 LWID_('B','E','Z','2') |
#define | ID_LINE LWID_('L','I','N','E') |
#define | ID_STEP LWID_('S','T','E','P') |
#define | ID_STIL LWID_('S','T','I','L') |
#define | ID_ISEQ LWID_('I','S','E','Q') |
#define | ID_ANIM LWID_('A','N','I','M') |
#define | ID_XREF LWID_('X','R','E','F') |
#define | ID_STCC LWID_('S','T','C','C') |
#define | ID_TIME LWID_('T','I','M','E') |
#define | ID_CONT LWID_('C','O','N','T') |
#define | ID_BRIT LWID_('B','R','I','T') |
#define | ID_SATR LWID_('S','A','T','R') |
#define | ID_HUE LWID_('H','U','E',' ') |
#define | ID_GAMM LWID_('G','A','M','M') |
#define | ID_NEGA LWID_('N','E','G','A') |
#define | ID_IFLT LWID_('I','F','L','T') |
#define | ID_PFLT LWID_('P','F','L','T') |
#define | ID_COLR LWID_('C','O','L','R') |
#define | ID_LUMI LWID_('L','U','M','I') |
#define | ID_DIFF LWID_('D','I','F','F') |
#define | ID_SPEC LWID_('S','P','E','C') |
#define | ID_GLOS LWID_('G','L','O','S') |
#define | ID_REFL LWID_('R','E','F','L') |
#define | ID_RFOP LWID_('R','F','O','P') |
#define | ID_RIMG LWID_('R','I','M','G') |
#define | ID_RSAN LWID_('R','S','A','N') |
#define | ID_TRAN LWID_('T','R','A','N') |
#define | ID_TROP LWID_('T','R','O','P') |
#define | ID_TIMG LWID_('T','I','M','G') |
#define | ID_RIND LWID_('R','I','N','D') |
#define | ID_TRNL LWID_('T','R','N','L') |
#define | ID_BUMP LWID_('B','U','M','P') |
#define | ID_SMAN LWID_('S','M','A','N') |
#define | ID_SIDE LWID_('S','I','D','E') |
#define | ID_CLRH LWID_('C','L','R','H') |
#define | ID_CLRF LWID_('C','L','R','F') |
#define | ID_ADTR LWID_('A','D','T','R') |
#define | ID_SHRP LWID_('S','H','R','P') |
#define | ID_LINE LWID_('L','I','N','E') |
#define | ID_LSIZ LWID_('L','S','I','Z') |
#define | ID_ALPH LWID_('A','L','P','H') |
#define | ID_AVAL LWID_('A','V','A','L') |
#define | ID_GVAL LWID_('G','V','A','L') |
#define | ID_BLOK LWID_('B','L','O','K') |
#define | ID_TYPE LWID_('T','Y','P','E') |
#define | ID_CHAN LWID_('C','H','A','N') |
#define | ID_NAME LWID_('N','A','M','E') |
#define | ID_ENAB LWID_('E','N','A','B') |
#define | ID_OPAC LWID_('O','P','A','C') |
#define | ID_FLAG LWID_('F','L','A','G') |
#define | ID_PROJ LWID_('P','R','O','J') |
#define | ID_STCK LWID_('S','T','C','K') |
#define | ID_TAMP LWID_('T','A','M','P') |
#define | ID_TMAP LWID_('T','M','A','P') |
#define | ID_AXIS LWID_('A','X','I','S') |
#define | ID_CNTR LWID_('C','N','T','R') |
#define | ID_SIZE LWID_('S','I','Z','E') |
#define | ID_ROTA LWID_('R','O','T','A') |
#define | ID_OREF LWID_('O','R','E','F') |
#define | ID_FALL LWID_('F','A','L','L') |
#define | ID_CSYS LWID_('C','S','Y','S') |
#define | ID_IMAP LWID_('I','M','A','P') |
#define | ID_IMAG LWID_('I','M','A','G') |
#define | ID_WRAP LWID_('W','R','A','P') |
#define | ID_WRPW LWID_('W','R','P','W') |
#define | ID_WRPH LWID_('W','R','P','H') |
#define | ID_VMAP LWID_('V','M','A','P') |
#define | ID_AAST LWID_('A','A','S','T') |
#define | ID_PIXB LWID_('P','I','X','B') |
#define | ID_PROC LWID_('P','R','O','C') |
#define | ID_COLR LWID_('C','O','L','R') |
#define | ID_VALU LWID_('V','A','L','U') |
#define | ID_FUNC LWID_('F','U','N','C') |
#define | ID_FTPS LWID_('F','T','P','S') |
#define | ID_ITPS LWID_('I','T','P','S') |
#define | ID_ETPS LWID_('E','T','P','S') |
#define | ID_GRAD LWID_('G','R','A','D') |
#define | ID_GRST LWID_('G','R','S','T') |
#define | ID_GREN LWID_('G','R','E','N') |
#define | ID_PNAM LWID_('P','N','A','M') |
#define | ID_INAM LWID_('I','N','A','M') |
#define | ID_GRPT LWID_('G','R','P','T') |
#define | ID_FKEY LWID_('F','K','E','Y') |
#define | ID_IKEY LWID_('I','K','E','Y') |
#define | ID_SHDR LWID_('S','H','D','R') |
#define | ID_DATA LWID_('D','A','T','A') |
#define | BEH_RESET 0 |
#define | BEH_CONSTANT 1 |
#define | BEH_REPEAT 2 |
#define | BEH_OSCILLATE 3 |
#define | BEH_OFFSET 4 |
#define | BEH_LINEAR 5 |
#define | PROJ_PLANAR 0 |
#define | PROJ_CYLINDRICAL 1 |
#define | PROJ_SPHERICAL 2 |
#define | PROJ_CUBIC 3 |
#define | PROJ_FRONT 4 |
#define | WRAP_NONE 0 |
#define | WRAP_EDGE 1 |
#define | WRAP_REPEAT 2 |
#define | WRAP_MIRROR 3 |
#define | vecangle(a, b) ( float ) idMath::ACos( dot( a, b ) ) |
#define BEH_CONSTANT 1 |
Definition at line 235 of file Model_lwo.h.
#define BEH_LINEAR 5 |
Definition at line 239 of file Model_lwo.h.
#define BEH_OFFSET 4 |
Definition at line 238 of file Model_lwo.h.
#define BEH_OSCILLATE 3 |
Definition at line 237 of file Model_lwo.h.
#define BEH_REPEAT 2 |
Definition at line 236 of file Model_lwo.h.
#define BEH_RESET 0 |
Definition at line 234 of file Model_lwo.h.
Definition at line 154 of file Model_lwo.h.
Definition at line 81 of file Model_lwo.h.
Definition at line 47 of file Model_lwo.h.
Definition at line 95 of file Model_lwo.h.
Definition at line 83 of file Model_lwo.h.
Definition at line 160 of file Model_lwo.h.
Definition at line 44 of file Model_lwo.h.
#define PROJ_CUBIC 3 |
Definition at line 347 of file Model_lwo.h.
#define PROJ_CYLINDRICAL 1 |
Definition at line 345 of file Model_lwo.h.
#define PROJ_FRONT 4 |
Definition at line 348 of file Model_lwo.h.
#define PROJ_PLANAR 0 |
Definition at line 344 of file Model_lwo.h.
#define PROJ_SPHERICAL 2 |
Definition at line 346 of file Model_lwo.h.
Definition at line 649 of file Model_lwo.h.
#define WRAP_EDGE 1 |
Definition at line 351 of file Model_lwo.h.
#define WRAP_MIRROR 3 |
Definition at line 353 of file Model_lwo.h.
#define WRAP_NONE 0 |
Definition at line 350 of file Model_lwo.h.
#define WRAP_REPEAT 2 |
Definition at line 352 of file Model_lwo.h.
typedef struct st_lwClipAnim lwClipAnim |
typedef struct st_lwClipCycle lwClipCycle |
typedef struct st_lwClipSeq lwClipSeq |
typedef struct st_lwClipStill lwClipStill |
typedef struct st_lwClipXRef lwClipXRef |
typedef struct st_lwCParam lwCParam |
typedef struct st_lwEnvelope lwEnvelope |
typedef struct st_lwEParam lwEParam |
typedef struct st_lwGradient lwGradient |
typedef struct st_lwGradKey lwGradKey |
typedef struct st_lwImageMap lwImageMap |
typedef struct st_lwLayer lwLayer |
typedef struct st_lwObject lwObject |
typedef struct st_lwPlugin lwPlugin |
typedef struct st_lwPoint lwPoint |
typedef struct st_lwPointList lwPointList |
typedef struct st_lwPolVert lwPolVert |
typedef struct st_lwPolygon lwPolygon |
typedef struct st_lwPolygonList lwPolygonList |
typedef struct st_lwProcedural lwProcedural |
typedef struct st_lwSurface lwSurface |
typedef struct st_lwTagList lwTagList |
typedef struct st_lwTexture lwTexture |
typedef struct st_lwTParam lwTParam |
typedef struct st_lwVMapPt lwVMapPt |
typedef struct st_lwVParam lwVParam |
Definition at line 3883 of file Model_lwo.cpp.
Definition at line 1004 of file Model_lwo.cpp.
Definition at line 1006 of file Model_lwo.cpp.
Definition at line 1178 of file Model_lwo.cpp.
Definition at line 1041 of file Model_lwo.cpp.
short getI2 | ( | idFile * | fp | ) |
Definition at line 1058 of file Model_lwo.cpp.
Definition at line 1073 of file Model_lwo.cpp.
char* getS0 | ( | idFile * | fp | ) |
Definition at line 1197 of file Model_lwo.cpp.
unsigned char getU1 | ( | idFile * | fp | ) |
Definition at line 1088 of file Model_lwo.cpp.
unsigned short getU2 | ( | idFile * | fp | ) |
Definition at line 1104 of file Model_lwo.cpp.
Definition at line 1119 of file Model_lwo.cpp.
Definition at line 1134 of file Model_lwo.cpp.
int lwAllocPolygons | ( | lwPolygonList * | plist, |
int | npols, | ||
int | nverts | ||
) |
Definition at line 2479 of file Model_lwo.cpp.
Definition at line 3628 of file Model_lwo.cpp.
float lwEvalEnvelope | ( | lwEnvelope * | env, |
float | time | ||
) |
Definition at line 290 of file Model_lwo.cpp.
lwEnvelope* lwFindEnvelope | ( | lwEnvelope * | list, |
int | index | ||
) |
Definition at line 481 of file Model_lwo.cpp.
Definition at line 49 of file Model_lwo.cpp.
void lwFreeEnvelope | ( | lwEnvelope * | env | ) |
Definition at line 314 of file Model_lwo.cpp.
Definition at line 1392 of file Model_lwo.cpp.
Definition at line 1411 of file Model_lwo.cpp.
Definition at line 2896 of file Model_lwo.cpp.
void lwFreePoints | ( | lwPointList * | point | ) |
Definition at line 2348 of file Model_lwo.cpp.
void lwFreePolygons | ( | lwPolygonList * | plist | ) |
Definition at line 2372 of file Model_lwo.cpp.
Definition at line 2944 of file Model_lwo.cpp.
Definition at line 2773 of file Model_lwo.cpp.
Definition at line 2914 of file Model_lwo.cpp.
Definition at line 3916 of file Model_lwo.cpp.
void lwGetBoundingBox | ( | lwPointList * | point, |
float | bbox[] | ||
) |
Definition at line 2450 of file Model_lwo.cpp.
Definition at line 90 of file Model_lwo.cpp.
lwEnvelope* lwGetEnvelope | ( | idFile * | fp, |
int | cksize | ||
) |
Definition at line 338 of file Model_lwo.cpp.
Definition at line 3340 of file Model_lwo.cpp.
Definition at line 3156 of file Model_lwo.cpp.
Definition at line 1445 of file Model_lwo.cpp.
Definition at line 2219 of file Model_lwo.cpp.
int lwGetPointPolygons | ( | lwPointList * | point, |
lwPolygonList * | polygon | ||
) |
Definition at line 2634 of file Model_lwo.cpp.
int lwGetPoints | ( | idFile * | fp, |
int | cksize, | ||
lwPointList * | point | ||
) |
Definition at line 2402 of file Model_lwo.cpp.
int lwGetPointVMaps | ( | lwPointList * | point, |
lwVMap * | vmap | ||
) |
Definition at line 4028 of file Model_lwo.cpp.
int lwGetPolygons | ( | idFile * | fp, |
int | cksize, | ||
lwPolygonList * | plist, | ||
int | ptoffset | ||
) |
Definition at line 2522 of file Model_lwo.cpp.
int lwGetPolygons5 | ( | idFile * | fp, |
int | cksize, | ||
lwPolygonList * | plist, | ||
int | ptoffset | ||
) |
Definition at line 2128 of file Model_lwo.cpp.
int lwGetPolygonTags | ( | idFile * | fp, |
int | cksize, | ||
lwTagList * | tlist, | ||
lwPolygonList * | plist | ||
) |
Definition at line 2857 of file Model_lwo.cpp.
void lwGetPolyNormals | ( | lwPointList * | point, |
lwPolygonList * | polygon | ||
) |
Definition at line 2599 of file Model_lwo.cpp.
int lwGetPolyVMaps | ( | lwPolygonList * | polygon, |
lwVMap * | vmap | ||
) |
Definition at line 4080 of file Model_lwo.cpp.
Definition at line 3265 of file Model_lwo.cpp.
Definition at line 3486 of file Model_lwo.cpp.
Definition at line 3655 of file Model_lwo.cpp.
Definition at line 1821 of file Model_lwo.cpp.
Definition at line 2798 of file Model_lwo.cpp.
Definition at line 3438 of file Model_lwo.cpp.
Definition at line 2977 of file Model_lwo.cpp.
Definition at line 3068 of file Model_lwo.cpp.
void lwGetVertNormals | ( | lwPointList * | point, |
lwPolygonList * | polygon | ||
) |
Definition at line 2733 of file Model_lwo.cpp.
Definition at line 3938 of file Model_lwo.cpp.
Definition at line 925 of file Model_lwo.cpp.
Definition at line 905 of file Model_lwo.cpp.
Definition at line 950 of file Model_lwo.cpp.
int lwResolvePolySurfaces | ( | lwPolygonList * | polygon, |
lwTagList * | tlist, | ||
lwSurface ** | surf, | ||
int * | nsurfs | ||
) |
Definition at line 2676 of file Model_lwo.cpp.
Definition at line 3897 of file Model_lwo.cpp.
Definition at line 1002 of file Model_lwo.cpp.
float sgetF4 | ( | unsigned char ** | bp | ) |
Definition at line 1341 of file Model_lwo.cpp.
int sgetI1 | ( | unsigned char ** | bp | ) |
Definition at line 1243 of file Model_lwo.cpp.
short sgetI2 | ( | unsigned char ** | bp | ) |
Definition at line 1256 of file Model_lwo.cpp.
int sgetI4 | ( | unsigned char ** | bp | ) |
Definition at line 1269 of file Model_lwo.cpp.
char* sgetS0 | ( | unsigned char ** | bp | ) |
Definition at line 1358 of file Model_lwo.cpp.
unsigned char sgetU1 | ( | unsigned char ** | bp | ) |
Definition at line 1282 of file Model_lwo.cpp.
unsigned short sgetU2 | ( | unsigned char ** | bp | ) |
Definition at line 1294 of file Model_lwo.cpp.
unsigned int sgetU4 | ( | unsigned char ** | bp | ) |
Definition at line 1307 of file Model_lwo.cpp.
int sgetVX | ( | unsigned char ** | bp | ) |
Definition at line 1320 of file Model_lwo.cpp.
Definition at line 1031 of file Model_lwo.cpp.