beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
182 stars 95 forks source link

Get rid of `EmgCannon`, `Flamer` and `DGun` weapon types #1460

Open sprunk opened 2 months ago

sprunk commented 2 months ago

Figure out what it does that Cannon or LaserCannon don't. Add that functionality (if any) to Cannon or LaserCannon, then remove.

IcarusRTS commented 2 months ago

In order for this to be accomplished. the FireImpl function needs to check what type of weapon is it before executing the code as each one's function executes a different set of code and make Init function execute when the weapon is DGun specifically.