move extended_texinfo_t to qbsp, since it's only used during compilation and not related to the BSP file
This commit is contained in:
parent
41ef66190f
commit
f53a6a19fe
|
|
@ -899,23 +899,6 @@ public:
|
||||||
bool is_valid(const gamedef_t *game) const;
|
bool is_valid(const gamedef_t *game) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
// header before tightly packed surfflags_t[num_texinfo]
|
|
||||||
struct extended_flags_header_t
|
|
||||||
{
|
|
||||||
uint32_t num_texinfo;
|
|
||||||
uint32_t surfflags_size; // sizeof(surfflags_t)
|
|
||||||
};
|
|
||||||
|
|
||||||
// data representation of only extended flags
|
|
||||||
// used by Q2 format; used by various systems.
|
|
||||||
struct extended_texinfo_t
|
|
||||||
{
|
|
||||||
contentflags_t contents = {0};
|
|
||||||
surfflags_t flags = {0};
|
|
||||||
int value = 0;
|
|
||||||
std::string animation;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct texvec : qmat<T, 2, 4>
|
struct texvec : qmat<T, 2, 4>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,16 @@ enum class conversion_t
|
||||||
bp
|
bp
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// data representation of only extended flags
|
||||||
|
// used by Q2 format; used by various systems.
|
||||||
|
struct extended_texinfo_t
|
||||||
|
{
|
||||||
|
contentflags_t contents = {0};
|
||||||
|
surfflags_t flags = {0};
|
||||||
|
int value = 0;
|
||||||
|
std::string animation;
|
||||||
|
};
|
||||||
|
|
||||||
namespace settings
|
namespace settings
|
||||||
{
|
{
|
||||||
struct wadpath
|
struct wadpath
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue