Moved functions to ace_map

This commit is contained in:
VKing 2015-05-10 19:58:09 +02:00
parent 4e09681c9e
commit bcac56874b
6 changed files with 5 additions and 5 deletions

View File

@ -238,9 +238,6 @@ GVAR(OldIsCamera) = false;
{!((_this select 0) isEqualTo (_this select 1)) && {vehicle (_this select 0) == vehicle (_this select 1)}}
}] call FUNC(addCanInteractWithCondition);
// Find MGRS zone and 100km grid for current map
[] call FUNC(getMGRSdata);
// Lastly, do JIP events
// JIP Detection and event trigger. Run this at the very end, just in case anything uses it
if(isMultiplayer && { time > 0 || isNull player } ) then {

View File

@ -66,9 +66,7 @@ PREP(getFirstTerrainIntersection);
PREP(getForceWalkStatus);
PREP(getGunner);
PREP(getInPosition);
PREP(getMapGridFromPos);
PREP(getMarkerType);
PREP(getMGRSdata);
PREP(getName);
PREP(getNumberFromMissionSQM);
PREP(getNumberMagazinesIn);

View File

@ -6,6 +6,9 @@ LOG(MSG_INIT);
// Calculate the maximum zoom allowed for this map
call FUNC(determineZoom);
// Find MGRS zone and 100km grid for current map
[] call FUNC(getMGRSdata);
// This spawn is probably worth keeping, as pfh don't work natively on the briefing screen and IDK how reliable the hack we implemented for them is.
// The thread dies as soon as the mission start, so it's not really compiting for scheduler space.
[] spawn {

View File

@ -7,6 +7,8 @@ PREP(blueForceTrackingModule);
PREP(blueForceTrackingUpdate);
PREP(determineMapLight);
PREP(determineZoom);
PREP(getMapGridFromPos);
PREP(getMGRSdata);
PREP(moduleMap);
PREP(onDrawMap);
PREP(updateMapEffects);