physfs_internal.h
author Ryan C. Gordon <icculus@icculus.org>
Fri, 19 Dec 2003 01:49:12 +0000
changeset 612 03b07cbd1bc7
parent 596 381b6ca0dd85
child 627 c47634e23a35
child 697 d6b52fd0d9f8
permissions -rw-r--r--
Added zlib_license_change.txt to RPM spec (thanks, Edward!)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
/*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
 * Internal function/structure declaration. Do NOT include in your
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
 *  application.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
 *
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
 * Please see the file LICENSE in the source's root directory.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
 *
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
 *  This file written by Ryan C. Gordon.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
 */
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
#ifndef _INCLUDE_PHYSFS_INTERNAL_H_
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
#define _INCLUDE_PHYSFS_INTERNAL_H_
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
#ifndef __PHYSICSFS_INTERNAL__
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
#error Do not include this header from your applications.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
#endif
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    17
#include "physfs.h"
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    18
504
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    19
#ifdef HAVE_ASSERT_H
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    20
#include <assert.h>
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    21
#else
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    22
#define assert(x)
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    23
#endif
3420d82f9b01 Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents: 467
diff changeset
    24
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    25
#ifdef __cplusplus
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    26
extern "C" {
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    27
#endif
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
    28
427
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    29
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    30
/* The LANG section. */
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    31
/*  please send questions/translations to Ryan: icculus@clutteredmind.org. */
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    32
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    33
#if (!defined PHYSFS_LANG)
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    34
#  define PHYSFS_LANG PHYSFS_LANG_ENGLISH
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    35
#endif
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    36
444
06f6a31057a0 More Russian codepages.
Ryan C. Gordon <icculus@icculus.org>
parents: 439
diff changeset
    37
#define PHYSFS_LANG_ENGLISH            1  /* English by Ryan C. Gordon  */
585
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
    38
#define PHYSFS_LANG_RUSSIAN_KOI8_R     2  /* Russian by Ed Sinjiashvili */
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
    39
#define PHYSFS_LANG_RUSSIAN_CP1251     3  /* Russian by Ed Sinjiashvili */
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
    40
#define PHYSFS_LANG_RUSSIAN_CP866      4  /* Russian by Ed Sinjiashvili */
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
    41
#define PHYSFS_LANG_RUSSIAN_ISO_8859_5 5  /* Russian by Ed Sinjiashvili */
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
    42
/* need spanish. */
444
06f6a31057a0 More Russian codepages.
Ryan C. Gordon <icculus@icculus.org>
parents: 439
diff changeset
    43
#define PHYSFS_LANG_FRENCH             7  /*  French by Stéphane Peter  */
511
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
    44
#define PHYSFS_LANG_GERMAN             8  /*  German by Michael Renner  */
427
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    45
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    46
#if (PHYSFS_LANG == PHYSFS_LANG_ENGLISH)
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    47
 #define DIR_ARCHIVE_DESCRIPTION  "Non-archive, direct filesystem I/O"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    48
 #define GRP_ARCHIVE_DESCRIPTION  "Build engine Groupfile format"
553
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
    49
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
    50
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
582
d15d27e34a7e Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents: 578
diff changeset
    51
 #define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
427
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    52
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip compatible"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    53
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    54
 #define ERR_IS_INITIALIZED       "Already initialized"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    55
 #define ERR_NOT_INITIALIZED      "Not initialized"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    56
 #define ERR_INVALID_ARGUMENT     "Invalid argument"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    57
 #define ERR_FILES_STILL_OPEN     "Files still open"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    58
 #define ERR_NO_DIR_CREATE        "Failed to create directories"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    59
 #define ERR_OUT_OF_MEMORY        "Out of memory"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    60
 #define ERR_NOT_IN_SEARCH_PATH   "No such entry in search path"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    61
 #define ERR_NOT_SUPPORTED        "Operation not supported"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    62
 #define ERR_UNSUPPORTED_ARCHIVE  "Archive type unsupported"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    63
 #define ERR_NOT_A_HANDLE         "Not a file handle"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    64
 #define ERR_INSECURE_FNAME       "Insecure filename"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    65
 #define ERR_SYMLINK_DISALLOWED   "Symbolic links are disabled"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    66
 #define ERR_NO_WRITE_DIR         "Write directory is not set"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    67
 #define ERR_NO_SUCH_FILE         "File not found"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    68
 #define ERR_NO_SUCH_PATH         "Path not found"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    69
 #define ERR_NO_SUCH_VOLUME       "Volume not found"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    70
 #define ERR_PAST_EOF             "Past end of file"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    71
 #define ERR_ARC_IS_READ_ONLY     "Archive is read-only"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    72
 #define ERR_IO_ERROR             "I/O error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    73
 #define ERR_CANT_SET_WRITE_DIR   "Can't set write directory"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    74
 #define ERR_SYMLINK_LOOP         "Infinite symbolic link loop"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    75
 #define ERR_COMPRESSION          "(De)compression error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    76
 #define ERR_NOT_IMPLEMENTED      "Not implemented"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    77
 #define ERR_OS_ERROR             "Operating system reported error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    78
 #define ERR_FILE_EXISTS          "File already exists"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    79
 #define ERR_NOT_A_FILE           "Not a file"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    80
 #define ERR_NOT_A_DIR            "Not a directory"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    81
 #define ERR_NOT_AN_ARCHIVE       "Not an archive"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    82
 #define ERR_CORRUPTED            "Corrupted archive"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    83
 #define ERR_SEEK_OUT_OF_RANGE    "Seek out of range"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    84
 #define ERR_BAD_FILENAME         "Bad filename"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    85
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS made a bad system call"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    86
 #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    87
 #define ERR_ZLIB_NEED_DICT       "zlib: need dictionary"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    88
 #define ERR_ZLIB_DATA_ERROR      "zlib: data error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    89
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: memory error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    90
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: buffer error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    91
 #define ERR_ZLIB_VERSION_ERROR   "zlib: version error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    92
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: unknown error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    93
 #define ERR_SEARCHPATH_TRUNC     "Search path was truncated"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    94
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() was truncated"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    95
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() had no dir"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    96
 #define ERR_DISK_FULL            "Disk is full"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    97
 #define ERR_DIRECTORY_FULL       "Directory full"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    98
 #define ERR_MACOS_GENERIC        "MacOS reported error (%d)"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
    99
 #define ERR_OS2_GENERIC          "OS/2 reported error (%d)"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   100
 #define ERR_VOL_LOCKED_HW        "Volume is locked through hardware"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   101
 #define ERR_VOL_LOCKED_SW        "Volume is locked through software"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   102
 #define ERR_FILE_LOCKED          "File is locked"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   103
 #define ERR_FILE_OR_DIR_BUSY     "File/directory is busy"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   104
 #define ERR_FILE_ALREADY_OPEN_W  "File already open for writing"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   105
 #define ERR_FILE_ALREADY_OPEN_R  "File already open for reading"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   106
 #define ERR_INVALID_REFNUM       "Invalid reference number"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   107
 #define ERR_GETTING_FILE_POS     "Error getting file position"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   108
 #define ERR_VOLUME_OFFLINE       "Volume is offline"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   109
 #define ERR_PERMISSION_DENIED    "Permission denied"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   110
 #define ERR_VOL_ALREADY_ONLINE   "Volume already online"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   111
 #define ERR_NO_SUCH_DRIVE        "No such drive"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   112
 #define ERR_NOT_MAC_DISK         "Not a Macintosh disk"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   113
 #define ERR_VOL_EXTERNAL_FS      "Volume belongs to an external filesystem"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   114
 #define ERR_PROBLEM_RENAME       "Problem during rename"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   115
 #define ERR_BAD_MASTER_BLOCK     "Bad master directory block"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   116
 #define ERR_CANT_MOVE_FORBIDDEN  "Attempt to move forbidden"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   117
 #define ERR_WRONG_VOL_TYPE       "Wrong volume type"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   118
 #define ERR_SERVER_VOL_LOST      "Server volume has been disconnected"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   119
 #define ERR_FILE_ID_NOT_FOUND    "File ID not found"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   120
 #define ERR_FILE_ID_EXISTS       "File ID already exists"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   121
 #define ERR_SERVER_NO_RESPOND    "Server not responding"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   122
 #define ERR_USER_AUTH_FAILED     "User authentication failed"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   123
 #define ERR_PWORD_EXPIRED        "Password has expired on server"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   124
 #define ERR_ACCESS_DENIED        "Access denied"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   125
 #define ERR_NOT_A_DOS_DISK       "Not a DOS disk"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   126
 #define ERR_SHARING_VIOLATION    "Sharing violation"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   127
 #define ERR_CANNOT_MAKE          "Cannot make"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   128
 #define ERR_DEV_IN_USE           "Device already in use"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   129
 #define ERR_OPEN_FAILED          "Open failed"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   130
 #define ERR_PIPE_BUSY            "Pipe is busy"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   131
 #define ERR_SHARING_BUF_EXCEEDED "Sharing buffer exceeded"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   132
 #define ERR_TOO_MANY_HANDLES     "Too many open handles"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   133
 #define ERR_SEEK_ERROR           "Seek error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   134
 #define ERR_DEL_CWD              "Trying to delete current working directory"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   135
 #define ERR_WRITE_PROTECT_ERROR  "Write protect error"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   136
 #define ERR_WRITE_FAULT          "Write fault"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   137
 #define ERR_LOCK_VIOLATION       "Lock violation"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   138
 #define ERR_GEN_FAILURE          "General failure"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   139
 #define ERR_UNCERTAIN_MEDIA      "Uncertain media"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   140
 #define ERR_PROT_VIOLATION       "Protection violation"
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   141
 #define ERR_BROKEN_PIPE          "Broken pipe"
431
a1cb2bf24ce5 Added Russian translation by Ed Sinjiashvili.
Ryan C. Gordon <icculus@icculus.org>
parents: 427
diff changeset
   142
511
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   143
#elif (PHYSFS_LANG == PHYSFS_LANG_GERMAN)
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   144
 #define DIR_ARCHIVE_DESCRIPTION  "Kein Archiv, direkte Ein/Ausgabe in das Dateisystem"
582
d15d27e34a7e Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents: 578
diff changeset
   145
 #define GRP_ARCHIVE_DESCRIPTION  "Build engine Groupfile format"
553
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
   146
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
   147
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
582
d15d27e34a7e Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents: 578
diff changeset
   148
 #define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
511
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   149
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip kompatibel"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   150
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   151
 #define ERR_IS_INITIALIZED       "Bereits initialisiert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   152
 #define ERR_NOT_INITIALIZED      "Nicht initialisiert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   153
 #define ERR_INVALID_ARGUMENT     "Ungültiges Argument"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   154
 #define ERR_FILES_STILL_OPEN     "Dateien noch immer geöffnet"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   155
 #define ERR_NO_DIR_CREATE        "Fehler beim Erzeugen der Verzeichnisse"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   156
 #define ERR_OUT_OF_MEMORY        "Kein Speicher mehr frei"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   157
 #define ERR_NOT_IN_SEARCH_PATH   "Eintrag nicht im Suchpfad enthalten"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   158
 #define ERR_NOT_SUPPORTED        "Befehl nicht unterstützt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   159
 #define ERR_UNSUPPORTED_ARCHIVE  "Archiv-Typ nicht unterstützt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   160
 #define ERR_NOT_A_HANDLE         "Ist kein Dateideskriptor"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   161
 #define ERR_INSECURE_FNAME       "Unsicherer Dateiname"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   162
 #define ERR_SYMLINK_DISALLOWED   "Symbolische Verweise deaktiviert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   163
 #define ERR_NO_WRITE_DIR         "Schreibverzeichnis ist nicht gesetzt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   164
 #define ERR_NO_SUCH_FILE         "Datei nicht gefunden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   165
 #define ERR_NO_SUCH_PATH         "Pfad nicht gefunden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   166
 #define ERR_NO_SUCH_VOLUME       "Datencontainer nicht gefunden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   167
 #define ERR_PAST_EOF             "Hinter dem Ende der Datei"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   168
 #define ERR_ARC_IS_READ_ONLY     "Archiv ist schreibgeschützt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   169
 #define ERR_IO_ERROR             "Ein/Ausgabe Fehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   170
 #define ERR_CANT_SET_WRITE_DIR   "Kann Schreibverzeichnis nicht setzen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   171
 #define ERR_SYMLINK_LOOP         "Endlosschleife durch symbolische Verweise"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   172
 #define ERR_COMPRESSION          "(De)Kompressionsfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   173
 #define ERR_NOT_IMPLEMENTED      "Nicht implementiert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   174
 #define ERR_OS_ERROR             "Betriebssystem meldete Fehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   175
 #define ERR_FILE_EXISTS          "Datei existiert bereits"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   176
 #define ERR_NOT_A_FILE           "Ist keine Datei"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   177
 #define ERR_NOT_A_DIR            "Ist kein Verzeichnis"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   178
 #define ERR_NOT_AN_ARCHIVE       "Ist kein Archiv"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   179
 #define ERR_CORRUPTED            "Beschädigtes Archiv"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   180
 #define ERR_SEEK_OUT_OF_RANGE    "Suche war ausserhalb der Reichweite"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   181
 #define ERR_BAD_FILENAME         "Unzulässiger Dateiname"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   182
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS verursachte einen ungültigen Systemaufruf"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   183
 #define ERR_ARGV0_IS_NULL        "argv0 ist NULL"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   184
 #define ERR_ZLIB_NEED_DICT       "zlib: brauche Wörterbuch"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   185
 #define ERR_ZLIB_DATA_ERROR      "zlib: Datenfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   186
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: Speicherfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   187
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: Bufferfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   188
 #define ERR_ZLIB_VERSION_ERROR   "zlib: Versionskonflikt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   189
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: Unbekannter Fehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   190
 #define ERR_SEARCHPATH_TRUNC     "Suchpfad war abgeschnitten"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   191
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() war abgeschnitten"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   192
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() bekam kein Verzeichnis"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   193
 #define ERR_DISK_FULL            "Laufwerk ist voll"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   194
 #define ERR_DIRECTORY_FULL       "Verzeichnis ist voll"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   195
 #define ERR_MACOS_GENERIC        "MacOS meldete Fehler (%d)"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   196
 #define ERR_OS2_GENERIC          "OS/2 meldete Fehler (%d)"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   197
 #define ERR_VOL_LOCKED_HW        "Datencontainer ist durch Hardware gesperrt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   198
 #define ERR_VOL_LOCKED_SW        "Datencontainer ist durch Software gesperrt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   199
 #define ERR_FILE_LOCKED          "Datei ist gesperrt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   200
 #define ERR_FILE_OR_DIR_BUSY     "Datei/Verzeichnis ist beschäftigt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   201
 #define ERR_FILE_ALREADY_OPEN_W  "Datei schon im Schreibmodus geöffnet"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   202
 #define ERR_FILE_ALREADY_OPEN_R  "Datei schon im Lesemodus geöffnet"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   203
 #define ERR_INVALID_REFNUM       "Ungültige Referenznummer"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   204
 #define ERR_GETTING_FILE_POS     "Fehler beim Finden der Dateiposition"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   205
 #define ERR_VOLUME_OFFLINE       "Datencontainer ist offline"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   206
 #define ERR_PERMISSION_DENIED    "Zugriff verweigert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   207
 #define ERR_VOL_ALREADY_ONLINE   "Datencontainer ist bereits online"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   208
 #define ERR_NO_SUCH_DRIVE        "Laufwerk nicht vorhanden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   209
 #define ERR_NOT_MAC_DISK         "Ist kein Macintosh Laufwerk"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   210
 #define ERR_VOL_EXTERNAL_FS      "Datencontainer liegt auf einem externen Dateisystem"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   211
 #define ERR_PROBLEM_RENAME       "Fehler beim Umbenennen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   212
 #define ERR_BAD_MASTER_BLOCK     "Beschädigter Hauptverzeichnisblock"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   213
 #define ERR_CANT_MOVE_FORBIDDEN  "Verschieben nicht erlaubt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   214
 #define ERR_WRONG_VOL_TYPE       "Falscher Datencontainer-Typ"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   215
 #define ERR_SERVER_VOL_LOST      "Datencontainer am Server wurde getrennt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   216
 #define ERR_FILE_ID_NOT_FOUND    "Dateikennung nicht gefunden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   217
 #define ERR_FILE_ID_EXISTS       "Dateikennung existiert bereits"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   218
 #define ERR_SERVER_NO_RESPOND    "Server antwortet nicht"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   219
 #define ERR_USER_AUTH_FAILED     "Benutzerauthentifizierung fehlgeschlagen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   220
 #define ERR_PWORD_EXPIRED        "Passwort am Server ist abgelaufen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   221
 #define ERR_ACCESS_DENIED        "Zugriff verweigert"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   222
 #define ERR_NOT_A_DOS_DISK       "Ist kein DOS-Laufwerk"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   223
 #define ERR_SHARING_VIOLATION    "Zugriffsverletzung"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   224
 #define ERR_CANNOT_MAKE          "Kann nicht erzeugen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   225
 #define ERR_DEV_IN_USE           "Gerät wird bereits benutzt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   226
 #define ERR_OPEN_FAILED          "Öffnen fehlgeschlagen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   227
 #define ERR_PIPE_BUSY            "Pipeverbindung ist belegt"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   228
 #define ERR_SHARING_BUF_EXCEEDED "Zugriffsbuffer überschritten"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   229
 #define ERR_TOO_MANY_HANDLES     "Zu viele offene Dateien"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   230
 #define ERR_SEEK_ERROR           "Fehler beim Suchen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   231
 #define ERR_DEL_CWD              "Aktuelles Arbeitsverzeichnis darf nicht gelöscht werden"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   232
 #define ERR_WRITE_PROTECT_ERROR  "Schreibschutzfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   233
 #define ERR_WRITE_FAULT          "Schreibfehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   234
 #define ERR_LOCK_VIOLATION       "Sperrverletzung"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   235
 #define ERR_GEN_FAILURE          "Allgemeiner Fehler"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   236
 #define ERR_UNCERTAIN_MEDIA      "Unsicheres Medium"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   237
 #define ERR_PROT_VIOLATION       "Schutzverletzung"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   238
 #define ERR_BROKEN_PIPE          "Pipeverbindung unterbrochen"
7a36b164a975 Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents: 508
diff changeset
   239
585
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   240
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_KOI8_R)
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   241
 #define DIR_ARCHIVE_DESCRIPTION  "îÅ ÁÒÈÉ×, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÙÊ ××ÏÄ/×Ù×ÏÄ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   242
 #define GRP_ARCHIVE_DESCRIPTION  "æÏÒÍÁÔ ÇÒÕÐÐÏ×ÏÇÏ ÆÁÊÌÁ Build engine"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   243
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   244
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   245
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip ÓÏ×ÍÅÓÔÉÍÙÊ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   246
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   247
 #define ERR_IS_INITIALIZED       "õÖÅ ÉÎÉÃÉÁÌÉÚÉÒÏ×ÁÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   248
 #define ERR_NOT_INITIALIZED      "îÅ ÉÎÉÃÉÁÌÉÚÉÒÏ×ÁÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   249
 #define ERR_INVALID_ARGUMENT     "îÅ×ÅÒÎÙÊ ÁÒÇÕÍÅÎÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   250
 #define ERR_FILES_STILL_OPEN     "æÁÊÌÙ ÅÝÅ ÏÔËÒÙÔÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   251
 #define ERR_NO_DIR_CREATE        "îÅ ÍÏÇÕ ÓÏÚÄÁÔØ ËÁÔÁÌÏÇÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   252
 #define ERR_OUT_OF_MEMORY        "ëÏÎÞÉÌÁÓØ ÐÁÍÑÔØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   253
 #define ERR_NOT_IN_SEARCH_PATH   "îÅÔ ÔÁËÏÇÏ ÜÌÅÍÅÎÔÁ × ÐÕÔÉ ÐÏÉÓËÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   254
 #define ERR_NOT_SUPPORTED        "ïÐÅÒÁÃÉÑ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   255
 #define ERR_UNSUPPORTED_ARCHIVE  "áÒÈÉ×Ù ÔÁËÏÇÏ ÔÉÐÁ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÀÔÓÑ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   256
 #define ERR_NOT_A_HANDLE         "îÅ ÆÁÊÌÏ×ÙÊ ÄÅÓËÒÉÐÔÏÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   257
 #define ERR_INSECURE_FNAME       "îÅÂÅÚÏÐÁÓÎÏÅ ÉÍÑ ÆÁÊÌÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   258
 #define ERR_SYMLINK_DISALLOWED   "óÉÍ×ÏÌØÎÙÅ ÓÓÙÌËÉ ÏÔËÌÀÞÅÎÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   259
 #define ERR_NO_WRITE_DIR         "ëÁÔÁÌÏÇ ÄÌÑ ÚÁÐÉÓÉ ÎÅ ÕÓÔÁÎÏ×ÌÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   260
 #define ERR_NO_SUCH_FILE         "æÁÊÌ ÎÅ ÎÁÊÄÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   261
 #define ERR_NO_SUCH_PATH         "ðÕÔØ ÎÅ ÎÁÊÄÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   262
 #define ERR_NO_SUCH_VOLUME       "ôÏÍ ÎÅ ÎÁÊÄÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   263
 #define ERR_PAST_EOF             "úÁ ËÏÎÃÏÍ ÆÁÊÌÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   264
 #define ERR_ARC_IS_READ_ONLY     "áÒÈÉ× ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   265
 #define ERR_IO_ERROR             "ïÛÉÂËÁ ××ÏÄÁ/×Ù×ÏÄÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   266
 #define ERR_CANT_SET_WRITE_DIR   "îÅ ÍÏÇÕ ÕÓÔÁÎÏ×ÉÔØ ËÁÔÁÌÏÇ ÄÌÑ ÚÁÐÉÓÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   267
 #define ERR_SYMLINK_LOOP         "âÅÓËÏÎÅÞÎÙÊ ÃÉËÌ ÓÉÍ×ÏÌØÎÏÊ ÓÓÙÌËÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   268
 #define ERR_COMPRESSION          "ïÛÉÂËÁ (òÁÓ)ÐÁËÏ×ËÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   269
 #define ERR_NOT_IMPLEMENTED      "îÅ ÒÅÁÌÉÚÏ×ÁÎÏ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   270
 #define ERR_OS_ERROR             "ïÐÅÒÁÃÉÏÎÎÁÑ ÓÉÓÔÅÍÁ ÓÏÏÂÝÉÌÁ ÏÛÉÂËÕ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   271
 #define ERR_FILE_EXISTS          "æÁÊÌ ÕÖÅ ÓÕÝÅÓÔ×ÕÅÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   272
 #define ERR_NOT_A_FILE           "îÅ ÆÁÊÌ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   273
 #define ERR_NOT_A_DIR            "îÅ ËÁÔÁÌÏÇ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   274
 #define ERR_NOT_AN_ARCHIVE       "îÅ ÁÒÈÉ×"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   275
 #define ERR_CORRUPTED            "ðÏ×ÒÅÖÄÅÎÎÙÊ ÁÒÈÉ×"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   276
 #define ERR_SEEK_OUT_OF_RANGE    "ðÏÚÉÃÉÏÎÉÒÏ×ÁÎÉÅ ÚÁ ÐÒÅÄÅÌÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   277
 #define ERR_BAD_FILENAME         "îÅ×ÅÒÎÏÅ ÉÍÑ ÆÁÊÌÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   278
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS ×ÙÐÏÌÎÉÌÁ ÎÅ×ÅÒÎÙÊ ÓÉÓÔÅÍÎÙÊ ×ÙÚÏ×"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   279
 #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   280
 #define ERR_ZLIB_NEED_DICT       "zlib: ÎÕÖÅÎ ÓÌÏ×ÁÒØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   281
 #define ERR_ZLIB_DATA_ERROR      "zlib: ÏÛÉÂËÁ ÄÁÎÎÙÈ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   282
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: ÏÛÉÂËÁ ÐÁÍÑÔÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   283
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: ÏÛÉÂËÁ ÂÕÆÅÒÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   284
 #define ERR_ZLIB_VERSION_ERROR   "zlib: ÏÛÉÂËÁ ×ÅÒÓÉÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   285
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: ÎÅÉÚ×ÅÓÔÎÁÑ ÏÛÉÂËÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   286
 #define ERR_SEARCHPATH_TRUNC     "ðÕÔØ ÐÏÉÓËÁ ÏÂÒÅÚÁÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   287
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() ÏÂÒÅÚÁÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   288
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() ÎÅ ÐÏÌÕÞÉÌ ËÁÔÁÌÏÇ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   289
 #define ERR_DISK_FULL            "äÉÓË ÐÏÌÏÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   290
 #define ERR_DIRECTORY_FULL       "ëÁÔÁÌÏÇ ÐÏÌÏÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   291
 #define ERR_MACOS_GENERIC        "MacOS ÓÏÏÂÝÉÌÁ ÏÛÉÂËÕ (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   292
 #define ERR_OS2_GENERIC          "OS/2 ÓÏÏÂÝÉÌÁ ÏÛÉÂËÕ (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   293
 #define ERR_VOL_LOCKED_HW        "ôÏÍ ÂÌÏËÉÒÏ×ÁÎ ÁÐÐÁÒÁÔÎÏ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   294
 #define ERR_VOL_LOCKED_SW        "ôÏÍ ÂÌÏËÉÒÏ×ÁÎ ÐÒÏÇÒÁÍÍÎÏ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   295
 #define ERR_FILE_LOCKED          "æÁÊÌ ÚÁÂÌÏËÉÒÏ×ÁÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   296
 #define ERR_FILE_OR_DIR_BUSY     "æÁÊÌ/ËÁÔÁÌÏÇ ÚÁÎÑÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   297
 #define ERR_FILE_ALREADY_OPEN_W  "æÁÊÌ ÕÖÅ ÏÔËÒÙÔ ÎÁ ÚÁÐÉÓØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   298
 #define ERR_FILE_ALREADY_OPEN_R  "æÁÊÌ ÕÖÅ ÏÔËÒÙÔ ÎÁ ÞÔÅÎÉÅ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   299
 #define ERR_INVALID_REFNUM       "îÅ×ÅÒÎÏÅ ËÏÌÉÞÅÓÔ×Ï ÓÓÙÌÏË"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   300
 #define ERR_GETTING_FILE_POS     "ïÛÉÂËÁ ÐÒÉ ÐÏÌÕÞÅÎÉÉ ÐÏÚÉÃÉÉ ÆÁÊÌÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   301
 #define ERR_VOLUME_OFFLINE       "ôÏÍ ÏÔÓÏÅÄÉÎÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   302
 #define ERR_PERMISSION_DENIED    "ïÔËÁÚÁÎÏ × ÒÁÚÒÅÛÅÎÉÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   303
 #define ERR_VOL_ALREADY_ONLINE   "ôÏÍ ÕÖÅ ÐÏÄÓÏÅÄÉÎÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   304
 #define ERR_NO_SUCH_DRIVE        "îÅÔ ÔÁËÏÇÏ ÄÉÓËÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   305
 #define ERR_NOT_MAC_DISK         "îÅ ÄÉÓË Macintosh"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   306
 #define ERR_VOL_EXTERNAL_FS      "ôÏÍ ÐÒÉÎÁÄÌÅÖÉÔ ×ÎÅÛÎÅÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÅ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   307
 #define ERR_PROBLEM_RENAME       "ðÒÏÂÌÅÍÁ ÐÒÉ ÐÅÒÅÉÍÅÎÏ×ÁÎÉÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   308
 #define ERR_BAD_MASTER_BLOCK     "ðÌÏÈÏÊ ÇÌÁ×ÎÙÊ ÂÌÏË ËÁÔÁÌÏÇÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   309
 #define ERR_CANT_MOVE_FORBIDDEN  "ðÏÐÙÔËÁ ÐÅÒÅÍÅÓÔÉÔØ ÚÁÐÒÅÝÅÎÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   310
 #define ERR_WRONG_VOL_TYPE       "îÅ×ÅÒÎÙÊ ÔÉÐ ÔÏÍÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   311
 #define ERR_SERVER_VOL_LOST      "óÅÒ×ÅÒÎÙÊ ÔÏÍ ÂÙÌ ÏÔÓÏÅÄÉÎÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   312
 #define ERR_FILE_ID_NOT_FOUND    "éÄÅÎÔÉÆÉËÁÔÏÒ ÆÁÊÌÁ ÎÅ ÎÁÊÄÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   313
 #define ERR_FILE_ID_EXISTS       "éÄÅÎÔÉÆÉËÁÔÏÒ ÆÁÊÌÁ ÕÖÅ ÓÕÝÅÓÔ×ÕÅÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   314
 #define ERR_SERVER_NO_RESPOND    "óÅÒ×ÅÒ ÎÅ ÏÔ×ÅÞÁÅÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   315
 #define ERR_USER_AUTH_FAILED     "éÄÅÎÔÉÆÉËÁÃÉÑ ÐÏÌØÚÏ×ÁÔÅÌÑ ÎÅ ÕÄÁÌÁÓØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   316
 #define ERR_PWORD_EXPIRED        "ðÁÒÏÌØ ÎÁ ÓÅÒ×ÅÒÅ ÕÓÔÁÒÅÌ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   317
 #define ERR_ACCESS_DENIED        "ïÔËÁÚÁÎÏ × ÄÏÓÔÕÐÅ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   318
 #define ERR_NOT_A_DOS_DISK       "îÅ ÄÉÓË DOS"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   319
 #define ERR_SHARING_VIOLATION    "îÁÒÕÛÅÎÉÅ ÓÏ×ÍÅÓÔÎÏÇÏ ÄÏÓÔÕÐÁ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   320
 #define ERR_CANNOT_MAKE          "îÅ ÍÏÇÕ ÓÏÂÒÁÔØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   321
 #define ERR_DEV_IN_USE           "õÓÔÒÏÊÓÔ×Ï ÕÖÅ ÉÓÐÏÌØÚÕÅÔÓÑ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   322
 #define ERR_OPEN_FAILED          "ïÔËÒÙÔÉÅ ÎÅ ÕÄÁÌÏÓØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   323
 #define ERR_PIPE_BUSY            "ëÏÎ×ÅÊÅÒ ÚÁÎÑÔ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   324
 #define ERR_SHARING_BUF_EXCEEDED "òÁÚÄÅÌÑÅÍÙÊ ÂÕÆÅÒ ÐÅÒÅÐÏÌÎÅÎ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   325
 #define ERR_TOO_MANY_HANDLES     "óÌÉÛËÏÍ ÍÎÏÇÏ ÏÔËÒÙÔÙÈ ÄÅÓËÒÉÐÔÏÒÏ×"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   326
 #define ERR_SEEK_ERROR           "ïÛÉÂËÁ ÐÏÚÉÃÉÏÎÉÒÏ×ÁÎÉÑ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   327
 #define ERR_DEL_CWD              "ðÏÐÙÔËÁ ÕÄÁÌÉÔØ ÔÅËÕÝÉÊ ÒÁÂÏÞÉÊ ËÁÔÁÌÏÇ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   328
 #define ERR_WRITE_PROTECT_ERROR  "ïÛÉÂËÁ ÚÁÝÉÔÙ ÚÁÐÉÓÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   329
 #define ERR_WRITE_FAULT          "ïÛÉÂËÁ ÚÁÐÉÓÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   330
 #define ERR_LOCK_VIOLATION       "îÁÒÕÛÅÎÉÅ ÂÌÏËÉÒÏ×ËÉ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   331
 #define ERR_GEN_FAILURE          "ïÂÝÉÊ ÓÂÏÊ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   332
 #define ERR_UNCERTAIN_MEDIA      "îÅÏÐÒÅÄÅÌÅÎÎÙÊ ÎÏÓÉÔÅÌØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   333
 #define ERR_PROT_VIOLATION       "îÁÒÕÛÅÎÉÅ ÚÁÝÉÔÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   334
 #define ERR_BROKEN_PIPE          "óÌÏÍÁÎÎÙÊ ËÏÎ×ÅÊÅÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   335
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   336
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_CP1251)
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   337
 #define DIR_ARCHIVE_DESCRIPTION  "Íå àðõèâ, íåïîñðåäñòâåííûé ââîä/âûâîä ôàéëîâîé ñèñòåìû"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   338
 #define GRP_ARCHIVE_DESCRIPTION  "Ôîðìàò ãðóïïîâîãî ôàéëà Build engine"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   339
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   340
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   341
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip ñîâìåñòèìûé"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   342
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   343
 #define ERR_IS_INITIALIZED       "Óæå èíèöèàëèçèðîâàí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   344
 #define ERR_NOT_INITIALIZED      "Íå èíèöèàëèçèðîâàí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   345
 #define ERR_INVALID_ARGUMENT     "Íåâåðíûé àðãóìåíò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   346
 #define ERR_FILES_STILL_OPEN     "Ôàéëû åùå îòêðûòû"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   347
 #define ERR_NO_DIR_CREATE        "Íå ìîãó ñîçäàòü êàòàëîãè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   348
 #define ERR_OUT_OF_MEMORY        "Êîí÷èëàñü ïàìÿòü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   349
 #define ERR_NOT_IN_SEARCH_PATH   "Íåò òàêîãî ýëåìåíòà â ïóòè ïîèñêà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   350
 #define ERR_NOT_SUPPORTED        "Îïåðàöèÿ íå ïîääåðæèâàåòñÿ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   351
 #define ERR_UNSUPPORTED_ARCHIVE  "Àðõèâû òàêîãî òèïà íå ïîääåðæèâàþòñÿ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   352
 #define ERR_NOT_A_HANDLE         "Íå ôàéëîâûé äåñêðèïòîð"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   353
 #define ERR_INSECURE_FNAME       "Íåáåçîïàñíîå èìÿ ôàéëà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   354
 #define ERR_SYMLINK_DISALLOWED   "Ñèìâîëüíûå ññûëêè îòêëþ÷åíû"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   355
 #define ERR_NO_WRITE_DIR         "Êàòàëîã äëÿ çàïèñè íå óñòàíîâëåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   356
 #define ERR_NO_SUCH_FILE         "Ôàéë íå íàéäåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   357
 #define ERR_NO_SUCH_PATH         "Ïóòü íå íàéäåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   358
 #define ERR_NO_SUCH_VOLUME       "Òîì íå íàéäåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   359
 #define ERR_PAST_EOF             "Çà êîíöîì ôàéëà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   360
 #define ERR_ARC_IS_READ_ONLY     "Àðõèâ òîëüêî äëÿ ÷òåíèÿ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   361
 #define ERR_IO_ERROR             "Îøèáêà ââîäà/âûâîäà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   362
 #define ERR_CANT_SET_WRITE_DIR   "Íå ìîãó óñòàíîâèòü êàòàëîã äëÿ çàïèñè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   363
 #define ERR_SYMLINK_LOOP         "Áåñêîíå÷íûé öèêë ñèìâîëüíîé ññûëêè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   364
 #define ERR_COMPRESSION          "Îøèáêà (Ðàñ)ïàêîâêè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   365
 #define ERR_NOT_IMPLEMENTED      "Íå ðåàëèçîâàíî"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   366
 #define ERR_OS_ERROR             "Îïåðàöèîííàÿ ñèñòåìà ñîîáùèëà îøèáêó"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   367
 #define ERR_FILE_EXISTS          "Ôàéë óæå ñóùåñòâóåò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   368
 #define ERR_NOT_A_FILE           "Íå ôàéë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   369
 #define ERR_NOT_A_DIR            "Íå êàòàëîã"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   370
 #define ERR_NOT_AN_ARCHIVE       "Íå àðõèâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   371
 #define ERR_CORRUPTED            "Ïîâðåæäåííûé àðõèâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   372
 #define ERR_SEEK_OUT_OF_RANGE    "Ïîçèöèîíèðîâàíèå çà ïðåäåëû"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   373
 #define ERR_BAD_FILENAME         "Íåâåðíîå èìÿ ôàéëà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   374
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS âûïîëíèëà íåâåðíûé ñèñòåìíûé âûçîâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   375
 #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   376
 #define ERR_ZLIB_NEED_DICT       "zlib: íóæåí ñëîâàðü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   377
 #define ERR_ZLIB_DATA_ERROR      "zlib: îøèáêà äàííûõ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   378
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: îøèáêà ïàìÿòè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   379
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: îøèáêà áóôåðà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   380
 #define ERR_ZLIB_VERSION_ERROR   "zlib: îøèáêà âåðñèè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   381
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: íåèçâåñòíàÿ îøèáêà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   382
 #define ERR_SEARCHPATH_TRUNC     "Ïóòü ïîèñêà îáðåçàí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   383
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() îáðåçàí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   384
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() íå ïîëó÷èë êàòàëîã"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   385
 #define ERR_DISK_FULL            "Äèñê ïîëîí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   386
 #define ERR_DIRECTORY_FULL       "Êàòàëîã ïîëîí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   387
 #define ERR_MACOS_GENERIC        "MacOS ñîîáùèëà îøèáêó (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   388
 #define ERR_OS2_GENERIC          "OS/2 ñîîáùèëà îøèáêó (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   389
 #define ERR_VOL_LOCKED_HW        "Òîì áëîêèðîâàí àïïàðàòíî"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   390
 #define ERR_VOL_LOCKED_SW        "Òîì áëîêèðîâàí ïðîãðàììíî"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   391
 #define ERR_FILE_LOCKED          "Ôàéë çàáëîêèðîâàí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   392
 #define ERR_FILE_OR_DIR_BUSY     "Ôàéë/êàòàëîã çàíÿò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   393
 #define ERR_FILE_ALREADY_OPEN_W  "Ôàéë óæå îòêðûò íà çàïèñü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   394
 #define ERR_FILE_ALREADY_OPEN_R  "Ôàéë óæå îòêðûò íà ÷òåíèå"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   395
 #define ERR_INVALID_REFNUM       "Íåâåðíîå êîëè÷åñòâî ññûëîê"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   396
 #define ERR_GETTING_FILE_POS     "Îøèáêà ïðè ïîëó÷åíèè ïîçèöèè ôàéëà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   397
 #define ERR_VOLUME_OFFLINE       "Òîì îòñîåäèíåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   398
 #define ERR_PERMISSION_DENIED    "Îòêàçàíî â ðàçðåøåíèè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   399
 #define ERR_VOL_ALREADY_ONLINE   "Òîì óæå ïîäñîåäèíåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   400
 #define ERR_NO_SUCH_DRIVE        "Íåò òàêîãî äèñêà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   401
 #define ERR_NOT_MAC_DISK         "Íå äèñê Macintosh"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   402
 #define ERR_VOL_EXTERNAL_FS      "Òîì ïðèíàäëåæèò âíåøíåé ôàéëîâîé ñèñòåìå"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   403
 #define ERR_PROBLEM_RENAME       "Ïðîáëåìà ïðè ïåðåèìåíîâàíèè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   404
 #define ERR_BAD_MASTER_BLOCK     "Ïëîõîé ãëàâíûé áëîê êàòàëîãà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   405
 #define ERR_CANT_MOVE_FORBIDDEN  "Ïîïûòêà ïåðåìåñòèòü çàïðåùåíà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   406
 #define ERR_WRONG_VOL_TYPE       "Íåâåðíûé òèï òîìà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   407
 #define ERR_SERVER_VOL_LOST      "Ñåðâåðíûé òîì áûë îòñîåäèíåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   408
 #define ERR_FILE_ID_NOT_FOUND    "Èäåíòèôèêàòîð ôàéëà íå íàéäåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   409
 #define ERR_FILE_ID_EXISTS       "Èäåíòèôèêàòîð ôàéëà óæå ñóùåñòâóåò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   410
 #define ERR_SERVER_NO_RESPOND    "Ñåðâåð íå îòâå÷àåò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   411
 #define ERR_USER_AUTH_FAILED     "Èäåíòèôèêàöèÿ ïîëüçîâàòåëÿ íå óäàëàñü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   412
 #define ERR_PWORD_EXPIRED        "Ïàðîëü íà ñåðâåðå óñòàðåë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   413
 #define ERR_ACCESS_DENIED        "Îòêàçàíî â äîñòóïå"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   414
 #define ERR_NOT_A_DOS_DISK       "Íå äèñê DOS"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   415
 #define ERR_SHARING_VIOLATION    "Íàðóøåíèå ñîâìåñòíîãî äîñòóïà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   416
 #define ERR_CANNOT_MAKE          "Íå ìîãó ñîáðàòü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   417
 #define ERR_DEV_IN_USE           "Óñòðîéñòâî óæå èñïîëüçóåòñÿ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   418
 #define ERR_OPEN_FAILED          "Îòêðûòèå íå óäàëîñü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   419
 #define ERR_PIPE_BUSY            "Êîíâåéåð çàíÿò"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   420
 #define ERR_SHARING_BUF_EXCEEDED "Ðàçäåëÿåìûé áóôåð ïåðåïîëíåí"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   421
 #define ERR_TOO_MANY_HANDLES     "Ñëèøêîì ìíîãî îòêðûòûõ äåñêðèïòîðîâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   422
 #define ERR_SEEK_ERROR           "Îøèáêà ïîçèöèîíèðîâàíèÿ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   423
 #define ERR_DEL_CWD              "Ïîïûòêà óäàëèòü òåêóùèé ðàáî÷èé êàòàëîã"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   424
 #define ERR_WRITE_PROTECT_ERROR  "Îøèáêà çàùèòû çàïèñè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   425
 #define ERR_WRITE_FAULT          "Îøèáêà çàïèñè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   426
 #define ERR_LOCK_VIOLATION       "Íàðóøåíèå áëîêèðîâêè"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   427
 #define ERR_GEN_FAILURE          "Îáùèé ñáîé"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   428
 #define ERR_UNCERTAIN_MEDIA      "Íåîïðåäåëåííûé íîñèòåëü"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   429
 #define ERR_PROT_VIOLATION       "Íàðóøåíèå çàùèòû"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   430
 #define ERR_BROKEN_PIPE          "Ñëîìàííûé êîíâåéåð"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   431
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   432
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_CP866)
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   433
 #define DIR_ARCHIVE_DESCRIPTION  "¥  à娢, ­¥¯®á।á⢥­­ë© ¢¢®¤/¢ë¢®¤ ä ©«®¢®© á¨á⥬ë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   434
 #define GRP_ARCHIVE_DESCRIPTION  "”®à¬ â £à㯯®¢®£® ä ©«  Build engine"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   435
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   436
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   437
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip ᮢ¬¥á⨬ë©"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   438
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   439
 #define ERR_IS_INITIALIZED       "“¦¥ ¨­¨æ¨ «¨§¨à®¢ ­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   440
 #define ERR_NOT_INITIALIZED      "¥ ¨­¨æ¨ «¨§¨à®¢ ­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   441
 #define ERR_INVALID_ARGUMENT     "¥¢¥à­ë©  à£ã¬¥­â"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   442
 #define ERR_FILES_STILL_OPEN     "” ©«ë ¥é¥ ®âªàëâë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   443
 #define ERR_NO_DIR_CREATE        "¥ ¬®£ã á®§¤ âì ª â «®£¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   444
 #define ERR_OUT_OF_MEMORY        "Š®­ç¨« áì ¯ ¬ïâì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   445
 #define ERR_NOT_IN_SEARCH_PATH   "¥â â ª®£® í«¥¬¥­â  ¢ ¯ã⨠¯®¨áª "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   446
 #define ERR_NOT_SUPPORTED        "ޝ¥à æ¨ï ­¥ ¯®¤¤¥à¦¨¢ ¥âáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   447
 #define ERR_UNSUPPORTED_ARCHIVE  "€à娢ë â ª®£® ⨯  ­¥ ¯®¤¤¥à¦¨¢ îâáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   448
 #define ERR_NOT_A_HANDLE         "¥ ä ©«®¢ë© ¤¥áªà¨¯â®à"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   449
 #define ERR_INSECURE_FNAME       "¥¡¥§®¯ á­®¥ ¨¬ï ä ©« "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   450
 #define ERR_SYMLINK_DISALLOWED   "‘¨¬¢®«ì­ë¥ áá뫪¨ ®âª«î祭ë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   451
 #define ERR_NO_WRITE_DIR         "Š â «®£ ¤«ï § ¯¨á¨ ­¥ ãáâ ­®¢«¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   452
 #define ERR_NO_SUCH_FILE         "” ©« ­¥ ­ ©¤¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   453
 #define ERR_NO_SUCH_PATH         "ãâì ­¥ ­ ©¤¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   454
 #define ERR_NO_SUCH_VOLUME       "’®¬ ­¥ ­ ©¤¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   455
 #define ERR_PAST_EOF             "‡  ª®­æ®¬ ä ©« "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   456
 #define ERR_ARC_IS_READ_ONLY     "€à娢 ⮫쪮 ¤«ï ç⥭¨ï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   457
 #define ERR_IO_ERROR             "Žè¨¡ª  ¢¢®¤ /¢ë¢®¤ "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   458
 #define ERR_CANT_SET_WRITE_DIR   "¥ ¬®£ã ãáâ ­®¢¨âì ª â «®£ ¤«ï § ¯¨á¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   459
 #define ERR_SYMLINK_LOOP         "¥áª®­¥ç­ë© 横« ᨬ¢®«ì­®© áá뫪¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   460
 #define ERR_COMPRESSION          "Žè¨¡ª  ( á)¯ ª®¢ª¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   461
 #define ERR_NOT_IMPLEMENTED      "¥ ॠ«¨§®¢ ­®"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   462
 #define ERR_OS_ERROR             "ޝ¥à æ¨®­­ ï á¨á⥬  á®®¡é¨«  ®è¨¡ªã"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   463
 #define ERR_FILE_EXISTS          "” ©« 㦥 áãé¥áâ¢ã¥â"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   464
 #define ERR_NOT_A_FILE           "¥ ä ©«"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   465
 #define ERR_NOT_A_DIR            "¥ ª â «®£"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   466
 #define ERR_NOT_AN_ARCHIVE       "¥  à娢"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   467
 #define ERR_CORRUPTED            "®¢à¥¦¤¥­­ë©  à娢"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   468
 #define ERR_SEEK_OUT_OF_RANGE    "®§¨æ¨®­¨à®¢ ­¨¥ §  ¯à¥¤¥«ë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   469
 #define ERR_BAD_FILENAME         "¥¢¥à­®¥ ¨¬ï ä ©« "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   470
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS ¢ë¯®«­¨«  ­¥¢¥à­ë© á¨á⥬­ë© ¢ë§®¢"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   471
 #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   472
 #define ERR_ZLIB_NEED_DICT       "zlib: ­ã¦¥­ á«®¢ àì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   473
 #define ERR_ZLIB_DATA_ERROR      "zlib: ®è¨¡ª  ¤ ­­ëå"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   474
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: ®è¨¡ª  ¯ ¬ïâ¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   475
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: ®è¨¡ª  ¡ãä¥à "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   476
 #define ERR_ZLIB_VERSION_ERROR   "zlib: ®è¨¡ª  ¢¥àᨨ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   477
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: ­¥¨§¢¥áâ­ ï ®è¨¡ª "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   478
 #define ERR_SEARCHPATH_TRUNC     "ãâì ¯®¨áª  ®¡à¥§ ­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   479
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() ®¡à¥§ ­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   480
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() ­¥ ¯®«ã稫 ª â «®£"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   481
 #define ERR_DISK_FULL            "„¨áª ¯®«®­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   482
 #define ERR_DIRECTORY_FULL       "Š â «®£ ¯®«®­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   483
 #define ERR_MACOS_GENERIC        "MacOS á®®¡é¨«  ®è¨¡ªã (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   484
 #define ERR_OS2_GENERIC          "OS/2 á®®¡é¨«  ®è¨¡ªã (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   485
 #define ERR_VOL_LOCKED_HW        "’®¬ ¡«®ª¨à®¢ ­  ¯¯ à â­®"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   486
 #define ERR_VOL_LOCKED_SW        "’®¬ ¡«®ª¨à®¢ ­ ¯à®£à ¬¬­®"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   487
 #define ERR_FILE_LOCKED          "” ©« § ¡«®ª¨à®¢ ­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   488
 #define ERR_FILE_OR_DIR_BUSY     "” ©«/ª â «®£ § ­ïâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   489
 #define ERR_FILE_ALREADY_OPEN_W  "” ©« 㦥 ®âªàëâ ­  § ¯¨áì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   490
 #define ERR_FILE_ALREADY_OPEN_R  "” ©« 㦥 ®âªàëâ ­  ç⥭¨¥"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   491
 #define ERR_INVALID_REFNUM       "¥¢¥à­®¥ ª®«¨ç¥á⢮ ááë«®ª"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   492
 #define ERR_GETTING_FILE_POS     "Žè¨¡ª  ¯à¨ ¯®«ã祭¨¨ ¯®§¨æ¨¨ ä ©« "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   493
 #define ERR_VOLUME_OFFLINE       "’®¬ ®âᮥ¤¨­¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   494
 #define ERR_PERMISSION_DENIED    "Žâª § ­® ¢ à §à¥è¥­¨¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   495
 #define ERR_VOL_ALREADY_ONLINE   "’®¬ 㦥 ¯®¤á®¥¤¨­¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   496
 #define ERR_NO_SUCH_DRIVE        "¥â â ª®£® ¤¨áª "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   497
 #define ERR_NOT_MAC_DISK         "¥ ¤¨áª Macintosh"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   498
 #define ERR_VOL_EXTERNAL_FS      "’®¬ ¯à¨­ ¤«¥¦¨â ¢­¥è­¥© ä ©«®¢®© á¨á⥬¥"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   499
 #define ERR_PROBLEM_RENAME       "஡«¥¬  ¯à¨ ¯¥à¥¨¬¥­®¢ ­¨¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   500
 #define ERR_BAD_MASTER_BLOCK     "«®å®© £« ¢­ë© ¡«®ª ª â «®£ "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   501
 #define ERR_CANT_MOVE_FORBIDDEN  "®¯ë⪠ ¯¥à¥¬¥áâ¨âì § ¯à¥é¥­ "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   502
 #define ERR_WRONG_VOL_TYPE       "¥¢¥à­ë© ⨯ ⮬ "
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   503
 #define ERR_SERVER_VOL_LOST      "‘¥à¢¥à­ë© ⮬ ¡ë« ®âᮥ¤¨­¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   504
 #define ERR_FILE_ID_NOT_FOUND    "ˆ¤¥­â¨ä¨ª â®à ä ©«  ­¥ ­ ©¤¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   505
 #define ERR_FILE_ID_EXISTS       "ˆ¤¥­â¨ä¨ª â®à ä ©«  㦥 áãé¥áâ¢ã¥â"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   506
 #define ERR_SERVER_NO_RESPOND    "‘¥à¢¥à ­¥ ®â¢¥ç ¥â"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   507
 #define ERR_USER_AUTH_FAILED     "ˆ¤¥­â¨ä¨ª æ¨ï ¯®«ì§®¢ â¥«ï ­¥ 㤠« áì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   508
 #define ERR_PWORD_EXPIRED        " à®«ì ­  á¥à¢¥à¥ ãáâ à¥«"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   509
 #define ERR_ACCESS_DENIED        "Žâª § ­® ¢ ¤®áâ㯥"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   510
 #define ERR_NOT_A_DOS_DISK       "¥ ¤¨áª DOS"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   511
 #define ERR_SHARING_VIOLATION    " àã襭¨¥ ᮢ¬¥áâ­®£® ¤®áâ㯠"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   512
 #define ERR_CANNOT_MAKE          "¥ ¬®£ã ᮡà âì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   513
 #define ERR_DEV_IN_USE           "“áâனá⢮ 㦥 ¨á¯®«ì§ã¥âáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   514
 #define ERR_OPEN_FAILED          "Žâªàë⨥ ­¥ 㤠«®áì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   515
 #define ERR_PIPE_BUSY            "Š®­¢¥©¥à § ­ïâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   516
 #define ERR_SHARING_BUF_EXCEEDED " §¤¥«ï¥¬ë© ¡ãä¥à ¯¥à¥¯®«­¥­"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   517
 #define ERR_TOO_MANY_HANDLES     "‘«¨èª®¬ ¬­®£® ®âªàëâëå ¤¥áªà¨¯â®à®¢"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   518
 #define ERR_SEEK_ERROR           "Žè¨¡ª  ¯®§¨æ¨®­¨à®¢ ­¨ï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   519
 #define ERR_DEL_CWD              "®¯ë⪠ 㤠«¨âì ⥪ã騩 à ¡®ç¨© ª â «®£"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   520
 #define ERR_WRITE_PROTECT_ERROR  "Žè¨¡ª  § é¨âë § ¯¨á¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   521
 #define ERR_WRITE_FAULT          "Žè¨¡ª  § ¯¨á¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   522
 #define ERR_LOCK_VIOLATION       " àã襭¨¥ ¡«®ª¨à®¢ª¨"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   523
 #define ERR_GEN_FAILURE          "ޡ鍩 á¡®©"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   524
 #define ERR_UNCERTAIN_MEDIA      "¥®¯à¥¤¥«¥­­ë© ­®á¨â¥«ì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   525
 #define ERR_PROT_VIOLATION       " àã襭¨¥ § é¨âë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   526
 #define ERR_BROKEN_PIPE          "‘«®¬ ­­ë© ª®­¢¥©¥à"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   527
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   528
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_ISO_8859_5)
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   529
 #define DIR_ARCHIVE_DESCRIPTION  "½Õ ÐàåØÒ, ÝÕßÞáàÕÔáâÒÕÝÝëÙ ÒÒÞÔ/ÒëÒÞÔ äÐÙÛÞÒÞÙ áØáâÕÜë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   530
 #define GRP_ARCHIVE_DESCRIPTION  "ÄÞàÜÐâ ÓàãßßÞÒÞÓÞ äÐÙÛÐ Build engine"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   531
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   532
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   533
 #define ZIP_ARCHIVE_DESCRIPTION  "PkZip/WinZip/Info-Zip áÞÒÜÕáâØÜëÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   534
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   535
 #define ERR_IS_INITIALIZED       "ÃÖÕ ØÝØæØÐÛØ×ØàÞÒÐÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   536
 #define ERR_NOT_INITIALIZED      "½Õ ØÝØæØÐÛØ×ØàÞÒÐÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   537
 #define ERR_INVALID_ARGUMENT     "½ÕÒÕàÝëÙ ÐàÓãÜÕÝâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   538
 #define ERR_FILES_STILL_OPEN     "ÄÐÙÛë ÕéÕ ÞâÚàëâë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   539
 #define ERR_NO_DIR_CREATE        "½Õ ÜÞÓã áÞ×ÔÐâì ÚÐâÐÛÞÓØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   540
 #define ERR_OUT_OF_MEMORY        "ºÞÝçØÛÐáì ßÐÜïâì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   541
 #define ERR_NOT_IN_SEARCH_PATH   "½Õâ âÐÚÞÓÞ íÛÕÜÕÝâÐ Ò ßãâØ ßÞØáÚÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   542
 #define ERR_NOT_SUPPORTED        "¾ßÕàÐæØï ÝÕ ßÞÔÔÕàÖØÒÐÕâáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   543
 #define ERR_UNSUPPORTED_ARCHIVE  "°àåØÒë âÐÚÞÓÞ âØßÐ ÝÕ ßÞÔÔÕàÖØÒÐîâáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   544
 #define ERR_NOT_A_HANDLE         "½Õ äÐÙÛÞÒëÙ ÔÕáÚàØßâÞà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   545
 #define ERR_INSECURE_FNAME       "½ÕÑÕ×ÞßÐáÝÞÕ ØÜï äÐÙÛÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   546
 #define ERR_SYMLINK_DISALLOWED   "ÁØÜÒÞÛìÝëÕ ááëÛÚØ ÞâÚÛîçÕÝë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   547
 #define ERR_NO_WRITE_DIR         "ºÐâÐÛÞÓ ÔÛï ×ÐßØáØ ÝÕ ãáâÐÝÞÒÛÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   548
 #define ERR_NO_SUCH_FILE         "ÄÐÙÛ ÝÕ ÝÐÙÔÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   549
 #define ERR_NO_SUCH_PATH         "¿ãâì ÝÕ ÝÐÙÔÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   550
 #define ERR_NO_SUCH_VOLUME       "ÂÞÜ ÝÕ ÝÐÙÔÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   551
 #define ERR_PAST_EOF             "·Ð ÚÞÝæÞÜ äÐÙÛÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   552
 #define ERR_ARC_IS_READ_ONLY     "°àåØÒ âÞÛìÚÞ ÔÛï çâÕÝØï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   553
 #define ERR_IO_ERROR             "¾èØÑÚÐ ÒÒÞÔÐ/ÒëÒÞÔÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   554
 #define ERR_CANT_SET_WRITE_DIR   "½Õ ÜÞÓã ãáâÐÝÞÒØâì ÚÐâÐÛÞÓ ÔÛï ×ÐߨáØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   555
 #define ERR_SYMLINK_LOOP         "±ÕáÚÞÝÕçÝëÙ æØÚÛ áØÜÒÞÛìÝÞÙ ááëÛÚØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   556
 #define ERR_COMPRESSION          "¾èØÑÚÐ (ÀÐá)ßÐÚÞÒÚØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   557
 #define ERR_NOT_IMPLEMENTED      "½Õ àÕÐÛØ×ÞÒÐÝÞ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   558
 #define ERR_OS_ERROR             "¾ßÕàÐæØÞÝÝÐï áØáâÕÜÐ áÞÞÑéØÛÐ ÞèØÑÚã"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   559
 #define ERR_FILE_EXISTS          "ÄÐÙÛ ãÖÕ áãéÕáâÒãÕâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   560
 #define ERR_NOT_A_FILE           "½Õ äÐÙÛ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   561
 #define ERR_NOT_A_DIR            "½Õ ÚÐâÐÛÞÓ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   562
 #define ERR_NOT_AN_ARCHIVE       "½Õ ÐàåØÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   563
 #define ERR_CORRUPTED            "¿ÞÒàÕÖÔÕÝÝëÙ ÐàåØÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   564
 #define ERR_SEEK_OUT_OF_RANGE    "¿ÞרæØÞÝØàÞÒÐÝØÕ ×Ð ßàÕÔÕÛë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   565
 #define ERR_BAD_FILENAME         "½ÕÒÕàÝÞÕ ØÜï äÐÙÛÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   566
 #define ERR_PHYSFS_BAD_OS_CALL   "(BUG) PhysicsFS ÒëßÞÛÝØÛÐ ÝÕÒÕàÝëÙ áØáâÕÜÝëÙ Òë×ÞÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   567
 #define ERR_ARGV0_IS_NULL        "argv0 is NULL"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   568
 #define ERR_ZLIB_NEED_DICT       "zlib: ÝãÖÕÝ áÛÞÒÐàì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   569
 #define ERR_ZLIB_DATA_ERROR      "zlib: ÞèØÑÚÐ ÔÐÝÝëå"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   570
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: ÞèØÑÚÐ ßÐÜïâØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   571
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: ÞèØÑÚÐ ÑãäÕàÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   572
 #define ERR_ZLIB_VERSION_ERROR   "zlib: ÞèØÑÚÐ ÒÕàáØØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   573
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: ÝÕØ×ÒÕáâÝÐï ÞèØÑÚÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   574
 #define ERR_SEARCHPATH_TRUNC     "¿ãâì ßÞØáÚÐ ÞÑàÕ×ÐÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   575
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() ÞÑàÕ×ÐÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   576
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() ÝÕ ßÞÛãçØÛ ÚÐâÐÛÞÓ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   577
 #define ERR_DISK_FULL            "´ØáÚ ßÞÛÞÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   578
 #define ERR_DIRECTORY_FULL       "ºÐâÐÛÞÓ ßÞÛÞÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   579
 #define ERR_MACOS_GENERIC        "MacOS áÞÞÑéØÛÐ ÞèØÑÚã (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   580
 #define ERR_OS2_GENERIC          "OS/2 áÞÞÑéØÛÐ ÞèØÑÚã (%d)"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   581
 #define ERR_VOL_LOCKED_HW        "ÂÞÜ ÑÛÞÚØàÞÒÐÝ ÐßßÐàÐâÝÞ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   582
 #define ERR_VOL_LOCKED_SW        "ÂÞÜ ÑÛÞÚØàÞÒÐÝ ßàÞÓàÐÜÜÝÞ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   583
 #define ERR_FILE_LOCKED          "ÄÐÙÛ ×ÐÑÛÞÚØàÞÒÐÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   584
 #define ERR_FILE_OR_DIR_BUSY     "ÄÐÙÛ/ÚÐâÐÛÞÓ ×ÐÝïâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   585
 #define ERR_FILE_ALREADY_OPEN_W  "ÄÐÙÛ ãÖÕ ÞâÚàëâ ÝÐ ×Ðߨáì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   586
 #define ERR_FILE_ALREADY_OPEN_R  "ÄÐÙÛ ãÖÕ ÞâÚàëâ ÝÐ çâÕÝØÕ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   587
 #define ERR_INVALID_REFNUM       "½ÕÒÕàÝÞÕ ÚÞÛØçÕáâÒÞ ááëÛÞÚ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   588
 #define ERR_GETTING_FILE_POS     "¾èØÑÚÐ ßàØ ßÞÛãçÕÝØØ ßÞ×ØæØØ äÐÙÛÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   589
 #define ERR_VOLUME_OFFLINE       "ÂÞÜ ÞâáÞÕÔØÝÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   590
 #define ERR_PERMISSION_DENIED    "¾âÚÐ×ÐÝÞ Ò àÐ×àÕèÕÝØØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   591
 #define ERR_VOL_ALREADY_ONLINE   "ÂÞÜ ãÖÕ ßÞÔáÞÕÔØÝÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   592
 #define ERR_NO_SUCH_DRIVE        "½Õâ âÐÚÞÓÞ ÔØáÚÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   593
 #define ERR_NOT_MAC_DISK         "½Õ ÔØáÚ Macintosh"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   594
 #define ERR_VOL_EXTERNAL_FS      "ÂÞÜ ßàØÝÐÔÛÕÖØâ ÒÝÕèÝÕÙ äÐÙÛÞÒÞÙ áØáâÕÜÕ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   595
 #define ERR_PROBLEM_RENAME       "¿àÞÑÛÕÜÐ ßàØ ßÕàÕØÜÕÝÞÒÐÝØØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   596
 #define ERR_BAD_MASTER_BLOCK     "¿ÛÞåÞÙ ÓÛÐÒÝëÙ ÑÛÞÚ ÚÐâÐÛÞÓÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   597
 #define ERR_CANT_MOVE_FORBIDDEN  "¿ÞßëâÚÐ ßÕàÕÜÕáâØâì ×ÐßàÕéÕÝÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   598
 #define ERR_WRONG_VOL_TYPE       "½ÕÒÕàÝëÙ âØß âÞÜÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   599
 #define ERR_SERVER_VOL_LOST      "ÁÕàÒÕàÝëÙ âÞÜ ÑëÛ ÞâáÞÕÔØÝÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   600
 #define ERR_FILE_ID_NOT_FOUND    "¸ÔÕÝâØäØÚÐâÞà äÐÙÛÐ ÝÕ ÝÐÙÔÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   601
 #define ERR_FILE_ID_EXISTS       "¸ÔÕÝâØäØÚÐâÞà äÐÙÛÐ ãÖÕ áãéÕáâÒãÕâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   602
 #define ERR_SERVER_NO_RESPOND    "ÁÕàÒÕà ÝÕ ÞâÒÕçÐÕâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   603
 #define ERR_USER_AUTH_FAILED     "¸ÔÕÝâØäØÚÐæØï ßÞÛì×ÞÒÐâÕÛï ÝÕ ãÔÐÛÐáì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   604
 #define ERR_PWORD_EXPIRED        "¿ÐàÞÛì ÝÐ áÕàÒÕàÕ ãáâÐàÕÛ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   605
 #define ERR_ACCESS_DENIED        "¾âÚÐ×ÐÝÞ Ò ÔÞáâãßÕ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   606
 #define ERR_NOT_A_DOS_DISK       "½Õ ÔØáÚ DOS"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   607
 #define ERR_SHARING_VIOLATION    "½ÐàãèÕÝØÕ áÞÒÜÕáâÝÞÓÞ ÔÞáâãßÐ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   608
 #define ERR_CANNOT_MAKE          "½Õ ÜÞÓã áÞÑàÐâì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   609
 #define ERR_DEV_IN_USE           "ÃáâàÞÙáâÒÞ ãÖÕ ØáßÞÛì×ãÕâáï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   610
 #define ERR_OPEN_FAILED          "¾âÚàëâØÕ ÝÕ ãÔÐÛÞáì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   611
 #define ERR_PIPE_BUSY            "ºÞÝÒÕÙÕà ×ÐÝïâ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   612
 #define ERR_SHARING_BUF_EXCEEDED "ÀÐ×ÔÕÛïÕÜëÙ ÑãäÕà ßÕàÕßÞÛÝÕÝ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   613
 #define ERR_TOO_MANY_HANDLES     "ÁÛØèÚÞÜ ÜÝÞÓÞ ÞâÚàëâëå ÔÕáÚàØßâÞàÞÒ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   614
 #define ERR_SEEK_ERROR           "¾èØÑÚÐ ßÞרæØÞÝØàÞÒÐÝØï"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   615
 #define ERR_DEL_CWD              "¿ÞßëâÚÐ ãÔÐÛØâì âÕÚãéØÙ àÐÑÞçØÙ ÚÐâÐÛÞÓ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   616
 #define ERR_WRITE_PROTECT_ERROR  "¾èØÑÚÐ ×ÐéØâë ×ÐߨáØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   617
 #define ERR_WRITE_FAULT          "¾èØÑÚÐ ×ÐߨáØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   618
 #define ERR_LOCK_VIOLATION       "½ÐàãèÕÝØÕ ÑÛÞÚØàÞÒÚØ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   619
 #define ERR_GEN_FAILURE          "¾ÑéØÙ áÑÞÙ"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   620
 #define ERR_UNCERTAIN_MEDIA      "½ÕÞßàÕÔÕÛÕÝÝëÙ ÝÞáØâÕÛì"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   621
 #define ERR_PROT_VIOLATION       "½ÐàãèÕÝØÕ ×ÐéØâë"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   622
 #define ERR_BROKEN_PIPE          "ÁÛÞÜÐÝÝëÙ ÚÞÝÒÕÙÕà"
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   623
760fe85ea2a0 Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents: 582
diff changeset
   624
439
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   625
#elif (PHYSFS_LANG == PHYSFS_LANG_FRENCH)
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   626
 #define DIR_ARCHIVE_DESCRIPTION  "Pas d'archive, E/S directes sur système de fichiers"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   627
 #define GRP_ARCHIVE_DESCRIPTION  "Format Groupfile du moteur Build"
553
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
   628
 #define HOG_ARCHIVE_DESCRIPTION  "Descent I/II HOG file format"
4338d9c0bbcd Descent I/II HOG and MVL archive support (thanks, Bradley Bell!).
Ryan C. Gordon <icculus@icculus.org>
parents: 549
diff changeset
   629
 #define MVL_ARCHIVE_DESCRIPTION  "Descent II Movielib format"
582
d15d27e34a7e Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents: 578
diff changeset
   630
 #define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
439
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   631
 #define ZIP_ARCHIVE_DESCRIPTION  "Compatible PkZip/WinZip/Info-Zip"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   632
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   633
 #define ERR_IS_INITIALIZED       "Déjà initialisé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   634
 #define ERR_NOT_INITIALIZED      "Non initialisé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   635
 #define ERR_INVALID_ARGUMENT     "Argument invalide"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   636
 #define ERR_FILES_STILL_OPEN     "Fichiers encore ouverts"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   637
 #define ERR_NO_DIR_CREATE        "Echec de la création de répertoires"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   638
 #define ERR_OUT_OF_MEMORY        "A court de mémoire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   639
 #define ERR_NOT_IN_SEARCH_PATH   "Aucune entrée dans le chemin de recherche"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   640
 #define ERR_NOT_SUPPORTED        "Opération non supportée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   641
 #define ERR_UNSUPPORTED_ARCHIVE  "Type d'archive non supportée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   642
 #define ERR_NOT_A_HANDLE         "Pas un descripteur de fichier"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   643
 #define ERR_INSECURE_FNAME       "Nom de fichier dangereux"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   644
 #define ERR_SYMLINK_DISALLOWED   "Les liens symboliques sont désactivés"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   645
 #define ERR_NO_WRITE_DIR         "Le répertoire d'écriture n'est pas spécifié"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   646
 #define ERR_NO_SUCH_FILE         "Fichier non trouvé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   647
 #define ERR_NO_SUCH_PATH         "Chemin non trouvé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   648
 #define ERR_NO_SUCH_VOLUME       "Volume non trouvé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   649
 #define ERR_PAST_EOF             "Au-delà de la fin du fichier"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   650
 #define ERR_ARC_IS_READ_ONLY     "L'archive est en lecture seule"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   651
 #define ERR_IO_ERROR             "Erreur E/S"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   652
 #define ERR_CANT_SET_WRITE_DIR   "Ne peut utiliser le répertoire d'écriture"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   653
 #define ERR_SYMLINK_LOOP         "Boucle infinie dans les liens symboliques"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   654
 #define ERR_COMPRESSION          "Erreur de (dé)compression"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   655
 #define ERR_NOT_IMPLEMENTED      "Non implémenté"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   656
 #define ERR_OS_ERROR             "Erreur rapportée par le système d'exploitation"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   657
 #define ERR_FILE_EXISTS          "Le fichier existe déjà"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   658
 #define ERR_NOT_A_FILE           "Pas un fichier"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   659
 #define ERR_NOT_A_DIR            "Pas un répertoire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   660
 #define ERR_NOT_AN_ARCHIVE       "Pas une archive"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   661
 #define ERR_CORRUPTED            "Archive corrompue"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   662
 #define ERR_SEEK_OUT_OF_RANGE    "Pointeur de fichier hors de portée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   663
 #define ERR_BAD_FILENAME         "Mauvais nom de fichier"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   664
 #define ERR_PHYSFS_BAD_OS_CALL   "(BOGUE) PhysicsFS a fait un mauvais appel système, le salaud"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   665
 #define ERR_ARGV0_IS_NULL        "argv0 est NULL"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   666
 #define ERR_ZLIB_NEED_DICT       "zlib: a besoin du dico"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   667
 #define ERR_ZLIB_DATA_ERROR      "zlib: erreur de données"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   668
 #define ERR_ZLIB_MEMORY_ERROR    "zlib: erreur mémoire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   669
 #define ERR_ZLIB_BUFFER_ERROR    "zlib: erreur tampon"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   670
 #define ERR_ZLIB_VERSION_ERROR   "zlib: erreur de version"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   671
 #define ERR_ZLIB_UNKNOWN_ERROR   "zlib: erreur inconnue"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   672
 #define ERR_SEARCHPATH_TRUNC     "Le chemin de recherche a été tronqué"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   673
 #define ERR_GETMODFN_TRUNC       "GetModuleFileName() a été tronqué"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   674
 #define ERR_GETMODFN_NO_DIR      "GetModuleFileName() n'a pas de répertoire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   675
 #define ERR_DISK_FULL            "Disque plein"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   676
 #define ERR_DIRECTORY_FULL       "Répertoire plein"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   677
 #define ERR_MACOS_GENERIC        "Erreur rapportée par MacOS (%d)"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   678
 #define ERR_OS2_GENERIC          "Erreur rapportée par OS/2 (%d)"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   679
 #define ERR_VOL_LOCKED_HW        "Le volume est verrouillé matériellement"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   680
 #define ERR_VOL_LOCKED_SW        "Le volume est verrouillé par logiciel"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   681
 #define ERR_FILE_LOCKED          "Fichier verrouillé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   682
 #define ERR_FILE_OR_DIR_BUSY     "Fichier/répertoire occupé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   683
 #define ERR_FILE_ALREADY_OPEN_W  "Fichier déjà ouvert en écriture"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   684
 #define ERR_FILE_ALREADY_OPEN_R  "Fichier déjà ouvert en lecture"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   685
 #define ERR_INVALID_REFNUM       "Numéro de référence invalide"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   686
 #define ERR_GETTING_FILE_POS     "Erreur lors de l'obtention de la position du pointeur de fichier"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   687
 #define ERR_VOLUME_OFFLINE       "Le volume n'est pas en ligne"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   688
 #define ERR_PERMISSION_DENIED    "Permission refusée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   689
 #define ERR_VOL_ALREADY_ONLINE   "Volumé déjà en ligne"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   690
 #define ERR_NO_SUCH_DRIVE        "Lecteur inexistant"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   691
 #define ERR_NOT_MAC_DISK         "Pas un disque Macintosh"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   692
 #define ERR_VOL_EXTERNAL_FS      "Le volume appartient à un système de fichiers externe"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   693
 #define ERR_PROBLEM_RENAME       "Problème lors du renommage"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   694
 #define ERR_BAD_MASTER_BLOCK     "Mauvais block maitre de répertoire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   695
 #define ERR_CANT_MOVE_FORBIDDEN  "Essai de déplacement interdit"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   696
 #define ERR_WRONG_VOL_TYPE       "Mauvais type de volume"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   697
 #define ERR_SERVER_VOL_LOST      "Le volume serveur a été déconnecté"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   698
 #define ERR_FILE_ID_NOT_FOUND    "Identificateur de fichier non trouvé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   699
 #define ERR_FILE_ID_EXISTS       "Identificateur de fichier existe déjà"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   700
 #define ERR_SERVER_NO_RESPOND    "Le serveur ne répond pas"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   701
 #define ERR_USER_AUTH_FAILED     "Authentification de l'utilisateur échouée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   702
 #define ERR_PWORD_EXPIRED        "Le mot de passe a expiré sur le serveur"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   703
 #define ERR_ACCESS_DENIED        "Accès refusé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   704
 #define ERR_NOT_A_DOS_DISK       "Pas un disque DOS"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   705
 #define ERR_SHARING_VIOLATION    "Violation de partage"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   706
 #define ERR_CANNOT_MAKE          "Ne peut faire"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   707
 #define ERR_DEV_IN_USE           "Périphérique déjà en utilisation"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   708
 #define ERR_OPEN_FAILED          "Ouverture échouée"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   709
 #define ERR_PIPE_BUSY            "Le tube est occupé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   710
 #define ERR_SHARING_BUF_EXCEEDED "Tampon de partage dépassé"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   711
 #define ERR_TOO_MANY_HANDLES     "Trop de descripteurs ouverts"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   712
 #define ERR_SEEK_ERROR           "Erreur de positionement"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   713
 #define ERR_DEL_CWD              "Essai de supprimer le répertoire courant"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   714
 #define ERR_WRITE_PROTECT_ERROR  "Erreur de protection en écriture"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   715
 #define ERR_WRITE_FAULT          "Erreur d'écriture"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   716
 #define ERR_LOCK_VIOLATION       "Violation de verrou"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   717
 #define ERR_GEN_FAILURE          "Echec général"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   718
 #define ERR_UNCERTAIN_MEDIA      "Média incertain"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   719
 #define ERR_PROT_VIOLATION       "Violation de protection"
7423fa8fd31b Added French translation.
megastep
parents: 435
diff changeset
   720
 #define ERR_BROKEN_PIPE          "Tube cassé"
435
c4daca3b09b9 Spanish translation added by Pedro J. P�rez.
Ryan C. Gordon <icculus@icculus.org>
parents: 434
diff changeset
   721
427
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   722
#else
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   723
 #error Please define PHYSFS_LANG.
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   724
#endif
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   725
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   726
/* end LANG section. */
c38ace41039f Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents: 422
diff changeset
   727
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   728
struct __PHYSFS_DIRHANDLE__;
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   729
struct __PHYSFS_FILEFUNCTIONS__;
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   730
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   731
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   732
typedef struct __PHYSFS_LINKEDSTRINGLIST__
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   733
{
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   734
    char *str;
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   735
    struct __PHYSFS_LINKEDSTRINGLIST__ *next;
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   736
} LinkedStringList;
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   737
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   738
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   739
typedef struct __PHYSFS_FILEHANDLE__
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   740
{
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   741
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   742
         * This is reserved for the driver to store information.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   743
         */
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   744
    void *opaque;
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   745
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   746
        /*
508
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   747
         * Non-zero if file opened for reading, zero if write/append.
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   748
         */
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   749
    PHYSFS_uint8 forReading;
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   750
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   751
        /*
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   752
         * This is the buffer, if one is set (NULL otherwise). Don't touch.
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   753
         */
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   754
    PHYSFS_uint8 *buffer;
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   755
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   756
        /*
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   757
         * This is the buffer size, if one is set (0 otherwise). Don't touch.
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   758
         */
540
a6b6f0a54cd2 Attempt at type correctness.
Ryan C. Gordon <icculus@icculus.org>
parents: 511
diff changeset
   759
    PHYSFS_uint32 bufsize;
508
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   760
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   761
        /*
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   762
         * This is the buffer fill size. Don't touch.
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   763
         */
541
2be2fff14b7a Another attempt at type size correctness.
Ryan C. Gordon <icculus@icculus.org>
parents: 540
diff changeset
   764
    PHYSFS_uint32 buffill;
508
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   765
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   766
        /*
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   767
         * This is the buffer position. Don't touch.
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   768
         */
541
2be2fff14b7a Another attempt at type size correctness.
Ryan C. Gordon <icculus@icculus.org>
parents: 540
diff changeset
   769
    PHYSFS_uint32 bufpos;
508
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   770
0e75524a96af Added buffering API.
Ryan C. Gordon <icculus@icculus.org>
parents: 504
diff changeset
   771
        /*
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   772
         * This should be the DirHandle that created this FileHandle.
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   773
         */
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   774
    const struct __PHYSFS_DIRHANDLE__ *dirHandle;
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   775
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   776
        /*
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   777
         * Pointer to the file i/o functions for this filehandle.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   778
         */
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   779
    const struct __PHYSFS_FILEFUNCTIONS__ *funcs;
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   780
} FileHandle;
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   781
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   782
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   783
typedef struct __PHYSFS_FILEFUNCTIONS__
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   784
{
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   785
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   786
         * Read more from the file.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   787
         * Returns number of objects of (objSize) bytes read from file, -1
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   788
         *  if complete failure.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   789
         * On failure, call __PHYSFS_setError().
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   790
         */
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   791
    PHYSFS_sint64 (*read)(FileHandle *handle, void *buffer,
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   792
                          PHYSFS_uint32 objSize, PHYSFS_uint32 objCount);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   793
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   794
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   795
         * Write more to the file. Archives don't have to implement this.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   796
         *  (Set it to NULL if not implemented).
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   797
         * Returns number of objects of (objSize) bytes written to file, -1
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   798
         *  if complete failure.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   799
         * On failure, call __PHYSFS_setError().
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   800
         */
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   801
    PHYSFS_sint64 (*write)(FileHandle *handle, const void *buffer,
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   802
                 PHYSFS_uint32 objSize, PHYSFS_uint32 objCount);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   803
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   804
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   805
         * Returns non-zero if at end of file.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   806
         */
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   807
    int (*eof)(FileHandle *handle);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   808
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   809
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   810
         * Returns byte offset from start of file.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   811
         */
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   812
    PHYSFS_sint64 (*tell)(FileHandle *handle);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   813
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   814
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   815
         * Move read/write pointer to byte offset from start of file.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   816
         *  Returns non-zero on success, zero on error.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   817
         * On failure, call __PHYSFS_setError().
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   818
         */
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   819
    int (*seek)(FileHandle *handle, PHYSFS_uint64 offset);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   820
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   821
        /*
28
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   822
         * Return number of bytes available in the file, or -1 if you
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   823
         *  aren't able to determine.
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   824
         * On failure, call __PHYSFS_setError().
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   825
         */
132
b53fa5093749 Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents: 130
diff changeset
   826
    PHYSFS_sint64 (*fileLength)(FileHandle *handle);
28
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   827
529214f57d1b Added PHYSFS_fileLength(). Bleh.
Ryan C. Gordon <icculus@icculus.org>
parents: 23
diff changeset
   828
        /*
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   829
         * Close the file, and free the FileHandle structure (including "opaque").
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   830
         *  returns non-zero on success, zero if can't close file.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   831
         * On failure, call __PHYSFS_setError().
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   832
         */
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   833
    int (*fileClose)(FileHandle *handle);
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   834
} FileFunctions;
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   835
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   836
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   837
typedef struct __PHYSFS_DIRHANDLE__
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   838
{
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   839
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   840
         * This is reserved for the driver to store information.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   841
         */
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   842
    void *opaque;
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   843
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   844
        /*
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   845
         * Pointer to the directory i/o functions for this handle.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   846
         */
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   847
    const struct __PHYSFS_DIRFUNCTIONS__ *funcs;
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   848
} DirHandle;
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   849
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   850
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   851
/*
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   852
 * Symlinks should always be followed; PhysicsFS will use
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   853
 *  DirFunctions->isSymLink() and make a judgement on whether to
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   854
 *  continue to call other methods based on that.
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   855
 */
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   856
typedef struct __PHYSFS_DIRFUNCTIONS__
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   857
{
399
02dd53688315 Changed DirFunctions struct a little.
Ryan C. Gordon <icculus@icculus.org>
parents: 363
diff changeset
   858
    const PHYSFS_ArchiveInfo *info;
02dd53688315 Changed DirFunctions struct a little.
Ryan C. Gordon <icculus@icculus.org>
parents: 363
diff changeset
   859
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   860
        /*
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   861
         * Returns non-zero if (filename) is a valid archive that this
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   862
         *  driver can handle. This filename is in platform-dependent
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   863
         *  notation. forWriting is non-zero if this is to be used for
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   864
         *  the write directory, and zero if this is to be used for an
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   865
         *  element of the search path.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   866
         */
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   867
    int (*isArchive)(const char *filename, int forWriting);
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   868
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   869
        /*
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   870
         * Return a DirHandle for dir/archive (name).
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   871
         *  This filename is in platform-dependent notation.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   872
         *  forWriting is non-zero if this is to be used for
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   873
         *  the write directory, and zero if this is to be used for an
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   874
         *  element of the search path.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   875
         * Returns NULL on failure, and calls __PHYSFS_setError().
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   876
         */
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   877
    DirHandle *(*openArchive)(const char *name, int forWriting);
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   878
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   879
        /*
12
a4041c91d715 Redesign of enumerateFiles code. More efficient and clean, less memory
Ryan C. Gordon <icculus@icculus.org>
parents: 11
diff changeset
   880
         * Returns a list of all files in dirname. Each element of this list
a4041c91d715 Redesign of enumerateFiles code. More efficient and clean, less memory
Ryan C. Gordon <icculus@icculus.org>
parents: 11
diff changeset
   881
         *  (and its "str" field) will be deallocated with the system's free()
a4041c91d715 Redesign of enumerateFiles code. More efficient and clean, less memory
Ryan C. Gordon <icculus@icculus.org>
parents: 11
diff changeset
   882
         *  function by the caller, so be sure to explicitly malloc() each
41
ff60d39d0862 Architecture adjustment for enumerating files with regards to whether
Ryan C. Gordon <icculus@icculus.org>
parents: 39
diff changeset
   883
         *  chunk. Omit symlinks if (omitSymLinks) is non-zero.
12
a4041c91d715 Redesign of enumerateFiles code. More efficient and clean, less memory
Ryan C. Gordon <icculus@icculus.org>
parents: 11
diff changeset
   884
         * If you have a memory failure, return as much as you can.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   885
         *  This dirname is in platform-independent notation.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   886
         */
41
ff60d39d0862 Architecture adjustment for enumerating files with regards to whether
Ryan C. Gordon <icculus@icculus.org>
parents: 39
diff changeset
   887
    LinkedStringList *(*enumerateFiles)(DirHandle *r,
ff60d39d0862 Architecture adjustment for enumerating files with regards to whether
Ryan C. Gordon <icculus@icculus.org>
parents: 39
diff changeset
   888
                                        const char *dirname,
ff60d39d0862 Architecture adjustment for enumerating files with regards to whether
Ryan C. Gordon <icculus@icculus.org>
parents: 39
diff changeset
   889
                                        int omitSymLinks);
ff60d39d0862 Architecture adjustment for enumerating files with regards to whether
Ryan C. Gordon <icculus@icculus.org>
parents: 39
diff changeset
   890
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   891
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   892
        /*
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   893
         * Returns non-zero if filename can be opened for reading.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   894
         *  This filename is in platform-independent notation.
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   895
         *  You should not follow symlinks.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   896
         */
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   897
    int (*exists)(DirHandle *r, const char *name);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   898
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   899
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   900
         * Returns non-zero if filename is really a directory.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   901
         *  This filename is in platform-independent notation.
363
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
   902
         *  Symlinks should be followed; if what the symlink points
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
   903
         *  to is missing, or isn't a directory, then the retval is zero.
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   904
         *
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   905
         * Regardless of success or failure, please set *fileExists to
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   906
         *  non-zero if the file existed (even if it's a broken symlink!),
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   907
         *  zero if it did not.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   908
         */
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   909
    int (*isDirectory)(DirHandle *r, const char *name, int *fileExists);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   910
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   911
        /*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   912
         * Returns non-zero if filename is really a symlink.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   913
         *  This filename is in platform-independent notation.
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   914
         *
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   915
         * Regardless of success or failure, please set *fileExists to
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   916
         *  non-zero if the file existed (even if it's a broken symlink!),
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   917
         *  zero if it did not.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   918
         */
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   919
    int (*isSymLink)(DirHandle *r, const char *name, int *fileExists);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   920
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   921
        /*
578
bff1af8455ca Tabs-to-spaces patch by James Turk.
Ryan C. Gordon <icculus@icculus.org>
parents: 576
diff changeset
   922
         * Retrieve the last modification time (mtime) of a file.
bff1af8455ca Tabs-to-spaces patch by James Turk.
Ryan C. Gordon <icculus@icculus.org>
parents: 576
diff changeset
   923
         *  Returns -1 on failure, or the file's mtime in seconds since
bff1af8455ca Tabs-to-spaces patch by James Turk.
Ryan C. Gordon <icculus@icculus.org>
parents: 576
diff changeset
   924
         *  the epoch (Jan 1, 1970) on success.
240
052041af9001 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents: 172
diff changeset
   925
         *  This filename is in platform-independent notation.
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   926
         *
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   927
         * Regardless of success or failure, please set *exists to
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   928
         *  non-zero if the file existed (even if it's a broken symlink!),
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   929
         *  zero if it did not.
578
bff1af8455ca Tabs-to-spaces patch by James Turk.
Ryan C. Gordon <icculus@icculus.org>
parents: 576
diff changeset
   930
         */
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   931
    PHYSFS_sint64 (*getLastModTime)(DirHandle *r, const char *fnm, int *exist);
240
052041af9001 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents: 172
diff changeset
   932
052041af9001 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents: 172
diff changeset
   933
        /*
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   934
         * Open file for reading, and return a FileHandle.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   935
         *  This filename is in platform-independent notation.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   936
         * If you can't handle multiple opens of the same file,
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   937
         *  you can opt to fail for the second call.
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   938
         * Fail if the file does not exist.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   939
         * Returns NULL on failure, and calls __PHYSFS_setError().
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   940
         *
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   941
         * Regardless of success or failure, please set *fileExists to
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   942
         *  non-zero if the file existed (even if it's a broken symlink!),
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   943
         *  zero if it did not.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   944
         */
467
99664d9842cb Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents: 464
diff changeset
   945
    FileHandle *(*openRead)(DirHandle *r, const char *fname, int *fileExists);
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   946
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   947
        /*
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   948
         * Open file for writing, and return a FileHandle.
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   949
         * If the file does not exist, it should be created. If it exists,
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   950
         *  it should be truncated to zero bytes. The writing
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   951
         *  offset should be the start of the file.
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   952
         * This filename is in platform-independent notation.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   953
         *  This method may be NULL.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   954
         * If you can't handle multiple opens of the same file,
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   955
         *  you can opt to fail for the second call.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   956
         * Returns NULL on failure, and calls __PHYSFS_setError().
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   957
         */
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   958
    FileHandle *(*openWrite)(DirHandle *r, const char *filename);
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   959
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   960
        /*
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   961
         * Open file for appending, and return a FileHandle.
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   962
         * If the file does not exist, it should be created. The writing
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   963
         *  offset should be the end of the file.
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   964
         * This filename is in platform-independent notation.
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   965
         *  This method may be NULL.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   966
         * If you can't handle multiple opens of the same file,
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   967
         *  you can opt to fail for the second call.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   968
         * Returns NULL on failure, and calls __PHYSFS_setError().
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   969
         */
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   970
    FileHandle *(*openAppend)(DirHandle *r, const char *filename);
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   971
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   972
        /*
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   973
         * Delete a file in the archive/directory.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   974
         *  Return non-zero on success, zero on failure.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   975
         *  This filename is in platform-independent notation.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   976
         *  This method may be NULL.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   977
         * On failure, call __PHYSFS_setError().
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   978
         */
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   979
    int (*remove)(DirHandle *r, const char *filename);
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   980
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   981
        /*
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   982
         * Create a directory in the archive/directory.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   983
         *  If the application is trying to make multiple dirs, PhysicsFS
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   984
         *  will split them up into multiple calls before passing them to
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   985
         *  your driver.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   986
         *  Return non-zero on success, zero on failure.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   987
         *  This filename is in platform-independent notation.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   988
         *  This method may be NULL.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   989
         * On failure, call __PHYSFS_setError().
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   990
         */
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   991
    int (*mkdir)(DirHandle *r, const char *filename);
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   992
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
   993
        /*
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   994
         * Close directories/archives, and free the handle, including
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   995
         *  the "opaque" entry. This should assume that it won't be called if
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   996
         *  there are still files open from this DirHandle.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   997
         */
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
   998
    void (*dirClose)(DirHandle *r);
11
677e01f5109e Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents: 9
diff changeset
   999
} DirFunctions;
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1000
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1001
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1002
/*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1003
 * Call this to set the message returned by PHYSFS_getLastError().
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1004
 *  Please only use the ERR_* constants above, or add new constants to the
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1005
 *  above group, but I want these all in one place.
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1006
 *
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1007
 * Calling this with a NULL argument is a safe no-op.
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1008
 */
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1009
void __PHYSFS_setError(const char *err);
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1010
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1011
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1012
/*
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1013
 * Convert (dirName) to platform-dependent notation, then prepend (prepend)
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1014
 *  and append (append) to the converted string.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1015
 *
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1016
 *  So, on Win32, calling:
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
  1017
 *     __PHYSFS_convertToDependent("C:\", "my/files", NULL);
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1018
 *  ...will return the string "C:\my\files".
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1019
 *
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1020
 * This is a convenience function; you might want to hack something out that
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1021
 *  is less generic (and therefore more efficient).
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1022
 *
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1023
 * Be sure to free() the return value when done with it.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1024
 */
20
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
  1025
char *__PHYSFS_convertToDependent(const char *prepend,
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
  1026
                                  const char *dirName,
efdde0d21521 Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents: 19
diff changeset
  1027
                                  const char *append);
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1028
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1029
/*
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1030
 * Verify that (fname) (in platform-independent notation), in relation
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1031
 *  to (h) is secure. That means that each element of fname is checked
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1032
 *  for symlinks (if they aren't permitted). Also, elements such as
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1033
 *  ".", "..", or ":" are flagged.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1034
 *
549
1282b8cbfc0b Two important PHYSFS_mkdir() fixes (one involving a change to
Ryan C. Gordon <icculus@icculus.org>
parents: 541
diff changeset
  1035
 * With some exceptions (like PHYSFS_mkdir(), which builds multiple subdirs
1282b8cbfc0b Two important PHYSFS_mkdir() fixes (one involving a change to
Ryan C. Gordon <icculus@icculus.org>
parents: 541
diff changeset
  1036
 *  at a time), you should always pass zero for "allowMissing" for efficiency.
1282b8cbfc0b Two important PHYSFS_mkdir() fixes (one involving a change to
Ryan C. Gordon <icculus@icculus.org>
parents: 541
diff changeset
  1037
 *
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1038
 * Returns non-zero if string is safe, zero if there's a security issue.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1039
 *  PHYSFS_getLastError() will specify what was wrong.
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1040
 */
549
1282b8cbfc0b Two important PHYSFS_mkdir() fixes (one involving a change to
Ryan C. Gordon <icculus@icculus.org>
parents: 541
diff changeset
  1041
int __PHYSFS_verifySecurity(DirHandle *h, const char *fname, int allowMissing);
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1042
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1043
363
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1044
/*
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1045
 * Use this to build the list that your enumerate function should return.
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1046
 *  See zip.c for an example of proper use.
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1047
 */
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1048
LinkedStringList *__PHYSFS_addToLinkedStringList(LinkedStringList *retval,
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1049
                                                 LinkedStringList **prev,
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1050
                                                 const char *str,
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1051
                                                 PHYSFS_sint32 len);
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1052
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1053
464
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1054
/*
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1055
 * When sorting the entries in an archive, we use a modified QuickSort.
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1056
 *  When there are less then PHYSFS_QUICKSORT_THRESHOLD entries left to sort,
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1057
 *  we switch over to a BubbleSort for the remainder. Tweak to taste.
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1058
 *
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1059
 * You can override this setting by defining PHYSFS_QUICKSORT_THRESHOLD
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1060
 *  before #including "physfs_internal.h".
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1061
 */
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1062
#ifndef PHYSFS_QUICKSORT_THRESHOLD
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1063
#define PHYSFS_QUICKSORT_THRESHOLD 4
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1064
#endif
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1065
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1066
/*
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1067
 * Sort an array (or whatever) of (max) elements. This uses a mixture of
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1068
 *  a QuickSort and BubbleSort internally.
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1069
 * (cmpfn) is used to determine ordering, and (swapfn) does the actual
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1070
 *  swapping of elements in the list.
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1071
 *
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1072
 *  See zip.c for an example.
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1073
 */
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1074
void __PHYSFS_sort(void *entries, PHYSFS_uint32 max,
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1075
                   int (*cmpfn)(void *, PHYSFS_uint32, PHYSFS_uint32),
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1076
                   void (*swapfn)(void *, PHYSFS_uint32, PHYSFS_uint32));
21c8e0d1578c Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents: 444
diff changeset
  1077
363
79f155a51527 Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents: 344
diff changeset
  1078
69
546a95cc5591 Updates, corrections and enhancements to get this ported to win32.
Ryan C. Gordon <icculus@icculus.org>
parents: 49
diff changeset
  1079
/* These get used all over for lessening code clutter. */
546a95cc5591 Updates, corrections and enhancements to get this ported to win32.
Ryan C. Gordon <icculus@icculus.org>
parents: 49
diff changeset
  1080
#define BAIL_MACRO(e, r) { __PHYSFS_setError(e); return r; }
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1081
#define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }
145
d6385584f6c4 First shot at thread-safety.
Ryan C. Gordon <icculus@icculus.org>
parents: 137
diff changeset
  1082
#define BAIL_MACRO_MUTEX(e, m, r) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
d6385584f6c4 First shot at thread-safety.
Ryan C. Gordon <icculus@icculus.org>
parents: 137
diff changeset
  1083
#define BAIL_IF_MACRO_MUTEX(c, e, m, r) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1084
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1085
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1086
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1087
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1088
/*--------------------------------------------------------------------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1089
/*--------------------------------------------------------------------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1090
/*------------                                              ----------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1091
/*------------  You MUST implement the following functions  ----------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1092
/*------------        if porting to a new platform.         ----------------*/
30
c9cc9b79112e "I/O error" error string, and updated comment.
Ryan C. Gordon <icculus@icculus.org>
parents: 28
diff changeset
  1093
/*------------     (see platform/unix.c for an example)     ----------------*/
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1094
/*------------                                              ----------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1095
/*--------------------------------------------------------------------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1096
/*--------------------------------------------------------------------------*/
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1097
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1098
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1099
/*
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1100
 * The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc...
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1101
 *  Obviously, this isn't a function, but it IS a null-terminated string.
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1102
 */
15
418eacc97ac8 Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents: 12
diff changeset
  1103
extern const char *__PHYSFS_platformDirSeparator;
9
1155788ccbe3 Initial add. Ways to go.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1104
130
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1105
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1106
/*
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1107
 * Initialize the platform. This is called when PHYSFS_init() is called from
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1108
 *  the application. You can use this to (for example) determine what version
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1109
 *  of Windows you're running.
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1110
 *
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1111
 * Return zero if there was a catastrophic failure (which prevents you from
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1112
 *  functioning at all), and non-zero otherwise.
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1113
 */
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1114
int __PHYSFS_platformInit(void);
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1115
240
052041af9001 Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents: 172
diff changeset
  1116
130
2deec3eb7430 Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents: 126
diff changeset
  1117
/*