mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
afb3dad22b
* Add timestamps to markers * Tiny tweaks * Update addons/markers/functions/fnc_canTimestamp.sqf Co-authored-by: Brett <brett@bmandesigns.com> * Update addons/markers/functions/fnc_initInsertMarker.sqf Co-authored-by: Brett <brett@bmandesigns.com> * Add timestamp format setting * Script cleanup, move checkbox under desc * Fix stringtable validation * Tweaks * Remove styling from stringtable * Edit timestamps instead of append Credits to @PabstMirror Co-authored-by: Brett <brett@bmandesigns.com>
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
#define COMPONENT markers
|
|
#define COMPONENT_BEAUTIFIED Markers
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#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"
|
|
|
|
#define CHANNEL_NAMES [ \
|
|
localize "str_channel_global", \
|
|
localize "str_channel_side", \
|
|
localize "str_channel_command", \
|
|
localize "str_channel_group", \
|
|
localize "str_channel_vehicle" \
|
|
]
|
|
|
|
// 129 just looks like a space
|
|
#define TIMESTAMP_SPACE (toString [129])
|
|
|
|
#define MOVE_RESTRICTION_NOBODY -1
|
|
#define MOVE_RESTRICTION_ALL 0
|
|
#define MOVE_RESTRICTION_ADMINS 1
|
|
#define MOVE_RESTRICTION_GROUP_LEADERS 2
|
|
#define MOVE_RESTRICTION_GROUP_LEADERS_ADMINS 3
|
|
#define MOVE_RESTRICTION_OWNER 4
|
|
|
|
#define IDC_ACE_INSERT_MARKER_TIMESTAMP 1210
|
|
#define IDC_ACE_INSERT_MARKER_TIMESTAMP_TEXT 1211
|
|
#define IDC_ACE_INSERT_MARKER_SHAPE 1220
|
|
#define IDC_ACE_INSERT_MARKER_COLOR 1221
|
|
#define IDC_ACE_INSERT_MARKER_ANGLE 1230
|
|
#define IDC_ACE_INSERT_MARKER_ANGLE_TEXT 1231
|