World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
42 #define SDL_RWOPS_UNKNOWN 0U
43 #define SDL_RWOPS_WINFILE 1U
44 #define SDL_RWOPS_STDFILE 2U
45 #define SDL_RWOPS_JNIFILE 3U
46 #define SDL_RWOPS_MEMORY 4U
47 #define SDL_RWOPS_MEMORY_RO 5U
52 typedef struct SDL_RWops
96 #if defined(__ANDROID__)
109 #elif defined(__WIN32__)
174 #define RW_SEEK_SET 0
175 #define RW_SEEK_CUR 1
176 #define RW_SEEK_END 2
181 extern DECLSPEC Sint64 SDLCALL SDL_RWsize(SDL_RWops *context);
251 extern DECLSPEC
void *SDLCALL
SDL_LoadFile(
const char *file,
size_t *datasize);
DECLSPEC int SDLCALL SDL_RWclose(SDL_RWops *context)
DECLSPEC Uint8 SDLCALL SDL_ReadU8(SDL_RWops *src)
void * readableByteChannelRef
DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops *src)
struct SDL_RWops::@93::@95 windowsio
DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops *dst, Uint32 value)
EGLContext EGLenum EGLClientBuffer buffer
DECLSPEC size_t SDLCALL SDL_WriteLE32(SDL_RWops *dst, Uint32 value)
DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size)
int(SDLCALL *close)(struct SDL_RWops *context)
DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops *src)
DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE *fp, SDL_bool autoclose)
DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void)
DECLSPEC Sint64 SDLCALL SDL_RWtell(SDL_RWops *context)
DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops *area)
DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context, const void *ptr, size_t size, size_t num)
union SDL_RWops::@93 hidden
void size_t size_t maxnum
EGLSyncKHR EGLint EGLint * value
DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops *dst, Uint16 value)
DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context, void *ptr, size_t size, size_t maxnum)
struct SDL_RWops::@93::@96 stdio
struct SDL_RWops::@93::@97 mem
struct SDL_RWops SDL_RWops
DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops *src)
DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops *dst, Uint16 value)
DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops *src)
DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops *dst, Uint64 value)
DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops *src)
DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem, int size)
DECLSPEC void *SDLCALL SDL_LoadFile(const char *file, size_t *datasize)
DECLSPEC Sint64 SDLCALL SDL_RWseek(SDL_RWops *context, Sint64 offset, int whence)
DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops *dst, Uint64 value)
DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops *dst, Uint8 value)
struct SDL_RWops::@93::@94 androidio
struct SDL_RWops::@93::@98 unknown
DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file, const char *mode)
DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops *src)
DECLSPEC void *SDLCALL SDL_LoadFile_RW(SDL_RWops *src, size_t *datasize, int freesrc)
void * assetFileDescriptorRef