X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=blender_export.py;h=c44694abc0ea5b6e41e36fec86cdfaa1ff5ce181;hb=cedb92d590f4578a246a09a96c0fa0eda109d3c7;hp=05d1ec06aa5482a1ff35a40ac5cd5771dfca55a0;hpb=d4746875c05dd3e077e1b266e50ffe4856b45502;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/blender_export.py b/blender_export.py index 05d1ec0..c44694a 100644 --- a/blender_export.py +++ b/blender_export.py @@ -132,8 +132,7 @@ class classtype_route_node(Structure): class classtype_route(Structure): _pack_ = 1 - _fields_ = [("pstr_name",c_uint32), - ("id_start",c_uint32), + _fields_ = [("id_start",c_uint32), ("colour",c_float*3)] class classtype_skin(Structure): @@ -158,20 +157,6 @@ class classtype_bone(Structure): ("angle_limits",(c_float*3)*2), ("hitbox",(c_float*3)*2)] -class subclass_audio_channel(Structure): - _pack_ = 1 - _fields_ = [("sound",c_uint32), - ("target",c_uint32), - ("")] - -class classtype_audio_system(Structure): - _pack_ = 1 - _fields_ = [("")] - -class classtype_audio_zone(Structure): - _pack_ = 1 - _fields_ = [("system",c_uint32)] - # Exporter # ============================================================================== @@ -869,7 +854,6 @@ def write_model(collection_name): node.classtype = 9 entdata_length += sizeof( classtype_route ) r = classtype_route() - r.pstr_name = emplace_string("not-implemented") r.colour[0] = obj.cv_data.colour[0] r.colour[1] = obj.cv_data.colour[1] r.colour[2] = obj.cv_data.colour[2]