move
This commit is contained in:
parent
9623417d02
commit
660df677e6
|
@ -3,4 +3,15 @@ diag_log "leoext: try to initialize...";
|
||||||
_return = "libleoext" callExtension "foooo";
|
_return = "libleoext" callExtension "foooo";
|
||||||
execVM "\leoservermod\marker.sqf";
|
execVM "\leoservermod\marker.sqf";
|
||||||
|
|
||||||
|
leoext_stop = false;
|
||||||
|
|
||||||
|
[] spawn {
|
||||||
|
while {!leoext_stop} do {
|
||||||
|
sleep 1;
|
||||||
|
private _markers = call leoext_map_markers_information;
|
||||||
|
private _units = call leoext_units_pos;
|
||||||
|
"libleoext" callExtension ["foo", [[_markers, _units]]];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
diag_log format ["leoext: initialize complete! return: %1", _return];
|
diag_log format ["leoext: initialize complete! return: %1", _return];
|
|
@ -26,17 +26,4 @@ leoext_units_pos = {
|
||||||
} forEach allUnits;
|
} forEach allUnits;
|
||||||
|
|
||||||
_units_pos;
|
_units_pos;
|
||||||
};
|
};
|
||||||
|
|
||||||
leoext_stop = false;
|
|
||||||
|
|
||||||
[] spawn {
|
|
||||||
while {!leoext_stop} do {
|
|
||||||
sleep 1;
|
|
||||||
diag_log "submitting coordinates...";
|
|
||||||
|
|
||||||
private _markers = call leoext_map_markers_information;
|
|
||||||
private _units = call leoext_units_pos;
|
|
||||||
"libleoext" callExtension ["foo", [[_markers, _units]]];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -105,7 +105,9 @@
|
||||||
(getf env :request-method)
|
(getf env :request-method)
|
||||||
(getf env :request-uri)
|
(getf env :request-uri)
|
||||||
route-function)
|
route-function)
|
||||||
(funcall route-function env)))))
|
(funcall route-function env)))
|
||||||
|
:port 5000
|
||||||
|
:address "0.0.0.0"))
|
||||||
:name "webserver"))
|
:name "webserver"))
|
||||||
|
|
||||||
(sb-thread:list-all-threads)
|
(sb-thread:list-all-threads)
|
||||||
|
|
Loading…
Reference in New Issue