OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
components
nif
extra.hpp
Go to the documentation of this file.
1
/*
2
OpenMW - The completely unofficial reimplementation of Morrowind
3
Copyright (C) 2008-2010 Nicolay Korslund
4
Email: < korslund@gmail.com >
5
WWW: http://openmw.sourceforge.net/
6
7
This file (extra.h) is part of the OpenMW package.
8
9
OpenMW is distributed as free software: you can redistribute it
10
and/or modify it under the terms of the GNU General Public License
11
version 3, as published by the Free Software Foundation.
12
13
This program is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
version 3 along with this program. If not, see
20
http://www.gnu.org/licenses/ .
21
22
*/
23
24
#ifndef OPENMW_COMPONENTS_NIF_EXTRA_HPP
25
#define OPENMW_COMPONENTS_NIF_EXTRA_HPP
26
27
#include "
base.hpp
"
28
29
namespace
Nif
30
{
31
32
class
NiVertWeightsExtraData
:
public
Extra
33
{
34
public
:
35
void
read
(
NIFStream
*nif);
36
};
37
38
class
NiTextKeyExtraData
:
public
Extra
39
{
40
public
:
41
struct
TextKey
42
{
43
float
time
;
44
std::string
text
;
45
};
46
std::vector<TextKey>
list
;
47
48
void
read
(
NIFStream
*nif);
49
};
50
51
class
NiStringExtraData
:
public
Extra
52
{
53
public
:
54
/* Two known meanings:
55
"MRK" - marker, only visible in the editor, not rendered in-game
56
"NCO" - no collision
57
*/
58
std::string
string
;
59
60
void
read
(
NIFStream
*nif);
61
};
62
63
}
// Namespace
64
#endif
Nif::NiVertWeightsExtraData
Definition:
extra.hpp:32
Nif::NiStringExtraData::read
void read(NIFStream *nif)
Parses the record from file.
Definition:
extra.cpp:6
Nif::NiTextKeyExtraData::TextKey::text
std::string text
Definition:
extra.hpp:44
Nif::NiTextKeyExtraData::TextKey
Definition:
extra.hpp:41
Nif::NiTextKeyExtraData::TextKey::time
float time
Definition:
extra.hpp:43
Nif::NiStringExtraData
Definition:
extra.hpp:51
base.hpp
Nif::NiTextKeyExtraData
Definition:
extra.hpp:38
Nif::NiTextKeyExtraData::list
std::vector< TextKey > list
Definition:
extra.hpp:46
Nif::NiVertWeightsExtraData::read
void read(NIFStream *nif)
Parses the record from file.
Definition:
extra.cpp:29
Nif::NIFStream
Definition:
nifstream.hpp:26
Nif::Extra
Definition:
base.hpp:17
Nif::NiTextKeyExtraData::read
void read(NIFStream *nif)
Parses the record from file.
Definition:
extra.cpp:14
Nif::NiStringExtraData::string
std::string string
Definition:
extra.hpp:58
Generated on Tue Jan 24 2017 02:05:53 for OpenMW by
1.8.6