2022-08-13 23:19:24 +08:00
|
|
|
#
|
|
|
|
# Aerotow Everywhere - Add-on for FlightGear
|
|
|
|
#
|
|
|
|
# Written and developer by Roman Ludwicki (PlayeRom, SP-ROM)
|
|
|
|
#
|
|
|
|
# Copyright (C) 2022 Roman Ludwicki
|
|
|
|
#
|
|
|
|
# Aerotow Everywhere is an Open Source project and it is licensed
|
|
|
|
# under the GNU Public License v3 (GPLv3)
|
|
|
|
#
|
|
|
|
|
2022-08-19 08:36:36 +08:00
|
|
|
var g_Aerotow = nil;
|
2022-08-13 23:19:24 +08:00
|
|
|
|
|
|
|
#
|
2022-08-19 08:36:36 +08:00
|
|
|
# Initialize Aerotow
|
2022-08-13 23:19:24 +08:00
|
|
|
#
|
2022-08-19 08:36:36 +08:00
|
|
|
# addon - Addon object
|
2022-08-13 23:19:24 +08:00
|
|
|
#
|
2022-08-19 08:36:36 +08:00
|
|
|
var init = func (addon) {
|
|
|
|
g_Aerotow = Aerotow.new(addon);
|
2022-08-13 23:19:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#
|
2022-08-19 08:36:36 +08:00
|
|
|
# Uninitialize Aerotow
|
2022-08-13 23:19:24 +08:00
|
|
|
#
|
2022-08-19 08:36:36 +08:00
|
|
|
var uninit = func () {
|
|
|
|
if (g_Aerotow) {
|
|
|
|
g_Aerotow.del();
|
2022-08-13 23:19:24 +08:00
|
|
|
}
|
|
|
|
}
|