DISCLAIMER
-
DCS Olympus (the "MATERIAL" or "Software") is provided completely free to users subject to the terms of the CC BY-NC-SA 4.0 Licence except where such terms conflict with this disclaimer, in which case, the terms of this disclaimer shall prevail.
- The authors and/or copyright holders of the Software have not received any financial benefit in connection with the Software. In any event, the Software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors and/or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software. Any party making use of the Software in any manner agrees to be bound by the terms set out in this disclaimer. THIS MATERIAL IS NOT MADE OR SUPPORTED BY EAGLE DYNAMICS SA.
+
+ Copyright (C) 2023 Veltro & Gang
+
+
+ DCS Olympus (the "MATERIAL" or "Software") is provided completely free
+ to users subject to the it under both the terms of version 3 of the GNU
+ General Public License as published by the Free Software Foundation, and
+ the additional terms set out below; except where such terms conflict with this
+ disclaimer, in which case, the terms of this disclaimer shall prevail.
+
+
+ The authors and/or copyright holders of the Software have not received any
+ financial benefit in connection with the Software. In any event, the
+ Software is provided “as is”, without warranty of any kind, express or
+ implied, including but not limited to the warranties of merchantability,
+ fitness for a particular purpose and non-infringement. In no event shall
+ the authors and/or copyright holders be liable for any claim, damages or
+ other liability, whether in an action of contract, tort or otherwise,
+ arising from, out of or in connection with the Software or the use or o
+ ther dealings in the Software.
+
+
+ Any party making use of the Software in any manner agrees to be
+ bound by the terms set out in this disclaimer, version 3 of the GNU
+ General Public Licence, and the Additional Terms below.
+
+
+ THIS MATERIAL IS NOT MADE OR SUPPORTED BY EAGLE DYNAMICS SA.
+
@@ -304,4 +331,27 @@
![]()
-
diff --git a/package-lock.json b/package-lock.json
deleted file mode 100644
index 48e341a0..00000000
--- a/package-lock.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "lockfileVersion": 1
-}
diff --git a/package.bat b/package.bat
deleted file mode 100644
index eceb06f4..00000000
--- a/package.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-cd client
-call npm prune --production
-cd ..
-call "C:\Program Files (x86)\Inno Setup 6\iscc.exe" "installer\olympus.iss"
diff --git a/scripts/OlympusCommand.lua b/scripts/OlympusCommand.lua
index 2b4a03b6..e77dd00e 100644
--- a/scripts/OlympusCommand.lua
+++ b/scripts/OlympusCommand.lua
@@ -1,6 +1,6 @@
local version = "v0.4.5-alpha"
-local debug = true -- True enables debug printing using DCS messages
+local debug = false -- True enables debug printing using DCS messages
-- .dll related variables
Olympus.OlympusDLL = nil
diff --git a/src/core/src/groundunit.cpp b/src/core/src/groundunit.cpp
index 4220129a..801000b0 100644
--- a/src/core/src/groundunit.cpp
+++ b/src/core/src/groundunit.cpp
@@ -202,7 +202,7 @@ void GroundUnit::AIloop()
double lat = 0;
double lng = 0;
- double randomBearing = bearing1 + (((double)(rand()) / (double)(RAND_MAX) - 0.5) * 2) * 15;
+ double randomBearing = bearing1 + (((double)(rand()) / (double)(RAND_MAX) - 0.5) * 2) * 0; // TODO put defined constant here
Geodesic::WGS84().Direct(position.lat, position.lng, randomBearing, r, lat, lng);
std::ostringstream taskSS;
@@ -214,7 +214,7 @@ void GroundUnit::AIloop()
}
if (internalCounter == 0)
- internalCounter = 20 / 0.05;
+ internalCounter = 20 / 0.05; // TODO make defined constant
internalCounter--;
break;
@@ -285,7 +285,7 @@ void GroundUnit::AIloop()
if (muzzleVelocity != 0)
aimTime += distance / muzzleVelocity;
- internalCounter = (aimTime + 2) / 0.05;
+ internalCounter = (aimTime + 2) / 0.05; // TODO fix me you fucking monster
/* Compute where the target will be in aimTime seconds. We don't consider vertical velocity atm, since after all we are not really tring to hit */
double aimDistance = target->getSpeed() * aimTime;
@@ -293,7 +293,7 @@ void GroundUnit::AIloop()
double aimLng = 0;
Geodesic::WGS84().Direct(target->getPosition().lat, target->getPosition().lng, target->getHeading() * 57.29577, aimDistance, aimLat, aimLng); /* TODO make util function */
- /* Compute distance to the aim point */
+ /* Compute distance to the aim point */ // TODO: why am I here?
double dist;
double bearing1;
double bearing2;