nametags fixed.

This commit is contained in:
jaynus 2015-01-13 16:47:23 -08:00
parent 0937de0fa4
commit db4f88261d
6 changed files with 11 additions and 8 deletions

View File

@ -0,0 +1 @@
z\ace\addons\nametags

View File

@ -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));
};
};

View File

@ -1,7 +1,6 @@
#include "script_component.hpp"
// by commy2 and CAA-Picard
if (!hasInterface) exitWith {};
GVAR(ShowNamesTime) = -10;

View File

@ -1,5 +1,6 @@
#include "script_component.hpp"
PREP(canShow);
PREP(doShow);
PREP(drawNameTagIcon);

View File

@ -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;

View File

@ -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"