-
Notifications
You must be signed in to change notification settings - Fork 224
/
Copy pathclient_defines.dm
74 lines (58 loc) · 2.62 KB
/
client_defines.dm
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
/client
// * Black magic things *
parent_type = /datum
// * Admin things *
var/datum/admins/holder = null
var/datum/admins/deadmin_holder = null
var/adminobs = null
var/adminhelped = 0
var/staffwarn = null
var/default_pixel_x = 0
var/default_pixel_y = 0
// * Other things *
var/datum/preferences/prefs = null
///datum that controls the displaying and hiding of tooltips
var/datum/tooltip/tooltips
/*
As of byond 512, due to how broken preloading is, preload_rsc MUST be set to 1 at compile time if resource URLs are *not* in use,
BUT you still want resource preloading enabled (from the server itself). If using resource URLs, it should be set to 0 and
changed to a URL at runtime (see client_procs.dm for procs that do this automatically). More information about how goofy this broken setting works at
http://www.byond.com/forum/post/1906517?page=2#comment23727144
*/
preload_rsc = 0
// * Sound stuff *
var/played = 0
// * Security *
var/received_irc_pm = -99999
//IRC admin that spoke with them last.
var/irc_admin
var/mute_irc = 0
// Prevents people from being spammed about multikeying every time their mob changes.
var/warned_about_multikeying = 0
// comment out the line below when debugging locally to enable the options & messages menu
//control_freak = 1
// * Database related things *
//So admins know why it isn't working - Used to determine how old the account is - in days.
var/player_age = "Requires database"
//So admins know why it isn't working - Used to determine what other accounts previously logged in from this ip
var/related_accounts_ip = "Requires database"
//So admins know why it isn't working - Used to determine what other accounts previously logged in from this computer id
var/related_accounts_cid = "Requires database"
/// Custom movement keys for this client
var/list/movement_keys = list()
/// Are we locking our movement input?
var/movement_locked = FALSE
/// A buffer of currently held keys.
var/list/keys_held = list()
/// A buffer for combinations such of modifiers + keys (ex: CtrlD, AltE, ShiftT). Format: `"key"` -> `"combo"` (ex: `"D"` -> `"CtrlD"`)
var/list/key_combos_held = list()
/*
** These next two vars are to apply movement for keypresses and releases made while move delayed.
** Because discarding that input makes the game less responsive.
*/
/// On next move, add this dir to the move that would otherwise be done
var/next_move_dir_add
/// On next move, subtract this dir from the move that would otherwise be done
var/next_move_dir_sub
/// Movement dir of the most recently pressed movement key. Used in cardinal-only movement mode.
var/last_move_dir_pressed