Well, you could make a class that wraps all the file ops. And it can transparently handle pak files. You might even be able to optimize some file access along the way.
Maybe it won't make it into HL, but it might make it to, say, TF2? :) Jeroen "ShadowLord" Bogers [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: "Leon Hartwig" <[EMAIL PROTECTED]> To: "Half-Life Dedicated Server Applications Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 04:05 Subject: RE: [hlds_apps] PAK file bug? > > > Heh, no, attempting to open each permutation wouldn't be necessary. > > Getting > > > a directory listing and searching through it would be the > > way to go, and > > > wouldn't really add much overhead considering the way that > > HLDS needs to > > use > > > the filesystem. But efficiency aside, I'd prefer something > > that unifies > > the > > > process across platforms rather than creating even more > > special conditions > > > for certain platforms. > > > > > > > OK, I'll just keep my mouth shut in future ;) > > Why? :) > > It probably doesn't matter anyway, since this is unlikely to be changed at > this point in the life of HL...but you never know. > _______________________________________________ > hlds_apps mailing list > [EMAIL PROTECTED] > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > > _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
