mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
The new <BarrelConfiguration>-tag specifies how many bullets a gun shoots at once. Several values can be used. If no value is set, 1 will be used.
Toggling fire modes cycles between barrel configurations if several have been set. Requires GameDir >= r2461 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8652 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1549,7 +1549,12 @@ public:
|
||||
|
||||
// Flugente: Decrease this filler by 1 for each new UINT8 / BOOLEAN variable, so we can maintain savegame compatibility!!
|
||||
// Note that we also have to account for padding, so you might need to substract more than just the size of the new variables
|
||||
UINT8 ubFiller[16];
|
||||
UINT8 ubFiller[12];
|
||||
UINT8 ubFiller1[2];
|
||||
|
||||
// Flugente: keep track of data for multi-barrel guns
|
||||
UINT8 usBarrelMode; // states how many barrels we are currently using as modifier for our fire mode
|
||||
UINT8 usBarrelCounter; // states which barrel we are currently firing from (used during the firing process)
|
||||
|
||||
// Flugente: focus skill gridno
|
||||
INT32 sFocusGridNo;
|
||||
|
||||
Reference in New Issue
Block a user