コード例 #1
0
ファイル: symbols.cs プロジェクト: jtmueller/frotzcore
 internal static int PrintPropertyName(ulong property_names_base, int prop_no)
 {
     if (property_names_base > 0)
     {
         return(InfInfo.PrintInformAttributeName(property_names_base, prop_no));
     }
     else if ((prop_no < property_entries) && property_names_table[prop_no].symtype == SymTypes.sym_property)
     {
         txio.TxPrint(property_names_table[prop_no].name);
         return(1);
     }
     return(0);
 }
コード例 #2
0
ファイル: symbols.cs プロジェクト: jtmueller/frotzcore
        /*
         * print_attribute_name
         *
         * Prints the name of the attribute, if known.
         */

        internal static int PrintAttributeName(ulong attr_names_base, int attr_no)
        {
            if (attr_names_base > 0)
            {
                return(InfInfo.PrintInformAttributeName(attr_names_base, attr_no));
            }
            else if ((attr_no < attribute_entries) && attribute_names_table[attr_no].symtype == SymTypes.sym_attribute)
            {
                txio.TxPrint(attribute_names_table[attr_no].name);
                return(1);
            }
            return(0);
        }