Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Asset.cpp File Reference

Go to the source code of this file.


Defines

#define WRITEMACRO()
#define READMACRO()

Define Documentation

 
#define WRITEMACRO (  ) 

Value:

Assert(!readOnly_,"Asset is read only!");    \
   if (readOnly_)                         \
      {                                \
      return 0;                           \
      }                                \
   if (dynamicBuffer_)                       \
      return dynamicBuffer_->Write(value,count);   \
   if (file_)                             \
      return file_->Write(value,count);         \
   return 0;                              \

Definition at line 516 of file Asset.cpp.

 
#define READMACRO (  ) 

Value:

if (archiveFile_)                      \
      return archiveFile_->Read(value,count);      \
   if (dynamicBuffer_)                       \
      return dynamicBuffer_->Read(value,count); \
   if (staticBuffer_)                        \
      return staticBuffer_->Read(value,count);  \
   if (file_)                             \
      return file_->Read(value,count);       \
   return 0;                              \

Definition at line 597 of file Asset.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.