player/finance.h
inline void book_delivered(const sint64 amount, const waytype_t wt, int index)
	{
		const transport_type tt = translate_waytype_to_tt(wt);

		// there are: passenger, mail, goods
		if( (index < 0) || (index > 2)){
			index = 2;
		}

		veh_year[ tt][0][ATV_DELIVERED_PASSENGER+index] += amount;
		veh_month[tt][0][ATV_DELIVERED_PASSENGER+index] += amount;
	}
/**
	 * Makes stats of amount of delivered passenger, mail and goods
	 * @param amount sum of money
	 * @param wt way type
	 * @param index 0 = passenger, 1 = mail, 2 = goods
	 */
Makes stats of amount of delivered passenger, mail and goods
@param amount sum of money
@param wt way type
@param index 0 = passenger, 1 = mail, 2 = goods
Makes stats of amount of delivered passenger mail and goods @param amount sum of money @param wt way type @param index 0 = passenger 1 = mail 2 = goods
inline void book_delivered(const sint64 amount, const waytype_t wt, int index)
	{
		const transport_type tt = translate_waytype_to_tt(wt);
		if( (index < 0) || (index > 2)){
			index = 2;
		}
		veh_year[ tt][0][ATV_DELIVERED_PASSENGER+index] += amount;
		veh_month[tt][0][ATV_DELIVERED_PASSENGER+index] += amount;
	}
inline void book_delivered ( const sint64 amount , const waytype_t wt , int index ) { const transport_type tt = translate_waytype_to_tt ( wt ) ; if ( ( index < 0 ) || ( index > 2 ) ) { index = 2 ; } veh_year [ tt ] [ 0 ] [ ATV_DELIVERED_PASSENGER + index ] += amount ; veh_month [ tt ] [ 0 ] [ ATV_DELIVERED_PASSENGER + index ] += amount ; }
Makes stats of amount of delivered passenger, mail and goods
 @param amount sum of money
 @param wt way type
 @param index 0 = passenger, 1 = mail, 2 = goods
Makes stats of amount of delivered passenger mail and goods @param amount sum of money @param wt way type @param index 0 = passenger 1 = mail 2 = goods
// there are: passenger, mail, goods