diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-18 12:53:17 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-18 12:53:17 +0200 |
commit | f60e3d667ae9be4d05b57afa676e5ef466ec352d (patch) | |
tree | 6abff9c88f79058629788b41c5d287421014114c | |
parent | Script.cpp missing breaks (diff) | |
download | re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar.gz re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar.bz2 re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar.lz re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar.xz re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.tar.zst re3-f60e3d667ae9be4d05b57afa676e5ef466ec352d.zip |
-rw-r--r-- | src/core/Radar.cpp | 2 | ||||
-rw-r--r-- | src/skel/glfw/glfw.cpp | 1 | ||||
-rw-r--r-- | src/skel/win/win.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index 78166252..4556e3b4 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -272,7 +272,7 @@ uint8 CRadar::CalculateBlipAlpha(float dist) return 255; if (dist <= 10.0f) - return (128.0f * ((dist - 1.0f) / 4.0f)) + ((1.0f - (dist - 1.0f) / 4.0f) * 255.0f); + return (128.0f * ((dist - 1.0f) / 9.0f)) + ((1.0f - (dist - 1.0f) / 9.0f) * 255.0f); return 128; } diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index a613fff0..26a3a509 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -43,6 +43,7 @@ #define MAX_SUBSYSTEMS (16) +// --MIAMI: file done rw::EngineOpenParams openParams; diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 149c9045..a10a1a92 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -53,6 +53,7 @@ #define MAX_SUBSYSTEMS (16) +// --MIAMI: file done static RwBool ForegroundApp = TRUE; |