| 
                Last change
                  on this file since 8628 was
                  8490,
                  checked in by patrick, 19 years ago
           | 
        
        
          | 
               
merged the bsp branche back to trunk 
 
           | 
        
        | 
            File size:
            642 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*! | 
|---|
| 2 |  * @file md3_model.h | 
|---|
| 3 |  * | 
|---|
| 4 |  * Code heavely inspired by: JAVA MD3 Model Viewer - A Java based Quake 3 model viewer | 
|---|
| 5 |  * Copyright (C) 1999 Erwin 'KLR8' Vervaet | 
|---|
| 6 |  */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef _MD3_MODEL_H | 
|---|
| 9 | #define _MD3_MODEL_H | 
|---|
| 10 |  | 
|---|
| 11 | #include <string> | 
|---|
| 12 | #include "interactive_model.h" | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | namespace md3 | 
|---|
| 16 | { | 
|---|
| 17 |  | 
|---|
| 18 |  | 
|---|
| 19 | class MD3Data; | 
|---|
| 20 |  | 
|---|
| 21 | class MD3Model : public InteractiveModel | 
|---|
| 22 | { | 
|---|
| 23 |  | 
|---|
| 24 |   public: | 
|---|
| 25 |     MD3Model(std::string filename, float scaling); | 
|---|
| 26 |     ~MD3Model(); | 
|---|
| 27 |  | 
|---|
| 28 |     virtual void tick(float dt) {} | 
|---|
| 29 |     virtual void setAnimation(int animNum, int playbackMode = 0) {} | 
|---|
| 30 |  | 
|---|
| 31 |   private: | 
|---|
| 32 |     MD3Data*            md3Data;           //!< reference to the md3 model data | 
|---|
| 33 | }; | 
|---|
| 34 |  | 
|---|
| 35 | } | 
|---|
| 36 |  | 
|---|
| 37 | #endif /* _MD3_MODEL_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.