- Added support for zip/pk3 files with LZMA and bzip2 compression to ZDoom.

- Added more output to zipdir and a -q option to turn it off.
- Added -u option to zipdir to only recompress those files in a zip that have
  changed. 
- Added -d and -f options to zipdir. -d forces deflate compression, and -f
  forces a write of the zip, even if it's newer than all the files it contains.
- Added support for bzip2 and LZMA compression to zipdir.


SVN r1468 (trunk)
This commit is contained in:
Randy Heit 2009-03-10 23:07:37 +00:00
commit 75b7db858f
59 changed files with 15233 additions and 2314 deletions

View file

@ -756,7 +756,7 @@ AWeapon *FWeaponSlot::PickWeapon(player_t *player)
}
if (player->ReadyWeapon != NULL)
{
for (i = 0; i < Weapons.Size(); i++)
for (i = 0; (unsigned)i < Weapons.Size(); i++)
{
if (Weapons[i].Type == player->ReadyWeapon->GetClass() ||
(player->ReadyWeapon->WeaponFlags & WIF_POWERED_UP &&
@ -1590,7 +1590,7 @@ const PClass *Net_ReadWeapon(BYTE **stream)
{
index = (index & 0x7F) | (ReadByte(stream) << 7);
}
if (index >= Weapons_ntoh.Size())
if ((unsigned)index >= Weapons_ntoh.Size())
{
return NULL;
}