forked from fireblizzard/agmod
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a7ef14
commit 1e31866
Showing
182 changed files
with
34,588 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/*** | ||
* | ||
* Copyright (c) 1996-2002, Valve LLC. All rights reserved. | ||
* | ||
* This product contains software technology licensed from Id | ||
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. | ||
* All Rights Reserved. | ||
* | ||
****/ | ||
|
||
#include "cmdlib.h" | ||
#include "mathlib.h" | ||
#include "bsplib.h" | ||
|
||
void main (int argc, char **argv) | ||
{ | ||
int i; | ||
char source[1024]; | ||
int size; | ||
FILE *f; | ||
|
||
printf( "bspinfo.exe v2.1 (%s)\n", __DATE__ ); | ||
printf ("---- bspinfo ----\n" ); | ||
|
||
|
||
if (argc == 1) | ||
Error ("usage: bspinfo bspfile [bspfiles]"); | ||
|
||
for (i=1 ; i<argc ; i++) | ||
{ | ||
printf ("---------------------\n"); | ||
strcpy (source, argv[i]); | ||
DefaultExtension (source, ".bsp"); | ||
f = fopen (source, "rb"); | ||
if (f) | ||
{ | ||
size = filelength (f); | ||
fclose (f); | ||
} | ||
else | ||
size = 0; | ||
printf ("%s: %i\n", source, size); | ||
|
||
LoadBSPFile (source); | ||
PrintBSPFileSizes (); | ||
printf ("---------------------\n"); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Microsoft Developer Studio Workspace File, Format Version 6.00 | ||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! | ||
|
||
############################################################################### | ||
|
||
Project: "bspinfo"=.\bspinfo.dsp - Package Owner=<4> | ||
|
||
Package=<5> | ||
{{{ | ||
begin source code control | ||
"$/SDKSrc/Tools/utils/bspinfo", HUGBAAAA | ||
. | ||
end source code control | ||
}}} | ||
|
||
Package=<4> | ||
{{{ | ||
}}} | ||
|
||
############################################################################### | ||
|
||
Global: | ||
|
||
Package=<5> | ||
{{{ | ||
begin source code control | ||
"$/SDKSrc/Tools/utils/bspinfo", HUGBAAAA | ||
. | ||
end source code control | ||
}}} | ||
|
||
Package=<3> | ||
{{{ | ||
}}} | ||
|
||
############################################################################### | ||
|
Oops, something went wrong.