-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,settings_get_colour].cs2
92 lines (92 loc) · 3.11 KB
/
[proc,settings_get_colour].cs2
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
// 4181
[proc,settings_get_colour](int $setting0)(int)
switch_int ($setting0) {
case ^setting_opaque_public_chat_colour :
return(calc(%var2992 - 1));
case ^setting_transparent_public_chat_colour :
return(calc(%var3000 - 1));
case ^setting_opaque_private_chat_colour :
return(calc(%var2993 - 1));
case ^setting_transparent_private_chat_colour :
return(calc(%var3001 - 1));
case ^setting_split_private_chat_colour :
return(calc(%var3008 - 1));
case ^setting_opaque_auto_chat_colour :
return(calc(%var2994 - 1));
case ^setting_transparent_auto_chat_colour :
return(calc(%var3002 - 1));
case ^setting_opaque_broadcast_colour :
return(calc(%var2995 - 1));
case ^setting_transparent_broadcast_colour :
return(calc(%var3003 - 1));
case ^setting_split_broadcast_colour :
return(calc(%var3009 - 1));
case ^setting_opaque_friend_chat_colour :
return(calc(%var2996 - 1));
case ^setting_transparent_friend_chat_colour :
return(calc(%var3004 - 1));
case ^setting_opaque_clan_chat_colour :
return(calc(%var2997 - 1));
case ^setting_transparent_clan_chat_colour :
return(calc(%var3005 - 1));
case ^setting_opaque_incoming_trade_request_colour :
return(calc(%var2998 - 1));
case ^setting_transparent_incoming_trade_request_colour :
return(calc(%var3006 - 1));
case ^setting_opaque_incoming_challenge_request :
return(calc(%var2999 - 1));
case ^setting_transparent_incoming_challenge_request_colour :
return(calc(%var3007 - 1));
case ^setting_opaque_guest_clan_chat_colour :
return(calc(%var3060 - 1));
case ^setting_transparent_guest_clan_chat_colour :
return(calc(%var3061 - 1));
case ^setting_opaque_iron_group_chat_colour :
return(calc(%var3191 - 1));
case ^setting_transparent_iron_group_chat_colour :
return(calc(%var3194 - 1));
case ^setting_opaque_clan_broadcasts_colour :
return(calc(%var3192 - 1));
case ^setting_transparent_clan_broadcasts_colour :
return(calc(%var3195 - 1));
case ^setting_opaque_iron_group_broadcasts_colour :
return(calc(%var3193 - 1));
case ^setting_transparent_iron_group_broadcasts_colour :
return(calc(%var3196 - 1));
case ^setting_tile_highlight_colour_colour :
return(calc(%var3108 - 1));
case ^setting_highlight_hovered_tile_colour_colour :
return(calc(%var3155 - 1));
case ^setting_highlight_current_tile_colour_colour :
return(calc(%var3156 - 1));
case ^setting_highlight_destination_tile_colour_colour :
return(calc(%var3157 - 1));
case ^setting_unstarted_quest_text_colour_colour :
return(calc(%var3410 - 1));
case ^setting_inprogress_quest_text_colour_colour :
return(calc(%var3409 - 1));
case ^setting_completed_quest_text_colour_colour :
return(calc(%var3411 - 1));
case ^setting_unavailable_quest_text_colour_colour :
return(calc(%var3412 - 1));
case 262 :
return(calc(%var3540 - 1));
case 263 :
return(calc(%var3541 - 1));
case 266 :
return(calc(%var3542 - 1));
case 322 :
return(calc(%var3805 - 1));
case 323 :
return(calc(%var3806 - 1));
case 324 :
return(calc(%var3807 - 1));
case 325 :
return(calc(%var3808 - 1));
case 326 :
return(calc(%var3809 - 1));
case 327 :
return(calc(%var3810 - 1));
case default :
return(null);
}