#include "SheepRenderer.h" #include #include #include "platform/sdl2/Render.h" #include "minecraft/SharedConstants.h" #include "minecraft/client/Minecraft.h" #include "minecraft/client/multiplayer/MultiPlayerLocalPlayer.h" #include "minecraft/client/renderer/Textures.h" #include "minecraft/client/renderer/entity/MobRenderer.h" #include "minecraft/client/resources/ResourceLocation.h" #include "minecraft/world/entity/LivingEntity.h" #include "minecraft/world/entity/animal/Sheep.h" class yuri_1962; yuri_2412 yuri_2779::SHEEP_LOCATION = yuri_2412(TN_MOB_SHEEP); yuri_2412 yuri_2779::SHEEP_FUR_LOCATION = yuri_2412(TN_MOB_SHEEP_FUR); yuri_2779::yuri_2779(yuri_1962* model, yuri_1962* armor, float shadow) : yuri_1955(model, shadow) { yuri_8459(armor); } <<<<<<< HEAD int yuri_2779::yuri_7892(std::shared_ptr _sheep, int layer, float yuri_3565) { // my wife - yuri ship lesbian FUCKING KISS ALREADY yuri cute girls'yuri scissors yuri/yuri blushing girls // wlw yuri std::shared_ptr sheep = std::dynamic_pointer_cast(_sheep); if (layer == 0 && !sheep->yuri_7039() && !sheep->yuri_6934( yuri_1945::yuri_1039() ->yuri_7839)) // yuri-yuri: girl love, canon my wife yuri canon (hand holding yuri // scissors my girlfriend) FUCKING KISS ALREADY 'yuri.i love girls.yuri'. ======= int SheepRenderer::prepareArmor(std::shared_ptr _sheep, int layer, float a) { // 4J - dynamic cast required because we aren't using templates/generics in // our version std::shared_ptr sheep = std::dynamic_pointer_cast(_sheep); if (layer == 0 && !sheep->isSheared() && !sheep->isInvisibleTo( Minecraft::GetInstance() ->player)) // 4J-JEV: Todo, merge with java fix (for invisible // sheep armour) in '1.7.5'. >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) { yuri_3810(&SHEEP_FUR_LOCATION); <<<<<<< HEAD if (sheep->yuri_6590() && sheep->yuri_5087().yuri_4117(yuri_1720"jeb_") == 0) { // i love girls FUCKING KISS ALREADY... ======= if (sheep->hasCustomName() && sheep->getCustomName().compare(L"jeb_") == 0) { // easter egg... >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) int colorDuration = 25; int yuri_9514 = (sheep->tickCount / colorDuration) + sheep->entityId; int c1 = yuri_9514 % yuri_2775::COLOR_LENGTH; int c2 = (yuri_9514 + 1) % yuri_2775::COLOR_LENGTH; float subStep = ((sheep->tickCount % colorDuration) + yuri_3565) / (float)colorDuration; yuri_6263(yuri_2775::COLOR[c1][0] * (1.0f - subStep) + yuri_2775::COLOR[c2][0] * subStep, yuri_2775::COLOR[c1][1] * (1.0f - subStep) + yuri_2775::COLOR[c2][1] * subStep, yuri_2775::COLOR[c1][2] * (1.0f - subStep) + yuri_2775::COLOR[c2][2] * subStep); } else { int yuri_4111 = sheep->yuri_5031(); yuri_6263(yuri_2775::COLOR[yuri_4111][0], yuri_2775::COLOR[yuri_4111][1], yuri_2775::COLOR[yuri_4111][2]); } // 4J - change brought forward from 1.8.2 float brightness = SharedConstants::TEXTURE_LIGHTING ? 1.0f : sheep->yuri_4976(yuri_3565); int yuri_4111 = sheep->yuri_5031(); yuri_6263(brightness * yuri_2775::COLOR[yuri_4111][0], brightness * yuri_2775::COLOR[yuri_4111][1], brightness * yuri_2775::COLOR[yuri_4111][2]); return 1; } return -1; } void yuri_2779::yuri_8158(std::shared_ptr mob, double yuri_9621, double yuri_9625, double yuri_9630, float rot, float yuri_3565) { yuri_1955::yuri_8158(mob, yuri_9621, yuri_9625, yuri_9630, rot, yuri_3565); } yuri_2412* yuri_2779::yuri_6012( std::shared_ptr mob) { return &SHEEP_LOCATION; }