Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/graphics/importer/md3/md3_animation.cc @ 10656

Last change on this file since 10656 was 8724, checked in by bensch, 19 years ago

merged the bsp-model-stuff back here

File size: 1.8 KB
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: Patrick Boenzli
13*/
14
15#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_IMPORTER
16
17#include "md3_animation.h"
18
19
20
21namespace md3
22{
23
24
25
26  MD3AnimationMap MD3Animation::animationList[25] = {
27    { "Death 1",                 BOTH  },
28    { "Dead 1",                  BOTH  },
29    { "Death 2",                 BOTH  },
30    { "Dead 2",                  BOTH  },
31    { "Death 3",                 BOTH  },
32    { "Dead 3",                  BOTH  },
33    { "Gesture",                 BOTH  },
34    { "Shoot",                   TORSO },
35    { "Hit",                     TORSO },
36    { "Drop Weapon",             TORSO },
37    { "Raise Weapon",            TORSO },
38    { "Stand With Weapon",       TORSO },
39    { "Stand with Gauntlet",     TORSO },
40    { "Crouched Walk",           LEGS  },
41    { "Walk",                    LEGS  },
42    { "Run",                     LEGS  },
43    { "Backpedal",               LEGS  },
44    { "Swim",                    LEGS  },
45    { "Jump Forward",            LEGS  },
46    { "Land Forward",            LEGS  },
47    { "Jump Backward",           LEGS  },
48    { "Land Backward",           LEGS  },
49    { "Stand Idle",              LEGS  },
50    { "Crouched Idle",           LEGS  },
51    { "Turn In Place",           LEGS  }
52  };
53
54
55  /**
56   * create an empty MD3Animation object
57   */
58  MD3Animation::MD3Animation()
59  {
60    this->init();
61  }
62
63
64  /**
65   * deconstructor
66   */
67  MD3Animation::~MD3Animation()
68  {}
69
70
71  void MD3Animation::init()
72  {
73    this->first = 0;
74    this->numFrames = 0;
75    this->fps = 0;
76  }
77
78
79}
80
Note: See TracBrowser for help on using the repository browser.