/*** * * 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. * ****/ #if defined _MSC_VER && _MSC_VER >= 1400 #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif #pragma warning(disable: 4996) // deprecated functions #endif #include #include #include #include char **ppszFiles = NULL; int nFiles = 0; int nMaxFiles = 0; int string_comparator( const void *string1, const void *string2 ) { char *s1 = *(char **)string1; char *s2 = *(char **)string2; return strcmp( s1, s2 ); } void PrintUsage(char *pname) { printf("\n\tusage:%s