Skip to content

Commit

Permalink
remove log, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
llde committed Mar 5, 2024
1 parent 129ae02 commit 9426b87
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion OblivionReloaded/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern "C" {

Info->InfoVersion = PluginInfo::kInfoVersion;
Info->Name = "OblivionReloaded";
Info->Version = 10;
Info->Version = 11;
return true;

}
Expand Down
10 changes: 5 additions & 5 deletions OblivionReloaded/OblivionReloaded.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 10,1,1
PRODUCTVERSION 10,1,1
FILEVERSION 11,0,0
PRODUCTVERSION 11,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -68,12 +68,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Oblivion Reloaded"
VALUE "FileVersion", "10.1.1"
VALUE "FileVersion", "11.0.0"
VALUE "InternalName", "OblivionReloaded.dll"
VALUE "LegalCopyright", "Copyright (C) 2022"
VALUE "LegalCopyright", "Copyright (C) 2024"
VALUE "OriginalFilename", "OblivionReloaded.dll"
VALUE "ProductName", "Oblivion Reloaded"
VALUE "ProductVersion", "10.1.1"
VALUE "ProductVersion", "11.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
1 change: 0 additions & 1 deletion TESReloaded/Core/ShadowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ void ShadowManager::Render(NiGeometry* Geo) {
BSShaderProperty* ShaderProperty = (BSShaderProperty*)Geo->GetProperty(NiProperty::PropertyType::kType_Shade);
if (!ShaderProperty || !ShaderProperty->IsLightingProperty()) return;
BSShaderPPLightingProperty* lightProperty = (BSShaderPPLightingProperty*)ShaderProperty;
if(lightProperty->refractionPower != 0.0f) Logger::Log("%f", lightProperty->refractionPower);
/*Only seen 0.0 or 0.208. IS the structure actually corrrect?*/
if (lightProperty->refractionPower >= 0.1f) return; //Configure,also check for actors, they are skinned
if (AlphaEnabled) {
Expand Down
10 changes: 8 additions & 2 deletions TESReloaded/Core/TextureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ bool TextureRecord::LoadTexture(TextureRecordType Type, const char* Name) {
IDirect3DTexture9* Tex = NULL;
IDirect3DVolumeTexture9* TexV = NULL;
IDirect3DCubeTexture9* TexC = NULL;

bool res = true;
NiDX9SourceTextureData* texture;
switch (Type) {
case PlanarBuffer:
D3DXCreateTextureFromFileA(TheRenderManager->device, Name, &Tex);
Expand All @@ -44,6 +45,11 @@ bool TextureRecord::LoadTexture(TextureRecordType Type, const char* Name) {
D3DXCreateCubeTextureFromFileA(TheRenderManager->device, Name, &TexC);
if (TexC == NULL) return false;
Texture = TexC;
/* texture = (NiDX9SourceTextureData*)Pointers::Functions::MemoryAlloc(sizeof(NiDX9SourceTextureData));
new (texture) NiDX9SourceTextureData(TheRenderManager);
res = texture->LoadTexture(Name, TheRenderManager);
if(res == true) Texture = texture->dTexture;*/
break;
case SourceBuffer:
Texture = TheTextureManager->SourceTexture;
Expand Down Expand Up @@ -84,7 +90,7 @@ bool TextureRecord::LoadTexture(TextureRecordType Type, const char* Name) {
default:
return false; //Texture is invalid or not assigned here.
}
return true;
return res;

}

Expand Down

0 comments on commit 9426b87

Please sign in to comment.