Pack all resources of a program (e.g. images) into a single file and load them later directly from this file (into memory).
Code: Select all
; ----- PackResource - Commands -----
; PackResource::Open() - Open and define resource file and resource name
; PackResource::Close() - Close resource creation
; PackResource::Add() - Add resource (Image/XML/JSON/Sound)
; PackResource::Create() - Create resource file
; ----- Resources - Commands -----
; Resource::Open() - Open resource file
; Resource::GetImage() - Load image from resource file
; Resource::GetXML() - Load XML from resource file
; Resource::GetJSON() - Load JSON from resource file
; Resource::GetSound() - Load Sound from resource file
; Resource::GetFileSize() - Get size of resource (Image/XML/JSON/Sound)
; Resource::GetFileMemory() - Copy resource to memory (Image/XML/JSON/Sound)
; Resource::Close() - Close resource file