2016-11-30 17:16:45 +00:00
|
|
|
var FILE_CONST = {
|
|
|
|
|
2016-12-06 15:15:42 +00:00
|
|
|
LOADER_IDLE: 0,
|
|
|
|
LOADER_LOADING: 1,
|
|
|
|
LOADER_PROCESSING: 2,
|
|
|
|
LOADER_COMPLETE: 3,
|
|
|
|
LOADER_DESTROYED: 4,
|
|
|
|
|
|
|
|
FILE_PENDING: 5, // file is in the load queue but not yet started
|
|
|
|
FILE_LOADING: 6, // file has been started to load by the loader (onLoad called)
|
|
|
|
FILE_LOADED: 7, // file has loaded successfully, awaiting processing
|
|
|
|
FILE_FAILED: 8, // file failed to load
|
|
|
|
FILE_PROCESSING: 9, // file is being processed (onProcess callback)
|
2016-12-07 04:43:02 +00:00
|
|
|
FILE_WAITING_LINKFILE: 10, // file is being processed (onProcess callback)
|
|
|
|
FILE_ERRORED: 11, // file is being processed (onProcess callback)
|
|
|
|
FILE_COMPLETE: 12, // file has finished processing
|
2016-12-07 13:34:21 +00:00
|
|
|
FILE_DESTROYED: 13, // file has been destroyed
|
|
|
|
|
|
|
|
TEXTURE_ATLAS_JSON_ARRAY: 20,
|
|
|
|
TEXTURE_ATLAS_JSON_HASH: 21
|
2016-11-30 17:16:45 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = FILE_CONST;
|