forked from palindromiq/YATE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.h
116 lines (95 loc) · 4.55 KB
/
globals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#ifndef GLOBALS_H
#define GLOBALS_H
namespace Qt {
class QString;
}
// that way you aren't compiling QString into every header file you put this in...
// aka faster build times.
#define PATH_EE_LOG_RELATIVE "Warframe/EE.log"
#define SETTINGS_ORGANIZATION "palindromiq"
#define SETTINGS_APPLICATION "yate"
#define SETTINGS_WEBSITE QString("yate.app")
#define SETTINGS_WEBSITE_HTTPS QString("https://") + SETTINGS_WEBSITE
#define SETTINGS_URL_API_BASE QString("https://api.") + SETTINGS_WEBSITE
#define SETTINGS_URL_CODE_REDIRECT SETTINGS_WEBSITE_HTTPS + "/code.html"
#define SETTINGS_API_VERSION "v1.0"
#define SETTINGS_URL_API_CHECK_VERSION SETTINGS_URL_API_BASE + "/" + SETTINGS_API_VERSION + "/update"
#define SETTINGS_KEY_EE_LOG "eelogpath"
#define SETTINGS_KEY_WATERSHIELD_FORMAT "watershield_format"
#define SETTINGS_WS_OPT_BREAKDOWN "breakdown"
#define SETTINGS_WS_OPT_TOTAL "total"
#define SETTINGS_WS_OPT_SHIELD "shield"
#define SETTINGS_KEY_FEEDBACK_POS_X "feedback_xpos"
#define SETTINGS_KEY_FEEDBACK_POS_Y "feedback_ypos"
#define SETTINGS_KEY_FEEDBACK_FONT "feedback_font"
#define SETTINGS_KEY_SHOW_LIMBS "show_limbs"
#define SETTINGS_KEY_SHOW_LIMBS_AFTER_LAST "show_limbs_after_last"
#define SETTINGS_FEEDBACK_FONT_DEFAULT 10
#define SETTINGS_KEY_LIMBS_PREC "limbs_precision"
#define SETTINGS_LIMBS_PREC_DEFAULT 3
#define SETTINGS_KEY_LOCK_FEEDBACK_BTN "lock_feedback_btn"
#define SETTINGS_KEY_STREAMER_MODE "streamer_mode"
#define SETTINGS_KEY_LAST_SAVE_DIR "img_save_dir"
#define SETTINGS_KEY_UPDATE_ON_STARTUP "update_on_start"
#define SETTINGS_KEY_DISCORD_FEATURES "discord_features"
#define SETTINGS_KEY_DISCORD_ACTIVITY "discord_activity"
#define SETTINGS_KEY_DISCORD_NETWORKING "discord_networking"
#define SETTINGS_KEY_DISCORD_ACTIVITY_JOIN "discord_activity_join"
#define DISCORD_UPDATE_TIMER 50
#define DISCORD_LOBBY_SIZE 30
#define DISCORD_MESSAGE_BUFFER_TIMER 1000
#define EMOJI_LOCKED "🔒"
#define EMOJI_UNLOCKED "🔓︎"
#define DISCORD_ENABLED
#define DISCORD_CLIENT_ID 928576870478381096
#define LIMB_BREAK_ANIMATION_TIME 17.186
#define CAPSHOT_ANIMATION_TIME 48.109
#define MAX_NIGHT_DURATION 4800.0
#define FIRST_SET_NIGHT_START_THRESHOLD 6.0
#define LIVE_FEEDBACK_DEFAULT_MSG QObject::tr(" [Live Feedback will show here]")
#define ANALYSIS_STAT_NIGHTS QObject::tr("Nights")
#define ANALYSIS_STAT_NIGHT_NO QObject::tr("Night #")
#define ANALYSIS_STAT_RUNS QObject::tr("Runs")
#define ANALYSIS_STAT_RUN_NO QObject::tr("Run #")
#define ANALYSIS_STAT_TERALYST QObject::tr("Teralyst")
#define ANALYSIS_STAT_GANTULYST QObject::tr("Gantulyst")
#define ANALYSIS_STAT_HYDROLYST QObject::tr("Hydrolyst")
#define ANALYSIS_STAT_TERRY QObject::tr("Terry")
#define ANALYSIS_STAT_GARRY QObject::tr("Garry")
#define ANALYSIS_STAT_HARRY QObject::tr("Harry")
#define ANALYSIS_STAT_LIMB_BREAKS QObject::tr("Limb Breaks")
#define ANALYSIS_STAT_RESULT_INCOMPLETE QObject::tr("No Spawn")
#define ANALYSIS_STAT_RESULT_SPAWNED QObject::tr("Spawned")
#define ANALYSIS_STAT_RESULT_KILLED QObject::tr("Killed")
#define ANALYSIS_STAT_RESULT_CAPTURED QObject::tr("Captured")
#define ANALYSIS_STAT_SHRINE_TIME QObject::tr("Shrine Time")
#define ANALYSIS_STAT_BETWEEN_SHARDS QObject::tr("Time Between Shards")
#define ANALYSIS_STAT_SPAWN_DELAY QObject::tr("Spawn Delay")
#define ANALYSIS_STAT_WATERSHIELD QObject::tr("Watershield")
#define ANALYSIS_STAT_SHRINE_ACTIVASION QObject::tr("Shrine Delay")
#define ANALYSIS_STAT_LOOT_DROP QObject::tr("Loot Drop")
#define ANALYSIS_STAT_SHRINE_ACTIVATION QObject::tr("Shrine Activation")
#define ANALYSIS_STAT_CAPSHOT QObject::tr("Capshot")
#define ANALYSIS_STAT_LAST_LIMB QObject::tr("Last Limb Clock")
#define ANALYSIS_STAT_LIMBS_AVERAGE QObject::tr("Limbs Average")
#define ANALYSIS_STAT_CAPSHOT_TIME QObject::tr("Capshot Clock")
#define ANALYSIS_STAT_RESULT QObject::tr("Result")
#define ANALYSIS_STAT_HEADER1 QObject::tr("Attribute")
#define ANALYSIS_STAT_HEADER2 QObject::tr("Value")
#define ANALYSIS_STAT_LIMBS QObject::tr("Limbs")
#define ANALYSIS_STAT_LOADTIME QObject::tr("Load Time")
#define THREADED_PARSING
#define FORMAT_NUMBER(x) QString::number(x, 'f', 3)
#define FORMAT_NUMBER_PREC(x, y) QString::number(x, 'f', y)
//#define SUMMARY_COLOR_BG "#031a1e"
//#define SUMMARY_COLOR_TITLE "#941c2f"
//#define SUMMARY_COLOR_LIMBS "#c1cfda"
//#define SUMMARY_COLOR_LAST_LIMB "#20a4f3"
//#define SUMMARY_COLOR_AVERAGE "#59f8e8"
#define SUMMARY_COLOR_BG "#FFFFFF"
#define SUMMARY_COLOR_TITLE "#C44536"
#define SUMMARY_COLOR_LIMBS "#283D3B"
#define SUMMARY_COLOR_LAST_LIMB "#283D3B"
#define SUMMARY_COLOR_AVERAGE "#283D3B"
#define TIMELINE_COLOR_ELEMENT "#05aeef"
#endif // GLOBALS_H