Jo Engine 2026.11.1
Jo Sega Saturn Engine
Loading...
Searching...
No Matches
weapon.h File Reference

Weapons of the player: the definitions (section WEAP of a level, for instance a file of definitions shared by the levels, see Documentation/level_format.md) and their rules: ammunition, fire rate (automatic or one shot per press), reload, change of weapon. The game draws the weapon of jo_weapons_current() and makes the shots (the bullets, the sounds, the flash) on the events of jo_weapons_update(). More...

Go to the source code of this file.

Detailed Description

Weapons of the player: the definitions (section WEAP of a level, for instance a file of definitions shared by the levels, see Documentation/level_format.md) and their rules: ammunition, fire rate (automatic or one shot per press), reload, change of weapon. The game draws the weapon of jo_weapons_current() and makes the shots (the bullets, the sounds, the flash) on the events of jo_weapons_update().

Author
Johannes Fetz
Remarks
Module JO_COMPILE_WITH_LEVEL_MODULE = 1 in the makefile