zz zz schreef: > List of fixes: > 1.Fixed a crash when firing the 2nd/3rd indirect weapon in combFire in > combat.c. > 2.Fixed target prediction finally(confused by x,y,z in pie and x,y,z > in game and swapped the sin and cos and never thought droid->sMove.dir > is in degree's ...) AA weapons can hit VTOL's relatively easy now due > to this change. > 3.Added smoke to AA gun bullet explosion effect even if it hits the > target. > 4.Fixed a bug which prevents AA weapon area of effect damage from > working properly(VTOL's was excluded in area effect damage check in > original project_Impact function),the 25% chance of AOE damage of AA > weapons defined in weapons.txt should work now. > 5.Changed units hitbox radius to use unit pie imd: > avg(imd.xmax + imd.zmax) for 2D radius > (imd.zmax + component.imd.zmax) for height(z) radius > > note:in pie/imd z is in game y,in pie/imd y is in game z > > 6.Removed the 'HeightBonus' thing since it's no longer needed. When applying your patch I'm getting compiler errors, these to be precise: > feature.h: In function `void proj_ImpactFunc(PROJ_OBJECT*)': > feature.h:54: error: too many arguments to function `BOOL > featureDamage(FEATURE*, UDWORD, UDWORD)' > projectile.c:2081: error: at this point in file > feature.h: In function `BOOL objectDamage(BASE_OBJECT*, UDWORD, > UDWORD, UDWORD)': > feature.h:54: error: too many arguments to function `BOOL > featureDamage(FEATURE*, UDWORD, UDWORD)' > projectile.c:2507: error: at this point in file Which occurs because you added `psStats->weaponClass' before `psStats->weaponSubClass' in the argumentlist on line 2081. And because you added `weaponClass' before `weaponSubClass' in the argumentlist on line 2507.
Both these changes where done without modifying feature.h and feature.c which would be a required change. When I simply revert the changes of those two lines your patch compiles without errors. -- Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
