Commit Graph
137148 Commits
Author SHA1 Message Date
Martin Gerhardy e20cd47a3e TWINE: parse into BodyData 2020-12-22 17:17:36 +01:00
Martin Gerhardy 5a1d31eb4e TWINE: reduced scope 2020-12-22 17:17:36 +01:00
Martin Gerhardy 1aad7cd666 TWINE: don't advance the buffer pointer, but use the helper method 2020-12-22 17:17:36 +01:00
Martin Gerhardy 456801b29f TWINE: removed lineData struct 2020-12-22 17:17:36 +01:00
Martin Gerhardy 023114f03c TWINE: updated body parser 2020-12-22 17:17:36 +01:00
Martin Gerhardy 7050c8225f TWINE: model helper functions 2020-12-22 17:17:36 +01:00
Martin Gerhardy 628df7be6e TWINE: converted more raw byte buffer actions to the Model helper functions 2020-12-22 17:17:36 +01:00
Martin Gerhardy cc1bbc5a4a TWINE: const 2020-12-22 17:17:36 +01:00
Martin Gerhardy 65a2a9fe4c TWINE: name unknown members 2020-12-22 17:17:36 +01:00
Martin Gerhardy 1c7520d1c1 TWINE: const 2020-12-22 17:17:36 +01:00
Martin Gerhardy 5e589d4f88 TWINE: use Model helper functions 2020-12-22 17:17:36 +01:00
Martin Gerhardy 66994f008d TWINE: added model/body header methods 2020-12-22 17:17:36 +01:00
Martin Gerhardy 59ac0e304a TWINE: renamed variables 2020-12-22 17:17:36 +01:00
Martin Gerhardy 1f70b4776c TWINE: replaced magic numbers 2020-12-22 17:17:36 +01:00
Martin Gerhardy 22d9dc3b7b TWINE: extract to method 2020-12-22 17:17:36 +01:00
Martin Gerhardy db857a9d0d TWINE: extract into single methods 2020-12-22 17:17:36 +01:00
Martin Gerhardy ea55717bc2 TWINE: named unknown member 2020-12-22 17:17:36 +01:00
Martin Gerhardy f7f3a3f141 TWINE: introduced enum for draw list type 2020-12-22 17:17:36 +01:00
Martin Gerhardy 6c337d5488 TWINE: finished splitting type and index 2020-12-22 17:17:36 +01:00
Martin Gerhardy cef7d733f1 TWINE: started to cleanup draw list handling 2020-12-22 17:17:36 +01:00
Martin Gerhardy ae555d7aea TWINE: reduced cyclic complexity 2020-12-22 17:17:36 +01:00
Martin Gerhardy 4e8f7b72d3 TWINE: reduced cyclic complexity 2020-12-22 17:17:36 +01:00
Martin Gerhardy 47fa979332 TWINE: removed unused code 2020-12-22 17:17:36 +01:00
Martin Gerhardy 05cccc0f83 TWINE: ensure that shadeAngleTab3 is always a valid pointer 2020-12-22 17:17:36 +01:00
Martin Gerhardy 48f356d25b TWINE: minor cleanup 2020-12-22 17:17:36 +01:00
Martin Gerhardy e88280ac62 TWINE: moved methods for reading body data 2020-12-22 17:17:36 +01:00
Martin Gerhardy 4301e49da2 TWINE: started to remove raw byte buffer helper methods 2020-12-22 17:17:36 +01:00
Martin Gerhardy 802f66086a TWINE: use BoneFrame struct to copy the bone state 2020-12-22 17:17:36 +01:00
Martin Gerhardy 0ff83ff300 TWINE: started to use AnimData in setModelAnimation 2020-12-22 17:17:36 +01:00
Martin Gerhardy f018858023 TWINE: reduced code duplication 2020-12-22 17:17:36 +01:00
Martin Gerhardy ecb56f62c5 TWINE: reduced code duplication 2020-12-22 17:17:36 +01:00
Martin Gerhardy 39b79a85f2 TWINE: renamed method and stack vars 2020-12-22 17:17:36 +01:00
Martin Gerhardy c811e4e099 TWINE: removed unused method parameter 2020-12-22 17:17:36 +01:00
Martin Gerhardy 1a5a3da35b TWINE: renamed method parameters 2020-12-22 17:17:36 +01:00
Martin Gerhardy 4d9bfa493b TWINE: removed unused return value 2020-12-22 17:17:36 +01:00
Martin Gerhardy dffd8cc63f TWINE: make it easier to follow the data offsets 2020-12-22 17:17:36 +01:00
Martin Gerhardy 3c3fd773f1 TWINE: reduced cyclic complexity and fixed potential endless loop
if numOfBonesInAnim was just 1
2020-12-22 17:17:36 +01:00
Martin Gerhardy cbbfea5a33 TWINE: unified animation code 2020-12-22 17:17:36 +01:00
Martin Gerhardy 123d8a163c TWINE: renamed variables 2020-12-22 17:17:36 +01:00
Martin Gerhardy dbe4698984 TWINE: unified animation code 2020-12-22 17:17:36 +01:00
Martin Gerhardy c084931674 TWINE: unify bone transfer 2020-12-22 17:17:36 +01:00
Martin Gerhardy 0271d54568 TWINE: cleanup animation code 2020-12-22 17:17:36 +01:00
Martin Gerhardy d8645be0b2 TWINE: don't advance the animBufferPos twice
this is already done in stockAnimation()
2020-12-22 17:17:36 +01:00
Martin Gerhardy 86e73c9d97 TWINE: group functions 2020-12-22 17:17:36 +01:00
Martin Gerhardy 463cd54c38 TWINE: cleanup animation code 2020-12-22 17:17:36 +01:00
Martin Gerhardy b384031d1b TWINE: anim parser 2020-12-22 17:17:36 +01:00
Martin Gerhardy cf3d1bc213 TWINE: moved code into subdir 2020-12-22 17:17:36 +01:00
Martin Gerhardy 8ba2ba7578 TWINE: added body parsing code 2020-12-22 17:17:36 +01:00
Martin Gerhardy 977c28af4f TWINE: made elementEntry public 2020-12-22 17:17:36 +01:00
Paul Gilbert b8bdd792ab NEWS: Add entries for Comprehend and Glulx games 2020-12-21 18:12:40 -08:00