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:
Jonathan 2022-06-16 09:50:00 -04:00
parent 41ef66190f
commit f53a6a19fe
2 changed files with 10 additions and 17 deletions

View File

@ -899,23 +899,6 @@ public:
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>
struct texvec : qmat<T, 2, 4>
{

View File

@ -66,6 +66,16 @@ enum class conversion_t
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
{
struct wadpath