-new ORDER_CIRCLE VTOL command - will defend a certain position flying over it and engaging enemies nearby
-adds additional armor types for all sides of a droid (rear, front, top, bottom, left, right) - additional armor definitions are in body.txt.
Droid damage is now also a function of the impact side.
-adds multi-turret support for VTOLs
-modifies connectors in bodies: first 5 connectors are for ground units, the rest is for VTOL.
-introduces some fixes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@901 4a71c877-e1ca-e34f-864e-861f7616d084
-void pointer is now compatible with any other pointer type
-strings can now be directly compared using '==' and '!=' operators
-added a linguistic chat message parser with some generic messages predefined - to be used for Human<->AI and AI<->AI communication
Note: chat_lexer.l should be compiled using an additional -i switch for case-insensitive lexer
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@898 4a71c877-e1ca-e34f-864e-861f7616d084
- bug#7423 : Segfault because of missing argument to COMPRINTF in src/structure.c
- Repair units recieving attack orders and are thus not repairing.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@897 4a71c877-e1ca-e34f-864e-861f7616d084
-fixed MSVC compilation issues and wrong casts in initializations
Scripting Engine:
-lexer will now skip all macros in script files - allows to use macros in IDEs
-float data type can now be used in boolean expressions
-fixed visibility check in initEnumStruct() script function
-fixed playerLoaded() script function
-added some new script functions
-Object.weapon now also works with structures
-added decrement/increment operators
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@889 4a71c877-e1ca-e34f-864e-861f7616d084
034 - Reorganized src-warcam.c
036 - Cleanup includes and function declarations
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@884 4a71c877-e1ca-e34f-864e-861f7616d084
I'll personally kill the one who adds another unitialized entry to an array with tons of members like these... ( ;) )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@878 4a71c877-e1ca-e34f-864e-861f7616d084
Some variables, functions used are only compiled
in with DEBUG so the debugging-calls can only be
used inside DEBUG
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@877 4a71c877-e1ca-e34f-864e-861f7616d084
Changes several DBPx macros to debug() calls and:
I introduced 2 new categories: LOG_MOVEMENT and LOG_ATTACK
and what didn't fit in was set to LOG_NEVER.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@876 4a71c877-e1ca-e34f-864e-861f7616d084
1.Fixed a potential crash with transport.
2.Fixed a crash/repair units disorder when linked to a commander(found by
hikaru-orly)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@875 4a71c877-e1ca-e34f-864e-861f7616d084
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