Correct module links.
Replace references to missing images with MOOSE.JPG.
Add default MOOSE.JPG where no image was previously set.
Fix minor spelling error.
**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.
**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.
- Scheduled calls are traced with ---> or +++> prefixes... This is handy to find where scheduled calls were actually called in the code. Line number and function is shown correctly now. ---> is for one schedule, and +++> for repeated schedules.
- Fsm output is now also organized better. All Fsm calls are shown with :::> prefix. The onafter, onbefore, onenter or onleave method names are also shown, and also the state transition including the function call place is shown now.
-- Now for each trace line, the class name has 30 characters space.
- 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.
The units are then removed from each SET that is subscribed to a set of UNIT objects or GROUP objects! Also the DATABASE is correctly managing this new removal method.
This to prevent the DATABASE getting corrupted with dead units, which were removed with :Destroy(), but which weren't cleaned from the database.
Problem was in BASE. I added a field "ParentClass", which was a
mistake...
at every deepcopy it started to copy ParentClass contents too! My god!
No wonder it suddenly went all slow.