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
6.Fixed crashes when firing at baba people,baba vehicle in singleplayer
campaign(thanks to hikaru-orly for the crash reports)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@873 4a71c877-e1ca-e34f-864e-861f7616d084
support the required %name-prefix tag. MacOSX, incredibly, still ships
with an older version of bison than this, so we need the check.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@870 4a71c877-e1ca-e34f-864e-861f7616d084
-adds penetrate flag to weapons.txt (relevant for multiplayer)
-increases hit-box radius
-adds some fixes to the hit-system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@868 4a71c877-e1ca-e34f-864e-861f7616d084
- Fix a lot of char* related warnings (fixing of scripttabs.c needs to be finished like I started it)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@867 4a71c877-e1ca-e34f-864e-861f7616d084
- Move two global variables only used in PlayList_Read into that
function.
- Remove a useless comparison (unsigned int can never be < 0)
- Check for '\r' as well as '\n'. This should make playlists with DOS
line endings work.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@860 4a71c877-e1ca-e34f-864e-861f7616d084
-compiler and parts of interpreter now use union to store different data types
-got rid of a great deal of pointer->integer casts
-ASSERT() now outputs last event (or function) called by scripts
-implemented float data type support for the scripting engine - basic functionality at the moment
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@846 4a71c877-e1ca-e34f-864e-861f7616d084
Made proj_SendProjectile to accept another BOOLEAN value 'bPenetrate',when set to TRUE it will create a new projectile upon impact and the newly created projectile will try to reach the destination of the impact'ed projectile.(FLAME,ELECTRONIC,GAUSS weapons projectile can penetrate several enemy units)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@831 4a71c877-e1ca-e34f-864e-861f7616d084
FIXME why is psDroid->asWeaps[0].nStat set to 0xCD instead of being initialized properly?
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@830 4a71c877-e1ca-e34f-864e-861f7616d084
This is just a quick hack. Value 7 was only determined in trial and error, no one knows what FP12_MULTIPLIER exactly means.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@828 4a71c877-e1ca-e34f-864e-861f7616d084
- *WarzoneKeyNumeric definition changed to SDWORD
- Report wrong tracknumbers to LOG_SOUND and don't crash in sound_Play*DTrack
- Correct --help text
- Make console backlog key configurable
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@810 4a71c877-e1ca-e34f-864e-861f7616d084
- Also change --(no)sound to just set war_setSoundEnabled() and store the config in configuration.c instead.
- resolution config value has been changed to width and height (easier to parse). I probably forgot to tell that I changed the --viewport cl option to --resolution, which should be more clear to non programmers.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@809 4a71c877-e1ca-e34f-864e-861f7616d084