DESIGNATE
- GetRootMenu() function seems obsolete and caused a crash in DESIGNATE class. Needs to be replaced by GetMenu() Function. This bug only appeared when a mission is given in DESIGNATE:New(...)
* SetRemoveParent method on menus removed, made obsolete, to avoid menus being deleted that should not.
* A2G reports now work again, and improved the reporting for successful or failed tasks.
* Removed MENU_CLIENT and MENU_CLIENT_COMMAND
* Improved the detection of new spawned groups within the TASK_A2G_DISPATCHER.
* Improved how new detections and new target sets are reported and followed-up within the TASK_A2G mechanism.
Pending: Improve the TASK_A2A_DISPATCHER and TASK_A2A mechanisms.
* DESIGNATE: Messages not appearing correctly and crashing the logic is
fixed. (due to a stupid typo).
* TASK_A2G: Tasking is fixed. Status menus are now displayed properly.
Also when the task is planned.
* MENU_COMMAND: I found now why DCS is displayer "error in error
handler" sometimes when a menu was selected. The error handler is DCS is
bugged, so made my own one.
- Caching the menus on the GROUP object.
- When a new menu is created, it will chech the cache
- When the menu is already in the cache, nothing will be done and the
self is returned.
- When the menu is not in the cache, the menu is created and the cache
is updated.
- The removal of menus now work flawlessly, because the cache is now
used to traverse the path of submenus during removal.