Commit Graph

94 Commits (master)

Author SHA1 Message Date
per 500f3a8aec Add Jorzi's new heli models, and add generalized support for movement and standing still animation effects,
rather than the old hardcoded support for movement animation support for VTOL only.
2013-09-05 22:24:26 +02:00
per 19fab1f8cf Prettify terrain table stats a bit. 2013-05-25 15:05:00 +02:00
per ab25d2c38a Remove unused ski and jump propulsion types 2013-05-25 14:47:13 +02:00
per 889ed7727f Make the minimum damage that a weapon causes configurable, so that varying
degrees of 'armour penetration' ability can be set for each weapon.
2013-05-25 14:07:36 +02:00
per db5b44cb4a Fix laser satellite weapon hack (got fire pause overflow). 2013-05-18 00:10:09 +02:00
per 0e06dd0741 Remove some icky manual memory management for propulsion IMDs 2013-05-15 23:29:54 +02:00
per e7e643c05b Fix possible crash bug, remove useless casts to const chars, and remove duplicate macro getStatName(). 2013-05-13 23:11:34 +02:00
per 100f5e9560 Use 'names' fields in ini files instead of looking up names in names.txt 2013-05-12 23:50:57 +02:00
per 5990846eac Remove unused TableView code 2013-05-10 14:06:42 +02:00
per 81b4c63a82 Remove unused weapon upgrade struct 2013-05-09 13:25:40 +02:00
per 2459f78bd5 Clean up component definition, remove useless COMP_UNKNOWN and wrong comments. 2013-05-05 20:50:51 +02:00
per 545832358b Convert functions.txt to handle upgrades from within javascript and research.ini.
hackChangeMe() can no longer take -1, instead add new receiveAllEvents(bool) function
for that purpose. Campaign upgrades are not yet converted. All 'Power' settings in
ini files are changed, since they used meaningless values, to 'PowerLevel' with 0..2
values that correspond to button settings.
2013-05-05 13:34:59 +02:00
per 1b0032c337 Move max extra travel distance from missed projectiles to stats loading code. 2013-04-08 21:32:43 +02:00
per cf9299ad8c Remove broken counter-missile weapon type (probably never worked). 2013-04-08 21:23:07 +02:00
per 40647c5cad Misc cleanup, mostly forward ported from uncommitted qtscript patches. 2013-04-07 17:16:08 +02:00
per 367d2d96fd Remove unused SWEEP and ERRATIC-DIRECT weapon movement types. Cleanup weapon loading. 2013-03-23 17:33:37 +01:00
per af0a16764a Remove unused ECM power stats. Make ECM upgrades increase range instead. 2013-01-29 18:02:40 +01:00
crabster bd94e3de58 Rename incendiary damage to periodical damage. Add separate weapon class,
subclass and damage effect for periodical damage. This closes ticket:3913
2013-01-27 15:13:20 +01:00
vexed 6c6fe7c38a Merge branch 'bugfixes'
Conflicts:
	src/e3demo.cpp
	src/e3demo.h
2013-01-16 15:44:22 -05:00
vexed e34e7e4e0c Seems time don't stop, so bump the year to 2013. 2013-01-16 15:34:57 -05:00
automerge d24719344d Merge branch 'bugfixes' 2013-01-11 08:08:21 +01:00
Cyp 40cbe8067b cleanup: Remove some unused defines. 2013-01-09 12:53:03 +01:00
Per Inge Mathisen 10e1c26350 Stats cleanup. All YES/NO and true/false turned into 1/0. Unused FOM_PARTIAL removed.
Model lines containing '0' models removed - if an entry does not have a model, do not
add a model line. weaponmodifier.ini reorganized.
2012-12-10 16:48:22 +01:00
Per Inge Mathisen 91e4e32cab Change brain stats from CSV to INI file format. Patch by felipe
with some changes by me.
2012-11-03 14:44:25 +01:00
Per Inge Mathisen 2d5d60c551 Remove unused weapon stat directLife 2012-09-30 18:20:39 +02:00
Per Inge Mathisen 48e219d774 Make propulsion speed attributes (acceleration, turn speed, etc) configurable.
Make VTOL and leg propulsions also have turn speed adjusted by weight.
2012-08-12 15:02:11 +02:00
Per Inge Mathisen 30e0f8e65c Remove the distinction between short and long range for accuracy purposes.
Everything is now shooting at long range accuracy.
2012-08-11 16:12:26 +02:00
vexed 4b8aedff66 Fix compile accidently broken in 123e5a3a65 2012-02-27 22:29:24 -05:00
cybersphinx d78970cc7a Merge branch 'bugfixes'
* bugfixes:
  Only copy javascript doc if we build out of tree.
  Fix lassat firing too many times when clicking fast.
  Rename game debug messages to GAME_DEBUG_*.
  Synchronise enabling of debug mode.
  Remove legacy synch code.
  Update Vorbis to 1.3.3.
  In reference to 3e15039 bump the year in the mac files.
  Fix unit speeds.
  Fix ping times for clients. broken in 74261ad652
  Add a A_O_R to prevent crashing on null pointer
  Unfortunately, the Project can't stop time, so bump the year.
2012-02-15 23:10:06 +01:00
vexed 3e15039aa6 Unfortunately, the Project can't stop time, so bump the year. 2012-02-11 16:50:52 -05:00
Per Inge Mathisen 4f030f4b6d Fix ticket:3133 - Unable to order cyborg engineer production via JS api.
The problem was that a simplified droidType was passed in as a function
parameter to buildDroid(), and those droid types simplified out could not
be built. Solution chosen was to remove the droidType parameter - it is now
unused. Instead, the body stats can set the droid type, allowing us to know
which droid type we mean when we have specified a body component.
2012-02-07 22:09:10 +01:00
Per Inge Mathisen 80951e250f Remove utterly useless "specialability.txt" 2012-01-15 18:18:42 +01:00
Per Inge Mathisen ec6c2b4232 qtscript: Assert that input to timer/queue/bind functions are quoted functions.
Add modules property to relevant buildings. Simplify and document droid types.
2012-01-12 19:00:58 +01:00
Per Inge Mathisen 84a54e705f Add possibility of limiting weapons by body size by classifying them as
either light or heavy. Light weapons can only be added to light bodies,
while heavy weapons cannot be put on light bodies.
2011-12-28 14:37:48 +01:00
Per Inge Mathisen 0b86ed145b Store body size as an enum. 2011-12-22 13:25:42 +01:00
Per Inge Mathisen 579e1502cb Add possibility to balance weapons against body types, not just propulsion types. 2011-12-18 19:06:34 +01:00
Cyp e02cb38ac0 Simplify module model code, display correct module in blueprints.
The new module pie files will need cleaning up.

Fixes ticket:2954.
2011-11-30 19:13:46 +01:00
Per Inge Mathisen 3aba15e9d9 Remove support for armour sides. It was never used or developed to work properly. 2011-11-20 23:18:12 +01:00
Buginator 1f5d94a564 Fix VS2k10 for Qt.
NOTE: All Qt headers *MUST* be before of the other headers, or else we get tons of conflicts
***
DO NOT CHANGE HEADER ORDER, unless you know what you are doing, it will fubar
other build systems!
****
close ticket:2570
2011-03-24 20:06:59 -04:00
Cyp 4a1b5fb543 Bump year.
sed -i 's/\(Copyright (C) .*-201\)0\( *Warzone 2100 Project\)/\11\2/' {src,lib/*{,/*}}/*.{c,cpp,h,y,l}
2011-02-25 18:50:54 +01:00
Cyp 3d5f96f199 Fix memory leak when saving config.
Fixes ticket:2455.
2011-01-20 21:26:00 +01:00
Cyp 6a99f44265 Add some comments on the stats loading. 2011-01-04 23:47:43 +01:00
Cyp 1d100e6c70 Rewrite stats loading for DROID_TEMPLATE. 2011-01-04 23:13:53 +01:00
Cyp 9cdf0c4e31 Rewrite stats loading for STRUCTURE_STATS. 2011-01-04 23:13:53 +01:00
Cyp 7481694e9f Rewrite stats loading for FEATURE_STATS.
The same should be doable for all BASE_STATS.
2011-01-04 23:13:53 +01:00
Per Inge Mathisen 67e9635f9f Merge the ivis_common and ivis_opengl directories, only five years and two months after I originally split them apart. 2010-12-31 22:37:14 +01:00
Cyp 2d00cb93bd Make object inheritance hierachy explicit instead of a mixture of defines and duplication.
Explicit casts from compatible objects to BASE_OBJECT * and SIMPLE_OBJECT * are now redundant.
2010-12-16 23:33:19 +01:00
Per Inge Mathisen 6bace8bdf5 Remove unused variables for weapons. 2010-11-25 22:32:46 +01:00
Buginator edb644a03b Fix (and add missing) headers to files.
2009  Warzone Resurrection Project -> 2010  Warzone 2100 Project

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11298 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:33 +02:00
Cyp 6ddb1eadb2 cpp: Add extern "C" {} in headers.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9336 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:21 +01:00