repo.or.cz
/
tablebottom.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Way too much stuff, I need to commit more often >_<
[tablebottom.git]
/
ttdefs.rb
blob
81e8a5fbcd1235a1f619af66888308704c3566ba
1
# Copyright (c) 2008 Charles Bachhuber
2
# Licensed under the MIT License, see license.txt for details.
3
4
module TTDefs
5
HOST = "76.88.68.174"
6
PORT = 56310
7
MSGS = {
8
:mBugged => 0x00,
9
:mConnect => 0x01,
10
:mDiscon => 0x02,
11
:mLog => 0x03,
12
:mIAm => 0x04,
13
:mSay => 0x05,
14
:mOSay => 0x06,
15
:mCalc => 0x07,
16
:mRoll => 0x08,
17
:mFact => 0x09,
18
:mCheck => 0x0A,
19
:mMapUp => 0x0B,
20
:mMapClear => 0x0C,
21
:mUplink => 0x0D,
22
:mPointer => 0x0E,
23
:mATData => 0x0F,
24
:mNextAT => 0x10,
25
26
:mVersion => 0xEE,
27
:mSetRoom => 0xEF,
28
29
:mBatch => 0xFE
30
}
31
LMSGS = {
32
:lPresent => -1
33
}
34
35
PRINTEMS = [:mSay, :mOSay, :mCalc, :mRoll, :mFact, :mCheck]
36
end