AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
mod.h File Reference

Defining and initializing mods. More...

Go to the source code of this file.


struct  AERModDef
 Definition of a mod. More...

Detailed Description

Defining and initializing mods.

When the MRE successfully loads a mod library, it first searches for and calls the mod's public definition function, which must have the signature:

void define_mod(AERModDef *def);
Definition of a mod.
Definition: mod.h:55

In an attempt to accommodate varied naming conventions, this function may be named any of the following:

  • define_mod
  • definemod
  • defineMod
  • DefineMod

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.