src/ai/api/ai_error.hpp
branchnoai
changeset 9871 dfafb0cf20ee
parent 9868 3998f2e73dda
child 9873 b1ab23560ecb
equal deleted inserted replaced
9870:875cae2f4696 9871:dfafb0cf20ee
    51 		ERR_NONE = ERR_CAT_NONE << ERR_CAT_BIT_SIZE,  // []
    51 		ERR_NONE = ERR_CAT_NONE << ERR_CAT_BIT_SIZE,  // []
    52 		/** If an error occured and the error wasn't mapped */
    52 		/** If an error occured and the error wasn't mapped */
    53 		ERR_UNKNOWN,                                  // []
    53 		ERR_UNKNOWN,                                  // []
    54 		/** If a precondition is not met */
    54 		/** If a precondition is not met */
    55 		ERR_PRECONDITION_FAILED,                      // []
    55 		ERR_PRECONDITION_FAILED,                      // []
       
    56 		/** An error returned by a NewGRF. No possibility to get the exact error in an AI readable format */
       
    57 		ERR_NEWGRF_SUPPLIED_ERROR,                    // []
    56 
    58 
    57 		/** Base for general errors */
    59 		/** Base for general errors */
    58 		ERR_GENERAL_BASE = ERR_CAT_GENERAL << ERR_CAT_BIT_SIZE,
    60 		ERR_GENERAL_BASE = ERR_CAT_GENERAL << ERR_CAT_BIT_SIZE,
    59 
    61 
    60 		/** Not enough cash to perform the previous action */
    62 		/** Not enough cash to perform the previous action */