orx  stable
Portable Game Engine
orxResource.h File Reference
#include "orxInclude.h"

Go to the source code of this file.

Data Structures

struct  orxRESOURCE_EVENT_PAYLOAD
 
struct  orxRESOURCE_TYPE_INFO
 

Macros

#define orxRESOURCE_KC_LOCATION_SEPARATOR   ':'
 

Typedefs

typedef void(orxFASTCALL * orxRESOURCE_FUNCTION_CLOSE) (orxHANDLE _hResource)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_GET_SIZE) (orxHANDLE _hResource)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_GET_TIME) (const orxSTRING _zPath)
 
typedef const orxSTRING(orxFASTCALL * orxRESOURCE_FUNCTION_LOCATE) (const orxSTRING _zStorage, const orxSTRING _zName, orxBOOL _bRequireExistence)
 
typedef orxHANDLE(orxFASTCALL * orxRESOURCE_FUNCTION_OPEN) (const orxSTRING _zPath, orxBOOL _bEraseMode)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_READ) (orxHANDLE _hResource, orxS64 _s64Size, void *_pBuffer)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_SEEK) (orxHANDLE _hResource, orxS64 _s64Offset, orxSEEK_OFFSET_WHENCE _eWhence)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_TELL) (orxHANDLE _hResource)
 
typedef orxS64(orxFASTCALL * orxRESOURCE_FUNCTION_WRITE) (orxHANDLE _hResource, orxS64 _s64Size, const void *_pBuffer)
 
typedef void(orxFASTCALL * orxRESOURCE_OP_FUNCTION) (orxHANDLE _hResource, orxS64 _s64Size, void *_pBuffer, void *_pContext)
 

Enumerations

enum  orxRESOURCE_EVENT {
  orxRESOURCE_EVENT_UPDATE = 0, orxRESOURCE_EVENT_ADD, orxRESOURCE_EVENT_REMOVE, orxRESOURCE_EVENT_NUMBER,
  orxRESOURCE_EVENT_NONE = orxENUM_NONE
}
 

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxResource_AddStorage (const orxSTRING _zGroup, const orxSTRING _zStorage, orxBOOL _bAddFirst)
 
orxDLLAPI orxSTATUS orxFASTCALL orxResource_ClearCache ()
 
orxDLLAPI void orxFASTCALL orxResource_Close (orxHANDLE _hResource)
 
orxDLLAPI void orxFASTCALL orxResource_Exit ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_GetGroup (orxU32 _u32Index)
 
orxDLLAPI orxU32 orxFASTCALL orxResource_GetGroupCounter ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_GetLocation (orxHANDLE _hResource)
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_GetPath (const orxSTRING _zLocation)
 
orxDLLAPI orxU32 orxFASTCALL orxResource_GetPendingOpCounter (const orxHANDLE _hResource)
 
orxDLLAPI orxS64 orxFASTCALL orxResource_GetSize (orxHANDLE _hResource)
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_GetStorage (const orxSTRING _zGroup, orxU32 _u32Index)
 
orxDLLAPI orxU32 orxFASTCALL orxResource_GetStorageCounter (const orxSTRING _zGroup)
 
orxDLLAPI orxS64 orxFASTCALL orxResource_GetTime (const orxSTRING _zLocation)
 
orxDLLAPI orxU32 orxFASTCALL orxResource_GetTotalPendingOpCounter ()
 
orxDLLAPI const orxRESOURCE_TYPE_INFO *orxFASTCALL orxResource_GetType (const orxSTRING _zLocation)
 
orxDLLAPI orxU32 orxFASTCALL orxResource_GetTypeCounter ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_GetTypeTag (orxU32 _u32Index)
 
orxDLLAPI orxSTATUS orxFASTCALL orxResource_Init ()
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_Locate (const orxSTRING _zGroup, const orxSTRING _zName)
 
orxDLLAPI const orxSTRING orxFASTCALL orxResource_LocateInStorage (const orxSTRING _zGroup, const orxSTRING _zStorage, const orxSTRING _zName)
 
orxDLLAPI orxHANDLE orxFASTCALL orxResource_Open (const orxSTRING _zLocation, orxBOOL _bEraseMode)
 
orxDLLAPI orxS64 orxFASTCALL orxResource_Read (orxHANDLE _hResource, orxS64 _s64Size, void *_pBuffer, orxRESOURCE_OP_FUNCTION _pfnCallback, void *_pContext)
 
orxDLLAPI orxSTATUS orxFASTCALL orxResource_RegisterType (const orxRESOURCE_TYPE_INFO *_pstInfo)
 
orxDLLAPI orxSTATUS orxFASTCALL orxResource_ReloadStorage ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxResource_RemoveStorage (const orxSTRING _zGroup, const orxSTRING _zStorage)
 
orxDLLAPI orxS64 orxFASTCALL orxResource_Seek (orxHANDLE _hResource, orxS64 _s64Offset, orxSEEK_OFFSET_WHENCE _eWhence)
 
orxDLLAPI void orxFASTCALL orxResource_Setup ()
 
orxDLLAPI orxS64 orxFASTCALL orxResource_Tell (orxHANDLE _hResource)
 
orxDLLAPI orxS64 orxFASTCALL orxResource_Write (orxHANDLE _hResource, orxS64 _s64Size, const void *_pBuffer, orxRESOURCE_OP_FUNCTION _pfnCallback, void *_pContext)
 

Detailed Description


Generated for orx by doxygen 1.5.6