StudioHdr icon indicating copy to clipboard operation
StudioHdr copied to clipboard

Namespace separation, SM1.12 support, no hacky initialization

Open Alienmario opened this issue 1 year ago • 0 comments

This is a larger edit to get the include to work with SM1.12. I've also made changes along the way to reduce namespace conflicts for larger plugins by adding a prefix, using static variables, or moving methods to methodmaps. I've also removed the OnPluginStart redefine and moved auto-initialization to StudioHdr constructor.

Basic usage with model_path constructor remains the same as before. GetEntityStudioHdr becomes StudioHdr.FromEntity.

Alienmario avatar Nov 29 '24 16:11 Alienmario