Last change
on this file since 8619 was
8490,
checked in by patrick, 18 years ago
|
merged the bsp branche back to trunk
|
File size:
1003 bytes
|
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 | |
---|
21 | namespace md3 |
---|
22 | { |
---|
23 | |
---|
24 | /** |
---|
25 | * create an empty MD3Animation object |
---|
26 | */ |
---|
27 | MD3Animation::MD3Animation() |
---|
28 | { |
---|
29 | this->init(); |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | /** |
---|
34 | * create a new MD3 Anumation object and initialize it with the data on the given line |
---|
35 | * @param line: the line to read from |
---|
36 | */ |
---|
37 | MD3Animation::MD3Animation(std::string line) |
---|
38 | { |
---|
39 | this->init(); |
---|
40 | // loadAnimation() |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | /** |
---|
45 | * deconstructor |
---|
46 | */ |
---|
47 | MD3Animation::~MD3Animation() |
---|
48 | {} |
---|
49 | |
---|
50 | |
---|
51 | void MD3Animation::init() |
---|
52 | { |
---|
53 | this->first = 0; |
---|
54 | this->numFrames = 0; |
---|
55 | this->fps = 0; |
---|
56 | } |
---|
57 | |
---|
58 | |
---|
59 | } |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.