mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
@@ -1,18 +1,24 @@
|
|||||||
simulation_tool_ids = [
|
simulation_tool_names = [
|
||||||
[ 'HEAT', 0 ],
|
'HEAT',
|
||||||
[ 'COOL', 1 ],
|
'COOL',
|
||||||
[ 'AIR', 2 ],
|
'AIR',
|
||||||
[ 'VAC', 3 ],
|
'VAC',
|
||||||
[ 'PGRV', 4 ],
|
'PGRV',
|
||||||
[ 'NGRV', 5 ],
|
'NGRV',
|
||||||
[ 'MIX', 6 ],
|
'MIX',
|
||||||
[ 'CYCL', 7 ],
|
'CYCL',
|
||||||
[ 'AMBM', 8 ],
|
'AMBM',
|
||||||
[ 'AMBP', 9 ],
|
'AMBP',
|
||||||
]
|
]
|
||||||
|
|
||||||
simulation_tool_src = []
|
simulation_tool_src = []
|
||||||
foreach tool_name_id : simulation_tool_ids
|
simulation_tool_ids = []
|
||||||
simulation_tool_src += tool_name_id[0] + '.cpp'
|
tool_id = 0
|
||||||
|
foreach tool_name : simulation_tool_names
|
||||||
|
if not is_disabler(tool_name)
|
||||||
|
simulation_tool_src += tool_name + '.cpp'
|
||||||
|
simulation_tool_ids += [ [ tool_name, tool_id ] ]
|
||||||
|
endif
|
||||||
|
tool_id = tool_id + 1
|
||||||
endforeach
|
endforeach
|
||||||
simulation_files += files(simulation_tool_src)
|
simulation_files += files(simulation_tool_src)
|
||||||
|
Reference in New Issue
Block a user