aboutsummaryrefslogtreecommitdiff
path: root/project/text-files/mdl.inc/mdl-s0-cr.inc
diff options
context:
space:
mode:
authorroot <root@dc13.lemmi>2020-07-21 10:00:46 +0200
committerroot <root@dc13.lemmi>2020-07-21 10:00:46 +0200
commit1192c4575ea7afdf38e3fa0df4587a08620af11e (patch)
tree6910a62487c282d0840d2e668aa7eb40b7c8a3fd /project/text-files/mdl.inc/mdl-s0-cr.inc
parent76de8a89f7c1d1b4522eb66e8f89d248e8c1781f (diff)
SZS v2.18a
Diffstat (limited to 'project/text-files/mdl.inc/mdl-s0-cr.inc')
-rw-r--r--project/text-files/mdl.inc/mdl-s0-cr.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/project/text-files/mdl.inc/mdl-s0-cr.inc b/project/text-files/mdl.inc/mdl-s0-cr.inc
new file mode 100644
index 0000000..7bc1f1f
--- /dev/null
+++ b/project/text-files/mdl.inc/mdl-s0-cr.inc
@@ -0,0 +1,19 @@
+# This section represents one draw list.
+#
+# A draw list is a sequence of u8, u16 (1 and 2 byte unsigned integers) and
+# float (4 bytes) values divided into commands. For each command the first
+# byte declares the length and the meaning of the command:
+#
+# #1 : 1 byte, end of command list
+# #2 : 5 bytes, bone mapping
+# #3 : 4+N*6 bytes, weighting
+# #4 : 8 bytes, draw polygon
+# #5 : 5 bytes, indexing
+#
+# And these are the codings of the commands:
+# #1
+# #2, u16:weight_index, u16:parent:weight_index
+# #3, u16:wight_id, u8:N, N*( u16:table_id, float:weight )
+# #4, u16:object_index, u16:material_index, u16:bone_index, u8:unknown
+# #5, u16:weight_id, u16:weight_index
+