summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/visual_world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/visual_world.cpp')
-rw-r--r--cheat/internal_rewrite/visual_world.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/cheat/internal_rewrite/visual_world.cpp b/cheat/internal_rewrite/visual_world.cpp
index ea3d31d..b45aa3f 100644
--- a/cheat/internal_rewrite/visual_world.cpp
+++ b/cheat/internal_rewrite/visual_world.cpp
@@ -392,6 +392,22 @@ namespace features
}
}
else if( is_sky ) {
+ // todo: make the sky look nice as opposed to gay
+ /*
+ // epic skybox fix (for 3d skybox fog fucking up)
+ offsets->m_skybox_mod = *pattern::first_code_match< uint32_t * >(
+ instance->m_chl->dll( ),
+ STR( "80 BE ? ? ? ? ? 5E 0F 95 C0" ),
+ 0x2
+ );
+
+ // ...
+ auto &skybox_flag = *( uint8_t * )( ( uint32_t ) local_ptr + offsets->m_skybox_mod( ) );
+
+ if( config->visual->night_mode( ) )
+ skybox_flag = 0;
+ */
+
if( apply ) {
new_color = fclr_t( 0.f, 0.f, 0.f );
}