* try to resolve merge conflict
* feat: TU19 (Dec 2014) Features & Content (#32)
* December 2014 files
* Working release build
* Fix compilation issues
* Add sound to Windows64Media
* Add DLC content and force Tutorial DLC
* Revert "Add DLC content and force Tutorial DLC"
This reverts commit 97a4399472.
* Disable broken light packing
* Disable breakpoint during DLC texture map load
Allows DLC loading but the DLC textures are still broken
* Fix post build not working
* ...
* fix vs2022 build
* fix cmake build
---------
Co-authored-by: Loki <lokirautio@gmail.com>
20 lines
522 B
C++
20 lines
522 B
C++
#include "stdafx.h"
|
|
#include "CaveSpiderRenderer.h"
|
|
|
|
ResourceLocation CaveSpiderRenderer::CAVE_SPIDER_LOCATION = ResourceLocation(TN_MOB_CAVE_SPIDER);
|
|
float CaveSpiderRenderer::s_scale = 0.7f;
|
|
|
|
CaveSpiderRenderer::CaveSpiderRenderer() : SpiderRenderer()
|
|
{
|
|
shadowRadius *= s_scale;
|
|
}
|
|
|
|
void CaveSpiderRenderer::scale(shared_ptr<LivingEntity> mob, float a)
|
|
{
|
|
glScalef(s_scale, s_scale, s_scale);
|
|
}
|
|
|
|
ResourceLocation *CaveSpiderRenderer::getTextureLocation(shared_ptr<Entity> mob)
|
|
{
|
|
return &CAVE_SPIDER_LOCATION;
|
|
} |