about summary refs log tree commit diff stats
path: root/theme_template
blob: 1fd2a26b95148b974366913af0b371f1490a9844 (plain) (blame)
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
87pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bol
[colours]
bkgnd=
titlebar=
titlebar.text=
titlebar.brackets=
titlebar.scrolled=
titlebar.unencrypted=
titlebar.encrypted=
titlebar.untrusted=
titlebar.trusted=
titlebar.online=
titlebar.offline=
titlebar.away=
titlebar.chat=
titlebar.dnd=
titlebar.xa=
statusbar=
statusbar.text=
statusbar.time=
statusbar.brackets=
statusbar.active=
statusbar.new=
statusbar.current=
main.text=
main.text.me=
main.text.them=
main.text.history=
main.splash=
main.time=
main.trackbar=
input.text=
subscribed=
unsubscribed=
otr.started.trusted=
otr.started.untrusted=
otr.ended=
otr.trusted=
otr.untrusted=
online=
away=
chat=
dnd=
xa=
offline=
incoming=
mention=
trigger=
typing=
gone=
error=
roominfo=
roommention=
roommention.term=
roomtrigger=
roomtrigger.term=
me=
them=
roster.header=
roster.chat=
roster.online=
roster.away=
roster.xa=
roster.dnd=
roster.offline=
roster.chat.active=
roster.online.active=
roster.away.active=
roster.xa.active=
roster.dnd.active=
roster.offline.active=
roster.chat.unread=
roster.online.unread=
roster.away.unread=
roster.xa.unread=
roster.dnd.unread=
roster.offline.unread=
roster.room=
roster.room.unread=
roster.room.trigger=
roster.room.mention=
occupants.header=
receipt.sent=
untrusted=
cmd.wins.unread=

[ui]
beep=
flash=
splash=
wrap=
time.console=
time.chat=
time.muc=
time.config=
time.private=
time.xmlconsole=
time.lastactivity=
time.statusbar=
privileges=
presence=
intype=
enc.warn=
resource.title=
resource.message=
statuses.console=
statuses.chat=
statuses.muc=
roster=
roster.offline=
roster.empty=
roster.by=
roster.order=
roster.unread=
roster.count=
roster.priority=
roster.size=
roster.wrap=
roster.header.char=
roster.contact.char=
roster.contact.indent=
roster.resource=
roster.resource.char=
roster.resource.indent=
roster.resource.join=
roster.presence=
roster.presence.indent=
roster.status=
roster.contacts=
roster.unsubscribed=
roster.rooms=
roster.rooms.order=
roster.rooms.unread=
roster.rooms.pos=
roster.rooms.by=
roster.rooms.char=
roster.rooms.private.char=
roster.private=
roster.private.char=
occupants=
occupants.size=
occupants.char=
occupants.jid=
occupants.wrap=
occupants.indent=
occupants.header.char=
wins.autotidy=
otr.char=
pgp.char=
omemo.char=
console.muc=
console.chat=
console.private=
inputwin.position=
correction.char=
"o">-camera.deadZone.x / 2; const deadZoneRight = camera.deadZone.x / 2; const deadZoneTop = -camera.deadZone.y / 2; const deadZoneBottom = camera.deadZone.y / 2; // Calculate new camera position with smooth following let newX = camera.x; let newY = camera.y; // Horizontal camera movement if (distanceX < deadZoneLeft) { newX += distanceX - deadZoneLeft; } else if (distanceX > deadZoneRight) { newX += distanceX - deadZoneRight; } // Vertical camera movement if (distanceY < deadZoneTop) { newY += distanceY - deadZoneTop; } else if (distanceY > deadZoneBottom) { newY += distanceY - deadZoneBottom; } // Add subtle smoothing to camera movement const smoothing = 0.1; newX = camera.x + (newX - camera.x) * smoothing; newY = camera.y + (newY - camera.y) * smoothing; return { ...camera, x: newX, y: newY }; };