![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Functions | |
| def | log (severity, message) |
| def | _convert_dae (func, filename, expected_status=0) |
| def | convert_dae_to_pmd (*args, **kwargs) |
| def | convert_dae_to_psa (*args, **kwargs) |
| def | clean_dir (path) |
| def | create_actor (mesh, texture, anims, props_) |
| def | create_actor_static (mesh, texture) |
Variables | |
| string | binaries = "../../../binaries" |
| dictionary | dll_filename |
| library = cdll.LoadLibrary(f"{binaries}/system/{dll_filename}") | |
| clog = CFUNCTYPE(None, c_int, c_char_p)(log) | |
| encoding | |
| skeleton_definitions = fd.read() | |
| expected_status | |
| string | test_data = binaries + "/data/tests/collada" |
| string | test_mod = binaries + "/data/mods/_test.collada" |
| string | input_filename = f"{test_data}/{test_file}.dae" |
| string | output_filename = f"{test_mod}/art/meshes/{test_file}.pmd" |
| file_input = input_fd.read() | |
| def | file_output = convert_dae_to_pmd(file_input) |
| def | xml |
|
private |
| def tests.clean_dir | ( | path | ) |
| def tests.convert_dae_to_pmd | ( | * | args, |
| ** | kwargs | ||
| ) |
| def tests.convert_dae_to_psa | ( | * | args, |
| ** | kwargs | ||
| ) |
| def tests.create_actor | ( | mesh, | |
| texture, | |||
| anims, | |||
| props_ | |||
| ) |
| def tests.create_actor_static | ( | mesh, | |
| texture | |||
| ) |
| def tests.log | ( | severity, | |
| message | |||
| ) |
| string tests.binaries = "../../../binaries" |
| tests.clog = CFUNCTYPE(None, c_int, c_char_p)(log) |
| dictionary tests.dll_filename |
| tests.encoding |
| tests.expected_status |
| tests.file_input = input_fd.read() |
| def tests.file_output = convert_dae_to_pmd(file_input) |
| string tests.input_filename = f"{test_data}/{test_file}.dae" |
| tests.library = cdll.LoadLibrary(f"{binaries}/system/{dll_filename}") |
| string tests.output_filename = f"{test_mod}/art/meshes/{test_file}.pmd" |
| tests.skeleton_definitions = fd.read() |
| string tests.test_data = binaries + "/data/tests/collada" |
| string tests.test_mod = binaries + "/data/mods/_test.collada" |
| def tests.xml |