double Engine_getDefaultFrictionCoefficient()
Gets the default friction coefficient for a sprite.
int Engine_setGroundY(int y)
Sets the Y level of the ground for the physics engine.
int Engine_getForceOfGravity()
Gets the force of gravity, in characters per second squared.
int Engine_getTerminalVelocity()
Gets the terminal velocity, in characters per second.
int Engine_setForceOfGravity(int force)
Sets the force of gravity, in characters per second squared.
int Engine_getGroundY()
Gets the Y level of the ground for the physics engine.
int Sprite_isStatic(CmdFX_Sprite *sprite)
Gets whether this sprite is static.
int Engine_setCharacterMass(char c, int mass)
Sets the default mass of a character.
int Engine_cleanup()
Cleans up the physics engine.
int Sprite_setStatic(CmdFX_Sprite *sprite, int isStatic)
Sets whether this sprite is static.
int Engine_setTerminalVelocity(int velocity)
Sets the terminal velocity, in characters per second.
int Engine_getCharacterMass(char c)
Gets the default mass of a character.
int Engine_start()
Starts up the physics engine.
int Engine_end()
Stops the physics engine.
int Engine_setDefaultFrictionCoefficient(double coefficient)
Sets the default friction coefficient for a sprite.
void Engine_tick()
Ticks the physics engine.
Represents a sprite that can be drawn to the terminal.
Definition sprites.h:28