doc/protocol.txt
author Wolfgang Steffens <WolfgangSteff@gmail.com>
Tue, 10 Jul 2012 11:08:35 +0200
changeset 7304 8b3575750cd2
parent 2497 29678306d4fb
child 8240 ee39403a1d27
permissions -rw-r--r--
Added auto cropping to atlasing Added splitting of animation sheets to frames and auto crop the frames. Fixed some atlas blitting issues. Vertex coords are still improper tho for auto cropped frames
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2497
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     1
	'?'             ping?
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     2
	'!'             pong!
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     3
	'l','L'         срабатывание команд     -left, +left
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     4
	'r','R'                                 -right, +right
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     5
	'u','U'                                 -up, +up
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     6
	'd','D'                                 -down, +down
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     7
	'z', 'Z'                                -precise, +precise
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     8
	'N'             срабатывание команды /nextturn
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     9
	'S'                                  /switch
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    10
	's' + <текст>   /say
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    11
	'+'             пустой пакет для постоянности лага
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    12
	'1'..'5'        /timer 1..5
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    13
	chr(128+№)     /slot №
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    14
	'w'             /setweap
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    15
	'p'             /put
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    16
	'j'             /ljump
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    17
	'J'             /hjump
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    18
	'E' + <текст>   сообщение об ошибке
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    19
	','             /skip
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    20
	'K'             вывести сообщение из KB
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    21
	'Q'             выход через команду /quit
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    22
	'q'             выход по причине окончания игры
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    23
	't' + №        /taunt №
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    24
	'F' + <team>    команда team вылетела в сетевой игре
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    25
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    26
фронтенд клиенту:
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    27
	'e' + <команда> выполнить "/<команда>"
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    28
	'T' + {L,N,D}   тип игры (локальная, сетевая, просмотр демо)
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    29
	'W' + <текст>   сообщение о нефатальной ошибке
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    30
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    31
Клиент фронтенду:
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    32
	'C'             запрос текущего конфига игры
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    33
	'q'             выход по причине окончания демки
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    34
	'i'             статистика