mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
nametags fixed.
This commit is contained in:
parent
0937de0fa4
commit
db4f88261d
1
addons/nametags/$PBOPREFIX$
Normal file
1
addons/nametags/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\nametags
|
@ -6,6 +6,6 @@ class Extended_PreInit_EventHandlers {
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
postInit = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
// by commy2 and CAA-Picard
|
||||
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
GVAR(ShowNamesTime) = -10;
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
|
||||
PREP(canShow);
|
||||
PREP(doShow);
|
||||
PREP(drawNameTagIcon);
|
||||
|
@ -11,13 +11,15 @@
|
||||
Nothing
|
||||
*/
|
||||
|
||||
#define GVAR(TextIDC) 11123
|
||||
#include "script_component.hpp"
|
||||
|
||||
#define TextIDC 11123
|
||||
|
||||
private["_text", "_ctrl"];
|
||||
|
||||
disableSerialization;
|
||||
|
||||
_text = _this select 0;
|
||||
_ctrl = (uiNamespace getVariable QGVAR(dialog)) displayCtrl GVAR(TextIDC);
|
||||
_ctrl = (uiNamespace getVariable QGVAR(dialog)) displayCtrl TextIDC;
|
||||
_ctrl ctrlSetStructuredText parseText _text;
|
||||
_ctrl ctrlCommit 0;
|
||||
|
@ -1,12 +1,12 @@
|
||||
#define COMPONENT NameTags
|
||||
#define COMPONENT nametags
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#ifdef DEBUG_ENABLED_NameTags
|
||||
#ifdef DEBUG_ENABLED_NAMETAGS
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_SETTINGS_NameTags
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_NameTags
|
||||
#ifdef DEBUG_SETTINGS_NAMETAGS
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_NAMETAGS
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user