* Documentation fixes. (#1810)
Fix documentation references.
Correct spelling errors.
Remove empty whitespaces.
Correct a single mis-spelled ZONE_BASE variable, see 'Core/Zone.lua' (variable "Sureface" -> "Surface", no references to mis-spelled "Sureface" throughout the codebase).
Correct mis-spelling of "coaltion" in 'Functional/Mantis.lua', corrected to "coalition".
* Documentation fixes. (#1811)
Update documentation text and links.
Fix spelling errors.
Other minor adjustments where appropriate, such as remove whitespaces and format code.
* Documentation fixes. (#1815)
Minor documentation and code formatting fixes.
This is mostly intended to have something re-trigger the documentation generation to see if the filename capitalization is resolved.
* Code formatting preparation. (#1817)
Use EmmyLuaCodeStyle that comes with "Lua" VS Code extension (https://marketplace.visualstudio.com/items?itemName=sumneko.lua). More features and configurability than LuaFormatter, and no need for additional extension (beyond "Lua").
Formatting file set up from default template with some tweaks to correspond to most common coding style observed in the code base. Further tweaks are likely required.
* Documentation fixes. (#1816)
Co-authored-by: TommyC81 <tommyc81@gmail.com>
* Update .lua-format
Adjust for observed coding standards.
* Update ATIS.lua
Correct measurement units and spelling (also changed in Utils.lua).
* Update Utils.lua
Format the file, fix typos, adjust minor text. Rename "celcius" to "celsius". Rename "farenheit" to "fahrenheit".
* Update Warehouse.lua
Adjust measurement unit text.
* Update STTS.lua
Adjust formatting, minor typos, and fix error in documentation (missing blank rows) introduced in previous update.
* Update Range.lua
Adjust minor typos and code formatting. Adjust for celsius/fahrenheit typo correction.
* Update PseudoATC.lua
Adjust for celsius/fahrenheit typo correction in utils.lua.
* Update Point.lua
Code formatting, fix minor typos, adjust for celsius/fahrenheit corrrection in utils.lua.
* Update Range.lua
Minor documentation fix.
Documentation updates for correctness and clarity.
General code formatting updates.
Ajustment to POSITIONABLE:GetCoord to make use of existing POINT:UpdateFromVec3.
Added comments about clarifying the difference between POSITIONABLE:GetCoordinate() and POSITIONABLE:GetCoord() and to perhaps consider a renaming or merging the functions with an optional flag.
COORDINATE
- Fixed issue with ground units not honoring set speed by setting `ETA_locked=false` in `COORDINATE:WaypointGround` function (used by other classes and routines in MOOSE). See #1484
- Also set `ETA_locked=false` for `COORINATE:WaypointAir` and `COORDINATE:WaypointNaval`
- Added COORDINATE:LineToAll and COORDINATE:CircleToAll
- Added altitude parameter to CONTROLLABLE:TaskFireAtPoint
- Added emission on/off functions to UNIT
**AI_FORMATION**
- Performance improvents. This also affects the **RESCUEHELO** class.
**EVENT**
- Added events when object is of category BASE.
**FSM**
- Removed a few tracing calls.
- Updated docs.
**POINT**
- Added Update Vec functions to COORDINATE.
- Added *overwrite* option to COORDINATE:Translate() function.
- Removed second COORDINATE:Translate() function.
- Optimized COORDINATE:GetClosestAirbase() function.
- Added *Offset* parameter to COORDINATE:IsLOS() function.
**RADIO**
- Updated BEACON type and system enums.
**RADIOQUEUE**
- Use Vec3 instead of COORDINATE. Performance improvement.
**SET**
- Added some functions.
**TIMER**
- Added new class. Little sister of SCHEDULER class.
**DCS**
- Minor changes regarding docs.
**ATIS**
- Added "Miles.ogg", "StatuteMiles.ogg", "Zulu.ogg".
**ENUMS**
- Added ENUMS.Formation.Vehicle
- Added ENUMS.AlarmState
** PROFILER**
- Added new lua profiler.
**UTILS**
- Minor changes and additions.
**AIRBASE**
- Improved Registration.
- Improved Parking spot handling.
- Aded :IsAirdrome(), IsHelipad(), IsShip() functions.
- Improved :GetRunwayData() for Syria airports.
**CONTROLLABLE**
- Fixed bug in :CommandSetFrequency() fuction (Hz vs. MHz).
- Updated/fixed :TaskFAC_AttackGroup() function.
**GROUP**
- Added :GetThreatLevel() function.
- Added :IsInZone() function to check if any unit is in the zone.
**MARKER**
- Added new class handling F10 markers using FSM.
**AIRBASE**
- Added "The Channel" map airbase name enumerators.
**ATIS v0.8.0**
- Added sunset and sunrise times (required new sound files).
- Supports "The Channel" map (needs new sound files).
**UTILS**
- Corrected NTTR local time diff to GMT-8 (was -7) hours.
- Corrected Normany local time diff to GMT+0 (was -1) hours.
- Added "The Channel" map local time diff as GMT+2 (should be GMT).
- Fixed bug in UTILS.GMTToLocalTimeDifference() function.
**SPAWNSTATIC**
- Added option to link statics to units, e.g. carriers.
- Fixed SpawnFromType function.
- Added :InitXYZ functions to set parameters.
- Removed ReSpawn functions. Pointless here. Use Respawn of STATIC class instead.
- Updated docs.
**COORDINATE**
- Added optional parameter to IsDay() and IsNight() functions to check on specific time.
**STATIC**
- Fixed Respawn functions so that statics do not appear on top of each other.
**UTILS**
- Added optional parameter to GetMissionDay and GetMissionDayOfYear functions.
**AIRBOSS**
- Adjusted recovery turn time interval back to 5 min in :SetRecoveryTurnTime() function.
**COORDINATE**
* Added functions to get sunrise and sunset times.
**UTILS**
* Added functions to calculate sunset and sunrise
* Added function to replace illegal characters.
**AIRBOSS v1.1.5**
* Fixed wrong function name when recovery is resumed.
* Replace illegcal characters in player names when writing trapsheet.
- Started with the implementation of multiple languages of speech. Got now a Russian and English prototype working.
- Moved radio frequency settings to a squadron, so multiple squadrons can communicate in their own radio frequency.
- Implement Scheduled Trace - Now source and line number are shown for scheduled calls.
- Info lines are now shown where appropriate.
- The width of trace for the class name is now 25 characters instead of 20.
- Implemented attack nearest ground target.
- Implemented attack nearest air target.
- Report all targets.
- Report only ground targets.
- Report only ground targets with radar.
- Report only air targets.
- Sort targest from nearest to furthest.
- Improved menu system.
- Improved detection of ground targets and air targets and reporting.
- Added the task TASK_CAPTURE as part of the reporting framework.
- Improved the detection of targets. Now targets with specific detection methods are correctly detected. f.e. disabling DLINK will now work correctly!
All these fixes are great improvements to the AI_ESCORT framework!