Page 1 of 1

[Module] ResourcesModule.pbi

Posted: Sun Apr 28, 2019 12:34 pm
by Thorsten1867
Resources - Module (all OS / 64Bit)

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
  
Download: ResourcesModule.pbi

Re: [Module] ResourcesModule.pbi

Posted: Sun Apr 28, 2019 1:20 pm
by RSBasic
Image