AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
Bug List
Member AERRandDouble (void)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandDoubleRange (double min, double max)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandFloat (void)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandFloatRange (float min, float max)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandGenDouble (AERRandGen *gen)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandGenDoubleRange (AERRandGen *gen, double min, double max)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandGenFloat (AERRandGen *gen)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERRandGenFloatRange (AERRandGen *gen, float min, float max)
This function uses a method of obtaining floats from integers that is now known to introduce slight distribution-related bias (see Generating Random Floating-Point Numbers by Dividing Integers: a Case Study by Frédéric Goualard). This is unlikely to cause issues in the vast majority of usecases, but it should be kept in mind.
Member AERSaveGetCurrentSlot (void)
When a save has not yet been loaded (such as is the case at the title screen), this function returns 0.
Member AERSpriteRegister (const char *name, const char *filename, size_t numFrames, uint32_t origX, uint32_t origY)
The coordinates defining the origin of a sprite may be negative despite the fact that both arguments origX and origY are unsigned. They are being left as unsigned to preserve API compatibility. To pass a negative value for a component of the origin, cast it to uint32_t.
Member AERSpriteReplace (int32_t spriteIdx, const char *filename, size_t numFrames, uint32_t origX, uint32_t origY)
The coordinates defining the origin of a sprite may be negative despite the fact that both arguments origX and origY are unsigned. They are being left as unsigned to preserve API compatibility. To pass a negative value for a component of the origin, cast it to uint32_t.