fix missing imports
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <noggit/ModelInstance.h>
|
||||
#include <noggit/WMOInstance.h>
|
||||
#include <ClientData.hpp>
|
||||
#include <math/bounding_box.hpp>
|
||||
|
||||
#include <iomanip>
|
||||
#include <map>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <vector>
|
||||
#include <glm/vec4.hpp>
|
||||
#include <glm/vec2.hpp>
|
||||
#include <glm/mat4x4.hpp>
|
||||
#include <noggit/Selection.h>
|
||||
#include <util/sExtendableArray.hpp>
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <noggit/application/NoggitApplication.hpp>
|
||||
#include <noggit/project/CurrentProject.hpp>
|
||||
#include <noggit/ActionManager.hpp>
|
||||
#include <math/bounding_box.hpp>
|
||||
|
||||
#include <external/tracy/Tracy.hpp>
|
||||
#include <QByteArray>
|
||||
#include <QImage>
|
||||
|
||||
@@ -1473,11 +1473,11 @@ void TextureSet::updateDoodadMapping()
|
||||
{
|
||||
for (int y = 0; y < 8; y++)
|
||||
{
|
||||
unsigned int base_alpha = 255;
|
||||
int base_alpha = 255;
|
||||
|
||||
for (int alpha_layer = 0; alpha_layer < (nTextures - 1); ++alpha_layer)
|
||||
{
|
||||
auto alpha = static_cast<int>(alphamaps[alpha_layer]->getAlpha((unit_y * 8 + y) * 64 + (unit_x * 8 + x)));
|
||||
int alpha = static_cast<int>(alphamaps[alpha_layer]->getAlpha((unit_y * 8 + y) * 64 + (unit_x * 8 + x)));
|
||||
|
||||
layer_totals[alpha_layer+1] += alpha;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user