mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
port markers
This commit is contained in:
parent
14745af70b
commit
cb8945a879
@ -1,47 +0,0 @@
|
||||
class CfgPatches {
|
||||
class AGM_Markers {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = 0.60;
|
||||
requiredAddons[] = {AGM_Core};
|
||||
version = "0.95";
|
||||
versionStr = "0.95";
|
||||
versionAr[] = {0,95,0};
|
||||
author[] = {"commy2"};
|
||||
authorUrl = "https://github.com/commy2/";
|
||||
};
|
||||
};
|
||||
|
||||
class CfgFunctions {
|
||||
class AGM_Markers {
|
||||
class AGM_Markers {
|
||||
file = "AGM_Markers\functions";
|
||||
class onLBSelChangedColor;
|
||||
class onLBSelChangedShape;
|
||||
class onSliderPosChangedAngle;
|
||||
class sendMarkersJIP;
|
||||
class setMarker;
|
||||
class setMarkerJIP;
|
||||
class setMarkerNetwork;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class AGM_Markers {
|
||||
clientInit = "call compile preprocessFileLineNumbers 'AGM_Markers\clientInit.sqf'";
|
||||
};
|
||||
};
|
||||
|
||||
class RscPicture;
|
||||
class RscText;
|
||||
class RscStructuredText;
|
||||
class RscButtonMenuOK;
|
||||
class RscButtonMenuCancel;
|
||||
class RscButtonMenu;
|
||||
class RscEdit;
|
||||
class RscCombo;
|
||||
class RscSlider;
|
||||
class RscXSliderH;
|
||||
|
||||
#include <InsertMarker.hpp>
|
1
addons/markers/$PBOPREFIX$
Normal file
1
addons/markers/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\markers
|
12
addons/markers/CfgEventHandlers.hpp
Normal file
12
addons/markers/CfgEventHandlers.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
@ -1,4 +1,15 @@
|
||||
|
||||
class RscPicture;
|
||||
class RscText;
|
||||
class RscStructuredText;
|
||||
class RscButtonMenuOK;
|
||||
class RscButtonMenuCancel;
|
||||
class RscButtonMenu;
|
||||
class RscEdit;
|
||||
class RscCombo;
|
||||
class RscSlider;
|
||||
class RscXSliderH;
|
||||
|
||||
class RscDisplayInsertMarker {
|
||||
onLoad = "_this call compile preprocessFileLineNumbers 'AGM_Markers\scripts\initInsertMarker.sqf'";
|
||||
onUnload = "_this call compile preprocessFileLineNumbers 'AGM_Markers\scripts\placeMarker.sqf'";
|
11
addons/markers/XEH_preInit.sqf
Normal file
11
addons/markers/XEH_preInit.sqf
Normal file
@ -0,0 +1,11 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
PREP(initInsertMarker);
|
||||
PREP(onLBSelChangedColor);
|
||||
PREP(onLBSelChangedShape);
|
||||
PREP(onSliderPosChangedAngle);
|
||||
PREP(placeMarker);
|
||||
PREP(sendMarkersJIP);
|
||||
PREP(setMarker);
|
||||
PREP(setMarkerJIP);
|
||||
PREP(setMarkerNetwork);
|
16
addons/markers/config.cpp
Normal file
16
addons/markers/config.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
author[] = {"commy2"};
|
||||
authorUrl = "https://github.com/commy2/";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "InsertMarker.hpp"
|
12
addons/markers/script_component.hpp
Normal file
12
addons/markers/script_component.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define COMPONENT markers
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#ifdef DEBUG_ENABLED_MARKERS
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_ENABLED_MARKERS
|
||||
#define DEBUG_SETTINGS DEBUG_ENABLED_MARKERS
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Edited with tabler - 2014-12-22 -->
|
||||
<Project name="AGM">
|
||||
<Project name="ACE">
|
||||
<Package name="Markers">
|
||||
<Key ID="STR_AGM_Markers_MarkerDirection">
|
||||
<Key ID="STR_ACE_Markers_MarkerDirection">
|
||||
<English>Direction: %1°</English>
|
||||
<German>Drehung: %1°</German>
|
||||
<French>Direction: %1°</French>
|
||||
@ -11,7 +11,7 @@
|
||||
<Spanish>Dirección: %1°</Spanish>
|
||||
<Russian>Направление: %1</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_AGM_Markers_PlaceIn">
|
||||
<Key ID="STR_ACE_Markers_PlaceIn">
|
||||
<English>Place in: %1</English>
|
||||
<German>Platz in: %1</German>
|
||||
<Spanish>Colocar en: %1</Spanish>
|
Loading…
Reference in New Issue
Block a user