home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / games / 28723 < prev    next >
Encoding:
Text File  |  1993-01-03  |  50.5 KB  |  1,789 lines

  1. Newsgroups: comp.sys.ibm.pc.games
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!jch
  3. From: jch@netcom.com (Jack Hwang)
  4. Subject: GameDirector: CIVEDIT.DEF
  5. Message-ID: <1993Jan3.100812.13321@netcom.com>
  6. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  7. Date: Sun, 3 Jan 1993 10:08:12 GMT
  8. Lines: 1779
  9.  
  10. This JUDGE file is based on the CIV Map Info 1.3 contributed by
  11. Tom Kimball.  I translated it to JUDGE format for use with GameDirector.
  12.  
  13. This should cover several data saved in the .SVE file.  It is actually
  14. a superset of CIVCHEAT.EXE and CIVCHEAT.DEF.  With this .DEF, you can
  15. change units' characteristics or cities' status, and several other
  16. items.
  17.  
  18. Guys, if you want to write a CIV editor, sorry!
  19.  
  20. Jack Hwang
  21.  
  22. P.S.  
  23.  
  24. What is GameDirector?
  25. ---------------------
  26.  
  27. GameDirector is a user-friendly, universal game data editor.
  28.  
  29. It is user-friendly because it is not a hex/binary editor.  The
  30. editings are conducted by filling forms on the screen.  Each data item
  31. is represented as a field in the forms.  And the field can have a label
  32. and some help messages attached to it.  To users, this approach is much
  33. more informative and understandable.
  34.  
  35. It is universal because it employs a defintion praser.  By changing the
  36. defintions which is read at run time, GameDirector can be customized to
  37. work on different game files.  Actually, it can be used on almost any
  38. data files.  The language used to construct the definition files is
  39. called JUDGE, which is a structured defintion language tightly coupled
  40. with GameDirector.  With JUDGE, the users can define the locations of
  41. the data items in the saved game files, as well as the the associated
  42. fields in the forms.  It is powerful and easy to use.
  43.  
  44. For more details, see the documentations in the package.
  45.  
  46. You can find it in several FTP sites.  One of them is ftp.wustl.edu; in
  47. /pub/MSDOS_UPLOADS/gd_v11.zip or gdirv11.zip
  48.  
  49. Note: if you are using pkzip 1.1 or earlier, you will have trouble to
  50. unzip it.  Try pkzip 1.93a or unzip50(zip 1.90).
  51.  
  52. ========================= cut here =============================
  53.  
  54. #! GameDirector V. 1.1 or later
  55.  
  56. module "Civilization Editor V.1.0" {
  57.     desc "Information provided by Tom Kimball  tom@europa.lonestar.org"
  58.     desc " "
  59.     desc "This is a collective Usenet effort.  The following"
  60.     desc "people supplied  contributions and information:"
  61.     desc " "
  62.     desc "Cordell Melgaard        cmelgarr@uwsuper.edu"
  63.     desc "Jasona                  jasona@sco.com"
  64.     desc "Ralph Betza             uunet!ssiny!gnohmon"
  65.     desc "Charles Hughes"
  66.     desc "AI                      syserror@sage.cc.purdue.edu"
  67.     desc "Rocky Brown             ooprb@trex.oscs.montana.edu"
  68.     desc " "
  69.     desc "Translated to JUDGE by Jack Hwang   jch@netcom.com"
  70.  
  71.     absolute "Game Progress Info" {
  72.         desc "Game data for players' progress."
  73.  
  74.         field "Turn #" {
  75.             data 0 2 uword
  76.             entry 0 1 3 1 26 5 dec
  77.         }
  78.  
  79.         field "Player's Civilization" {
  80.             desc "Decimal, 0 - 7"
  81.             desc "This field equals to ID - 1."
  82.             data 2 1 ubyte
  83.             entry 0 2 3 2 26 1 dec
  84.         }
  85.  
  86.         # masks are always defined as ascii data with hex entry
  87.  
  88.         field "Movement Mask??" {
  89.             data 4 2 ascii
  90.             entry 0 3 3 3 26 4 hex
  91.         }
  92.  
  93.         field "Year" {
  94.             desc "Unsigned or signed number?"
  95.             data 8 2 word
  96.             entry 0 4 3 4 26 5 dec
  97.         }
  98.  
  99.         field "Difficulty" {
  100.             desc "Difficulty level - unsigned/signed ?"
  101.             data 0x0a 2 uword
  102.             entry 0 5 3 5 26 5 dec
  103.         }
  104.  
  105.         field "Number of Civilizations" {
  106.             data 0x93bc 1 ubyte
  107.             entry 0 6 3 6 26 2 dec
  108.         }
  109.  
  110.         field "Pyramids" {
  111.             desc "The city it is located.  0 - 65535."
  112.             desc "65535 means not built yet."
  113.             data 0x8674 2 uword
  114.             entry 0 8 3 8 26 5 dec
  115.         }
  116.  
  117.         field "Hanging Gardens" {
  118.             desc "The city it is located.  0 - 65535."
  119.             desc "65535 means not built yet."
  120.             data 0x8676 2 uword
  121.             entry 0 9 3 9 26 5 dec
  122.         }
  123.  
  124.         field "Colossus" {
  125.             desc "The city it is located.  0 - 65535."
  126.             desc "65535 means not built yet."
  127.             data 0x8678 2 uword
  128.             entry 0 10 3 10 26 5 dec
  129.         }
  130.  
  131.         field "Lighthouse" {
  132.             desc "The city it is located.  0 - 65535."
  133.             desc "65535 means not built yet."
  134.             data 0x867a 2 uword
  135.             entry 0 11 3 11 26 5 dec
  136.         }
  137.  
  138.         field "Great Library" {
  139.             desc "The city it is located.  0 - 65535."
  140.             desc "65535 means not built yet."
  141.             data 0x867c 2 uword
  142.             entry 0 12 3 12 26 5 dec
  143.         }
  144.  
  145.         field "Oracle" {
  146.             desc "The city it is located.  0 - 65535."
  147.             desc "65535 means not built yet."
  148.             data 0x867e 2 uword
  149.             entry 0 13 3 13 26 5 dec
  150.         }
  151.  
  152.         field "Great Wall" {
  153.             desc "The city it is located.  0 - 65535."
  154.             desc "65535 means not built yet."
  155.             data 0x8680 2 uword
  156.             entry 0 14 3 14 26 5 dec
  157.         }
  158.  
  159.         field "Magellan's Expedition" {
  160.             desc "The city it is located.  0 - 65535."
  161.             desc "65535 means not built yet."
  162.             data 0x8682 2 uword
  163.             entry 0 15 3 15 26 5 dec
  164.         }
  165.  
  166.         field "Michelangelo's Chapel" {
  167.             desc "The city it is located.  0 - 65535."
  168.             desc "65535 means not built yet."
  169.             data 0x8684 2 uword
  170.             entry 0 16 3 16 26 5 dec
  171.         }
  172.  
  173.         field "Copernicus Observatory" {
  174.             desc "The city it is located.  0 - 65535."
  175.             desc "65535 means not built yet."
  176.             data 0x8686 2 uword
  177.             entry 0 17 3 17 26 5 dec
  178.         }
  179.  
  180.     }
  181.  
  182.     absolute "Red Civilization" {
  183.         desc "Barbarians"
  184.  
  185.         field "Leader" {
  186.             desc "Name of the leader of the civilization."
  187.             data 0x10 14 ascii
  188.             entry 0 2 3 2 28 14 asc
  189.         }
  190.  
  191.         field "Plural Name" {
  192.             desc "Plural name of the civilization."
  193.             data 0x80 12 ascii
  194.             entry 0 3 3 3 28 12 asc
  195.         }
  196.  
  197.         field "Singular Name" {
  198.             desc "Singular name of the civilization."
  199.             data 0xe0 11 ascii
  200.             entry 0 4 3 4 28 11 asc
  201.         }
  202.  
  203.         field "Money" {
  204.             desc "Treasury of the civilization."
  205.             desc "0 - 65535"
  206.             data 0x138 2 uword
  207.             entry 0 5 3 5 28 5 dec
  208.         }
  209.  
  210.         field "Bulbs" {
  211.             desc "Resources for civilization advances"
  212.             desc "0 - 65535"
  213.             data 0x148 2 uword
  214.             entry 0 6 3 6 28 5 dec
  215.         }
  216.  
  217.         field "Number of Tech.'s" {
  218.             desc "Number of technologies, used for scoring and"
  219.             desc "to determine how much next advance costs"
  220.             data 0x4d8 2 uword
  221.             entry 0 7 3 7 28 5 dec    
  222.         }
  223.  
  224.         field "Technology" {
  225.             desc "Mask for technologies"
  226.             data 0x4e8 10 ascii
  227.             entry 0 8 3 8 28 20 hex
  228.         }
  229.  
  230.         field "Tax Rate" {
  231.             data 0x738 2 uword
  232.             entry 0 9 3 9 28 5 dec
  233.         }
  234.  
  235.         field "Population" {
  236.             data 0x748 2 uword
  237.             entry 0 10 3 10 28 5 dec
  238.         }
  239.  
  240.         field "Luxury Rate" {
  241.             data 0x8bb4 2 uword
  242.             entry 0 11 3 11 28 5 dec
  243.         }
  244.     }
  245.  
  246.     absolute "White Civilization" {
  247.         desc "Romans/Russians"
  248.  
  249.         field "Leader" {
  250.             desc "Name of the leader of the civilization."
  251.             data 0x1e 14 ascii
  252.             entry 0 2 3 2 28 14 asc
  253.         }
  254.  
  255.         field "Plural Name" {
  256.             desc "Plural name of the civilization."
  257.             data 0x8c 12 ascii
  258.             entry 0 3 3 3 28 12 asc
  259.         }
  260.  
  261.         field "Singular Name" {
  262.             desc "Singular name of the civilization."
  263.             data 0xeb 11 ascii
  264.             entry 0 4 3 4 28 11 asc
  265.         }
  266.  
  267.         field "Money" {
  268.             desc "Treasury of the civilization."
  269.             desc "0 - 65535"
  270.             data 0x13a 2 uword
  271.             entry 0 5 3 5 28 5 dec
  272.         }
  273.  
  274.         field "Bulbs" {
  275.             desc "R&D efforts for advances."
  276.             desc "0 - 65535"
  277.             data 0x14a 2 uword
  278.             entry 0 6 3 6 28 5 dec
  279.         }
  280.  
  281.         field "Number of Tech.'s" {
  282.             desc "Number of technologies, used for scoring and"
  283.             desc "to determine how much next advance costs"
  284.             data 0x4da 2 uword
  285.             entry 0 7 3 7 28 5 dec    
  286.         }
  287.  
  288.         field "Technology" {
  289.             desc "Mask for technologies"
  290.             data 0x4f2 10 ascii
  291.             entry 0 8 3 8 28 20 hex
  292.         }
  293.  
  294.         field "Tax Rate" {
  295.             data 0x73a 2 uword
  296.             entry 0 9 3 9 28 5 dec
  297.         }
  298.  
  299.         field "Population" {
  300.             data 0x74a 2 uword
  301.             entry 0 10 3 10 28 5 dec
  302.         }
  303.  
  304.         field "Luxury Rate" {
  305.             data 0x8bb6 2 uword
  306.             entry 0 11 3 11 28 5 dec
  307.         }
  308.     }
  309.  
  310.     absolute "Green Civilization" {
  311.         desc "Babylonians/Zulus"
  312.         field "Leader" {
  313.             desc "Name of the leader of the civilization."
  314.             data 0x2c 14 ascii
  315.             entry 0 2 3 2 28 14 asc
  316.         }
  317.  
  318.         field "Plural Name" {
  319.             desc "Plural name of the civilization."
  320.             data 0x98 12 ascii
  321.             entry 0 3 3 3 28 12 asc
  322.         }
  323.  
  324.         field "Singular Name" {
  325.             desc "Singular name of the civilization."
  326.             data 0xf6 11 ascii
  327.             entry 0 4 3 4 28 11 asc
  328.         }
  329.  
  330.         field "Money" {
  331.             desc "Treasury of the civilization."
  332.             desc "0 - 65535"
  333.             data 0x13c 2 uword
  334.             entry 0 5 3 5 28 5 dec
  335.         }
  336.  
  337.         field "Bulbs" {
  338.             desc "R&D efforts for advances."
  339.             desc "0 - 65535"
  340.             data 0x14c 2 uword
  341.             entry 0 6 3 6 28 5 dec
  342.         }
  343.  
  344.         field "Number of Tech.'s" {
  345.             desc "Number of technologies, used for scoring and"
  346.             desc "to determine how much next advance costs"
  347.             data 0x4dc 2 uword
  348.             entry 0 7 3 7 28 5 dec    
  349.         }
  350.  
  351.         field "Technology" {
  352.             desc "Mask for technologies"
  353.             data 0x4fc 10 ascii
  354.             entry 0 8 3 8 28 20 hex
  355.         }
  356.  
  357.         field "Tax Rate" {
  358.             data 0x73c 2 uword
  359.             entry 0 9 3 9 28 5 dec
  360.         }
  361.  
  362.         field "Population" {
  363.             data 0x74c 2 uword
  364.             entry 0 10 3 10 28 5 dec
  365.         }
  366.  
  367.         field "Luxury Rate" {
  368.             data 0x8bb8 2 uword
  369.             entry 0 11 3 11 28 5 dec
  370.         }
  371.     }
  372.  
  373.     absolute "Dark Blue Civilization" {
  374.         desc "Germans/French"
  375.  
  376.         field "Leader" {
  377.             desc "Name of the leader of the civilization."
  378.             data 0x3a 14 ascii
  379.             entry 0 2 3 2 28 14 asc
  380.         }
  381.  
  382.         field "Plural Name" {
  383.             desc "Plural name of the civilization."
  384.             data 0xa4 12 ascii
  385.             entry 0 3 3 3 28 12 asc
  386.         }
  387.  
  388.         field "Singular Name" {
  389.             desc "Singular name of the civilization."
  390.             data 0x101 11 ascii
  391.             entry 0 4 3 4 28 11 asc
  392.         }
  393.  
  394.         field "Money" {
  395.             desc "Treasury of the civilization."
  396.             desc "0 - 65535"
  397.             data 0x13e 2 uword
  398.             entry 0 5 3 5 28 5 dec
  399.         }
  400.  
  401.         field "Bulbs" {
  402.             desc "R&D efforts for advances."
  403.             desc "0 - 65535"
  404.             data 0x14e 2 uword
  405.             entry 0 6 3 6 28 5 dec
  406.         }
  407.  
  408.         field "Number of Tech.'s" {
  409.             desc "Number of technologies, used for scoring and"
  410.             desc "to determine how much next advance costs"
  411.             data 0x4de 2 uword
  412.             entry 0 7 3 7 28 5 dec    
  413.         }
  414.  
  415.         field "Technology" {
  416.             desc "Mask for technologies"
  417.             data 0x506 10 ascii
  418.             entry 0 8 3 8 28 20 hex
  419.         }
  420.  
  421.         field "Tax Rate" {
  422.             data 0x73e 2 uword
  423.             entry 0 9 3 9 28 5 dec
  424.         }
  425.  
  426.         field "Population" {
  427.             data 0x74e 2 uword
  428.             entry 0 10 3 10 28 5 dec
  429.         }
  430.  
  431.         field "Luxury Rate" {
  432.             data 0x8bba 2 uword
  433.             entry 0 11 3 11 28 5 dec
  434.         }
  435.     }
  436.  
  437.     absolute "Yellow Civilization" {
  438.         desc "Aztecs/Egyptians"
  439.  
  440.         field "Leader" {
  441.             desc "Name of the leader of the civilization."
  442.             data 0x48 14 ascii
  443.             entry 0 2 3 2 28 14 asc
  444.         }
  445.  
  446.         field "Plural Name" {
  447.             desc "Plural name of the civilization."
  448.             data 0xb0 12 ascii
  449.             entry 0 3 3 3 28 12 asc
  450.         }
  451.  
  452.         field "Singular Name" {
  453.             desc "Singular name of the civilization."
  454.             data 0x10c 11 ascii
  455.             entry 0 4 3 4 28 11 asc
  456.         }
  457.  
  458.         field "Money" {
  459.             desc "Treasury of the civilization."
  460.             desc "0 - 65535"
  461.             data 0x140 2 uword
  462.             entry 0 5 3 5 28 5 dec
  463.         }
  464.  
  465.         field "Bulbs" {
  466.             desc "R&D efforts for advances."
  467.             desc "0 - 65535"
  468.             data 0x150 2 uword
  469.             entry 0 6 3 6 28 5 dec
  470.         }
  471.  
  472.         field "Number of Tech.'s" {
  473.             desc "Number of technologies, used for scoring and"
  474.             desc "to determine how much next advance costs"
  475.             data 0x4e0 2 uword
  476.             entry 0 7 3 7 28 5 dec    
  477.         }
  478.  
  479.         field "Technology" {
  480.             desc "Mask for technologies"
  481.             data 0x510 10 ascii
  482.             entry 0 8 3 8 28 20 hex
  483.         }
  484.  
  485.         field "Tax Rate" {
  486.             data 0x740 2 uword
  487.             entry 0 9 3 9 28 5 dec
  488.         }
  489.  
  490.         field "Population" {
  491.             data 0x750 2 uword
  492.             entry 0 10 3 10 28 5 dec
  493.         }
  494.  
  495.         field "Luxury Rate" {
  496.             data 0x8bbc 2 uword
  497.             entry 0 11 3 11 28 5 dec
  498.         }
  499.     }
  500.  
  501.     absolute "Light Blue Civilization" {
  502.         desc "Americans/Chinese"
  503.         field "Leader" {
  504.             desc "Name of the leader of the civilization."
  505.             data 0x56 14 ascii
  506.             entry 0 2 3 2 28 14 asc
  507.         }
  508.  
  509.         field "Plural Name" {
  510.             desc "Plural name of the civilization."
  511.             data 0xbc 12 ascii
  512.             entry 0 3 3 3 28 12 asc
  513.         }
  514.  
  515.         field "Singular Name" {
  516.             desc "Singular name of the civilization."
  517.             data 0x117 11 ascii
  518.             entry 0 4 3 4 28 11 asc
  519.         }
  520.  
  521.         field "Money" {
  522.             desc "Treasury of the civilization."
  523.             desc "0 - 65535"
  524.             data 0x142 2 uword
  525.             entry 0 5 3 5 28 5 dec
  526.         }
  527.  
  528.         field "Bulbs" {
  529.             desc "R&D efforts for advances."
  530.             desc "0 - 65535"
  531.             data 0x152 2 uword
  532.             entry 0 6 3 6 28 5 dec
  533.         }
  534.  
  535.         field "Number of Tech.'s" {
  536.             desc "Number of technologies, used for scoring and"
  537.             desc "to determine how much next advance costs"
  538.             data 0x4e2 2 uword
  539.             entry 0 7 3 7 28 5 dec    
  540.         }
  541.  
  542.         field "Technology" {
  543.             desc "Mask for technologies"
  544.             data 0x51a 10 ascii
  545.             entry 0 8 3 8 28 20 hex
  546.         }
  547.  
  548.         field "Tax Rate" {
  549.             data 0x742 2 uword
  550.             entry 0 9 3 9 28 5 dec
  551.         }
  552.  
  553.         field "Population" {
  554.             data 0x752 2 uword
  555.             entry 0 10 3 10 28 5 dec
  556.         }
  557.  
  558.         field "Luxury Rate" {
  559.             data 0x8bbe 2 uword
  560.             entry 0 11 3 11 28 5 dec
  561.         }
  562.     }
  563.  
  564.     absolute "Pink Civilization" {
  565.         desc "English/Greek"
  566.  
  567.         field "Leader" {
  568.             desc "Name of the leader of the civilization."
  569.             data 0x64 14 ascii
  570.             entry 0 2 3 2 28 14 asc
  571.         }
  572.  
  573.         field "Plural Name" {
  574.             desc "Plural name of the civilization."
  575.             data 0xc8 12 ascii
  576.             entry 0 3 3 3 28 12 asc
  577.         }
  578.  
  579.         field "Singular Name" {
  580.             desc "Singular name of the civilization."
  581.             data 0x122 11 ascii
  582.             entry 0 4 3 4 28 11 asc
  583.         }
  584.  
  585.         field "Money" {
  586.             desc "Treasury of the civilization."
  587.             desc "0 - 65535"
  588.             data 0x144 2 uword
  589.             entry 0 5 3 5 28 5 dec
  590.         }
  591.  
  592.         field "Bulbs" {
  593.             desc "R&D efforts for advances."
  594.             desc "0 - 65535"
  595.             data 0x154 2 uword
  596.             entry 0 6 3 6 28 5 dec
  597.         }
  598.  
  599.         field "Number of Tech.'s" {
  600.             desc "Number of technologies, used for scoring and"
  601.             desc "to determine how much next advance costs"
  602.             data 0x4e4 2 uword
  603.             entry 0 7 3 7 28 5 dec    
  604.         }
  605.  
  606.         field "Technology" {
  607.             desc "Mask for technologies"
  608.             data 0x524 10 ascii
  609.             entry 0 8 3 8 28 20 hex
  610.         }
  611.  
  612.         field "Tax Rate" {
  613.             data 0x744 2 uword
  614.             entry 0 9 3 9 28 5 dec
  615.         }
  616.  
  617.         field "Population" {
  618.             data 0x754 2 uword
  619.             entry 0 10 3 10 28 5 dec
  620.         }
  621.  
  622.         field "Luxury Rate" {
  623.             data 0x8bc0 2 uword
  624.             entry 0 11 3 11 28 5 dec
  625.         }
  626.     }
  627.  
  628.     absolute "Grey Civilization" {
  629.         desc "Indians/Mongols"
  630.  
  631.         field "Leader" {
  632.             desc "Name of the leader of the civilization."
  633.             data 0x72 14 ascii
  634.             entry 0 2 3 2 28 14 asc
  635.         }
  636.  
  637.         field "Plural Name" {
  638.             desc "Plural name of the civilization."
  639.             data 0xd4 12 ascii
  640.             entry 0 3 3 3 28 12 asc
  641.         }
  642.  
  643.         field "Singular Name" {
  644.             desc "Singular name of the civilization."
  645.             data 0x12d 11 ascii
  646.             entry 0 4 3 4 28 11 asc
  647.         }
  648.  
  649.         field "Money" {
  650.             desc "Treasury of the civilization."
  651.             desc "0 - 65535"
  652.             data 0x146 2 uword
  653.             entry 0 5 3 5 28 5 dec
  654.         }
  655.  
  656.         field "Bulbs" {
  657.             desc "R&D efforts for advances."
  658.             desc "0 - 65535"
  659.             data 0x156 2 uword
  660.             entry 0 6 3 6 28 5 dec
  661.         }
  662.  
  663.         field "Number of Tech.'s" {
  664.             desc "Number of technologies, used for scoring and"
  665.             desc "to determine how much next advance costs"
  666.             data 0x4e6 2 uword
  667.             entry 0 7 3 7 28 5 dec    
  668.         }
  669.  
  670.         field "Technology" {
  671.             desc "Mask for technologies"
  672.             data 0x52e 10 ascii
  673.             entry 0 8 3 8 28 20 hex
  674.         }
  675.  
  676.         field "Tax Rate" {
  677.             data 0x746 2 uword
  678.             entry 0 9 3 9 28 5 dec
  679.         }
  680.  
  681.         field "Population" {
  682.             data 0x756 2 uword
  683.             entry 0 10 3 10 28 5 dec
  684.         }
  685.  
  686.         field "Luxury Rate" {
  687.             data 0x8bc2 2 uword
  688.             entry 0 11 3 11 28 5 dec
  689.         }
  690.     }
  691.  
  692.     relative "Civilization's Unit Statistics" {
  693.         desc "The data set number is equal to the civilization ID"
  694.         desc " "
  695.         desc "ID      COLORS          CIVILIZATION"
  696.         desc "1       RED             Barbarians"
  697.         desc "2       WHITE           Romans/Russians"
  698.         desc "3       GREEN           Babylonians/Zulus"
  699.         desc "4       DARK BLUE       Germans/French"
  700.         desc "5       YELLOW          Aztecs/Egyptians"
  701.         desc "6       LIGHT BLUE      Americans/Chinese"
  702.         desc "7       PINK            English/Greek"
  703.         desc "8       GREY            Indians/Mongols"
  704.  
  705.         recloc 0x158 56 8
  706.  
  707.         field "Settler" {
  708.             desc "Number of Settler"
  709.             data 0 2 uword
  710.             entry 0 2 3 2 31 5 dec
  711.         }
  712.  
  713.         field "Militia" {
  714.             desc "Number of Militia"
  715.             data 2 2 uword
  716.             entry 0 3 3 3 31 5 dec
  717.         }
  718.  
  719.         field "Phalanx" {
  720.             desc "Number of Phalanx"
  721.             data 4 2 uword
  722.             entry 0 4 3 4 31 5 dec
  723.         }
  724.  
  725.         field "Legion" {
  726.             desc "Number of Legion"
  727.             data 6 2 uword
  728.             entry 0 5 3 5 31 5 dec
  729.         }
  730.  
  731.         field "Muskeeteers" {
  732.             desc "Number of Muskeeteers"
  733.             data 8 2 uword
  734.             entry 0 6 3 6 31 5 dec
  735.         }
  736.  
  737.         field "Rifleman" {
  738.             desc "Number of Rifleman"
  739.             data 10 2 uword
  740.             entry 0 7 3 7 31 5 dec
  741.         }
  742.  
  743.         field "Cavalry" {
  744.             desc "Number of Cavalry"
  745.             data 12 2 uword
  746.             entry 0 8 3 8 31 5 dec
  747.         }
  748.  
  749.         field "Knights" {
  750.             desc "Number of Knights"
  751.             data 14 2 uword
  752.             entry 0 9 3 9 31 5 dec
  753.         }
  754.  
  755.         field "Catapolt" {
  756.             desc "Number of Catapolt"
  757.             data 16 2 uword
  758.             entry 0 10 3 10 31 5 dec
  759.         }
  760.  
  761.         field "Cannon" {
  762.             desc "Number of Cannon"
  763.             data 18 2 uword
  764.             entry 0 11 3 11 31 5 dec
  765.         }
  766.  
  767.         field "Chariot" {
  768.             desc "Number of Chariot"
  769.             data 20 2 uword
  770.             entry 0 12 3 12 31 5 dec
  771.         }
  772.  
  773.         field "Armor" {
  774.             desc "Number of Armor"
  775.             data 22 2 uword
  776.             entry 0 13 3 13 31 5 dec
  777.         }
  778.  
  779.         field "Mech_Infantry" {
  780.             desc "Number of Mech_Infantry"
  781.             data 24 2 uword
  782.             entry 0 14 3 14 31 5 dec
  783.         }
  784.  
  785.         field "Artillery" {
  786.             desc "Number of Artillery"
  787.             data 26 2 uword
  788.             entry 0 15 3 15 31 5 dec
  789.         }
  790.  
  791.         field "Fighter" {
  792.             desc "Number of Fighter"
  793.             data 28 2 uword
  794.             entry 0 2 40 2 68 5 dec
  795.         }
  796.  
  797.         field "Bomber" {
  798.             desc "Number of Bomber"
  799.             data 30 2 uword
  800.             entry 0 3 40 3 68 5 dec
  801.         }
  802.  
  803.         field "Trireme" {
  804.             desc "Number of Trireme"
  805.             data 32 2 uword
  806.             entry 0 4 40 4 68 5 dec
  807.         }
  808.  
  809.         field "Sail" {
  810.             desc "Number of Sail"
  811.             data 34 2 uword
  812.             entry 0 5 40 5 68 5 dec
  813.         }
  814.  
  815.         field "Clipper_Ship" {
  816.             desc "Number of Clipper_Ship"
  817.             data 36 2 uword
  818.             entry 0 6 40 6 68 5 dec
  819.         }
  820.  
  821.         field "IronClad" {
  822.             desc "Number of IronClad"
  823.             data 38 2 uword
  824.             entry 0 7 40 7 68 5 dec
  825.         }
  826.  
  827.         field "Cruiser" {
  828.             desc "Number of Cruiser"
  829.             data 40 2 uword
  830.             entry 0 8 40 8 68 5 dec
  831.         }
  832.  
  833.         field "Battleship" {
  834.             desc "Number of Battleship"
  835.             data 42 2 uword
  836.             entry 0 9 40 9 68 5 dec
  837.         }
  838.  
  839.         field "Submarine" {
  840.             desc "Number of Submarine"
  841.             data 44 2 uword
  842.             entry 0 10 40 10 68 5 dec
  843.         }
  844.  
  845.         field "Carrier" {
  846.             desc "Number of Carrier"
  847.             data 46 2 uword
  848.             entry 0 11 40 11 68 5 dec
  849.         }
  850.  
  851.         field "Transport" {
  852.             desc "Number of Transport"
  853.             data 48 2 uword
  854.             entry 0 12 40 12 68 5 dec
  855.         }
  856.  
  857.         field "Nuclear" {
  858.             desc "Number of Nuclear"
  859.             data 50 2 uword
  860.             entry 0 13 40 13 68 5 dec
  861.         }
  862.  
  863.         field "Diplomat" {
  864.             desc "Number of Diplomat"
  865.             data 52 2 uword
  866.             entry 0 14 40 14 68 5 dec
  867.         }
  868.  
  869.         field "Caravan" {
  870.             desc "Number of Caravan"
  871.             data 54 2 uword
  872.             entry 0 15 40 15 68 5 dec
  873.         }
  874.  
  875.     }
  876.  
  877.     relative "City Names" {
  878.         desc "256 city names in total."
  879.         desc " "
  880.         desc "  1 -  16  Roman        17 -  32 Babylonian      33 -  48 German"
  881.         desc " 49 -  64  Egyptian     65 -  80 American        81 -  96 Greek"
  882.         desc " 97 - 112  Indian      113 - 128 Russian        129 - 144 Zulu"
  883.         desc "145 - 160  French      161 - 176 Aztec          177 - 192 Chinese"
  884.         desc "192 - 208  English     209 - 224 Mongol         225 - 256 Extra"
  885.  
  886.         recloc 0x6970 13 256
  887.  
  888.         field "City"  {
  889.             data 0 13 ascii
  890.             entry 0 4 10 4 16 13 asc
  891.         }
  892.     }
  893.  
  894.     relative "Unit Definitions" {
  895.         desc "This is the defintions for each type of unit."
  896.         desc "There are 28 types of unit.  Each is 34 bytes long."
  897.         desc "Starting from 0x2308."
  898.  
  899.         recloc 0x2308 34 28
  900.  
  901.         field "Name" {
  902.             data 0 12 ascii
  903.             entry 0 2 3 2 20 12 asc
  904.         }
  905.  
  906.         field "Obsolete" {
  907.             desc "Tech number in which the unit is obsolete"
  908.             desc "(7f00 = never obsolete)"
  909.             data 12 2 ascii
  910.             entry 0 3 3 3 20 4 hex
  911.         }
  912.  
  913.         field "Travel Mode" {
  914.             desc "Travel mode (0=land 1=air 2=sea)" 
  915.             data 14 2 uword
  916.             entry 0 4 3 4 20 5 dec
  917.         }
  918.  
  919.         field "Movement/Turn" {
  920.             desc "Movement per turn." 
  921.             data 16 2 uword
  922.             entry 0 5 3 5 20 5 dec
  923.         }
  924.  
  925.         field "Air Travel" {
  926.             desc "Turns of movement for air travel."
  927.             data 20 2 uword
  928.             entry 0 6 3 6 20 5 dec
  929.         }
  930.  
  931.         field "Offense" {
  932.             desc "Offense value"
  933.             data 22 2 uword
  934.             entry 0 7 3 7 20 5 dec
  935.         }
  936.  
  937.         field "Defense" {
  938.             desc "Defense value"
  939.             data 24 2 uword
  940.             entry 0 8 3 8 20 5 dec
  941.         }
  942.  
  943.         field "Cost" {
  944.             desc "Cost to build the unit."
  945.             desc "The value X 10 is the actual cost."
  946.             data 24 2 uword
  947.             entry 0 9 3 9 20 5 dec
  948.         }
  949.  
  950.         field "Visibility??" {
  951.             desc "Vision distance??"
  952.             
  953.             data 26 2 uword
  954.             entry 0 10 3 10 20 5 dec
  955.         }
  956.  
  957.         field "Transport" {
  958.             desc "Transport amount"
  959.             data 28 2 uword
  960.             entry 0 11 3 11 20 5 dec
  961.         }
  962.  
  963.         field "Unit Type" {
  964.             desc "Type of unit"
  965.             desc "0=expansion 1=ground offense 2=ground defense"
  966.             desc "3=sea offense 4=air defense 5=sea transport 6=other"
  967.             data 30 2 uword
  968.             entry 0 12 3 12 20 5 dec
  969.         }
  970.  
  971.         field "Available" {
  972.             desc "Tech number in which the unit is available"
  973.             desc "(fffb = always available)"
  974.             data 32 2 ascii
  975.             entry 0 3 30 3 40 4 hex
  976.         }
  977.     }
  978.                 
  979.     relative "Barbarians Units Info" {
  980.         desc "(Red)"
  981.  
  982.         recloc 0x26c0 12 128
  983.  
  984.         field "Flags" {
  985.             desc "0x20 = veteran, hexdecimal"
  986.             data 0 1 ubyte
  987.             entry 0 2 3 2 18 2 hex
  988.         }
  989.  
  990.         field "Latitude" {
  991.             desc "decimal, 0 - 255"
  992.             data 1 1 ubyte
  993.             entry 0 4 3 4 18 3 dec
  994.         }
  995.  
  996.         field "Longtitude" {
  997.             desc "decimal, 0 - 255"
  998.             data 2 1 ubyte
  999.             entry 0 5 3 5 18 3 dec
  1000.         }
  1001.  
  1002.         field "Type" {
  1003.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1004.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1005.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1006.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1007.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1008.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1009.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1010.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1011.  
  1012.             data 3 1 ubyte
  1013.             entry 0 7 3 7 18 2 hex
  1014.         }
  1015.  
  1016.         field "Movement" {
  1017.             desc "decimal, 0 - 255"
  1018.             desc "The value here is the actual movements remained X 3"
  1019.  
  1020.             data 4 1 ubyte
  1021.             entry 0 8 3 8 18 3 dec
  1022.         }
  1023.  
  1024.         field "Turns??" {
  1025.             desc "The number of turns for settlers??"
  1026.             desc "Not confirmed.  Decimal, 0 - 255"
  1027.             
  1028.             data 8 1 ubyte
  1029.             entry 0 12 3 12 18 3 dec
  1030.         }
  1031.  
  1032.         field "Status" {
  1033.             desc "Status of the unit - hexdecimal."
  1034.             desc " "
  1035.             desc "00 - normal  02 - sentry"
  1036.             desc "08 - cannot move; sentry; or settler finished op"
  1037.             desc "10 -         40 -         80 -"
  1038.             
  1039.             data 9 1 ubyte
  1040.             entry 0 14 3 14 18 2 hex
  1041.         }
  1042.  
  1043.         field "Next Unit??" {
  1044.             desc "The number of the next unit??"
  1045.             desc "Not confirmed.  Decimal, 0 - 255"
  1046.             
  1047.             data 10 1 ubyte
  1048.             entry 0 15 3 15 18 3 dec
  1049.         }
  1050.  
  1051.         field "City??" {
  1052.             desc "City under the unit's control??"
  1053.             desc " "
  1054.             desc "decimal.  0 - 254.  255 - none."
  1055.             desc "The value maps to the city records (0 means city 1.)"
  1056.             
  1057.             data 11 1 ubyte
  1058.             entry 0 16 3 16 18 3 dec
  1059.         }
  1060.     }
  1061.  
  1062.     relative "Romans/Russians Units Info" {
  1063.         desc "(White)"
  1064.  
  1065.         recloc 0x2cc0 12 128
  1066.  
  1067.         field "Flags" {
  1068.             desc "0x20 = veteran, hexdecimal"
  1069.             data 0 1 ubyte
  1070.             entry 0 2 3 2 18 2 hex
  1071.         }
  1072.  
  1073.         field "Latitude" {
  1074.             desc "decimal, 0 - 255"
  1075.             data 1 1 ubyte
  1076.             entry 0 4 3 4 18 3 dec
  1077.         }
  1078.  
  1079.         field "Longtitude" {
  1080.             desc "decimal, 0 - 255"
  1081.             data 2 1 ubyte
  1082.             entry 0 5 3 5 18 3 dec
  1083.         }
  1084.  
  1085.         field "Type" {
  1086.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1087.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1088.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1089.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1090.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1091.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1092.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1093.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1094.  
  1095.             data 3 1 ubyte
  1096.             entry 0 7 3 7 18 2 hex
  1097.         }
  1098.  
  1099.         field "Movement" {
  1100.             desc "decimal, 0 - 255"
  1101.             desc "The value here is the actual movements remained X 3"
  1102.  
  1103.             data 4 1 ubyte
  1104.             entry 0 8 3 8 18 3 dec
  1105.         }
  1106.  
  1107.         field "Turns??" {
  1108.             desc "The number of turns for settlers??"
  1109.             desc "Not confirmed.  Decimal, 0 - 255"
  1110.             
  1111.             data 8 1 ubyte
  1112.             entry 0 12 3 12 18 3 dec
  1113.         }
  1114.  
  1115.         field "Status" {
  1116.             desc "Status of the unit - hexdecimal."
  1117.             desc " "
  1118.             desc "00 - normal  02 - sentry"
  1119.             desc "08 - cannot move; sentry; or settler finished op"
  1120.             desc "10 -         40 -         80 -"
  1121.             
  1122.             data 9 1 ubyte
  1123.             entry 0 14 3 14 18 2 hex
  1124.         }
  1125.  
  1126.         field "Next Unit??" {
  1127.             desc "The number of the next unit??"
  1128.             desc "Not confirmed.  Decimal, 0 - 255"
  1129.             
  1130.             data 10 1 ubyte
  1131.             entry 0 15 3 15 18 3 dec
  1132.         }
  1133.  
  1134.         field "City??" {
  1135.             desc "City under the unit's control??"
  1136.             desc " "
  1137.             desc "decimal.  0 - 254.  255 - none."
  1138.             desc "The value maps to the city records (0 means city 1.)"
  1139.             
  1140.             data 11 1 ubyte
  1141.             entry 0 16 3 16 18 3 dec
  1142.         }
  1143.     }
  1144.  
  1145.     relative "Babylonians/Zulus Units Info" {
  1146.         desc " (Green) "
  1147.  
  1148.         recloc 0x32c0 12 128
  1149.  
  1150.         field "Flags" {
  1151.             desc "0x20 = veteran, hexdecimal"
  1152.             data 0 1 ubyte
  1153.             entry 0 2 3 2 18 2 hex
  1154.         }
  1155.  
  1156.         field "Latitude" {
  1157.             desc "decimal, 0 - 255"
  1158.             data 1 1 ubyte
  1159.             entry 0 4 3 4 18 3 dec
  1160.         }
  1161.  
  1162.         field "Longtitude" {
  1163.             desc "decimal, 0 - 255"
  1164.             data 2 1 ubyte
  1165.             entry 0 5 3 5 18 3 dec
  1166.         }
  1167.  
  1168.         field "Type" {
  1169.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1170.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1171.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1172.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1173.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1174.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1175.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1176.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1177.  
  1178.             data 3 1 ubyte
  1179.             entry 0 7 3 7 18 2 hex
  1180.         }
  1181.  
  1182.         field "Movement" {
  1183.             desc "decimal, 0 - 255"
  1184.             desc "The value here is the actual movements remained X 3"
  1185.  
  1186.             data 4 1 ubyte
  1187.             entry 0 8 3 8 18 3 dec
  1188.         }
  1189.  
  1190.         field "Turns??" {
  1191.             desc "The number of turns for settlers??"
  1192.             desc "Not confirmed.  Decimal, 0 - 255"
  1193.             
  1194.             data 8 1 ubyte
  1195.             entry 0 12 3 12 18 3 dec
  1196.         }
  1197.  
  1198.         field "Status" {
  1199.             desc "Status of the unit - hexdecimal."
  1200.             desc " "
  1201.             desc "00 - normal  02 - sentry"
  1202.             desc "08 - cannot move; sentry; or settler finished op"
  1203.             desc "10 -         40 -         80 -"
  1204.             
  1205.             data 9 1 ubyte
  1206.             entry 0 14 3 14 18 2 hex
  1207.         }
  1208.  
  1209.         field "Next Unit??" {
  1210.             desc "The number of the next unit??"
  1211.             desc "Not confirmed.  Decimal, 0 - 255"
  1212.             
  1213.             data 10 1 ubyte
  1214.             entry 0 15 3 15 18 3 dec
  1215.         }
  1216.  
  1217.         field "City??" {
  1218.             desc "City under the unit's control??"
  1219.             desc " "
  1220.             desc "decimal.  0 - 254.  255 - none."
  1221.             desc "The value maps to the city records (0 means city 1.)"
  1222.             
  1223.             data 11 1 ubyte
  1224.             entry 0 16 3 16 18 3 dec
  1225.         }
  1226.     }
  1227.  
  1228.     relative "Germans/French Units Info" {
  1229.         desc " (Dark Blue) "
  1230.  
  1231.         recloc 0x38c0 12 128
  1232.  
  1233.         field "Flags" {
  1234.             desc "0x20 = veteran, hexdecimal"
  1235.             data 0 1 ubyte
  1236.             entry 0 2 3 2 18 2 hex
  1237.         }
  1238.  
  1239.         field "Latitude" {
  1240.             desc "decimal, 0 - 255"
  1241.             data 1 1 ubyte
  1242.             entry 0 4 3 4 18 3 dec
  1243.         }
  1244.  
  1245.         field "Longtitude" {
  1246.             desc "decimal, 0 - 255"
  1247.             data 2 1 ubyte
  1248.             entry 0 5 3 5 18 3 dec
  1249.         }
  1250.  
  1251.         field "Type" {
  1252.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1253.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1254.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1255.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1256.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1257.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1258.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1259.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1260.  
  1261.             data 3 1 ubyte
  1262.             entry 0 7 3 7 18 2 hex
  1263.         }
  1264.  
  1265.         field "Movement" {
  1266.             desc "decimal, 0 - 255"
  1267.             desc "The value here is the actual movements remained X 3"
  1268.  
  1269.             data 4 1 ubyte
  1270.             entry 0 8 3 8 18 3 dec
  1271.         }
  1272.  
  1273.         field "Turns??" {
  1274.             desc "The number of turns for settlers??"
  1275.             desc "Not confirmed.  Decimal, 0 - 255"
  1276.             
  1277.             data 8 1 ubyte
  1278.             entry 0 12 3 12 18 3 dec
  1279.         }
  1280.  
  1281.         field "Status" {
  1282.             desc "Status of the unit - hexdecimal."
  1283.             desc " "
  1284.             desc "00 - normal  02 - sentry"
  1285.             desc "08 - cannot move; sentry; or settler finished op"
  1286.             desc "10 -         40 -         80 -"
  1287.             
  1288.             data 9 1 ubyte
  1289.             entry 0 14 3 14 18 2 hex
  1290.         }
  1291.  
  1292.         field "Next Unit??" {
  1293.             desc "The number of the next unit??"
  1294.             desc "Not confirmed.  Decimal, 0 - 255"
  1295.             
  1296.             data 10 1 ubyte
  1297.             entry 0 15 3 15 18 3 dec
  1298.         }
  1299.  
  1300.         field "City??" {
  1301.             desc "City under the unit's control??"
  1302.             desc " "
  1303.             desc "decimal.  0 - 254.  255 - none."
  1304.             desc "The value maps to the city records (0 means city 1.)"
  1305.             
  1306.             data 11 1 ubyte
  1307.             entry 0 16 3 16 18 3 dec
  1308.         }
  1309.     }
  1310.  
  1311.     relative "Aztecs/Egyptians Units Info" {
  1312.         desc " (Yellow) "
  1313.  
  1314.         recloc 0x3ec0 12 128
  1315.  
  1316.         field "Flags" {
  1317.             desc "0x20 = veteran, hexdecimal"
  1318.             data 0 1 ubyte
  1319.             entry 0 2 3 2 18 2 hex
  1320.         }
  1321.  
  1322.         field "Latitude" {
  1323.             desc "decimal, 0 - 255"
  1324.             data 1 1 ubyte
  1325.             entry 0 4 3 4 18 3 dec
  1326.         }
  1327.  
  1328.         field "Longtitude" {
  1329.             desc "decimal, 0 - 255"
  1330.             data 2 1 ubyte
  1331.             entry 0 5 3 5 18 3 dec
  1332.         }
  1333.  
  1334.         field "Type" {
  1335.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1336.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1337.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1338.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1339.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1340.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1341.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1342.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1343.  
  1344.             data 3 1 ubyte
  1345.             entry 0 7 3 7 18 2 hex
  1346.         }
  1347.  
  1348.         field "Movement" {
  1349.             desc "decimal, 0 - 255"
  1350.             desc "The value here is the actual movements remained X 3"
  1351.  
  1352.             data 4 1 ubyte
  1353.             entry 0 8 3 8 18 3 dec
  1354.         }
  1355.  
  1356.         field "Turns??" {
  1357.             desc "The number of turns for settlers??"
  1358.             desc "Not confirmed.  Decimal, 0 - 255"
  1359.             
  1360.             data 8 1 ubyte
  1361.             entry 0 12 3 12 18 3 dec
  1362.         }
  1363.  
  1364.         field "Status" {
  1365.             desc "Status of the unit - hexdecimal."
  1366.             desc " "
  1367.             desc "00 - normal  02 - sentry"
  1368.             desc "08 - cannot move; sentry; or settler finished op"
  1369.             desc "10 -         40 -         80 -"
  1370.             
  1371.             data 9 1 ubyte
  1372.             entry 0 14 3 14 18 2 hex
  1373.         }
  1374.  
  1375.         field "Next Unit??" {
  1376.             desc "The number of the next unit??"
  1377.             desc "Not confirmed.  Decimal, 0 - 255"
  1378.             
  1379.             data 10 1 ubyte
  1380.             entry 0 15 3 15 18 3 dec
  1381.         }
  1382.  
  1383.         field "City??" {
  1384.             desc "City under the unit's control??"
  1385.             desc " "
  1386.             desc "decimal.  0 - 254.  255 - none."
  1387.             desc "The value maps to the city records (0 means city 1.)"
  1388.             
  1389.             data 11 1 ubyte
  1390.             entry 0 16 3 16 18 3 dec
  1391.         }
  1392.     }
  1393.  
  1394.     relative "Americans/Chinese Units Info" {
  1395.         desc " (Light Blue) "
  1396.  
  1397.         recloc 0x44c0 12 128
  1398.  
  1399.         field "Flags" {
  1400.             desc "0x20 = veteran, hexdecimal"
  1401.             data 0 1 ubyte
  1402.             entry 0 2 3 2 18 2 hex
  1403.         }
  1404.  
  1405.         field "Latitude" {
  1406.             desc "decimal, 0 - 255"
  1407.             data 1 1 ubyte
  1408.             entry 0 4 3 4 18 3 dec
  1409.         }
  1410.  
  1411.         field "Longtitude" {
  1412.             desc "decimal, 0 - 255"
  1413.             data 2 1 ubyte
  1414.             entry 0 5 3 5 18 3 dec
  1415.         }
  1416.  
  1417.         field "Type" {
  1418.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1419.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1420.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1421.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1422.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1423.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1424.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1425.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1426.  
  1427.             data 3 1 ubyte
  1428.             entry 0 7 3 7 18 2 hex
  1429.         }
  1430.  
  1431.         field "Movement" {
  1432.             desc "decimal, 0 - 255"
  1433.             desc "The value here is the actual movements remained X 3"
  1434.  
  1435.             data 4 1 ubyte
  1436.             entry 0 8 3 8 18 3 dec
  1437.         }
  1438.  
  1439.         field "Turns??" {
  1440.             desc "The number of turns for settlers??"
  1441.             desc "Not confirmed.  Decimal, 0 - 255"
  1442.             
  1443.             data 8 1 ubyte
  1444.             entry 0 12 3 12 18 3 dec
  1445.         }
  1446.  
  1447.         field "Status" {
  1448.             desc "Status of the unit - hexdecimal."
  1449.             desc " "
  1450.             desc "00 - normal  02 - sentry"
  1451.             desc "08 - cannot move; sentry; or settler finished op"
  1452.             desc "10 -         40 -         80 -"
  1453.             
  1454.             data 9 1 ubyte
  1455.             entry 0 14 3 14 18 2 hex
  1456.         }
  1457.  
  1458.         field "Next Unit??" {
  1459.             desc "The number of the next unit??"
  1460.             desc "Not confirmed.  Decimal, 0 - 255"
  1461.             
  1462.             data 10 1 ubyte
  1463.             entry 0 15 3 15 18 3 dec
  1464.         }
  1465.  
  1466.         field "City??" {
  1467.             desc "City under the unit's control??"
  1468.             desc " "
  1469.             desc "decimal.  0 - 254.  255 - none."
  1470.             desc "The value maps to the city records (0 means city 1.)"
  1471.             
  1472.             data 11 1 ubyte
  1473.             entry 0 16 3 16 18 3 dec
  1474.         }
  1475.     }
  1476.  
  1477.     relative "English/Greek Units Info" {
  1478.         desc "(Pink)"
  1479.  
  1480.         recloc 0x4ac0 12 128
  1481.  
  1482.         field "Flags" {
  1483.             desc "0x20 = veteran, hexdecimal"
  1484.             data 0 1 ubyte
  1485.             entry 0 2 3 2 18 2 hex
  1486.         }
  1487.  
  1488.         field "Latitude" {
  1489.             desc "decimal, 0 - 255"
  1490.             data 1 1 ubyte
  1491.             entry 0 4 3 4 18 3 dec
  1492.         }
  1493.  
  1494.         field "Longtitude" {
  1495.             desc "decimal, 0 - 255"
  1496.             data 2 1 ubyte
  1497.             entry 0 5 3 5 18 3 dec
  1498.         }
  1499.  
  1500.         field "Type" {
  1501.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1502.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1503.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1504.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1505.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1506.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1507.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1508.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1509.  
  1510.             data 3 1 ubyte
  1511.             entry 0 7 3 7 18 2 hex
  1512.         }
  1513.  
  1514.         field "Movement" {
  1515.             desc "decimal, 0 - 255"
  1516.             desc "The value here is the actual movements remained X 3"
  1517.  
  1518.             data 4 1 ubyte
  1519.             entry 0 8 3 8 18 3 dec
  1520.         }
  1521.  
  1522.         field "Turns??" {
  1523.             desc "The number of turns for settlers??"
  1524.             desc "Not confirmed.  Decimal, 0 - 255"
  1525.             
  1526.             data 8 1 ubyte
  1527.             entry 0 12 3 12 18 3 dec
  1528.         }
  1529.  
  1530.         field "Status" {
  1531.             desc "Status of the unit - hexdecimal."
  1532.             desc " "
  1533.             desc "00 - normal  02 - sentry"
  1534.             desc "08 - cannot move; sentry; or settler finished op"
  1535.             desc "10 -         40 -         80 -"
  1536.             
  1537.             data 9 1 ubyte
  1538.             entry 0 14 3 14 18 2 hex
  1539.         }
  1540.  
  1541.         field "Next Unit??" {
  1542.             desc "The number of the next unit??"
  1543.             desc "Not confirmed.  Decimal, 0 - 255"
  1544.             
  1545.             data 10 1 ubyte
  1546.             entry 0 15 3 15 18 3 dec
  1547.         }
  1548.  
  1549.         field "City??" {
  1550.             desc "City under the unit's control??"
  1551.             desc " "
  1552.             desc "decimal.  0 - 254.  255 - none."
  1553.             desc "The value maps to the city records (0 means city 1.)"
  1554.             
  1555.             data 11 1 ubyte
  1556.             entry 0 16 3 16 18 3 dec
  1557.         }
  1558.     }
  1559.  
  1560.     relative "Indians/Mongols Units Info" {
  1561.         desc "(Grey)"
  1562.  
  1563.         recloc 0x50c0 12 128
  1564.  
  1565.         field "Flags" {
  1566.             desc "0x20 = veteran, hexdecimal"
  1567.             data 0 1 ubyte
  1568.             entry 0 2 3 2 18 2 hex
  1569.         }
  1570.  
  1571.         field "Latitude" {
  1572.             desc "decimal, 0 - 255"
  1573.             data 1 1 ubyte
  1574.             entry 0 4 3 4 18 3 dec
  1575.         }
  1576.  
  1577.         field "Longtitude" {
  1578.             desc "decimal, 0 - 255"
  1579.             data 2 1 ubyte
  1580.             entry 0 5 3 5 18 3 dec
  1581.         }
  1582.  
  1583.         field "Type" {
  1584.             desc "00 - Settler        01 - Militia    02 - Phalanx     03 - Legion"
  1585.             desc "04 - Muskeeteers    05 - Rifleman   06 - Cavalry     07 - Knights"
  1586.             desc "08 - Catapolt       09 - Cannon     0a - Chariot     0b - Armor"
  1587.             desc "0c - Mech Infantry  0d - Artillery  0e - Fighter     0f - Bomber"
  1588.             desc "10 - Trireme        11 - Sail       12 - Clipper Ship"
  1589.             desc "13 - IronClad       14 - Cruiser    15 - Battleship  16 - Submarine"
  1590.             desc "17 - Carrier        18 - Transport  19 - Nuclear     1a - Diplomat"
  1591.             desc "1b - Caravan        ff - destroyed/disbanded unit (sec 3)"
  1592.  
  1593.             data 3 1 ubyte
  1594.             entry 0 7 3 7 18 2 hex
  1595.         }
  1596.  
  1597.         field "Movement" {
  1598.             desc "decimal, 0 - 255"
  1599.             desc "The value here is the actual movements remained X 3"
  1600.  
  1601.             data 4 1 ubyte
  1602.             entry 0 8 3 8 18 3 dec
  1603.         }
  1604.  
  1605.         field "Turns??" {
  1606.             desc "The number of turns for settlers??"
  1607.             desc "Not confirmed.  Decimal, 0 - 255"
  1608.             
  1609.             data 8 1 ubyte
  1610.             entry 0 12 3 12 18 3 dec
  1611.         }
  1612.  
  1613.         field "Status" {
  1614.             desc "Status of the unit - hexdecimal."
  1615.             desc " "
  1616.             desc "00 - normal  02 - sentry"
  1617.             desc "08 - cannot move; sentry; or settler finished op"
  1618.             desc "10 -         40 -         80 -"
  1619.             
  1620.             data 9 1 ubyte
  1621.             entry 0 14 3 14 18 2 hex
  1622.         }
  1623.  
  1624.         field "Next Unit??" {
  1625.             desc "The number of the next unit??"
  1626.             desc "Not confirmed.  Decimal, 0 - 255"
  1627.             
  1628.             data 10 1 ubyte
  1629.             entry 0 15 3 15 18 3 dec
  1630.         }
  1631.  
  1632.         field "City??" {
  1633.             desc "City under the unit's control??"
  1634.             desc " "
  1635.             desc "decimal.  0 - 254.  255 - none."
  1636.             desc "The value maps to the city records (0 means city 1.)"
  1637.             
  1638.             data 11 1 ubyte
  1639.             entry 0 16 3 16 18 3 dec
  1640.         }
  1641.     }
  1642.  
  1643.     relative "Citie Information" {
  1644.         desc "CITIES LAYOUT (28 bytes/City - Start at 0x1508)"
  1645.  
  1646.         recloc 0x1508 28 128
  1647.  
  1648.         field "Improvment" {
  1649.             data 0 3 ascii
  1650.             entry 0 2 3 2 18 6 hex
  1651.         }
  1652.  
  1653.         field "Latitude" {
  1654.             desc "decimal, 0 - 255"
  1655.             data 4 1 ubyte
  1656.             entry 0 3 3 3 18 3 dec
  1657.         }
  1658.  
  1659.         field "Longtitude" {
  1660.             desc "decimal, 0 - 255"
  1661.             data 4 1 ubyte
  1662.             entry 0 4 3 4 18 3 dec
  1663.         }
  1664.  
  1665.         field "Size" {
  1666.             desc "Size of the city?  0 - 255, decimal."
  1667.             data 7 1 ubyte
  1668.             entry 0 5 3 5 18 3 dec
  1669.         }
  1670.  
  1671.         field "Constructing" {
  1672.             desc "Item under constructtion"
  1673.             desc " "
  1674.             desc "ff - Palace       fe - Barracks   fd - Granary     fc - Temple"
  1675.             desc "fb - Marketplace  fa - Library    f9 - Courthouse  f8 - City Walls"
  1676.             desc "f7 - Aquaduct     f6 - Bank       f5 - Cathedral   f4 - University"
  1677.             desc "f3 - Mass Transit f2 - Colloseum  f1 - factory     f0 - Manuf. Plant"
  1678.             desc "ef - SDI Defense  ee - Recycling Center            ed - Power Plant"
  1679.             desc "ec - Hydro Plant  eb - Nuclear Plant               ea - SS Structure"
  1680.             desc "e9 - SS Component e8 - SS Module"
  1681.             desc "e7 - Pyramids     e6 - Hanging Gardens             e5 - Colossus"
  1682.             desc "e4 - Lighthouse   e3 - Great Library               e2 - Oracle"
  1683.             desc "e1 - Great Wall                   e0 - Magellan's Expedition"
  1684.             desc "df - Michelangelo's Chapel        de - Copernicus Observatory"
  1685.             desc "d8 - Women's Suffrage"
  1686.  
  1687.             data 9 1 ubyte
  1688.             entry 0 6 3 6 18 2 hex
  1689.         }
  1690.  
  1691.         field "Trade" {
  1692.             desc "Number of trades?"
  1693.             desc "Decimal, 0 - 255"
  1694.             
  1695.             data 10 1 ubyte
  1696.             entry 0 7 3 7 18 3 dec
  1697.         }
  1698.  
  1699.         field "Civilization" {
  1700.             desc "Controlling civilization"
  1701.             desc " "
  1702.             desc "NUMBERS COLORS          CIVILIZATION            MASK"
  1703.             desc "0       RED             Barbarians              01"
  1704.             desc "1       WHITE           Romans/Russians         02"
  1705.             desc "2       GREEN           Babylonians/Zulus       04"
  1706.             desc "3       DARK BLUE       Germans/French          08"
  1707.             desc "4       YELLOW          Aztecs/Egyptians        10"
  1708.             desc "5       LIGHT BLUE      Americans/Chinese       20"
  1709.             desc "6       PINK            English/Greek           40"
  1710.             desc "7       GREY            Indians/Mongols         80"
  1711.             data 11 1 ubyte
  1712.             entry 0 8 3 8 18 2 hex
  1713.         }
  1714.  
  1715.         field "Foods" {
  1716.             desc "Current amount of food"
  1717.             desc "0 - 65535 ?  2 bytes integer, decimal"
  1718.             
  1719.             data 12 2 uword
  1720.             entry 0 9 3 9 18 5 dec
  1721.         }
  1722.  
  1723.         field "Shields" {
  1724.             desc "Current amount of shield"
  1725.             desc "0 - 65535 ?  2 bytes integer, decimal"
  1726.             
  1727.             data 14 2 uword
  1728.             entry 0 10 3 10 18 5 dec
  1729.         }
  1730.  
  1731.         field "Land Usage" {
  1732.             desc "Land usage mask"
  1733.             
  1734.             data 16 3 ascii
  1735.             entry 0 11 3 11 18 6 hex
  1736.         }
  1737.  
  1738.         field "Specialist" {
  1739.             desc "Number of specialist x 4"
  1740.             desc "0 - 255, decimal"
  1741.             
  1742.             data 19 1 ubyte
  1743.             entry 0 12 3 12 18 3 dec
  1744.         }
  1745.  
  1746.         field "Spec. in use" {
  1747.             desc "Specialist in use"
  1748.             
  1749.             data 20 2 uword
  1750.             entry 0 13 3 13 18 4 dec
  1751.         }
  1752.  
  1753.         # You won't want to interfer this.
  1754.         # field "Name Index" {
  1755.         #     desc "Index to city names"
  1756.         #    data 22 1 ubyte
  1757.         #    entry 0 xx 3 xx 18 3 dec
  1758.         # }
  1759.  
  1760.         field "Trade Routes 1" {
  1761.             desc "Index for the trade route"
  1762.             desc "0 - 254.  255 = none."
  1763.             desc "This map to trade route record (0 - means trade 1)"
  1764.             
  1765.             data 23 1 ubyte
  1766.             entry 0 15 3 15 18 3 dec
  1767.         } 
  1768.  
  1769.         field "Trade Routes 2" {
  1770.             desc "Index for the trade route"
  1771.             desc "0 - 254.  255 = none."
  1772.             desc "This map to trade route record (0 - means trade 1)"
  1773.             
  1774.             data 24 1 ubyte
  1775.             entry 0 16 3 16 18 3 dec
  1776.         }
  1777.  
  1778.         field "Trade Routes 3" {
  1779.             desc "Index for the trade route"
  1780.             desc "0 - 254.  255 = none."
  1781.             desc "This map to trade route record (0 - means trade 1)"
  1782.             
  1783.             data 25 1 ubyte
  1784.             entry 0 17 3 17 18 3 dec
  1785.         }
  1786.     }
  1787. }
  1788.  
  1789.