physfs_internal.h
changeset 774 916c2e81e77f
parent 767 db29bf06d171
child 775 a8cc6b8a8e9c
--- a/physfs_internal.h	Thu Mar 23 10:19:55 2006 +0000
+++ b/physfs_internal.h	Tue Apr 11 14:33:48 2006 +0000
@@ -56,6 +56,7 @@
  #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
  #define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
  #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip compatible"
+ #define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format"
  #define WAD_ARCHIVE_DESCRIPTION  "DOOM engine format"
 
  #define ERR_IS_INITIALIZED       "Already initialized"
@@ -91,12 +92,12 @@
  #define ERR_BAD_FILENAME         "Bad filename"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS made a bad system call"
  #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: need dictionary"
- #define ERR_ZLIB_DATA_ERROR      "zlib: data error"
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: memory error"
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: buffer error"
- #define ERR_ZLIB_VERSION_ERROR   "zlib: version error"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: unknown error"
+ #define ERR_NEED_DICT            "need dictionary"
+ #define ERR_DATA_ERROR           "data error"
+ #define ERR_MEMORY_ERROR         "memory error"
+ #define ERR_BUFFER_ERROR         "buffer error"
+ #define ERR_VERSION_ERROR        "version error"
+ #define ERR_UNKNOWN_ERROR        "unknown error"
  #define ERR_SEARCHPATH_TRUNC     "Search path was truncated"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() was truncated"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() had no dir"
@@ -189,12 +190,12 @@
  #define ERR_BAD_FILENAME         "Unzulssiger Dateiname"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS verursachte einen ungltigen Systemaufruf"
  #define ERR_ARGV0_IS_NULL        "argv0 ist NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: brauche Wrterbuch"
- #define ERR_ZLIB_DATA_ERROR      "zlib: Datenfehler"
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: Speicherfehler"
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: Bufferfehler"
- #define ERR_ZLIB_VERSION_ERROR   "zlib: Versionskonflikt"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: Unbekannter Fehler"
+ #define ERR_NEED_DICT       "brauche Wrterbuch"
+ #define ERR_DATA_ERROR      "Datenfehler"
+ #define ERR_MEMORY_ERROR    "Speicherfehler"
+ #define ERR_BUFFER_ERROR    "Bufferfehler"
+ #define ERR_VERSION_ERROR   "Versionskonflikt"
+ #define ERR_UNKNOWN_ERROR   "Unbekannter Fehler"
  #define ERR_SEARCHPATH_TRUNC     "Suchpfad war abgeschnitten"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() war abgeschnitten"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() bekam kein Verzeichnis"
@@ -286,12 +287,12 @@
  #define ERR_BAD_FILENAME         "  "
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS    "
  #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib:  "
- #define ERR_ZLIB_DATA_ERROR      "zlib:  "
- #define ERR_ZLIB_MEMORY_ERROR    "zlib:  "
- #define ERR_ZLIB_BUFFER_ERROR    "zlib:  "
- #define ERR_ZLIB_VERSION_ERROR   "zlib:  "
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib:  "
+ #define ERR_NEED_DICT       " "
+ #define ERR_DATA_ERROR      " "
+ #define ERR_MEMORY_ERROR    " "
+ #define ERR_BUFFER_ERROR    " "
+ #define ERR_VERSION_ERROR   " "
+ #define ERR_UNKNOWN_ERROR   " "
  #define ERR_SEARCHPATH_TRUNC     "  "
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() "
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName()   "
@@ -383,12 +384,12 @@
  #define ERR_BAD_FILENAME         "  "
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS    "
  #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib:  "
- #define ERR_ZLIB_DATA_ERROR      "zlib:  "
- #define ERR_ZLIB_MEMORY_ERROR    "zlib:  "
- #define ERR_ZLIB_BUFFER_ERROR    "zlib:  "
- #define ERR_ZLIB_VERSION_ERROR   "zlib:  "
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib:  "
+ #define ERR_NEED_DICT       " "
+ #define ERR_DATA_ERROR      " "
+ #define ERR_MEMORY_ERROR    " "
+ #define ERR_BUFFER_ERROR    " "
+ #define ERR_VERSION_ERROR   " "
+ #define ERR_UNKNOWN_ERROR   " "
  #define ERR_SEARCHPATH_TRUNC     "  "
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() "
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName()   "
@@ -480,12 +481,12 @@
  #define ERR_BAD_FILENAME         "୮  䠩"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS 믮  ⥬ 맮"
  #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: 㦥 ᫮"
- #define ERR_ZLIB_DATA_ERROR      "zlib: 訡 "
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: 訡 "
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: 訡 "
- #define ERR_ZLIB_VERSION_ERROR   "zlib: 訡 ᨨ"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: ⭠ 訡"
+ #define ERR_NEED_DICT       "㦥 ᫮"
+ #define ERR_DATA_ERROR      "訡 "
+ #define ERR_MEMORY_ERROR    "訡 "
+ #define ERR_BUFFER_ERROR    "訡 "
+ #define ERR_VERSION_ERROR   "訡 ᨨ"
+ #define ERR_UNKNOWN_ERROR   "⭠ 訡"
  #define ERR_SEARCHPATH_TRUNC     " ᪠ १"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() १"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName()  稫 ⠫"
@@ -577,12 +578,12 @@
  #define ERR_BAD_FILENAME         "  "
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS    "
  #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib:  "
- #define ERR_ZLIB_DATA_ERROR      "zlib:  "
- #define ERR_ZLIB_MEMORY_ERROR    "zlib:  "
- #define ERR_ZLIB_BUFFER_ERROR    "zlib:  "
- #define ERR_ZLIB_VERSION_ERROR   "zlib:  "
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib:  "
+ #define ERR_NEED_DICT       " "
+ #define ERR_DATA_ERROR      " "
+ #define ERR_MEMORY_ERROR    " "
+ #define ERR_BUFFER_ERROR    " "
+ #define ERR_VERSION_ERROR   " "
+ #define ERR_UNKNOWN_ERROR   " "
  #define ERR_SEARCHPATH_TRUNC     "  "
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() "
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName()   "
@@ -676,12 +677,12 @@
  #define ERR_BAD_FILENAME         "Mauvais nom de fichier"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BOGUE) PhysicsFS a fait un mauvais appel systme, le salaud"
  #define ERR_ARGV0_IS_NULL        "argv0 est NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: a besoin du dico"
- #define ERR_ZLIB_DATA_ERROR      "zlib: erreur de donnes"
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: erreur mmoire"
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: erreur tampon"
- #define ERR_ZLIB_VERSION_ERROR   "zlib: erreur de version"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: erreur inconnue"
+ #define ERR_NEED_DICT       "a besoin du dico"
+ #define ERR_DATA_ERROR      "erreur de donnes"
+ #define ERR_MEMORY_ERROR    "erreur mmoire"
+ #define ERR_BUFFER_ERROR    "erreur tampon"
+ #define ERR_VERSION_ERROR   "erreur de version"
+ #define ERR_UNKNOWN_ERROR   "erreur inconnue"
  #define ERR_SEARCHPATH_TRUNC     "Le chemin de recherche a t tronqu"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() a t tronqu"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() n'a pas de rpertoire"
@@ -774,12 +775,12 @@
  #define ERR_BAD_FILENAME         "Nome de arquivo invlido"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS realizou uma chamada de sistema invlida"
  #define ERR_ARGV0_IS_NULL        "argv0  NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: precisa de diretrio"
- #define ERR_ZLIB_DATA_ERROR      "zlib: erro nos dados"
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: erro de memria"
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: erro de buffer"
- #define ERR_ZLIB_VERSION_ERROR   "zlib: erro na version"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: erro desconhecido"
+ #define ERR_NEED_DICT       "precisa de diretrio"
+ #define ERR_DATA_ERROR      "erro nos dados"
+ #define ERR_MEMORY_ERROR    "erro de memria"
+ #define ERR_BUFFER_ERROR    "erro de buffer"
+ #define ERR_VERSION_ERROR   "erro na version"
+ #define ERR_UNKNOWN_ERROR   "erro desconhecido"
  #define ERR_SEARCHPATH_TRUNC     "Caminho de procura quebrado"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() foi quebrado"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() nao teve diretrio"
@@ -871,12 +872,12 @@
  #define ERR_BAD_FILENAME         "Nombre de archivo incorrecto"
  #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS ha hecho una llamada incorrecta al sistema"
  #define ERR_ARGV0_IS_NULL        "argv0 es NULL"
- #define ERR_ZLIB_NEED_DICT       "zlib: necesito diccionario"
- #define ERR_ZLIB_DATA_ERROR      "zlib: error de datos"
- #define ERR_ZLIB_MEMORY_ERROR    "zlib: error de memoria"
- #define ERR_ZLIB_BUFFER_ERROR    "zlib: error de buffer"
- #define ERR_ZLIB_VERSION_ERROR   "zlib: error de versin"
- #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: error desconocido"
+ #define ERR_NEED_DICT       "necesito diccionario"
+ #define ERR_DATA_ERROR      "error de datos"
+ #define ERR_MEMORY_ERROR    "error de memoria"
+ #define ERR_BUFFER_ERROR    "error de buffer"
+ #define ERR_VERSION_ERROR   "error de versin"
+ #define ERR_UNKNOWN_ERROR   "error desconocido"
  #define ERR_SEARCHPATH_TRUNC     "La ruta de bsqueda ha sido truncada"
  #define ERR_GETMODFN_TRUNC       "GetModuleFileName() ha sido truncado"
  #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() no tenia directorio"