Skip to content

Commit

Permalink
Decompile MDL 55, 56, and 59.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeqMacaw committed Dec 15, 2019
1 parent d8debd9 commit 315a037
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Crowbar/Core/GameModel/- Base/SourceModel.vb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,14 @@ Public MustInherit Class SourceModel
model = New SourceModel53(mdlPathFileName, version)
ElseIf version = 54 Then
model = New SourceModel49(mdlPathFileName, version)
ElseIf version = 55 Then
model = New SourceModel49(mdlPathFileName, version)
ElseIf version = 56 Then
model = New SourceModel49(mdlPathFileName, version)
ElseIf version = 58 Then
model = New SourceModel49(mdlPathFileName, version)
ElseIf version = 59 Then
model = New SourceModel49(mdlPathFileName, version)
Else
' Version not implemented.
model = Nothing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Public Class SourceVvdFile04
aStudioVertex.normalZ = Me.theInputFileReader.ReadSingle()
aStudioVertex.texCoordX = Me.theInputFileReader.ReadSingle()
aStudioVertex.texCoordY = Me.theInputFileReader.ReadSingle()
If mdlVersion = 54 OrElse mdlVersion = 58 Then
If mdlVersion >= 54 OrElse mdlVersion <= 59 Then
Me.theInputFileReader.ReadSingle()
Me.theInputFileReader.ReadSingle()
Me.theInputFileReader.ReadSingle()
Expand Down

0 comments on commit 315a037

Please sign in to comment.