Code Search for Developers
 
 
  

protocol.dtd from Thousand Parsec at Krugle


Show protocol.dtd syntax highlighted

<!ELEMENT protocol (packet+) >
<!ATTLIST protocol version CDATA #REQUIRED >
<!ELEMENT packet (longname?, direction?, description?, structure?, note*) >
<!ATTLIST packet name ID #REQUIRED base IDREF #IMPLIED >
<!ELEMENT longname (#PCDATA) >
<!ELEMENT direction (#PCDATA) >
<!ELEMENT description (#PCDATA) >
<!ELEMENT structure (character | integer | string | enumeration | list | group)* >
<!ELEMENT character (name, longname, description, example, note?) >
<!ATTLIST character size CDATA "1" >
<!ELEMENT name (#PCDATA) >
<!ELEMENT example (#PCDATA) >
<!ELEMENT note (#PCDATA) >
<!ELEMENT element (name, longname, description, example, note*) >
<!ATTLIST element type (signed|unsigned|semisigned) #REQUIRED size CDATA "32" >
<!ELEMENT string (name, longname, description, example, note*) >
<!ELEMENT enumeration (name, longname, description, values, example, note*) >
<!ATTLIST enumeration type (signed|unsigned|semisigned) #REQUIRED size CDATA "32" >
<!ELEMENT values (value+) >
<!ELEMENT value (#PCDATA)>
<!ATTLIST value id CDATA #REQUIRED name CDATA #REQUIRED >
<!ELEMENT list (name, longname, description, structure, example, note*) >
<!ELEMENT group (name, longname, description, structure, example, note*) >





See more files for this project here

Thousand Parsec

Thousand Parsec is a framework for turn based 4 X\'s game (eXplore, eXpand, eXploit, eXterminate). Designed for long games, supporting massive universes and has an easily expanded tech tree.

Project homepage: http://sourceforge.net/projects/thousandparsec
Programming language(s): C++,Python
License: other

  objects/
    Header.py
    Packet.py
    __init__.py
  .boring
  Structures.py
  libtpproto2-py.tailor
  parser.py
  protocol.dtd
  protocol.xml
  xstruct.py