author | Ryan C. Gordon <icculus@icculus.org> |
Mon, 30 Aug 2010 02:39:11 -0400 | |
changeset 1120 | 67e5e23425a0 |
parent 1118 | 2e09fc635fdd |
child 1125 | bcff76dbd9fd |
permissions | -rw-r--r-- |
9 | 1 |
/* |
2 |
* Internal function/structure declaration. Do NOT include in your |
|
3 |
* application. |
|
4 |
* |
|
809
116b8fe30371
Renamed LICENSE to LICENSE.txt
Ryan C. Gordon <icculus@icculus.org>
parents:
775
diff
changeset
|
5 |
* Please see the file LICENSE.txt in the source's root directory. |
9 | 6 |
* |
7 |
* This file written by Ryan C. Gordon. |
|
8 |
*/ |
|
9 |
||
10 |
#ifndef _INCLUDE_PHYSFS_INTERNAL_H_ |
|
11 |
#define _INCLUDE_PHYSFS_INTERNAL_H_ |
|
12 |
||
13 |
#ifndef __PHYSICSFS_INTERNAL__ |
|
14 |
#error Do not include this header from your applications. |
|
15 |
#endif |
|
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 |
|
828
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
19 |
#include <stdlib.h> /* make sure NULL is defined... */ |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
20 |
|
504
3420d82f9b01
Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents:
467
diff
changeset
|
21 |
#ifdef HAVE_ASSERT_H |
3420d82f9b01
Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents:
467
diff
changeset
|
22 |
#include <assert.h> |
743 | 23 |
#elif (!defined assert) |
504
3420d82f9b01
Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents:
467
diff
changeset
|
24 |
#define assert(x) |
3420d82f9b01
Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents:
467
diff
changeset
|
25 |
#endif |
3420d82f9b01
Some cleanups for PocketPC port.
Ryan C. Gordon <icculus@icculus.org>
parents:
467
diff
changeset
|
26 |
|
836
6514fba91816
Patched to compile with latest Platform SDK.
Ryan C. Gordon <icculus@icculus.org>
parents:
828
diff
changeset
|
27 |
/* !!! FIXME: remove this when revamping stack allocation code... */ |
905
8006327f5797
Whoops, it's malloc.h, not alloca.h ...
Ryan C. Gordon <icculus@icculus.org>
parents:
903
diff
changeset
|
28 |
#if defined(_MSC_VER) || defined(__MINGW32__) |
836
6514fba91816
Patched to compile with latest Platform SDK.
Ryan C. Gordon <icculus@icculus.org>
parents:
828
diff
changeset
|
29 |
#include <malloc.h> |
6514fba91816
Patched to compile with latest Platform SDK.
Ryan C. Gordon <icculus@icculus.org>
parents:
828
diff
changeset
|
30 |
#endif |
6514fba91816
Patched to compile with latest Platform SDK.
Ryan C. Gordon <icculus@icculus.org>
parents:
828
diff
changeset
|
31 |
|
984
91ddcf902de2
Fixes for compiling on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
972
diff
changeset
|
32 |
/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */ |
91ddcf902de2
Fixes for compiling on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
972
diff
changeset
|
33 |
#if sun |
91ddcf902de2
Fixes for compiling on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
972
diff
changeset
|
34 |
#include <alloca.h> |
91ddcf902de2
Fixes for compiling on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
972
diff
changeset
|
35 |
#endif |
91ddcf902de2
Fixes for compiling on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
972
diff
changeset
|
36 |
|
1089
5491e6c69162
Patched to compile on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
1054
diff
changeset
|
37 |
#if defined(__sun) || defined(sun) |
5491e6c69162
Patched to compile on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
1054
diff
changeset
|
38 |
#include <alloca.h> |
5491e6c69162
Patched to compile on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
1054
diff
changeset
|
39 |
#endif |
5491e6c69162
Patched to compile on Solaris.
Ryan C. Gordon <icculus@icculus.org>
parents:
1054
diff
changeset
|
40 |
|
132
b53fa5093749
Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents:
130
diff
changeset
|
41 |
#ifdef __cplusplus |
b53fa5093749
Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents:
130
diff
changeset
|
42 |
extern "C" { |
b53fa5093749
Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents:
130
diff
changeset
|
43 |
#endif |
b53fa5093749
Added typedefs and platform-specific i/o.
Ryan C. Gordon <icculus@icculus.org>
parents:
130
diff
changeset
|
44 |
|
936
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
45 |
#ifdef __GNUC__ |
938
ecbae90ae88d
Yet another attempt to patch to compile.
Ryan C. Gordon <icculus@icculus.org>
parents:
936
diff
changeset
|
46 |
#define PHYSFS_MINIMUM_GCC_VERSION(major, minor) \ |
936
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
47 |
( ((__GNUC__ << 16) + __GNUC_MINOR__) >= (((major) << 16) + (minor)) ) |
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
48 |
#else |
938
ecbae90ae88d
Yet another attempt to patch to compile.
Ryan C. Gordon <icculus@icculus.org>
parents:
936
diff
changeset
|
49 |
#define PHYSFS_MINIMUM_GCC_VERSION(major, minor) (0) |
936
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
50 |
#endif |
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
51 |
|
1100
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
52 |
#ifdef __cplusplus |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
53 |
/* C++ always has a real inline keyword. */ |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
54 |
#elif (defined macintosh) && !(defined __MWERKS__) |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
55 |
# define inline |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
56 |
#elif (defined _MSC_VER) |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
57 |
# define inline __inline |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
58 |
#endif |
f90724e3b4c6
Get rid of __inline__, just make sure "inline" is defined sanely instead.
Ryan C. Gordon <icculus@icculus.org>
parents:
1098
diff
changeset
|
59 |
|
852
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
60 |
/* |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
61 |
* Interface for small allocations. If you need a little scratch space for |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
62 |
* a throwaway buffer or string, use this. It will make small allocations |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
63 |
* on the stack if possible, and use allocator.Malloc() if they are too |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
64 |
* large. This helps reduce malloc pressure. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
65 |
* There are some rules, though: |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
66 |
* NEVER return a pointer from this, as stack-allocated buffers go away |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
67 |
* when your function returns. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
68 |
* NEVER allocate in a loop, as stack-allocated pointers will pile up. Call |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
69 |
* a function that uses smallAlloc from your loop, so the allocation can |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
70 |
* free each time. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
71 |
* NEVER call smallAlloc with any complex expression (it's a macro that WILL |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
72 |
* have side effects...it references the argument multiple times). Use a |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
73 |
* variable or a literal. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
74 |
* NEVER free a pointer from this with anything but smallFree. It will not |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
75 |
* be a valid pointer to the allocator, regardless of where the memory came |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
76 |
* from. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
77 |
* NEVER realloc a pointer from this. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
78 |
* NEVER forget to use smallFree: it may not be a pointer from the stack. |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
79 |
* NEVER forget to check for NULL...allocation can fail here, of course! |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
80 |
*/ |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
81 |
#define __PHYSFS_SMALLALLOCTHRESHOLD 128 |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
82 |
void *__PHYSFS_initSmallAlloc(void *ptr, PHYSFS_uint64 len); |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
83 |
|
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
84 |
#define __PHYSFS_smallAlloc(bytes) ( \ |
857
5ecd1349c789
Patched to compile on MSVC.
Ryan C. Gordon <icculus@icculus.org>
parents:
852
diff
changeset
|
85 |
__PHYSFS_initSmallAlloc((((bytes) < __PHYSFS_SMALLALLOCTHRESHOLD) ? \ |
5ecd1349c789
Patched to compile on MSVC.
Ryan C. Gordon <icculus@icculus.org>
parents:
852
diff
changeset
|
86 |
alloca((size_t)((bytes)+1)) : NULL), (bytes)) \ |
852
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
87 |
) |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
88 |
|
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
89 |
void __PHYSFS_smallFree(void *ptr); |
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
90 |
|
9467e96abdf1
Replaced some Malloc and all the alloca() calls with __PHYSFS_smallAlloc(),
Ryan C. Gordon <icculus@icculus.org>
parents:
851
diff
changeset
|
91 |
|
691
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
92 |
/* Use the allocation hooks. */ |
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
93 |
#define malloc(x) Do not use malloc() directly. |
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
94 |
#define realloc(x, y) Do not use realloc() directly. |
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
95 |
#define free(x) Do not use free() directly. |
836
6514fba91816
Patched to compile with latest Platform SDK.
Ryan C. Gordon <icculus@icculus.org>
parents:
828
diff
changeset
|
96 |
/* !!! FIXME: add alloca check here. */ |
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
97 |
|
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
98 |
/* The LANG section. */ |
767
db29bf06d171
Changed my email address.
Ryan C. Gordon <icculus@icculus.org>
parents:
763
diff
changeset
|
99 |
/* please send questions/translations to Ryan: icculus@icculus.org. */ |
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
100 |
|
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
101 |
#if (!defined PHYSFS_LANG) |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
102 |
# define PHYSFS_LANG PHYSFS_LANG_ENGLISH |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
103 |
#endif |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
104 |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
105 |
/* All language strings are UTF-8 encoded! */ |
444
06f6a31057a0
More Russian codepages.
Ryan C. Gordon <icculus@icculus.org>
parents:
439
diff
changeset
|
106 |
#define PHYSFS_LANG_ENGLISH 1 /* English by Ryan C. Gordon */ |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
107 |
#define PHYSFS_LANG_RUSSIAN 2 /* Russian by Ed Sinjiashvili */ |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
108 |
#define PHYSFS_LANG_SPANISH 3 /* Spanish by Pedro J. Pérez */ |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
109 |
#define PHYSFS_LANG_FRENCH 4 /* French by Stéphane Peter */ |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
110 |
#define PHYSFS_LANG_GERMAN 5 /* German by Michael Renner */ |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
111 |
#define PHYSFS_LANG_PORTUGUESE_BR 6 /* pt-br by Danny Angelo Carminati Grein */ |
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
112 |
|
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
113 |
#if (PHYSFS_LANG == PHYSFS_LANG_ENGLISH) |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
114 |
#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
|
115 |
#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
|
116 |
#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
|
117 |
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format" |
582
d15d27e34a7e
Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents:
578
diff
changeset
|
118 |
#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
|
119 |
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip compatible" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
120 |
#define WAD_ARCHIVE_DESCRIPTION "DOOM engine format" |
774
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
121 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" |
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
122 |
|
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
123 |
#define ERR_IS_INITIALIZED "Already initialized" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
124 |
#define ERR_NOT_INITIALIZED "Not initialized" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
125 |
#define ERR_INVALID_ARGUMENT "Invalid argument" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
126 |
#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
|
127 |
#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
|
128 |
#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
|
129 |
#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
|
130 |
#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
|
131 |
#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
|
132 |
#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
|
133 |
#define ERR_INSECURE_FNAME "Insecure filename" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
134 |
#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
|
135 |
#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
|
136 |
#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
|
137 |
#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
|
138 |
#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
|
139 |
#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
|
140 |
#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
|
141 |
#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
|
142 |
#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
|
143 |
#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
|
144 |
#define ERR_COMPRESSION "(De)compression error" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
145 |
#define ERR_NOT_IMPLEMENTED "Not implemented" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
146 |
#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
|
147 |
#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
|
148 |
#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
|
149 |
#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
|
150 |
#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
|
151 |
#define ERR_CORRUPTED "Corrupted archive" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
152 |
#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
|
153 |
#define ERR_BAD_FILENAME "Bad filename" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
154 |
#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
|
155 |
#define ERR_ARGV0_IS_NULL "argv0 is NULL" |
774
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
156 |
#define ERR_NEED_DICT "need dictionary" |
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
157 |
#define ERR_DATA_ERROR "data error" |
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
158 |
#define ERR_MEMORY_ERROR "memory error" |
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
159 |
#define ERR_BUFFER_ERROR "buffer error" |
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
160 |
#define ERR_VERSION_ERROR "version error" |
916c2e81e77f
7zip support, written by Dennis Schridde, and heavily Ryanified by me.
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
161 |
#define ERR_UNKNOWN_ERROR "unknown error" |
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
162 |
#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
|
163 |
#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
|
164 |
#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
|
165 |
#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
|
166 |
#define ERR_DIRECTORY_FULL "Directory full" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
167 |
#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
|
168 |
#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
|
169 |
#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
|
170 |
#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
|
171 |
#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
|
172 |
#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
|
173 |
#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
|
174 |
#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
|
175 |
#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
|
176 |
#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
|
177 |
#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
|
178 |
#define ERR_PERMISSION_DENIED "Permission denied" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
179 |
#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
|
180 |
#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
|
181 |
#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
|
182 |
#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
|
183 |
#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
|
184 |
#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
|
185 |
#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
|
186 |
#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
|
187 |
#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
|
188 |
#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
|
189 |
#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
|
190 |
#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
|
191 |
#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
|
192 |
#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
|
193 |
#define ERR_ACCESS_DENIED "Access denied" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
194 |
#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
|
195 |
#define ERR_SHARING_VIOLATION "Sharing violation" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
196 |
#define ERR_CANNOT_MAKE "Cannot make" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
197 |
#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
|
198 |
#define ERR_OPEN_FAILED "Open failed" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
199 |
#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
|
200 |
#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
|
201 |
#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
|
202 |
#define ERR_SEEK_ERROR "Seek error" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
203 |
#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
|
204 |
#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
|
205 |
#define ERR_WRITE_FAULT "Write fault" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
206 |
#define ERR_LOCK_VIOLATION "Lock violation" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
207 |
#define ERR_GEN_FAILURE "General failure" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
208 |
#define ERR_UNCERTAIN_MEDIA "Uncertain media" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
209 |
#define ERR_PROT_VIOLATION "Protection violation" |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
210 |
#define ERR_BROKEN_PIPE "Broken pipe" |
431
a1cb2bf24ce5
Added Russian translation by Ed Sinjiashvili.
Ryan C. Gordon <icculus@icculus.org>
parents:
427
diff
changeset
|
211 |
|
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
212 |
#elif (PHYSFS_LANG == PHYSFS_LANG_GERMAN) |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
213 |
#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
|
214 |
#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
|
215 |
#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
|
216 |
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format" |
582
d15d27e34a7e
Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents:
578
diff
changeset
|
217 |
#define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
218 |
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip kompatibel" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
219 |
#define WAD_ARCHIVE_DESCRIPTION "DOOM engine format" /* !!! FIXME: translate this line if needed */ |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
220 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" /* !!! FIXME: translate this line if needed */ |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
221 |
|
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
222 |
#define ERR_IS_INITIALIZED "Bereits initialisiert" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
223 |
#define ERR_NOT_INITIALIZED "Nicht initialisiert" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
224 |
#define ERR_INVALID_ARGUMENT "Ungültiges Argument" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
225 |
#define ERR_FILES_STILL_OPEN "Dateien noch immer geöffnet" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
226 |
#define ERR_NO_DIR_CREATE "Fehler beim Erzeugen der Verzeichnisse" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
227 |
#define ERR_OUT_OF_MEMORY "Kein Speicher mehr frei" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
228 |
#define ERR_NOT_IN_SEARCH_PATH "Eintrag nicht im Suchpfad enthalten" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
229 |
#define ERR_NOT_SUPPORTED "Befehl nicht unterstützt" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
230 |
#define ERR_UNSUPPORTED_ARCHIVE "Archiv-Typ nicht unterstützt" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
231 |
#define ERR_NOT_A_HANDLE "Ist kein Dateideskriptor" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
232 |
#define ERR_INSECURE_FNAME "Unsicherer Dateiname" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
233 |
#define ERR_SYMLINK_DISALLOWED "Symbolische Verweise deaktiviert" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
234 |
#define ERR_NO_WRITE_DIR "Schreibverzeichnis ist nicht gesetzt" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
235 |
#define ERR_NO_SUCH_FILE "Datei nicht gefunden" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
236 |
#define ERR_NO_SUCH_PATH "Pfad nicht gefunden" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
237 |
#define ERR_NO_SUCH_VOLUME "Datencontainer nicht gefunden" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
238 |
#define ERR_PAST_EOF "Hinter dem Ende der Datei" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
239 |
#define ERR_ARC_IS_READ_ONLY "Archiv ist schreibgeschützt" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
240 |
#define ERR_IO_ERROR "Ein/Ausgabe Fehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
241 |
#define ERR_CANT_SET_WRITE_DIR "Kann Schreibverzeichnis nicht setzen" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
242 |
#define ERR_SYMLINK_LOOP "Endlosschleife durch symbolische Verweise" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
243 |
#define ERR_COMPRESSION "(De)Kompressionsfehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
244 |
#define ERR_NOT_IMPLEMENTED "Nicht implementiert" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
245 |
#define ERR_OS_ERROR "Betriebssystem meldete Fehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
246 |
#define ERR_FILE_EXISTS "Datei existiert bereits" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
247 |
#define ERR_NOT_A_FILE "Ist keine Datei" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
248 |
#define ERR_NOT_A_DIR "Ist kein Verzeichnis" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
249 |
#define ERR_NOT_AN_ARCHIVE "Ist kein Archiv" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
250 |
#define ERR_CORRUPTED "Beschädigtes Archiv" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
251 |
#define ERR_SEEK_OUT_OF_RANGE "Suche war ausserhalb der Reichweite" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
252 |
#define ERR_BAD_FILENAME "Unzulässiger Dateiname" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
253 |
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS verursachte einen ungültigen Systemaufruf" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
254 |
#define ERR_ARGV0_IS_NULL "argv0 ist NULL" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
255 |
#define ERR_NEED_DICT "brauche Wörterbuch" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
256 |
#define ERR_DATA_ERROR "Datenfehler" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
257 |
#define ERR_MEMORY_ERROR "Speicherfehler" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
258 |
#define ERR_BUFFER_ERROR "Bufferfehler" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
259 |
#define ERR_VERSION_ERROR "Versionskonflikt" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
260 |
#define ERR_UNKNOWN_ERROR "Unbekannter Fehler" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
261 |
#define ERR_SEARCHPATH_TRUNC "Suchpfad war abgeschnitten" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
262 |
#define ERR_GETMODFN_TRUNC "GetModuleFileName() war abgeschnitten" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
263 |
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() bekam kein Verzeichnis" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
264 |
#define ERR_DISK_FULL "Laufwerk ist voll" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
265 |
#define ERR_DIRECTORY_FULL "Verzeichnis ist voll" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
266 |
#define ERR_MACOS_GENERIC "MacOS meldete Fehler (%d)" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
267 |
#define ERR_OS2_GENERIC "OS/2 meldete Fehler (%d)" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
268 |
#define ERR_VOL_LOCKED_HW "Datencontainer ist durch Hardware gesperrt" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
269 |
#define ERR_VOL_LOCKED_SW "Datencontainer ist durch Software gesperrt" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
270 |
#define ERR_FILE_LOCKED "Datei ist gesperrt" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
271 |
#define ERR_FILE_OR_DIR_BUSY "Datei/Verzeichnis ist beschäftigt" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
272 |
#define ERR_FILE_ALREADY_OPEN_W "Datei schon im Schreibmodus geöffnet" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
273 |
#define ERR_FILE_ALREADY_OPEN_R "Datei schon im Lesemodus geöffnet" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
274 |
#define ERR_INVALID_REFNUM "Ungültige Referenznummer" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
275 |
#define ERR_GETTING_FILE_POS "Fehler beim Finden der Dateiposition" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
276 |
#define ERR_VOLUME_OFFLINE "Datencontainer ist offline" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
277 |
#define ERR_PERMISSION_DENIED "Zugriff verweigert" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
278 |
#define ERR_VOL_ALREADY_ONLINE "Datencontainer ist bereits online" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
279 |
#define ERR_NO_SUCH_DRIVE "Laufwerk nicht vorhanden" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
280 |
#define ERR_NOT_MAC_DISK "Ist kein Macintosh Laufwerk" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
281 |
#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
|
282 |
#define ERR_PROBLEM_RENAME "Fehler beim Umbenennen" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
283 |
#define ERR_BAD_MASTER_BLOCK "Beschädigter Hauptverzeichnisblock" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
284 |
#define ERR_CANT_MOVE_FORBIDDEN "Verschieben nicht erlaubt" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
285 |
#define ERR_WRONG_VOL_TYPE "Falscher Datencontainer-Typ" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
286 |
#define ERR_SERVER_VOL_LOST "Datencontainer am Server wurde getrennt" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
287 |
#define ERR_FILE_ID_NOT_FOUND "Dateikennung nicht gefunden" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
288 |
#define ERR_FILE_ID_EXISTS "Dateikennung existiert bereits" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
289 |
#define ERR_SERVER_NO_RESPOND "Server antwortet nicht" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
290 |
#define ERR_USER_AUTH_FAILED "Benutzerauthentifizierung fehlgeschlagen" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
291 |
#define ERR_PWORD_EXPIRED "Passwort am Server ist abgelaufen" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
292 |
#define ERR_ACCESS_DENIED "Zugriff verweigert" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
293 |
#define ERR_NOT_A_DOS_DISK "Ist kein DOS-Laufwerk" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
294 |
#define ERR_SHARING_VIOLATION "Zugriffsverletzung" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
295 |
#define ERR_CANNOT_MAKE "Kann nicht erzeugen" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
296 |
#define ERR_DEV_IN_USE "Gerät wird bereits benutzt" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
297 |
#define ERR_OPEN_FAILED "Öffnen fehlgeschlagen" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
298 |
#define ERR_PIPE_BUSY "Pipeverbindung ist belegt" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
299 |
#define ERR_SHARING_BUF_EXCEEDED "Zugriffsbuffer überschritten" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
300 |
#define ERR_TOO_MANY_HANDLES "Zu viele offene Dateien" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
301 |
#define ERR_SEEK_ERROR "Fehler beim Suchen" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
302 |
#define ERR_DEL_CWD "Aktuelles Arbeitsverzeichnis darf nicht gelöscht werden" |
511
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
303 |
#define ERR_WRITE_PROTECT_ERROR "Schreibschutzfehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
304 |
#define ERR_WRITE_FAULT "Schreibfehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
305 |
#define ERR_LOCK_VIOLATION "Sperrverletzung" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
306 |
#define ERR_GEN_FAILURE "Allgemeiner Fehler" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
307 |
#define ERR_UNCERTAIN_MEDIA "Unsicheres Medium" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
308 |
#define ERR_PROT_VIOLATION "Schutzverletzung" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
309 |
#define ERR_BROKEN_PIPE "Pipeverbindung unterbrochen" |
7a36b164a975
Added German translation.
Ryan C. Gordon <icculus@icculus.org>
parents:
508
diff
changeset
|
310 |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
311 |
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN) |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
312 |
#define DIR_ARCHIVE_DESCRIPTION "Не архив, непосредственный ввод/вывод файловой системы" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
313 |
#define GRP_ARCHIVE_DESCRIPTION "Формат группового файла Build engine" |
585
760fe85ea2a0
Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents:
582
diff
changeset
|
314 |
#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
|
315 |
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
316 |
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip совместимый" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
317 |
#define WAD_ARCHIVE_DESCRIPTION "DOOM engine format" /* !!! FIXME: translate this line if needed */ |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
318 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" /* !!! FIXME: translate this line if needed */ |
585
760fe85ea2a0
Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents:
582
diff
changeset
|
319 |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
320 |
#define ERR_IS_INITIALIZED "Уже инициализирован" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
321 |
#define ERR_NOT_INITIALIZED "Не инициализирован" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
322 |
#define ERR_INVALID_ARGUMENT "Неверный аргумент" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
323 |
#define ERR_FILES_STILL_OPEN "Файлы еще открыты" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
324 |
#define ERR_NO_DIR_CREATE "Не могу создать каталоги" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
325 |
#define ERR_OUT_OF_MEMORY "Кончилась память" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
326 |
#define ERR_NOT_IN_SEARCH_PATH "Нет такого элемента в пути поиска" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
327 |
#define ERR_NOT_SUPPORTED "Операция не поддерживается" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
328 |
#define ERR_UNSUPPORTED_ARCHIVE "Архивы такого типа не поддерживаются" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
329 |
#define ERR_NOT_A_HANDLE "Не файловый дескриптор" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
330 |
#define ERR_INSECURE_FNAME "Небезопасное имя файла" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
331 |
#define ERR_SYMLINK_DISALLOWED "Символьные ссылки отключены" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
332 |
#define ERR_NO_WRITE_DIR "Каталог для записи не установлен" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
333 |
#define ERR_NO_SUCH_FILE "Файл не найден" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
334 |
#define ERR_NO_SUCH_PATH "Путь не найден" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
335 |
#define ERR_NO_SUCH_VOLUME "Том не найден" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
336 |
#define ERR_PAST_EOF "За концом файла" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
337 |
#define ERR_ARC_IS_READ_ONLY "Архив только для чтения" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
338 |
#define ERR_IO_ERROR "Ошибка ввода/вывода" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
339 |
#define ERR_CANT_SET_WRITE_DIR "Не могу установить каталог для записи" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
340 |
#define ERR_SYMLINK_LOOP "Бесконечный цикл символьной ссылки" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
341 |
#define ERR_COMPRESSION "Ошибка (Рас)паковки" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
342 |
#define ERR_NOT_IMPLEMENTED "Не реализовано" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
343 |
#define ERR_OS_ERROR "Операционная система сообщила ошибку" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
344 |
#define ERR_FILE_EXISTS "Файл уже существует" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
345 |
#define ERR_NOT_A_FILE "Не файл" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
346 |
#define ERR_NOT_A_DIR "Не каталог" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
347 |
#define ERR_NOT_AN_ARCHIVE "Не архив" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
348 |
#define ERR_CORRUPTED "Поврежденный архив" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
349 |
#define ERR_SEEK_OUT_OF_RANGE "Позиционирование за пределы" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
350 |
#define ERR_BAD_FILENAME "Неверное имя файла" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
351 |
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS выполнила неверный системный вызов" |
585
760fe85ea2a0
Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents:
582
diff
changeset
|
352 |
#define ERR_ARGV0_IS_NULL "argv0 is NULL" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
353 |
#define ERR_NEED_DICT "нужен словарь" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
354 |
#define ERR_DATA_ERROR "ошибка данных" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
355 |
#define ERR_MEMORY_ERROR "ошибка памяти" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
356 |
#define ERR_BUFFER_ERROR "ошибка буфера" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
357 |
#define ERR_VERSION_ERROR "ошибка версии" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
358 |
#define ERR_UNKNOWN_ERROR "неизвестная ошибка" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
359 |
#define ERR_SEARCHPATH_TRUNC "Путь поиска обрезан" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
360 |
#define ERR_GETMODFN_TRUNC "GetModuleFileName() обрезан" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
361 |
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() не получил каталог" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
362 |
#define ERR_DISK_FULL "Диск полон" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
363 |
#define ERR_DIRECTORY_FULL "Каталог полон" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
364 |
#define ERR_MACOS_GENERIC "MacOS сообщила ошибку (%d)" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
365 |
#define ERR_OS2_GENERIC "OS/2 сообщила ошибку (%d)" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
366 |
#define ERR_VOL_LOCKED_HW "Том блокирован аппаратно" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
367 |
#define ERR_VOL_LOCKED_SW "Том блокирован программно" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
368 |
#define ERR_FILE_LOCKED "Файл заблокирован" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
369 |
#define ERR_FILE_OR_DIR_BUSY "Файл/каталог занят" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
370 |
#define ERR_FILE_ALREADY_OPEN_W "Файл уже открыт на запись" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
371 |
#define ERR_FILE_ALREADY_OPEN_R "Файл уже открыт на чтение" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
372 |
#define ERR_INVALID_REFNUM "Неверное количество ссылок" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
373 |
#define ERR_GETTING_FILE_POS "Ошибка при получении позиции файла" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
374 |
#define ERR_VOLUME_OFFLINE "Том отсоединен" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
375 |
#define ERR_PERMISSION_DENIED "Отказано в разрешении" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
376 |
#define ERR_VOL_ALREADY_ONLINE "Том уже подсоединен" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
377 |
#define ERR_NO_SUCH_DRIVE "Нет такого диска" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
378 |
#define ERR_NOT_MAC_DISK "Не диск Macintosh" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
379 |
#define ERR_VOL_EXTERNAL_FS "Том принадлежит внешней файловой системе" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
380 |
#define ERR_PROBLEM_RENAME "Проблема при переименовании" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
381 |
#define ERR_BAD_MASTER_BLOCK "Плохой главный блок каталога" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
382 |
#define ERR_CANT_MOVE_FORBIDDEN "Попытка переместить запрещена" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
383 |
#define ERR_WRONG_VOL_TYPE "Неверный тип тома" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
384 |
#define ERR_SERVER_VOL_LOST "Серверный том был отсоединен" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
385 |
#define ERR_FILE_ID_NOT_FOUND "Идентификатор файла не найден" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
386 |
#define ERR_FILE_ID_EXISTS "Идентификатор файла уже существует" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
387 |
#define ERR_SERVER_NO_RESPOND "Сервер не отвечает" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
388 |
#define ERR_USER_AUTH_FAILED "Идентификация пользователя не удалась" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
389 |
#define ERR_PWORD_EXPIRED "Пароль на сервере устарел" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
390 |
#define ERR_ACCESS_DENIED "Отказано в доступе" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
391 |
#define ERR_NOT_A_DOS_DISK "Не диск DOS" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
392 |
#define ERR_SHARING_VIOLATION "Нарушение совместного доступа" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
393 |
#define ERR_CANNOT_MAKE "Не могу собрать" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
394 |
#define ERR_DEV_IN_USE "Устройство уже используется" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
395 |
#define ERR_OPEN_FAILED "Открытие не удалось" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
396 |
#define ERR_PIPE_BUSY "Конвейер занят" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
397 |
#define ERR_SHARING_BUF_EXCEEDED "Разделяемый буфер переполнен" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
398 |
#define ERR_TOO_MANY_HANDLES "Слишком много открытых дескрипторов" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
399 |
#define ERR_SEEK_ERROR "Ошибка позиционирования" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
400 |
#define ERR_DEL_CWD "Попытка удалить текущий рабочий каталог" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
401 |
#define ERR_WRITE_PROTECT_ERROR "Ошибка защиты записи" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
402 |
#define ERR_WRITE_FAULT "Ошибка записи" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
403 |
#define ERR_LOCK_VIOLATION "Нарушение блокировки" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
404 |
#define ERR_GEN_FAILURE "Общий сбой" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
405 |
#define ERR_UNCERTAIN_MEDIA "Неопределенный носитель" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
406 |
#define ERR_PROT_VIOLATION "Нарушение защиты" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
407 |
#define ERR_BROKEN_PIPE "Сломанный конвейер" |
585
760fe85ea2a0
Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents:
582
diff
changeset
|
408 |
|
760fe85ea2a0
Readded Russian translations, since contributor approved zlib license change.
Ryan C. Gordon <icculus@icculus.org>
parents:
582
diff
changeset
|
409 |
|
439 | 410 |
#elif (PHYSFS_LANG == PHYSFS_LANG_FRENCH) |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
411 |
#define DIR_ARCHIVE_DESCRIPTION "Pas d'archive, E/S directes sur système de fichiers" |
439 | 412 |
#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
|
413 |
#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
|
414 |
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format" |
582
d15d27e34a7e
Readded new qpak archiver.
Ryan C. Gordon <icculus@icculus.org>
parents:
578
diff
changeset
|
415 |
#define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format" |
439 | 416 |
#define ZIP_ARCHIVE_DESCRIPTION "Compatible PkZip/WinZip/Info-Zip" |
694
80bc8858b4ab
Added translation for WAD file type.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
417 |
#define WAD_ARCHIVE_DESCRIPTION "Format WAD du moteur DOOM" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
418 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" /* !!! FIXME: translate this line if needed */ |
439 | 419 |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
420 |
#define ERR_IS_INITIALIZED "Déjà initialisé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
421 |
#define ERR_NOT_INITIALIZED "Non initialisé" |
439 | 422 |
#define ERR_INVALID_ARGUMENT "Argument invalide" |
423 |
#define ERR_FILES_STILL_OPEN "Fichiers encore ouverts" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
424 |
#define ERR_NO_DIR_CREATE "Echec de la création de répertoires" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
425 |
#define ERR_OUT_OF_MEMORY "A court de mémoire" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
426 |
#define ERR_NOT_IN_SEARCH_PATH "Aucune entrée dans le chemin de recherche" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
427 |
#define ERR_NOT_SUPPORTED "Opération non supportée" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
428 |
#define ERR_UNSUPPORTED_ARCHIVE "Type d'archive non supportée" |
439 | 429 |
#define ERR_NOT_A_HANDLE "Pas un descripteur de fichier" |
430 |
#define ERR_INSECURE_FNAME "Nom de fichier dangereux" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
431 |
#define ERR_SYMLINK_DISALLOWED "Les liens symboliques sont désactivés" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
432 |
#define ERR_NO_WRITE_DIR "Le répertoire d'écriture n'est pas spécifié" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
433 |
#define ERR_NO_SUCH_FILE "Fichier non trouvé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
434 |
#define ERR_NO_SUCH_PATH "Chemin non trouvé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
435 |
#define ERR_NO_SUCH_VOLUME "Volume non trouvé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
436 |
#define ERR_PAST_EOF "Au-delà de la fin du fichier" |
439 | 437 |
#define ERR_ARC_IS_READ_ONLY "L'archive est en lecture seule" |
438 |
#define ERR_IO_ERROR "Erreur E/S" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
439 |
#define ERR_CANT_SET_WRITE_DIR "Ne peut utiliser le répertoire d'écriture" |
439 | 440 |
#define ERR_SYMLINK_LOOP "Boucle infinie dans les liens symboliques" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
441 |
#define ERR_COMPRESSION "Erreur de (dé)compression" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
442 |
#define ERR_NOT_IMPLEMENTED "Non implémenté" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
443 |
#define ERR_OS_ERROR "Erreur rapportée par le système d'exploitation" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
444 |
#define ERR_FILE_EXISTS "Le fichier existe déjà" |
439 | 445 |
#define ERR_NOT_A_FILE "Pas un fichier" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
446 |
#define ERR_NOT_A_DIR "Pas un répertoire" |
439 | 447 |
#define ERR_NOT_AN_ARCHIVE "Pas une archive" |
448 |
#define ERR_CORRUPTED "Archive corrompue" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
449 |
#define ERR_SEEK_OUT_OF_RANGE "Pointeur de fichier hors de portée" |
439 | 450 |
#define ERR_BAD_FILENAME "Mauvais nom de fichier" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
451 |
#define ERR_PHYSFS_BAD_OS_CALL "(BOGUE) PhysicsFS a fait un mauvais appel système, le salaud" |
439 | 452 |
#define ERR_ARGV0_IS_NULL "argv0 est NULL" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
453 |
#define ERR_NEED_DICT "a besoin du dico" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
454 |
#define ERR_DATA_ERROR "erreur de données" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
455 |
#define ERR_MEMORY_ERROR "erreur mémoire" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
456 |
#define ERR_BUFFER_ERROR "erreur tampon" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
457 |
#define ERR_VERSION_ERROR "erreur de version" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
458 |
#define ERR_UNKNOWN_ERROR "erreur inconnue" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
459 |
#define ERR_SEARCHPATH_TRUNC "Le chemin de recherche a été tronqué" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
460 |
#define ERR_GETMODFN_TRUNC "GetModuleFileName() a été tronqué" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
461 |
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() n'a pas de répertoire" |
439 | 462 |
#define ERR_DISK_FULL "Disque plein" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
463 |
#define ERR_DIRECTORY_FULL "Répertoire plein" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
464 |
#define ERR_MACOS_GENERIC "Erreur rapportée par MacOS (%d)" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
465 |
#define ERR_OS2_GENERIC "Erreur rapportée par OS/2 (%d)" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
466 |
#define ERR_VOL_LOCKED_HW "Le volume est verrouillé matériellement" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
467 |
#define ERR_VOL_LOCKED_SW "Le volume est verrouillé par logiciel" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
468 |
#define ERR_FILE_LOCKED "Fichier verrouillé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
469 |
#define ERR_FILE_OR_DIR_BUSY "Fichier/répertoire occupé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
470 |
#define ERR_FILE_ALREADY_OPEN_W "Fichier déjà ouvert en écriture" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
471 |
#define ERR_FILE_ALREADY_OPEN_R "Fichier déjà ouvert en lecture" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
472 |
#define ERR_INVALID_REFNUM "Numéro de référence invalide" |
439 | 473 |
#define ERR_GETTING_FILE_POS "Erreur lors de l'obtention de la position du pointeur de fichier" |
474 |
#define ERR_VOLUME_OFFLINE "Le volume n'est pas en ligne" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
475 |
#define ERR_PERMISSION_DENIED "Permission refusée" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
476 |
#define ERR_VOL_ALREADY_ONLINE "Volumé déjà en ligne" |
439 | 477 |
#define ERR_NO_SUCH_DRIVE "Lecteur inexistant" |
478 |
#define ERR_NOT_MAC_DISK "Pas un disque Macintosh" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
479 |
#define ERR_VOL_EXTERNAL_FS "Le volume appartient à un système de fichiers externe" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
480 |
#define ERR_PROBLEM_RENAME "Problème lors du renommage" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
481 |
#define ERR_BAD_MASTER_BLOCK "Mauvais block maitre de répertoire" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
482 |
#define ERR_CANT_MOVE_FORBIDDEN "Essai de déplacement interdit" |
439 | 483 |
#define ERR_WRONG_VOL_TYPE "Mauvais type de volume" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
484 |
#define ERR_SERVER_VOL_LOST "Le volume serveur a été déconnecté" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
485 |
#define ERR_FILE_ID_NOT_FOUND "Identificateur de fichier non trouvé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
486 |
#define ERR_FILE_ID_EXISTS "Identificateur de fichier existe déjà" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
487 |
#define ERR_SERVER_NO_RESPOND "Le serveur ne répond pas" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
488 |
#define ERR_USER_AUTH_FAILED "Authentification de l'utilisateur échouée" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
489 |
#define ERR_PWORD_EXPIRED "Le mot de passe a expiré sur le serveur" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
490 |
#define ERR_ACCESS_DENIED "Accès refusé" |
439 | 491 |
#define ERR_NOT_A_DOS_DISK "Pas un disque DOS" |
492 |
#define ERR_SHARING_VIOLATION "Violation de partage" |
|
493 |
#define ERR_CANNOT_MAKE "Ne peut faire" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
494 |
#define ERR_DEV_IN_USE "Périphérique déjà en utilisation" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
495 |
#define ERR_OPEN_FAILED "Ouverture échouée" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
496 |
#define ERR_PIPE_BUSY "Le tube est occupé" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
497 |
#define ERR_SHARING_BUF_EXCEEDED "Tampon de partage dépassé" |
439 | 498 |
#define ERR_TOO_MANY_HANDLES "Trop de descripteurs ouverts" |
499 |
#define ERR_SEEK_ERROR "Erreur de positionement" |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
500 |
#define ERR_DEL_CWD "Essai de supprimer le répertoire courant" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
501 |
#define ERR_WRITE_PROTECT_ERROR "Erreur de protection en écriture" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
502 |
#define ERR_WRITE_FAULT "Erreur d'écriture" |
439 | 503 |
#define ERR_LOCK_VIOLATION "Violation de verrou" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
504 |
#define ERR_GEN_FAILURE "Echec général" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
505 |
#define ERR_UNCERTAIN_MEDIA "Média incertain" |
439 | 506 |
#define ERR_PROT_VIOLATION "Violation de protection" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
507 |
#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
|
508 |
|
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
509 |
#elif (PHYSFS_LANG == PHYSFS_LANG_PORTUGUESE_BR) |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
510 |
#define DIR_ARCHIVE_DESCRIPTION "Não arquivo, E/S sistema de arquivos direto" |
694
80bc8858b4ab
Added translation for WAD file type.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
511 |
#define GRP_ARCHIVE_DESCRIPTION "Formato Groupfile do engine Build" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
512 |
#define HOG_ARCHIVE_DESCRIPTION "Formato Descent I/II HOG file" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
513 |
#define MVL_ARCHIVE_DESCRIPTION "Formato Descent II Movielib" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
514 |
#define QPAK_ARCHIVE_DESCRIPTION "Formato Quake I/II" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
515 |
#define ZIP_ARCHIVE_DESCRIPTION "Formato compatível PkZip/WinZip/Info-Zip" |
694
80bc8858b4ab
Added translation for WAD file type.
Ryan C. Gordon <icculus@icculus.org>
parents:
691
diff
changeset
|
516 |
#define WAD_ARCHIVE_DESCRIPTION "Formato WAD do engine DOOM" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
517 |
#define WAD_ARCHIVE_DESCRIPTION "DOOM engine format" /* !!! FIXME: translate this line if needed */ |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
518 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" /* !!! FIXME: translate this line if needed */ |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
519 |
|
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
520 |
#define ERR_IS_INITIALIZED "Já inicializado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
521 |
#define ERR_NOT_INITIALIZED "Não inicializado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
522 |
#define ERR_INVALID_ARGUMENT "Argumento inválido" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
523 |
#define ERR_FILES_STILL_OPEN "Arquivos ainda abertos" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
524 |
#define ERR_NO_DIR_CREATE "Falha na criação de diretórios" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
525 |
#define ERR_OUT_OF_MEMORY "Memória insuficiente" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
526 |
#define ERR_NOT_IN_SEARCH_PATH "Entrada não encontrada no caminho de busca" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
527 |
#define ERR_NOT_SUPPORTED "Operação não suportada" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
528 |
#define ERR_UNSUPPORTED_ARCHIVE "Tipo de arquivo não suportado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
529 |
#define ERR_NOT_A_HANDLE "Não é um handler de arquivo" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
530 |
#define ERR_INSECURE_FNAME "Nome de arquivo inseguro" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
531 |
#define ERR_SYMLINK_DISALLOWED "Links simbólicos desabilitados" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
532 |
#define ERR_NO_WRITE_DIR "Diretório de escrita não definido" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
533 |
#define ERR_NO_SUCH_FILE "Arquivo não encontrado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
534 |
#define ERR_NO_SUCH_PATH "Caminho não encontrado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
535 |
#define ERR_NO_SUCH_VOLUME "Volume não encontrado" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
536 |
#define ERR_PAST_EOF "Passou o fim do arquivo" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
537 |
#define ERR_ARC_IS_READ_ONLY "Arquivo é somente de leitura" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
538 |
#define ERR_IO_ERROR "Erro de E/S" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
539 |
#define ERR_CANT_SET_WRITE_DIR "Não foi possível definir diretório de escrita" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
540 |
#define ERR_SYMLINK_LOOP "Loop infinito de link simbólico" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
541 |
#define ERR_COMPRESSION "Erro de (Des)compressão" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
542 |
#define ERR_NOT_IMPLEMENTED "Não implementado" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
543 |
#define ERR_OS_ERROR "Erro reportado pelo Sistema Operacional" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
544 |
#define ERR_FILE_EXISTS "Arquivo já existente" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
545 |
#define ERR_NOT_A_FILE "Não é um arquivo" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
546 |
#define ERR_NOT_A_DIR "Não é um diretório" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
547 |
#define ERR_NOT_AN_ARCHIVE "Não é um pacote" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
548 |
#define ERR_CORRUPTED "Pacote corrompido" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
549 |
#define ERR_SEEK_OUT_OF_RANGE "Posicionamento além do tamanho" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
550 |
#define ERR_BAD_FILENAME "Nome de arquivo inválido" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
551 |
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS realizou uma chamada de sistema inválida" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
552 |
#define ERR_ARGV0_IS_NULL "argv0 é NULL" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
553 |
#define ERR_NEED_DICT "precisa de diretório" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
554 |
#define ERR_DATA_ERROR "erro nos dados" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
555 |
#define ERR_MEMORY_ERROR "erro de memória" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
556 |
#define ERR_BUFFER_ERROR "erro de buffer" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
557 |
#define ERR_VERSION_ERROR "erro na version" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
558 |
#define ERR_UNKNOWN_ERROR "erro desconhecido" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
559 |
#define ERR_SEARCHPATH_TRUNC "Caminho de procura quebrado" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
560 |
#define ERR_GETMODFN_TRUNC "GetModuleFileName() foi quebrado" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
561 |
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() nao teve diretório" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
562 |
#define ERR_DISK_FULL "Disco cheio" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
563 |
#define ERR_DIRECTORY_FULL "Diretório cheio" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
564 |
#define ERR_MACOS_GENERIC "MacOS reportou um erro (%d)" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
565 |
#define ERR_OS2_GENERIC "OS/2 reportou um erro (%d)" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
566 |
#define ERR_VOL_LOCKED_HW "Volume travado por hardware" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
567 |
#define ERR_VOL_LOCKED_SW "Volume travado por software" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
568 |
#define ERR_FILE_LOCKED "Arquivo travado" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
569 |
#define ERR_FILE_OR_DIR_BUSY "Arquivo/Diretório está em uso" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
570 |
#define ERR_FILE_ALREADY_OPEN_W "Arquivo já aberto para escrita" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
571 |
#define ERR_FILE_ALREADY_OPEN_R "Arquivo já aberto para leitura" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
572 |
#define ERR_INVALID_REFNUM "Número de referência" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
573 |
#define ERR_GETTING_FILE_POS "Erro ao tentar obter posição do arquivo" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
574 |
#define ERR_VOLUME_OFFLINE "Volume está indisponível" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
575 |
#define ERR_PERMISSION_DENIED "Permissão negada" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
576 |
#define ERR_VOL_ALREADY_ONLINE "Volume disponível" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
577 |
#define ERR_NO_SUCH_DRIVE "Drive inexistente" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
578 |
#define ERR_NOT_MAC_DISK "Não é um disco Macintosh" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
579 |
#define ERR_VOL_EXTERNAL_FS "Volume pertence a um sistema de arquivos externo" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
580 |
#define ERR_PROBLEM_RENAME "Problema durante renomeação" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
581 |
#define ERR_BAD_MASTER_BLOCK "Bloco master do diretório inválido" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
582 |
#define ERR_CANT_MOVE_FORBIDDEN "Tentativa de mover proibida" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
583 |
#define ERR_WRONG_VOL_TYPE "Tipo inválido de volume" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
584 |
#define ERR_SERVER_VOL_LOST "Volume servidor desconectado" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
585 |
#define ERR_FILE_ID_NOT_FOUND "ID de Arquivo não encontrado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
586 |
#define ERR_FILE_ID_EXISTS "ID de Arquivo já existente" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
587 |
#define ERR_SERVER_NO_RESPOND "Servidor não respondendo" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
588 |
#define ERR_USER_AUTH_FAILED "Autenticação de usuário falhada" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
589 |
#define ERR_PWORD_EXPIRED "Password foi expirada no servidor" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
590 |
#define ERR_ACCESS_DENIED "Accesso negado" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
591 |
#define ERR_NOT_A_DOS_DISK "Não é um disco DOS" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
592 |
#define ERR_SHARING_VIOLATION "Violação de compartilhamento" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
593 |
#define ERR_CANNOT_MAKE "Não pode ser feito" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
594 |
#define ERR_DEV_IN_USE "Device já em uso" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
595 |
#define ERR_OPEN_FAILED "Falaha na abertura" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
596 |
#define ERR_PIPE_BUSY "Fila ocupada" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
597 |
#define ERR_SHARING_BUF_EXCEEDED "Buffer de compartilhamento excedeu" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
598 |
#define ERR_TOO_MANY_HANDLES "Muitos handles abertos" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
599 |
#define ERR_SEEK_ERROR "Erro de posicionamento" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
600 |
#define ERR_DEL_CWD "Tentando remover diretório de trabalho atual" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
601 |
#define ERR_WRITE_PROTECT_ERROR "Erro de proteção de escrita" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
602 |
#define ERR_WRITE_FAULT "Erro de escrita" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
603 |
#define ERR_LOCK_VIOLATION "Violação de trava" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
604 |
#define ERR_GEN_FAILURE "Falha geral" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
605 |
#define ERR_UNCERTAIN_MEDIA "Media incerta" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
606 |
#define ERR_PROT_VIOLATION "Violação de proteção" |
627
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
607 |
#define ERR_BROKEN_PIPE "Fila quebrada" |
c47634e23a35
Added Brazillian Portuguese translation (thanks, Danny!)
Ryan C. Gordon <icculus@icculus.org>
parents:
596
diff
changeset
|
608 |
|
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
609 |
#elif (PHYSFS_LANG == PHYSFS_LANG_SPANISH) |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
610 |
#define DIR_ARCHIVE_DESCRIPTION "No es un archivo, E/S directa al sistema de ficheros" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
611 |
#define GRP_ARCHIVE_DESCRIPTION "Formato Build engine Groupfile" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
612 |
#define HOG_ARCHIVE_DESCRIPTION "Formato Descent I/II HOG file" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
613 |
#define MVL_ARCHIVE_DESCRIPTION "Formato Descent II Movielib" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
614 |
#define QPAK_ARCHIVE_DESCRIPTION "Formato Quake I/II" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
615 |
#define ZIP_ARCHIVE_DESCRIPTION "Compatible con PkZip/WinZip/Info-Zip" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
616 |
#define WAD_ARCHIVE_DESCRIPTION "DOOM engine format" /* !!! FIXME: translate this line if needed */ |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
617 |
#define LZMA_ARCHIVE_DESCRIPTION "LZMA (7zip) format" /* !!! FIXME: translate this line if needed */ |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
618 |
|
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
619 |
#define ERR_IS_INITIALIZED "Ya estaba inicializado" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
620 |
#define ERR_NOT_INITIALIZED "No está inicializado" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
621 |
#define ERR_INVALID_ARGUMENT "Argumento inválido" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
622 |
#define ERR_FILES_STILL_OPEN "Archivos aún abiertos" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
623 |
#define ERR_NO_DIR_CREATE "Fallo al crear los directorios" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
624 |
#define ERR_OUT_OF_MEMORY "Memoria agotada" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
625 |
#define ERR_NOT_IN_SEARCH_PATH "No existe tal entrada en la ruta de búsqueda" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
626 |
#define ERR_NOT_SUPPORTED "Operación no soportada" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
627 |
#define ERR_UNSUPPORTED_ARCHIVE "Tipo de archivo no soportado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
628 |
#define ERR_NOT_A_HANDLE "No es un manejador de ficheo (file handle)" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
629 |
#define ERR_INSECURE_FNAME "Nombre de archivo inseguro" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
630 |
#define ERR_SYMLINK_DISALLOWED "Los enlaces simbólicos están desactivados" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
631 |
#define ERR_NO_WRITE_DIR "No has configurado un directorio de escritura" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
632 |
#define ERR_NO_SUCH_FILE "Archivo no encontrado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
633 |
#define ERR_NO_SUCH_PATH "Ruta no encontrada" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
634 |
#define ERR_NO_SUCH_VOLUME "Volumen no encontrado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
635 |
#define ERR_PAST_EOF "Te pasaste del final del archivo" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
636 |
#define ERR_ARC_IS_READ_ONLY "El archivo es de sólo lectura" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
637 |
#define ERR_IO_ERROR "Error E/S" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
638 |
#define ERR_CANT_SET_WRITE_DIR "No puedo configurar el directorio de escritura" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
639 |
#define ERR_SYMLINK_LOOP "Bucle infnito de enlaces simbólicos" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
640 |
#define ERR_COMPRESSION "Error de (des)compresión" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
641 |
#define ERR_NOT_IMPLEMENTED "No implementado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
642 |
#define ERR_OS_ERROR "El sistema operativo ha devuelto un error" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
643 |
#define ERR_FILE_EXISTS "El archivo ya existe" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
644 |
#define ERR_NOT_A_FILE "No es un archivo" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
645 |
#define ERR_NOT_A_DIR "No es un directorio" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
646 |
#define ERR_NOT_AN_ARCHIVE "No es un archivo" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
647 |
#define ERR_CORRUPTED "Archivo corrupto" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
648 |
#define ERR_SEEK_OUT_OF_RANGE "Búsqueda fuera de rango" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
649 |
#define ERR_BAD_FILENAME "Nombre de archivo incorrecto" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
650 |
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS ha hecho una llamada incorrecta al sistema" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
651 |
#define ERR_ARGV0_IS_NULL "argv0 es NULL" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
652 |
#define ERR_NEED_DICT "necesito diccionario" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
653 |
#define ERR_DATA_ERROR "error de datos" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
654 |
#define ERR_MEMORY_ERROR "error de memoria" |
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
655 |
#define ERR_BUFFER_ERROR "error de buffer" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
656 |
#define ERR_VERSION_ERROR "error de versión" |
775
a8cc6b8a8e9c
Some minor fixes and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
774
diff
changeset
|
657 |
#define ERR_UNKNOWN_ERROR "error desconocido" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
658 |
#define ERR_SEARCHPATH_TRUNC "La ruta de búsqueda ha sido truncada" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
659 |
#define ERR_GETMODFN_TRUNC "GetModuleFileName() ha sido truncado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
660 |
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() no tenia directorio" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
661 |
#define ERR_DISK_FULL "El disco está lleno" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
662 |
#define ERR_DIRECTORY_FULL "El directorio está lleno" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
663 |
#define ERR_MACOS_GENERIC "MacOS ha devuelto un error (%d)" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
664 |
#define ERR_OS2_GENERIC "OS/2 ha devuelto un error (%d)" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
665 |
#define ERR_VOL_LOCKED_HW "El volumen está bloqueado por el hardware" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
666 |
#define ERR_VOL_LOCKED_SW "El volumen está bloqueado por el software" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
667 |
#define ERR_FILE_LOCKED "El archivo está bloqueado" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
668 |
#define ERR_FILE_OR_DIR_BUSY "Fichero o directorio ocupados" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
669 |
#define ERR_FILE_ALREADY_OPEN_W "Fichero ya abierto para escritura" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
670 |
#define ERR_FILE_ALREADY_OPEN_R "Fichero ya abierto para lectura" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
671 |
#define ERR_INVALID_REFNUM "El número de referencia no es válido" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
672 |
#define ERR_GETTING_FILE_POS "Error al tomar la posición del fichero" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
673 |
#define ERR_VOLUME_OFFLINE "El volumen está desconectado" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
674 |
#define ERR_PERMISSION_DENIED "Permiso denegado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
675 |
#define ERR_VOL_ALREADY_ONLINE "El volumen ya estaba conectado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
676 |
#define ERR_NO_SUCH_DRIVE "No existe tal unidad" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
677 |
#define ERR_NOT_MAC_DISK "No es un disco Macintosh" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
678 |
#define ERR_VOL_EXTERNAL_FS "El volumen pertence a un sistema de ficheros externo" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
679 |
#define ERR_PROBLEM_RENAME "Problemas al renombrar" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
680 |
#define ERR_BAD_MASTER_BLOCK "Bloque maestro de directorios incorrecto" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
681 |
#define ERR_CANT_MOVE_FORBIDDEN "Intento de mover forbidden" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
682 |
#define ERR_WRONG_VOL_TYPE "Tipo de volumen incorrecto" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
683 |
#define ERR_SERVER_VOL_LOST "El servidor de volúmenes ha sido desconectado" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
684 |
#define ERR_FILE_ID_NOT_FOUND "Identificador de archivo no encontrado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
685 |
#define ERR_FILE_ID_EXISTS "El identificador de archivo ya existe" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
686 |
#define ERR_SERVER_NO_RESPOND "El servidor no responde" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
687 |
#define ERR_USER_AUTH_FAILED "Fallo al autentificar el usuario" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
688 |
#define ERR_PWORD_EXPIRED "La Password en el servidor ha caducado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
689 |
#define ERR_ACCESS_DENIED "Acceso denegado" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
690 |
#define ERR_NOT_A_DOS_DISK "No es un disco de DOS" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
691 |
#define ERR_SHARING_VIOLATION "Violación al compartir" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
692 |
#define ERR_CANNOT_MAKE "No puedo hacer make" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
693 |
#define ERR_DEV_IN_USE "El dispositivo ya estaba en uso" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
694 |
#define ERR_OPEN_FAILED "Fallo al abrir" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
695 |
#define ERR_PIPE_BUSY "Tubería ocupada" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
696 |
#define ERR_SHARING_BUF_EXCEEDED "Buffer de compartición sobrepasado" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
697 |
#define ERR_TOO_MANY_HANDLES "Demasiados manejadores (handles)" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
698 |
#define ERR_SEEK_ERROR "Error de búsqueda" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
699 |
#define ERR_DEL_CWD "Intentando borrar el directorio de trabajo actual" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
700 |
#define ERR_WRITE_PROTECT_ERROR "Error de protección contra escritura" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
701 |
#define ERR_WRITE_FAULT "Fallo al escribir" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
702 |
#define ERR_LOCK_VIOLATION "Violación del bloqueo" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
703 |
#define ERR_GEN_FAILURE "Fallo general" |
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
704 |
#define ERR_UNCERTAIN_MEDIA "Medio incierto" |
933
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
705 |
#define ERR_PROT_VIOLATION "Violación de la protección" |
02f861d084a8
Converted translations to UTF-8 (and removed duplicate Russian translations,
Ryan C. Gordon <icculus@icculus.org>
parents:
905
diff
changeset
|
706 |
#define ERR_BROKEN_PIPE "Tubería rota" |
641
c6b04c2a0599
Readded Spanish translation:
Ryan C. Gordon <icculus@icculus.org>
parents:
629
diff
changeset
|
707 |
|
427
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
708 |
#else |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
709 |
#error Please define PHYSFS_LANG. |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
710 |
#endif |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
711 |
|
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
712 |
/* end LANG section. */ |
c38ace41039f
Natural language #defines and build system support.
Ryan C. Gordon <icculus@icculus.org>
parents:
422
diff
changeset
|
713 |
|
20
efdde0d21521
Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents:
19
diff
changeset
|
714 |
|
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
715 |
/* !!! FIXME: find something better than "dvoid" and "fvoid" ... */ |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
716 |
/* Opaque data for file and dir handlers... */ |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
717 |
typedef void dvoid; |
9 | 718 |
|
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
719 |
|
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
720 |
typedef struct |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
721 |
{ |
9 | 722 |
/* |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
723 |
* Basic info about this archiver... |
9 | 724 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
725 |
const PHYSFS_ArchiveInfo *info; |
9 | 726 |
|
727 |
||
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
728 |
/* |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
729 |
* DIRECTORY ROUTINES: |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
730 |
* These functions are for dir handles. Generate a handle with the |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
731 |
* openArchive() method, then pass it as the "opaque" dvoid to the |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
732 |
* others. |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
733 |
* |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
734 |
* Symlinks should always be followed; PhysicsFS will use the |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
735 |
* isSymLink() method and make a judgement on whether to |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
736 |
* continue to call other methods based on that. |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
737 |
*/ |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
738 |
|
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
739 |
/* |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
740 |
* Open a dirhandle for dir/archive data provided by (io). |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
741 |
* (name) is a filename associated with (io), but doesn't necessarily |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
742 |
* map to anything, let alone a real filename. This possibly- |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
743 |
* meaningless name is in platform-dependent notation. |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
744 |
* (forWriting) is non-zero if this is to be used for |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
745 |
* 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
|
746 |
* element of the search path. |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
747 |
* Returns NULL on failure, and calls __PHYSFS_setError(). |
648
5c993684b8f2
Cleaned up archiver interface to not deal with DirHandles anymore,
Ryan C. Gordon <icculus@icculus.org>
parents:
644
diff
changeset
|
748 |
* Returns non-NULL on success. The pointer returned will be |
5c993684b8f2
Cleaned up archiver interface to not deal with DirHandles anymore,
Ryan C. Gordon <icculus@icculus.org>
parents:
644
diff
changeset
|
749 |
* passed as the "opaque" parameter for later calls. |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
750 |
*/ |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
751 |
dvoid *(*openArchive)(PHYSFS_Io *io, const char *name, int forWriting); |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
752 |
|
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
753 |
/* |
657
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
754 |
* List all files in (dirname). Each file is passed to (callback), |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
755 |
* where a copy is made if appropriate, so you should dispose of |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
756 |
* it properly upon return from the callback. |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
757 |
* You should omit symlinks if (omitSymLinks) is non-zero. |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
758 |
* If you have a failure, report as much as you can. |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
759 |
* (dirname) is in platform-independent notation. |
9 | 760 |
*/ |
657
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
761 |
void (*enumerateFiles)(dvoid *opaque, |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
762 |
const char *dirname, |
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
763 |
int omitSymLinks, |
754
e7cd7411eadf
API BREAKAGE: Changed PHYSFS_enumerateFilesCallback() to pass the originally
Ryan C. Gordon <icculus@icculus.org>
parents:
747
diff
changeset
|
764 |
PHYSFS_EnumFilesCallback callback, |
e7cd7411eadf
API BREAKAGE: Changed PHYSFS_enumerateFilesCallback() to pass the originally
Ryan C. Gordon <icculus@icculus.org>
parents:
747
diff
changeset
|
765 |
const char *origdir, |
657
dad3b5c307a9
Added callback APIs and ripped up the internals everywhere to use them.
Ryan C. Gordon <icculus@icculus.org>
parents:
650
diff
changeset
|
766 |
void *callbackdata); |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
767 |
|
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
768 |
/* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
769 |
* 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
|
770 |
* 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
|
771 |
* You should not follow symlinks. |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
772 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
773 |
int (*exists)(dvoid *opaque, const char *name); |
9 | 774 |
|
775 |
/* |
|
776 |
* 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
|
777 |
* This filename is in platform-independent notation. |
363
79f155a51527
Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents:
344
diff
changeset
|
778 |
* Symlinks should be followed; if what the symlink points |
79f155a51527
Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents:
344
diff
changeset
|
779 |
* 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
|
780 |
* |
99664d9842cb
Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
464
diff
changeset
|
781 |
* 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
|
782 |
* 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
|
783 |
* zero if it did not. |
9 | 784 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
785 |
int (*isDirectory)(dvoid *opaque, const char *name, int *fileExists); |
9 | 786 |
|
787 |
/* |
|
788 |
* 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
|
789 |
* 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
|
790 |
* |
99664d9842cb
Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
464
diff
changeset
|
791 |
* 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
|
792 |
* 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
|
793 |
* zero if it did not. |
9 | 794 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
795 |
int (*isSymLink)(dvoid *opaque, const char *name, int *fileExists); |
9 | 796 |
|
797 |
/* |
|
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
798 |
* Open file for reading. |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
799 |
* 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
|
800 |
* 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
|
801 |
* 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
|
802 |
* 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
|
803 |
* Returns NULL on failure, and calls __PHYSFS_setError(). |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
804 |
* Returns non-NULL on success. The pointer returned will be |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
805 |
* passed as the "opaque" parameter for later file calls. |
467
99664d9842cb
Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
464
diff
changeset
|
806 |
* |
99664d9842cb
Bunch of tedious corrections, optimizations, and cleanups.
Ryan C. Gordon <icculus@icculus.org>
parents:
464
diff
changeset
|
807 |
* 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
|
808 |
* 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
|
809 |
* zero if it did not. |
9 | 810 |
*/ |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
811 |
PHYSFS_Io *(*openRead)(dvoid *opaque, const char *fname, int *fileExists); |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
812 |
|
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
813 |
/* |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
814 |
* Open file for writing. |
20
efdde0d21521
Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents:
19
diff
changeset
|
815 |
* 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
|
816 |
* 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
|
817 |
* 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
|
818 |
* 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
|
819 |
* 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
|
820 |
* 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
|
821 |
* Returns NULL on failure, and calls __PHYSFS_setError(). |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
822 |
* Returns non-NULL on success. The pointer returned will be |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
823 |
* passed as the "opaque" parameter for later file calls. |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
824 |
*/ |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
825 |
PHYSFS_Io *(*openWrite)(dvoid *opaque, const char *filename); |
9 | 826 |
|
827 |
/* |
|
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
828 |
* Open file for appending. |
20
efdde0d21521
Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents:
19
diff
changeset
|
829 |
* 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
|
830 |
* 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
|
831 |
* 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
|
832 |
* 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
|
833 |
* 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
|
834 |
* Returns NULL on failure, and calls __PHYSFS_setError(). |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
835 |
* Returns non-NULL on success. The pointer returned will be |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
836 |
* passed as the "opaque" parameter for later file calls. |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
837 |
*/ |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
838 |
PHYSFS_Io *(*openAppend)(dvoid *opaque, const char *filename); |
11
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
839 |
|
677e01f5109e
Progress toward complete implementation continues...
Ryan C. Gordon <icculus@icculus.org>
parents:
9
diff
changeset
|
840 |
/* |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
841 |
* 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
|
842 |
* 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
|
843 |
* 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
|
844 |
* This method may be NULL. |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
845 |
* On failure, call __PHYSFS_setError(). |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
846 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
847 |
int (*remove)(dvoid *opaque, const char *filename); |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
848 |
|
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
849 |
/* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
850 |
* 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
|
851 |
* 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
|
852 |
* 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
|
853 |
* your driver. |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
854 |
* 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
|
855 |
* 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
|
856 |
* This method may be NULL. |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
857 |
* On failure, call __PHYSFS_setError(). |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
858 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
859 |
int (*mkdir)(dvoid *opaque, const char *filename); |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
860 |
|
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
861 |
/* |
648
5c993684b8f2
Cleaned up archiver interface to not deal with DirHandles anymore,
Ryan C. Gordon <icculus@icculus.org>
parents:
644
diff
changeset
|
862 |
* Close directories/archives, and free any associated memory, |
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
863 |
* including the original PHYSFS_Io and (opaque) itself, if |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
864 |
* applicable. Implementation can assume that it won't be called if |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
865 |
* there are still files open from this archive. |
9 | 866 |
*/ |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
867 |
void (*dirClose)(dvoid *opaque); |
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
868 |
|
1108
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
869 |
/* |
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
870 |
* Obtain basic file metadata. |
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
871 |
* Returns non-zero on success, zero on failure. |
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
872 |
* On failure, call __PHYSFS_setError(). |
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
873 |
*/ |
b63e39d5be04
Fixed details of PHYSFS_Archiver's stat method.
Ryan C. Gordon <icculus@icculus.org>
parents:
1100
diff
changeset
|
874 |
int (*stat)(dvoid *opaque, const char *fn, int *exists, PHYSFS_Stat *stat); |
650
298b8bb26775
Did the same thing to FileHandles than I did to DirHandles, but this
Ryan C. Gordon <icculus@icculus.org>
parents:
648
diff
changeset
|
875 |
} PHYSFS_Archiver; |
9 | 876 |
|
877 |
||
878 |
/* |
|
879 |
* Call this to set the message returned by PHYSFS_getLastError(). |
|
880 |
* Please only use the ERR_* constants above, or add new constants to the |
|
881 |
* 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
|
882 |
* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
883 |
* Calling this with a NULL argument is a safe no-op. |
9 | 884 |
*/ |
885 |
void __PHYSFS_setError(const char *err); |
|
886 |
||
887 |
||
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
888 |
/* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
889 |
* 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
|
890 |
* 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
|
891 |
* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
892 |
* 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
|
893 |
* __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
|
894 |
* ...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
|
895 |
* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
896 |
* 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
|
897 |
* 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
|
898 |
* |
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
899 |
* 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
|
900 |
*/ |
20
efdde0d21521
Implementation compiles and links with no actual archive support. No test
Ryan C. Gordon <icculus@icculus.org>
parents:
19
diff
changeset
|
901 |
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
|
902 |
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
|
903 |
const char *append); |
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
904 |
|
363
79f155a51527
Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents:
344
diff
changeset
|
905 |
|
629
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
906 |
/* This byteorder stuff was lifted from SDL. http://www.libsdl.org/ */ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
907 |
#define PHYSFS_LIL_ENDIAN 1234 |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
908 |
#define PHYSFS_BIG_ENDIAN 4321 |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
909 |
|
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
910 |
#if defined(__i386__) || defined(__ia64__) || defined(WIN32) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
911 |
(defined(__alpha__) || defined(__alpha)) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
912 |
defined(__arm__) || defined(ARM) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
913 |
(defined(__mips__) && defined(__MIPSEL__)) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
914 |
defined(__SYMBIAN32__) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
915 |
defined(__x86_64__) || \ |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
916 |
defined(__LITTLE_ENDIAN__) |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
917 |
#define PHYSFS_BYTEORDER PHYSFS_LIL_ENDIAN |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
918 |
#else |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
919 |
#define PHYSFS_BYTEORDER PHYSFS_BIG_ENDIAN |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
920 |
#endif |
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
921 |
|
b01a59827192
Moved byte order defines into internal header.
Ryan C. Gordon <icculus@icculus.org>
parents:
627
diff
changeset
|
922 |
|
464
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
923 |
/* |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
924 |
* 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
|
925 |
* 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
|
926 |
* 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
|
927 |
* |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
928 |
* 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
|
929 |
* before #including "physfs_internal.h". |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
930 |
*/ |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
931 |
#ifndef PHYSFS_QUICKSORT_THRESHOLD |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
932 |
#define PHYSFS_QUICKSORT_THRESHOLD 4 |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
933 |
#endif |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
934 |
|
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
935 |
/* |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
936 |
* 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
|
937 |
* a QuickSort and BubbleSort internally. |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
938 |
* (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
|
939 |
* swapping of elements in the list. |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
940 |
* |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
941 |
* See zip.c for an example. |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
942 |
*/ |
21c8e0d1578c
Generalized sorting routines, and removed individual implementations.
Ryan C. Gordon <icculus@icculus.org>
parents:
444
diff
changeset
|
943 |
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
|
944 |
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
|
945 |
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
|
946 |
|
363
79f155a51527
Added __PHYSFS_addToLinkedStringList().
Ryan C. Gordon <icculus@icculus.org>
parents:
344
diff
changeset
|
947 |
|
69
546a95cc5591
Updates, corrections and enhancements to get this ported to win32.
Ryan C. Gordon <icculus@icculus.org>
parents:
49
diff
changeset
|
948 |
/* These get used all over for lessening code clutter. */ |
1097
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
949 |
#define BAIL_MACRO(e, r) do { __PHYSFS_setError(e); return r; } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
950 |
#define BAIL_IF_MACRO(c, e, r) do { if (c) { __PHYSFS_setError(e); return r; } } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
951 |
#define BAIL_MACRO_MUTEX(e, m, r) do { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
952 |
#define BAIL_IF_MACRO_MUTEX(c, e, m, r) do { if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; } } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
953 |
#define GOTO_MACRO(e, g) do { __PHYSFS_setError(e); goto g; } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
954 |
#define GOTO_IF_MACRO(c, e, g) do { if (c) { __PHYSFS_setError(e); goto g; } } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
955 |
#define GOTO_MACRO_MUTEX(e, m, g) do { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; } while (0) |
6e67897d4628
Wrap BAIL_* and GOTO_* macros in do { } while (0) ...
Ryan C. Gordon <icculus@icculus.org>
parents:
1089
diff
changeset
|
956 |
#define GOTO_IF_MACRO_MUTEX(c, e, m, g) do { if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; } } while (0) |
9 | 957 |
|
828
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
958 |
#define __PHYSFS_ARRAYLEN(x) ( (sizeof (x)) / (sizeof (x[0])) ) |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
959 |
|
1098
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
960 |
#ifdef PHYSFS_NO_64BIT_SUPPORT |
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
961 |
#define __PHYSFS_SI64(x) ((PHYSFS_sint64) (x)) |
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
962 |
#define __PHYSFS_UI64(x) ((PHYSFS_uint64) (x)) |
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
963 |
#elif (defined __GNUC__) |
850
2bc230284fed
Replaced LONGLONGLITERAL with __PHYSFS_UI64/__PHYSFS_SI64.
Ryan C. Gordon <icculus@icculus.org>
parents:
845
diff
changeset
|
964 |
#define __PHYSFS_SI64(x) x##LL |
2bc230284fed
Replaced LONGLONGLITERAL with __PHYSFS_UI64/__PHYSFS_SI64.
Ryan C. Gordon <icculus@icculus.org>
parents:
845
diff
changeset
|
965 |
#define __PHYSFS_UI64(x) x##ULL |
851
dcfbb779ff40
Apparently this is how you do 64-bit literals in MSVC...untested.
Ryan C. Gordon <icculus@icculus.org>
parents:
850
diff
changeset
|
966 |
#elif (defined _MSC_VER) |
dcfbb779ff40
Apparently this is how you do 64-bit literals in MSVC...untested.
Ryan C. Gordon <icculus@icculus.org>
parents:
850
diff
changeset
|
967 |
#define __PHYSFS_SI64(x) x##i64 |
dcfbb779ff40
Apparently this is how you do 64-bit literals in MSVC...untested.
Ryan C. Gordon <icculus@icculus.org>
parents:
850
diff
changeset
|
968 |
#define __PHYSFS_UI64(x) x##ui64 |
763
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
969 |
#else |
1098
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
970 |
#define __PHYSFS_SI64(x) ((PHYSFS_sint64) (x)) |
4e86cec1143f
Moved all the file i/o from stdio-style to POSIX-style.
Ryan C. Gordon <icculus@icculus.org>
parents:
1097
diff
changeset
|
971 |
#define __PHYSFS_UI64(x) ((PHYSFS_uint64) (x)) |
763
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
972 |
#endif |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
973 |
|
936
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
974 |
|
763
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
975 |
/* |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
976 |
* Check if a ui64 will fit in the platform's address space. |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
977 |
* The initial sizeof check will optimize this macro out entirely on |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
978 |
* 64-bit (and larger?!) platforms, and the other condition will |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
979 |
* return zero or non-zero if the variable will fit in the platform's |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
980 |
* size_t, suitable to pass to malloc. This is kinda messy, but effective. |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
981 |
*/ |
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
982 |
#define __PHYSFS_ui64FitsAddressSpace(s) ( \ |
1112
12e187aa051c
Made __PHYSFS_ui64FitsAddressSpace's behaviour match its name.
Ryan C. Gordon <icculus@icculus.org>
parents:
1111
diff
changeset
|
983 |
(sizeof (PHYSFS_uint64) <= sizeof (size_t)) || \ |
12e187aa051c
Made __PHYSFS_ui64FitsAddressSpace's behaviour match its name.
Ryan C. Gordon <icculus@icculus.org>
parents:
1111
diff
changeset
|
984 |
((s) < (__PHYSFS_UI64(0xFFFFFFFFFFFFFFFF) >> (64-(sizeof(size_t)*8)))) \ |
763
efadd9cdb6a4
Cleaned up overflow checks in platform memory allocators (thanks to Nicolas
Ryan C. Gordon <icculus@icculus.org>
parents:
754
diff
changeset
|
985 |
) |
9 | 986 |
|
936
3b4b6c107a59
Fixed aliasing bug in Windows platform layer (thanks, Dennis!).
Ryan C. Gordon <icculus@icculus.org>
parents:
933
diff
changeset
|
987 |
|
644
1cb5533d369c
Initial structure for replacable allocator work.
Ryan C. Gordon <icculus@icculus.org>
parents:
641
diff
changeset
|
988 |
/* |
828
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
989 |
* This is a strcasecmp() or stricmp() replacement that expects both strings |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
990 |
* to be in UTF-8 encoding. It will do "case folding" to decide if the |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
991 |
* Unicode codepoints in the strings match. |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
992 |
* |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
993 |
* It will report which string is "greater than" the other, but be aware that |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
994 |
* this doesn't necessarily mean anything: 'a' may be "less than" 'b', but |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
995 |
* a random Kanji codepoint has no meaningful alphabetically relationship to |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
996 |
* a Greek Lambda, but being able to assign a reliable "value" makes sorting |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
997 |
* algorithms possible, if not entirely sane. Most cases should treat the |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
998 |
* return value as "equal" or "not equal". |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
999 |
*/ |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1000 |
int __PHYSFS_utf8strcasecmp(const char *s1, const char *s2); |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1001 |
|
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1002 |
/* |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1003 |
* This works like __PHYSFS_utf8strcasecmp(), but takes a character (NOT BYTE |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1004 |
* COUNT) argument, like strcasencmp(). |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1005 |
*/ |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1006 |
int __PHYSFS_utf8strnicmp(const char *s1, const char *s2, PHYSFS_uint32 l); |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1007 |
|
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1008 |
/* |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1009 |
* stricmp() that guarantees to only work with low ASCII. The C runtime |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1010 |
* stricmp() might try to apply a locale/codepage/etc, which we don't want. |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1011 |
*/ |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1012 |
int __PHYSFS_stricmpASCII(const char *s1, const char *s2); |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1013 |
|
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1014 |
/* |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1015 |
* strnicmp() that guarantees to only work with low ASCII. The C runtime |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1016 |
* strnicmp() might try to apply a locale/codepage/etc, which we don't want. |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1017 |
*/ |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1018 |
int __PHYSFS_strnicmpASCII(const char *s1, const char *s2, PHYSFS_uint32 l); |
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1019 |
|
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1020 |
|
ee871d51510d
Bunch of work on Unicode...added case-folding stricmp, removed
Ryan C. Gordon <icculus@icculus.org>
parents:
809
diff
changeset
|
1021 |
/* |
691
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
1022 |
* The current allocator. Not valid before PHYSFS_init is called! |
644
1cb5533d369c
Initial structure for replacable allocator work.
Ryan C. Gordon <icculus@icculus.org>
parents:
641
diff
changeset
|
1023 |
*/ |
691
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
1024 |
extern PHYSFS_Allocator __PHYSFS_AllocatorHooks; |
9 | 1025 |
|
691
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
1026 |
/* convenience macro to make this less cumbersome internally... */ |
71d9affe0d8a
All memory management now goes through allocation hooks instead of directly to
Ryan C. Gordon <icculus@icculus.org>
parents:
676
diff
changeset
|
1027 |
#define allocator __PHYSFS_AllocatorHooks |
9 | 1028 |
|
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1029 |
/* |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1030 |
* Create a PHYSFS_Io for a file in the physical filesystem. |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1031 |
* This path is in platform-dependent notation. (mode) must be 'r', 'w', or |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1032 |
* 'a' for Read, Write, or Append. |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1033 |
*/ |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1034 |
PHYSFS_Io *__PHYSFS_createNativeIo(const char *path, const int mode); |
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1035 |
|
1120
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1036 |
/* |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1037 |
* Create a PHYSFS_Io for a buffer of memory (READ-ONLY). If you already |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1038 |
* have one of these, just use its duplicate() method, and it'll increment |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1039 |
* its refcount without allocating a copy of the buffer. |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1040 |
*/ |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1041 |
PHYSFS_Io *__PHYSFS_createMemoryIo(const void *buf, PHYSFS_uint64 len, |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1042 |
void (*destruct)(void *)); |
67e5e23425a0
Added PHYSFS_mountMemory().
Ryan C. Gordon <icculus@icculus.org>
parents:
1118
diff
changeset
|
1043 |
|
1118
2e09fc635fdd
Abstracted file i/o into PHYSFS_Io interface.
Ryan C. Gordon <icculus@icculus.org>
parents:
1115
diff
changeset
|
1044 |
|
9 | 1045 |
/*--------------------------------------------------------------------------*/ |
1046 |
/*--------------------------------------------------------------------------*/ |
|
1047 |
/*------------ ----------------*/ |
|
1048 |
/*------------ You MUST implement the following functions ----------------*/ |
|
1049 |
/*------------ 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
|
1050 |
/*------------ (see platform/unix.c for an example) ----------------*/ |
9 | 1051 |
/*------------ ----------------*/ |
1052 |
/*--------------------------------------------------------------------------*/ |
|
1053 |
/*--------------------------------------------------------------------------*/ |
|
1054 |
||
1055 |
||
1056 |
/* |
|
1057 |
* The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc... |
|
1058 |
* Obviously, this isn't a function, but it IS a null-terminated string. |
|
1059 |
*/ |
|
15
418eacc97ac8
Tons of updates. Mostly implemented. Mostly compiling.
Ryan C. Gordon <icculus@icculus.org>
parents:
12
diff
changeset
|
1060 |
extern const char *__PHYSFS_platformDirSeparator; |
9 | 1061 |
|
130
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1062 |
|
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1063 |
/* |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1064 |
* 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
|
1065 |
* 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
|
1066 |
* of Windows you're running. |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1067 |
* |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1068 |
* 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
|
1069 |
* functioning at all), and non-zero otherwise. |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1070 |
*/ |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1071 |
int __PHYSFS_platformInit(void); |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1072 |
|
240
052041af9001
Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents:
172
diff
changeset
|
1073 |
|
130
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1074 |
/* |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1075 |
* Deinitialize the platform. This is called when PHYSFS_deinit() is called |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1076 |
* from the application. You can use this to clean up anything you've |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1077 |
* allocated in your platform driver. |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1078 |
* |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1079 |
* 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
|
1080 |
* functioning at all), and non-zero otherwise. |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1081 |
*/ |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1082 |
int __PHYSFS_platformDeinit(void); |
2deec3eb7430
Added __PHYSFS_platformInit() and __PHYSFS_platformDeinit().
Ryan C. Gordon <icculus@icculus.org>
parents:
126
diff
changeset
|
1083 |
|
240
052041af9001
Added PHYSFS_getLastModTime() API. (Thanks, John Hall!)
Ryan C. Gordon <icculus@icculus.org>
parents:
172
diff
changeset
|
1084 |
|