hgeResourceManager Constructor

To create and initalize a hgeResourceManager object you may use this constructor:

hgeResourceManager(
  const char *scriptname = 0
);

Parameters

scriptname
Resource script filename. If =0 or omitted, no script will be used.

Remarks

Although you have to create a resource script to manage complex resources, you still can use hgeResourceManager without it. This will allow you to address raw resources, textures, sound effects and musics by their file names.

All the resources loaded by hgeResourceManager object will be deleted from memory within hgeResourceManager destructor.

The resource script is loaded with Resource_Load function, so all it's features are applicable.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib

See also

ChangeScript, Resource script