Place mouse cursor in the middle of the screen on interface open. Closes #89.
Save and restore last map position per device type. Addressing #36.
Changed cTab_fnc_setSettings to add an additional parameter that when set to FLASE won't call updateInterface. This is to allow the updateInterface function to change settings without calling itself again, creating an infinite loop.
Make map mapScale persist. Partially addresses #36. Could be improved upon at a later stage as right now there are a lot of ctrlMapAnimCommit commands scattered throughout that all get called upon interface setup. If they were all consolidated into one single command, it would make interface setup much smoother.
Changed mode switch functions to be fed with the display name and use that display name everywhere rather than the hard-coded names.
Stopped interface shutdown calling interface update through setSettings.
Improvements to updateInterface function.
- Dynamically show and hide loadingCtrl if present during interface init
- Consolidate changes to map size and location into one single call instead of the three potential places that would call these functions during interface init, causing the map to jump around.
Add loading control to TAD
Fixed script error (undefined variable) when trying to call cTabUavTakeControl without a UAV selected
Moved modeSwitch code for Tablet and Android into fn_updateInterface
Moved the code in cTab_xxx_dialog_onload.sqf into fn_updateInterface