PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PVRTModelMD2.h File Reference

Header to load MD2 files. More...

Go to the source code of this file.

Classes

struct  md2_t
struct  vertex_t
struct  frame_t
struct  anim_t
struct  animState_t
struct  MyFloatDrawArray
struct  MyFixedDrawArray
class  CMD2Model

Defines

#define NUMVERTEXNORMALS   162
#define SHADEDOT_QUANT   16
#define MD2_IDENT   (('2'<<24) + ('P'<<16) + ('D'<<8) + 'I')
#define MD2_VERSION   8
#define MAX_MD2_VERTS   2048

Typedefs

typedef float vec3_t [3]

Enumerations

enum  animType_t {
  STAND, RUN, ATTACK, PAIN_A,
  PAIN_B, PAIN_C, JUMP, FLIP,
  SALUTE, FALLBACK, WAVE, POINTING,
  CROUCH_STAND, CROUCH_WALK, CROUCH_ATTACK, CROUCH_PAIN,
  CROUCH_DEATH, DEATH_FALLBACK, DEATH_FALLFORWARD, DEATH_FALLBACKSLOW,
  BOOM, MAX_ANIMATIONS
}


Detailed Description

Header to load MD2 files.

Author:
PowerVR
Date:
January 2005
Copyright:
Copyright 2003-2004 by Imagination Technologies Limited. All rights reserved. No part of this software, either material or conceptual may be copied or distributed, transmitted, transcribed, stored in a retrieval system or translated into any human or computer language in any form by any means, electronic, mechanical, manual or other-wise, or disclosed to third parties without the express written permission of Imagination Technologies Limited, Unit 8, HomePark Industrial Estate, King's Langley, Hertfordshire, WD4 8LZ, U.K.
Platform:
ANSI compatible
Description:
Header to load MD2 files. Based on MD2 Tutorial by David Henry - tfc_duke@hotmail.com Converted, fixes and some optimisations for usage with OGLES
Revision
1.9

Define Documentation



MAX_MD2_VERTS


#define MAX_MD2_VERTS   2048
 



MD2_IDENT


#define MD2_IDENT   (('2'<<24) + ('P'<<16) + ('D'<<8) + 'I')
 



MD2_VERSION


#define MD2_VERSION   8
 



NUMVERTEXNORMALS


#define NUMVERTEXNORMALS   162
 



SHADEDOT_QUANT


#define SHADEDOT_QUANT   16
 


Typedef Documentation



vec3_t


typedef float vec3_t[3]
 


Enumeration Type Documentation



animType_t


enum animType_t
 

animation list

Enumeration values:
STAND 
RUN 
ATTACK 
PAIN_A 
PAIN_B 
PAIN_C 
JUMP 
FLIP 
SALUTE 
FALLBACK 
WAVE 
POINTING 
CROUCH_STAND 
CROUCH_WALK 
CROUCH_ATTACK 
CROUCH_PAIN 
CROUCH_DEATH 
DEATH_FALLBACK 
DEATH_FALLFORWARD 
DEATH_FALLBACKSLOW 
BOOM 
MAX_ANIMATIONS 


Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6