* 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 Fsm.lua
Code formatting and minor typo/documentation fixes.
* Update Goal.lua
Code formatting and minor typo/documentation fixes.
* Update Menu.lua
Code formatting and minor typo/documentation fixes.
* Update Message.lua
Code formatting and minor typo/documentation fixes.
* Update Report.lua
Code formatting and minor typo/documentation fixes.
* Update ScheduleDispatcher.lua
Code formatting and minor typo/documentation fixes.
* Update Scheduler.lua
Code formatting and minor typo/documentation fixes.
* Update Settings.lua
Code formatting and minor typo/documentation fixes.
* Update Spawn.lua
Code formatting and minor typo/documentation fixes.
ARTY
* Groups can now be transported as cargo via ARTY:NewFromCargoGroup() function.
* If immobile units are defined as cargo, targets out of range are not deleted from the queue.
AI_CARGO_APC
* Adjusted function documentation.
AI_CARGO_DISPATCHER
* Adjusted function documentation.
AI_CARGO_HELICOPTER
* Adjusted function documentation.
CARGOG_ROUP
* Ajusted function documentation.
MESSAGE
* Adjusted function documentation.
* Added missing Settings parameter to some functions.
DCS
* Improved documentation.
MISSION:
* Adusted function documentatoin.
ARTY:
Fixed CTD bug. Caused by group:ClearTasks() when no task is assigned (group arrived).
Many other improvements
Cleared up function location.
MESSAGES:
Added optional clear screen parameter.
* Added USERFLAG class to manage user flags
* Added USERSOUND class to manage sounds
* Added SET_BASE:GetSetNames() to return an array of the object names of
a Set. (Created dynamic lists based on mission editor groups defined).
* Added SET_BASE:GetSetObjects()
* Revised the Messages
* Optimized the code for GetScannedCoalition
* Markings text optimized for ZONE_CAPTURE_COALITION. Now the owning
coalition is also shown.
* Removed the stupid naming of messages to coalitions.
* Added Message Type Methods
* SETTINGS menu has been added with Message Type display times
* Modifed the FSM action classes to use the new Message Type methods.