Add support for SAFE_DELETE and SAFE_DELETE_ARRAY
- add macro define for safe_delete and safe_delete_array
- make all delete operator to use safe_delete and safe_delete_array
Add some log and remove some redundant log, temp disable the texture which load from external file
- disable the debug macro for build system
- temp disable the texture which load from external file
- add more log for PNG class, then we will know in which step we failed in load
- remove redundant log for Renderer
Make ReadFile have 3 way to read the file in android's file system [not the file in asserts]
- 3 ways are ifstream, pointer to ifstream, fopen
- use #if #elif #endif to separate 3 different ways, but they should be all the same
Bug fix and re-enable the texture loaded from android file system
- make the apk have the permission to read and write the external storage of android, like /sdcard
- re-enable the texture which load the external storage of png file in android as texture image data source