|
| 1 | +//THIS FILE IS AUTOMATICALLY GENERATED BY AUXMOS, PLEASE DO NOT TOUCH IT |
| 2 | +//PROC DEFINITIONS MAY MOVE AROUND, THIS IS NORMAL |
| 3 | + |
| 4 | +/* This comment bypasses grep checks */ /var/__auxmos |
| 5 | + |
| 6 | +/proc/__detect_auxmos() |
| 7 | + if (world.system_type == UNIX) |
| 8 | + return __auxmos = "libauxmos" |
| 9 | + else |
| 10 | + return __auxmos = "auxmos" |
| 11 | + |
| 12 | +#define AUXMOS (__auxmos || __detect_auxmos()) |
| 13 | + |
| 14 | +/turf/proc/__update_auxtools_turf_adjacency_info() |
| 15 | + return call_ext(AUXMOS, "byond:hook_infos_ffi")(src) |
| 16 | + |
| 17 | +/turf/proc/update_air_ref(flag) |
| 18 | + return call_ext(AUXMOS, "byond:hook_register_turf_ffi")(src, flag) |
| 19 | + |
| 20 | +/datum/controller/subsystem/air/proc/process_turfs_auxtools(remaining) |
| 21 | + return call_ext(AUXMOS, "byond:process_turf_hook_ffi")(src, remaining) |
| 22 | + |
| 23 | +/datum/controller/subsystem/air/proc/finish_turf_processing_auxtools(time_remaining) |
| 24 | + return call_ext(AUXMOS, "byond:finish_process_turfs_ffi")(time_remaining) |
| 25 | + |
| 26 | +/datum/controller/subsystem/air/proc/thread_running() |
| 27 | + return call_ext(AUXMOS, "byond:thread_running_hook_ffi")() |
| 28 | + |
| 29 | +/proc/finalize_gas_refs() |
| 30 | + return call_ext(AUXMOS, "byond:finalize_gas_refs_ffi")() |
| 31 | + |
| 32 | +/datum/controller/subsystem/air/proc/auxtools_update_reactions() |
| 33 | + return call_ext(AUXMOS, "byond:update_reactions_ffi")() |
| 34 | + |
| 35 | +/proc/auxtools_atmos_init(gas_data) |
| 36 | + return call_ext(AUXMOS, "byond:hook_init_ffi")(gas_data) |
| 37 | + |
| 38 | +/proc/_auxtools_register_gas(gas) |
| 39 | + return call_ext(AUXMOS, "byond:hook_register_gas_ffi")(gas) |
| 40 | + |
| 41 | +/datum/controller/subsystem/air/proc/process_turf_equalize_auxtools(remaining) |
| 42 | + return call_ext(AUXMOS, "byond:equalize_hook_ffi")(src, remaining) |
| 43 | + |
| 44 | +/datum/controller/subsystem/air/proc/process_excited_groups_auxtools(remaining) |
| 45 | + return call_ext(AUXMOS, "byond:groups_hook_ffi")(src, remaining) |
| 46 | + |
| 47 | +/datum/gas_mixture/proc/__auxtools_parse_gas_string(string) |
| 48 | + return call_ext(AUXMOS, "byond:parse_gas_string_ffi")(src, string) |
| 49 | + |
| 50 | +/datum/controller/subsystem/air/proc/get_max_gas_mixes() |
| 51 | + return call_ext(AUXMOS, "byond:hook_max_gas_mixes_ffi")() |
| 52 | + |
| 53 | +/datum/controller/subsystem/air/proc/get_amt_gas_mixes() |
| 54 | + return call_ext(AUXMOS, "byond:hook_amt_gas_mixes_ffi")() |
| 55 | + |
| 56 | +/proc/equalize_all_gases_in_list(gas_list) |
| 57 | + return call_ext(AUXMOS, "byond:equalize_all_hook_ffi")(gas_list) |
| 58 | + |
| 59 | +/datum/gas_mixture/proc/get_oxidation_power(temp) |
| 60 | + return call_ext(AUXMOS, "byond:oxidation_power_hook_ffi")(src, temp) |
| 61 | + |
| 62 | +/datum/gas_mixture/proc/get_fuel_amount(temp) |
| 63 | + return call_ext(AUXMOS, "byond:fuel_amount_hook_ffi")(src, temp) |
| 64 | + |
| 65 | +/datum/gas_mixture/proc/equalize_with(total) |
| 66 | + return call_ext(AUXMOS, "byond:equalize_with_hook_ffi")(src, total) |
| 67 | + |
| 68 | +/datum/gas_mixture/proc/transfer_ratio_to(other, ratio) |
| 69 | + return call_ext(AUXMOS, "byond:transfer_ratio_hook_ffi")(src, other, ratio) |
| 70 | + |
| 71 | +/datum/gas_mixture/proc/transfer_to(other, moles) |
| 72 | + return call_ext(AUXMOS, "byond:transfer_hook_ffi")(src, other, moles) |
| 73 | + |
| 74 | +/datum/gas_mixture/proc/adjust_heat(temp) |
| 75 | + return call_ext(AUXMOS, "byond:adjust_heat_hook_ffi")(src, temp) |
| 76 | + |
| 77 | +/datum/gas_mixture/proc/react(holder) |
| 78 | + return call_ext(AUXMOS, "byond:react_hook_ffi")(src, holder) |
| 79 | + |
| 80 | +/datum/gas_mixture/proc/compare(other) |
| 81 | + return call_ext(AUXMOS, "byond:compare_hook_ffi")(src, other) |
| 82 | + |
| 83 | +/datum/gas_mixture/proc/clear() |
| 84 | + return call_ext(AUXMOS, "byond:clear_hook_ffi")(src) |
| 85 | + |
| 86 | +/datum/gas_mixture/proc/mark_immutable() |
| 87 | + return call_ext(AUXMOS, "byond:mark_immutable_hook_ffi")(src) |
| 88 | + |
| 89 | +/datum/gas_mixture/proc/scrub_into(into, ratio_v, gas_list) |
| 90 | + return call_ext(AUXMOS, "byond:scrub_into_hook_ffi")(src, into, ratio_v, gas_list) |
| 91 | + |
| 92 | +/datum/gas_mixture/proc/get_by_flag(flag_val) |
| 93 | + return call_ext(AUXMOS, "byond:get_by_flag_hook_ffi")(src, flag_val) |
| 94 | + |
| 95 | +/datum/gas_mixture/proc/__remove_by_flag(into, flag_val, amount_val) |
| 96 | + return call_ext(AUXMOS, "byond:remove_by_flag_hook_ffi")(src, into, flag_val, amount_val) |
| 97 | + |
| 98 | +/datum/gas_mixture/proc/divide(num_val) |
| 99 | + return call_ext(AUXMOS, "byond:divide_hook_ffi")(src, num_val) |
| 100 | + |
| 101 | +/datum/gas_mixture/proc/multiply(num_val) |
| 102 | + return call_ext(AUXMOS, "byond:multiply_hook_ffi")(src, num_val) |
| 103 | + |
| 104 | +/datum/gas_mixture/proc/subtract(num_val) |
| 105 | + return call_ext(AUXMOS, "byond:subtract_hook_ffi")(src, num_val) |
| 106 | + |
| 107 | +/datum/gas_mixture/proc/add(num_val) |
| 108 | + return call_ext(AUXMOS, "byond:add_hook_ffi")(src, num_val) |
| 109 | + |
| 110 | +/datum/gas_mixture/proc/adjust_multi(...) |
| 111 | + var/list/args_copy = args.Copy() |
| 112 | + args_copy.Insert(1, src) |
| 113 | + return call_ext(AUXMOS, "byond:adjust_multi_hook_ffi")(arglist(args_copy)) |
| 114 | + |
| 115 | +/datum/gas_mixture/proc/adjust_moles_temp(id_val, num_val, temp_val) |
| 116 | + return call_ext(AUXMOS, "byond:adjust_moles_temp_hook_ffi")(src, id_val, num_val, temp_val) |
| 117 | + |
| 118 | +/datum/gas_mixture/proc/adjust_moles(id_val, num_val) |
| 119 | + return call_ext(AUXMOS, "byond:adjust_moles_hook_ffi")(src, id_val, num_val) |
| 120 | + |
| 121 | +/datum/gas_mixture/proc/set_moles(gas_id, amt_val) |
| 122 | + return call_ext(AUXMOS, "byond:set_moles_hook_ffi")(src, gas_id, amt_val) |
| 123 | + |
| 124 | +/datum/gas_mixture/proc/get_moles(gas_id) |
| 125 | + return call_ext(AUXMOS, "byond:get_moles_hook_ffi")(src, gas_id) |
| 126 | + |
| 127 | +/datum/gas_mixture/proc/set_volume(vol_arg) |
| 128 | + return call_ext(AUXMOS, "byond:set_volume_hook_ffi")(src, vol_arg) |
| 129 | + |
| 130 | +/datum/gas_mixture/proc/partial_heat_capacity(gas_id) |
| 131 | + return call_ext(AUXMOS, "byond:partial_heat_capacity_ffi")(src, gas_id) |
| 132 | + |
| 133 | +/datum/gas_mixture/proc/set_temperature(arg_temp) |
| 134 | + return call_ext(AUXMOS, "byond:set_temperature_hook_ffi")(src, arg_temp) |
| 135 | + |
| 136 | +/datum/gas_mixture/proc/get_gases() |
| 137 | + return call_ext(AUXMOS, "byond:get_gases_hook_ffi")(src) |
| 138 | + |
| 139 | +/datum/gas_mixture/proc/temperature_share(...) |
| 140 | + var/list/args_copy = args.Copy() |
| 141 | + args_copy.Insert(1, src) |
| 142 | + return call_ext(AUXMOS, "byond:temperature_share_hook_ffi")(arglist(args_copy)) |
| 143 | + |
| 144 | +/datum/gas_mixture/proc/copy_from(giver) |
| 145 | + return call_ext(AUXMOS, "byond:copy_from_hook_ffi")(src, giver) |
| 146 | + |
| 147 | +/datum/gas_mixture/proc/__remove(into, amount_arg) |
| 148 | + return call_ext(AUXMOS, "byond:remove_hook_ffi")(src, into, amount_arg) |
| 149 | + |
| 150 | +/datum/gas_mixture/proc/__remove_ratio(into, ratio_arg) |
| 151 | + return call_ext(AUXMOS, "byond:remove_ratio_hook_ffi")(src, into, ratio_arg) |
| 152 | + |
| 153 | +/datum/gas_mixture/proc/merge(giver) |
| 154 | + return call_ext(AUXMOS, "byond:merge_hook_ffi")(src, giver) |
| 155 | + |
| 156 | +/datum/gas_mixture/proc/thermal_energy() |
| 157 | + return call_ext(AUXMOS, "byond:thermal_energy_hook_ffi")(src) |
| 158 | + |
| 159 | +/datum/gas_mixture/proc/return_volume() |
| 160 | + return call_ext(AUXMOS, "byond:return_volume_hook_ffi")(src) |
| 161 | + |
| 162 | +/datum/gas_mixture/proc/return_temperature() |
| 163 | + return call_ext(AUXMOS, "byond:return_temperature_hook_ffi")(src) |
| 164 | + |
| 165 | +/datum/gas_mixture/proc/return_pressure() |
| 166 | + return call_ext(AUXMOS, "byond:return_pressure_hook_ffi")(src) |
| 167 | + |
| 168 | +/datum/gas_mixture/proc/total_moles() |
| 169 | + return call_ext(AUXMOS, "byond:total_moles_hook_ffi")(src) |
| 170 | + |
| 171 | +/datum/gas_mixture/proc/set_min_heat_capacity(arg_min) |
| 172 | + return call_ext(AUXMOS, "byond:min_heat_cap_hook_ffi")(src, arg_min) |
| 173 | + |
| 174 | +/datum/gas_mixture/proc/heat_capacity() |
| 175 | + return call_ext(AUXMOS, "byond:heat_cap_hook_ffi")(src) |
| 176 | + |
| 177 | +/datum/gas_mixture/proc/__gasmixture_unregister() |
| 178 | + return call_ext(AUXMOS, "byond:unregister_gasmixture_hook_ffi")(src) |
| 179 | + |
| 180 | +/datum/gas_mixture/proc/__gasmixture_register() |
| 181 | + return call_ext(AUXMOS, "byond:register_gasmixture_hook_ffi")(src) |
| 182 | + |
| 183 | +/proc/process_atmos_callbacks(remaining) |
| 184 | + return call_ext(AUXMOS, "byond:atmos_callback_handle_ffi")(remaining) |
| 185 | + |
0 commit comments