mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00:00
1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# getframe.pl vbid blah.txt
|
||||
$desiredVB = shift;
|
||||
open INPUT, shift || die;
|
||||
while( <INPUT> )
|
||||
{
|
||||
if( /Dx8VertexData: id: (\d+)\s+/ )
|
||||
{
|
||||
if( $1 == $desiredVB )
|
||||
{
|
||||
print;
|
||||
$gotit = 1;
|
||||
}
|
||||
}
|
||||
elsif( $gotit && /^vertex:/ )
|
||||
{
|
||||
print;
|
||||
}
|
||||
else
|
||||
{
|
||||
$gotit = 0;
|
||||
}
|
||||
}
|
||||
close INPUT;
|
||||
Reference in New Issue
Block a user