Commit Graph

1083 Commits (1b39b6d441964f9ff30d469010b50ce7b61b7266)

Author SHA1 Message Date
Cyp a3e5ea7276 Reduce dependence on MAX_PLAYERS == 8. 2011-01-13 15:58:46 +01:00
Per Inge Mathisen 05a8e6ecd1 No longer read wrf files specified directly from map files. Instead, call them directly from the code.
This saves us a lot of duplicate data, and reduces the amount of weird things a map can do. Reviewed by Cyp.
2011-01-12 21:15:25 +01:00
Per Inge Mathisen e021afe37a Load scavenger script depending on scavenger button settings, not on wrf file settings. 2011-01-12 19:35:35 +01:00
Per Inge Mathisen a7292473b6 Remove unused or duplicate data files. 2011-01-12 19:33:14 +01:00
Per Inge Mathisen a37b819a8d New difficulty icons by flail13 2011-01-10 21:29:53 +01:00
Per Inge Mathisen 0aa784b612 Forgot to commit the .ai file for Dydo. 2011-01-10 19:26:01 +01:00
Per Inge Mathisen d6ee18c895 New script function getDifficulty(int) to find which difficulty level a given player has. Also added four new
constants to check against: EASY, MEDIUM, HARD and INSANE. Semperfi modified to be less nasty in easy and medium
difficulty levels.
2011-01-09 22:24:09 +01:00
Per Inge Mathisen f263cf5103 Add GUI dialog for choosing which AI you want to play against. Move semperfi and dydo into main. Change difficulty
slider into four separate steps (Easy, Medium, Hard, Insane). Thanks to Cyp for review. For more info, see ticket:2435
2011-01-09 16:35:49 +01:00
Cyp b143d53ae1 Fix newly built human-player droids being partially unassigned from commanders by AI scripts.
And make all factory attributes be written to the new droids.
2011-01-09 05:22:54 +01:00
Per Inge Mathisen cfa47fbb70 Remove unused duplicates from campaign wz, and move three files only used in multiplayer to mp wz. 2011-01-08 17:05:11 +01:00
Per Inge Mathisen 7f5da6ad47 Use more of MAX_PLAYERS in the code rather than plain numbers. Define MAX_PLAYERS for scripts. From patch by Cyp. 2011-01-05 23:09:38 +01:00
Cyp 6f71d8925e Add missing minum32.pie, to match the .wrf files.
(Deleted one too many, before.)
2011-01-04 23:09:12 +01:00
Cyp 61ed2a1505 Bump max structure limits, now that UI supports them. 2011-01-04 22:40:35 +01:00
Cyp ee048302f8 Add more assembly point graphics. 2011-01-04 22:40:06 +01:00
Per Inge Mathisen e29bb60fff Fix misspelling of 'guard tower' in PIE file name to match similar rename in wzgm. 2011-01-01 13:08:43 +01:00
Per Inge Mathisen 724cd69882 Define the default fog colour in the palette file instead of hard-coded. 2010-12-31 23:42:21 +01:00
Per Inge Mathisen 3d7a7b397b simplipie: Fix error when fixing face culling and tessellation at the same time. 2010-12-31 18:20:51 +01:00
Per Inge Mathisen e5edaeabfd Tessellate features, effects and other models. 2010-12-31 17:46:08 +01:00
Per Inge Mathisen d73adb4a90 Tessellate components. 2010-12-31 17:36:14 +01:00
Per Inge Mathisen 961d38b6ab Tessellate all structure models. 2010-12-31 17:20:29 +01:00
Per Inge Mathisen aafe14fbc2 Add separate shader for models rendered for buttons to remove lighting effects from those.
Add support for per-pixel lighting. Patch reviewed by SafetyOff.
2010-12-28 23:35:57 +01:00
Per Inge Mathisen f5ea79ed3c Enable OpenGL lighting controlled through the vertex shader. Added two new script functions setSunPosition an setSunIntensity.
Added a new PIE file directive MATERIALS that sets material properties for a mesh level. Original patch reviewed by SafetyOff.
2010-12-26 22:12:53 +01:00
Cyp ba1bd6b6d6 Revert removal of loading of psStats->incenTime, since it was actually used.
Was especially noticable in the case of plasmite bombs.

(Was part of 6bace8bdf5df6fb19df48bda4adce41704467aad.)
2010-12-12 17:33:40 +01:00
cybersphinx dd4391990d Get rid of a few unnecessary Makefile.ams. 2010-12-11 16:41:57 +01:00
Per Inge Mathisen adea03a17c semperfi: Make several global variables local. 2010-12-07 22:10:21 +01:00
Per Inge Mathisen e2d83d483d Fix AI script event not triggering on production done. Also fix lack of UI updates when AI produces something. Thanks to Cyp for infinite reviews. 2010-12-07 21:58:37 +01:00
buginator ac6b928ad7 Fix map preview screen redrawing, broken in f2ae61805c
Add entries to palette.txt for the new colors used in map preview.
Draw location of oil features.

Changelog: Enhance map preview to show oil locations.
2010-12-06 21:14:06 -05:00
Per Inge Mathisen 3843c8c00c Fix texture name references. Patch by Berg. Closes ticket:2385 2010-12-06 21:05:16 +01:00
Per Inge Mathisen d2a1422477 Fix typo. Closes ticket:2388 2010-12-06 21:02:15 +01:00
Per Inge Mathisen 940efd25fe semperfi: Combine the template lists for the two tech trees, so that air AIs do not end up build crap ground units late game. 2010-12-05 16:34:31 +01:00
Per Inge Mathisen 4f85821bab Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. See ticket:2310 2010-12-05 16:17:26 +01:00
Per Inge Mathisen 6d12963fc5 semperfi: Make sure we build a factory first, even if we need power generators. Always help build the closest structure.
Grab trucks from wider distance to accomodate maps that place starting trucks far away from base.
2010-12-05 15:56:26 +01:00
Per Inge Mathisen 7de25a9d5b Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See ticket:2310 2010-12-04 15:57:26 +01:00
Per Inge Mathisen f8a7cde68a Add missing skirmish overrides for multiplayer with scavengers. I have no idea why there are skirmish wrf files in
the single player data files to begin with, nor why these do not contain scavengers. This fixes ticket:2369 reported
by hao that scavengers do not work in 3/5/6/7-player maps.
2010-12-04 15:28:55 +01:00
Per Inge Mathisen 6bace8bdf5 Remove unused variables for weapons. 2010-11-25 22:32:46 +01:00
Per Inge Mathisen dc4c88e5ee Fix hoverwreck with zero body points 2010-11-25 20:19:30 +01:00
Per Inge Mathisen bc1fd6cbbc Do not keep unused structure variables in memory, and document them as being unused in the data header. 2010-11-25 20:05:42 +01:00
Per Inge Mathisen 28c1b3ea8d Run simplipie over all PIE models. This removes team colour info when tcmask is used in the model and the number of frames is 8. Also fixes some other issues found by simplipie. 2010-11-12 22:55:30 +01:00
Per Inge Mathisen f4192aa462 Remove some now unnecessary texture references to stress lazy texture loading. See ticket:2304 for more info. 2010-11-12 21:32:56 +01:00
Per Inge Mathisen 8d4111886b Add proper filenames to textures for models that are missing this. Required for lazy texture loading, see ticket:2304 2010-11-12 21:30:22 +01:00
Per Inge Mathisen 4eedc06362 Use Mysteryem's new tree textures (http://forums.wz2100.net/viewtopic.php?f=33&t=3485) for rockies tileset. 2010-11-07 17:44:27 +01:00
Per Inge Mathisen 4492a1fbff Add higher resolution feature textures by Black Project. Closes ticket:2279 2010-11-06 17:56:01 +01:00
Per Inge Mathisen f78910162b Universal feature support by Mysteryem from ticket:872 2010-11-06 17:35:17 +01:00
Per Inge Mathisen f17981b6d6 semperfi: There is no point in rushing out to fortify an oil well that the enemy cannot (safely) get to. 2010-11-05 22:15:00 +01:00
Per Inge Mathisen d9be3f5bf4 semperfi: Do not send trucks to build at oil derricks where they will be shot to pieces en route. 2010-11-05 21:39:38 +01:00
Per Inge Mathisen bd82f2b8e2 Make danger map accessible to scripts. New functions: safeDest(plr, x, y) and threatAt(plr, x, y) for querying it. 2010-11-05 21:16:05 +01:00
Per Inge Mathisen fb58bfdaf8 Add missing files for 3,5,7 player map support. Closes ticket:2289, fix by Black Project. 2010-11-03 20:03:40 +01:00
Per Inge Mathisen d46309b6d1 Fix 2 rockies tileset decals (page-55.png and page-62.png). Patch by Dark Project in ticket:2285 2010-11-02 23:27:25 +01:00
Christian Ohm fb18403d75 New terrain textures.
Refs #2013.
(cherry picked from commit d7dcf7c32c5d8210b999574d62e6462fa89104d1)
2010-10-24 22:50:45 +02:00
Per Inge Mathisen b7c9a369d6 Add new backdrop from forum member jorzi. 2010-10-24 19:55:57 +02:00
buginator 40c5ace37b Correct typo to make the SuperTransport's enigine output higher (faster)
(cherry picked from commit f0b7fc5ed3a9d0de7fd41ee3039b08b50818bec2)
2010-10-20 21:53:03 -04:00
buginator 8b50aebec8 fixes Ticket:2233 (artifacts texture issues) fixed by Berg.
(don't ask me how the other commit message got mangled)

(cherry picked from commit 9ba8522cb643d10e684725fcf1b158727c7a4756)
2010-10-20 01:25:55 -04:00
buginator 3f2540fea3 Fix flashing animation again.
Fixed by Berg.
(cherry picked from commit c0a12c32c6f8cd291bd154e2fef669a535732843)
2010-10-20 01:24:05 -04:00
buginator c59292e57e Fix pie file for transport shadow.
Fix by Berg.
(cherry picked from commit b923ae28d7320ae66062bed67c0a3145213b72c8)
2010-10-20 01:23:42 -04:00
Cyp 4ccd57baed Add missing "tileset \" to BASELIST, it should now be possible to start games again. 2010-10-18 03:52:05 +02:00
buginator ff4690745f Externalize the former anonymous enum members for each tileset.
This now allows switching between texture sets much easier than what
    was previously possible.

    NOTE: Files are currently set up for trunk's textures.

    refs ticket:2013
(cherry picked from commit 696f6c251fe9359041e0905207843f79f0ee1d2a)
2010-10-17 19:32:58 -04:00
safety0ff 43d449aec7 Apply TCMask to VTOL factories.(cherry picked from commit b04220cb317340e2c96e32b058e85b8cd0db200c) 2010-10-17 19:32:57 -04:00
buginator b16dbab041 Apply textures from ticket #1757
TCmask textures ticket:1757
    TC mask textures done by Berg
(cherry picked from commit 2bab0b57a91ad4d83c5e8c2731e1a3c9ae2c8a92)
2010-10-17 19:32:56 -04:00
buginator 82b95c20ea Apply TCmask to command relay center
(cherry picked from commit 8e3bb05fe807fb10e851c370498e7751c6e5d54c)
2010-10-17 19:32:55 -04:00
buginator 9b05b30402 Apply TCmask to factory
(cherry picked from commit af45b8dbe9d03b0a70d90e3dba39301614b806a6)
2010-10-17 19:32:55 -04:00
buginator 162573a74d Apply TCmask to HQ
(cherry picked from commit 5217d81a458b94d52990d1efbacc39a7c2aa572b)
2010-10-17 19:32:54 -04:00
buginator 4d4e39e6d4 Apply TCmask to research center
(cherry picked from commit b91f08c5977c910fca985eb2d04106827395df7a)
2010-10-17 19:32:53 -04:00
buginator 91e3dd44b7 Fix a typo. Thanks to Berg for the heads up.
(cherry picked from commit d90e246441df486d2c2a077b39151c3333baf8d4)
2010-10-17 19:32:52 -04:00
buginator e70c36723a Fix wrf files to make it more clear what is going on.
Frontend.wrf is *NOT* the main texture loader for MP games, we are
    using limiter_tex.wrf for that, which is hardcoded in the sourcecode.
    (This is same behavior as trunk)
(cherry picked from commit fb4a9e2797252b438a1b2fbfe14f71aa2a641b9b)
2010-10-17 18:46:10 -04:00
buginator 5dc7903b9b Externalise all map tileset settings.
(data files)
(cherry picked from commit 5b56edc6fd0fcf8be5b313d77757c61f937cf44e)
2010-10-17 18:46:09 -04:00
buginator 905d039a56 Apply TCmask pies from ticket:1757
Textures & wrf changes will be in next commit
(cherry picked from commit 82a93bb9cf8cf58ef2097aa43f75a620d1e8e309)
2010-10-17 18:46:08 -04:00
buginator 89e9127957 The Super Transport (which is the same gfx as the transport in SP game) is available
in MP games now.
    The Super Transport can carry a max of 10 units, their weights are calculated by
    Cyborg / light unit : 1 "slot" used
    Medium unit : 2 "slots" used.
    Heavy : 3 "slots" used.

    The Super Transport becomes available after you reseach the cyborg transport,
    and you research the Super Transport.

    The stats of the Super Transport are NOT final.

Conflicts:

	data/mp/stats/assignweapons.txt
	data/mp/stats/templates.txt
	src/order.c
2010-10-17 18:46:07 -04:00
buginator 4cc9640860 Add support for X player maps. You need flaME 1.10 or higher to make the new maps.
This adds support for 3,5,6 & 7 player maps.
2010-10-17 18:46:07 -04:00
Buginator 3defb7a8da Thanks to the follow individuals for the new icons! Forum members "Jorzi" (kick icon) "CinC" (VTOL/NO VTOL icon) and "n2large0shirt" (Cyborg / no Cyborg icon)
Thanks to Mysteryem for cleaning up the icons and doing some modifications as well so they all match the theme.

Cherry-picked from 934b5a4803efbc15159d07dc197424f63f3ec29e = 2.3@11710, resolved conflict by taking 2.3's data/base/images/frontend4.png and recrushing.
2010-10-07 13:06:03 +02:00
Giel van Schijndel 0cbe0b2ccf team-color mask shader: reduce required shader version to 1.10
Reduce the required shader version for the team-color mask shader to
GLSL 1.10.  As a result we loose the invariance guarantee for produced
vertex data, but in our case that ''probably'' doesn't matter.

As a result of this change, non-compliant OpenGL implementations which
''claim'' GLSL 1.20 support (but don't provide it), will be able to work
again.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11719 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-20 18:34:42 +02:00
René Jürgens 3aacc17431 fixing the sound problem with - old 1.10 balance
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11704 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-20 18:34:42 +02:00
Per Inge Mathisen d6baaff477 Add #version line to the tcmask vertex shader to avoid errors/warnings.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11688 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-20 18:34:41 +02:00
Giel van Schijndel cecef2e1e7 vertex shader: don't use deprecated ftransform()
Replace the usage of the depecrated ftransform() function with an
equivalent expression along with the invariance guarantee.  Let the
shader compiler deal with optimising this expression.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11676 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-17 11:44:57 +02:00
Giel van Schijndel 4cb7957bd0 Use native EOL to store the shaders
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11670 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-16 11:05:20 +02:00
Guangcong Luo d95995d682 Fix bug #2147, fix bug #2158, remove VTOL Flak Cannon (doesn't make sense lore-wise, and did too much friendly fire to be useful).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11649 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-13 10:49:13 +02:00
Guangcong Luo 3f97c795c0 Rebalance 0.8.3:
- Weaken Flak Cannon and Sunburst a lot more. I'm pretty sure this change makes them too weak, but when introducing new weapons it's better to make them too weak than too strong.
- Increase HP of a bunch of VTOL weapons
- Slightly buff Hurricane/Whirlwind

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11634 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-07 00:37:56 +02:00
Safety0ff 2c23ee1b0c Fix invalid values in trmair2.pie and trmair3.pie (use files identical to 2.3's).
Closes #2149.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11629 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 20:51:18 +02:00
Buginator 2115057889 Fix WreckedDroidHub with 7 armor and 60 HP. No real reason for those numbers, just wanted to make it harder to kill ;)
refs r11186 close ticket:1711
2.3: r11280


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11628 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 20:51:18 +02:00
Guangcong Luo d03a9c1fc3 Rebalance 0.8.2 - even more changes:
- Add air-to-air versions of Sunburst and Flak Cannon
- Increase research/manufacture/build price of Sunburst and Flak Cannon by a lot, to offset the fact that you don't have to upgrade them separately

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11606 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 00:21:00 +02:00
Guangcong Luo de98e4c8b8 More Rebalance 0.8 - nerf Flak Cannon a bit per feedback from LuckyLuke/Germanium.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11602 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 00:21:00 +02:00
Guangcong Luo 5a838147f8 Rebalance 0.8.2:
- Decrease ground-to-air damage modifier of minipod, lancer/TK/scourge cyborgs/VTOLs, Sunburst, and Flak Cannon from 100% to 80%.

Also fix "NOT USED Assault Gun Hardpoint" which is actually used, and also fix bug #2140 - Flak Cannon was being obsoleted by Whirlwind.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11599 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 00:21:00 +02:00
Guangcong Luo fa3897faa4 Fix bug #2134 - problems with tech tree
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11589 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-05 00:21:00 +02:00
Guangcong Luo abc4db390b Rebalance 0.8.1:
- Removed Cyclone turret
- Added: AA Flak Cannon (and Emplacement and Hardpoint)
  - Flak Cannon is a medium-reload splash weapon
  - Prerequisites: HPV
- Added: Sunburst AA Rocket Array (and Site)
  - Sunburst is a slow-reload salvo weapon
  - Prerequisites: Lancer
- Lancer damage toned down a bit
- Heavy Laser damage increased a bit

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11569 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-03 12:31:20 +02:00
Guangcong Luo fe68bb78cc Rebalance 0.8:
- Merge of mini-rocket and rocket subclasses (so they're affected by the same upgrades).
- The merged subclass has 9 damage upgrades (+25% each), 3 accuracy upgrades (+10% each), and 3 ROF upgrades (-15% reload time each)
- Lancer, TK, BB, Cyborg Lancer, and Super TK Cyborg have their damage adjusted so that their fully upgraded damage remains the same
- Slight buff to Heavy Laser, Avenger, and Vindicator damage
- Require HQ for every weapon structure, not just MG Tower

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11561 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-01 13:02:51 +02:00
Christian Ohm e1a812fd2e Check if zip understands --filesync, else use -u.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11554 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-30 14:31:04 +02:00
Christian Ohm 651970e1de Use filesync instead of update to create .wz files.
This will prevent warnings when the archives don't exist (for clean builds),
and remove files from the archives that have been removed from the repo (for
unclean builds).

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11552 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-28 20:30:48 +02:00
Guangcong Luo 5753eb944d Newer weapons texture - refs #2115
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11535 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-27 20:16:22 +02:00
Guangcong Luo 929f773494 More improvements to weapons textures; reset RGB channel of transparent colors to black.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11533 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-27 20:16:22 +02:00
Guangcong Luo b98aeb55b4 Improved weapon textures - new version of page-17-droid-weapons.png. refs #2115
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11529 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:34 +02:00
Christian Ohm e0fdc8cc66 Rename "Fire Cannon" to "Cannon Fire Truck".
Refs #2102.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11515 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:33 +02:00
Christian Ohm 2dd806bb92 Remove NTW mod from Makefile.am.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11512 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:31 +02:00
René Jürgens f50b5ed945 - End the Support for Trunk Version.
- Dont forgett to Edit the Makefiles.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11509 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-23 16:35:29 +02:00
Cyp 7d5f1271a9 Merge remote branch 'origin/master' into newnet
Conflicts:
	.gitignore
	lib/iniparser/Makefile.am
	macosx/Resources/wzlocal/pt_BR.lproj/InfoPlist.strings
2010-08-14 11:26:09 +02:00
Christian Ohm 5a21521678 Make some internal component names untranslatable.
Closes #2064.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11402 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-09 09:14:50 +02:00
Safety0ff 9998b89016 Apply patch from #2007 (Remove randomiseSeed calls from scripts.)
Closes #2007.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11386 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-05 20:05:02 +02:00
Buginator 0a4bd99cb5 Removed unused file.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11378 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-05 14:13:29 +02:00
Cyp b59b089ca5 Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/netplay/nettypes.c
	src/multibot.c
2010-07-30 22:51:33 +02:00
Christian Ohm b808df33f4 Fix transporter ETA image.
Closes #2001.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11270 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-23 12:04:37 +02:00
Cyp a16c5f7df9 Show oil wells burning in the radar instead of pulsing. 2010-07-22 19:19:52 +02:00
Cyp 695a2b35ae Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/netplay/netplay.c
2010-07-13 20:50:37 +02:00
Per Inge Mathisen dfc9b624dd Add new map 'Pyramidal' by Mysteryem.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11182 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:55 +02:00
Per Inge Mathisen 193bd4f386 Add challenge descriptions. Patch by BlueMaxima, though I shortened the Back to Basics description somewhat. Closes ticket:1986
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11180 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:55 +02:00
Cyp 4d522c1d06 Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/gamelib/gtime.h
2010-07-12 08:06:39 +02:00
Thomas Barlow 2e7466cbe8 Fix 8c-wheel (ticket: 1935) and rebalance 2c-Startup using the files from 2c-Startup2
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11146 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 21:17:35 +02:00
Cyp d7db005f71 Merge remote branch 'origin/master' into newnet
Conflicts:
	.gitignore
	configure.ac
	data/base/images/intfac.img
	data/base/images/intfac5.png
	lib/netplay/makefile.win32
	lib/netplay/netlog.c
	lib/netplay/netplay.c
	lib/netplay/netplay.h
	lib/netplay/netplay.vcproj
	macosx/Warzone.xcodeproj/project.pbxproj
	macosx/configs/Warzone-All.xcconfig
	po/POTFILES.in
	src/hci.c
	src/intfac.h
	src/keybind.c
	src/multibot.c
	src/multiint.c
	src/multijoin.c
	src/multiplay.c
	src/multistruct.c
	src/multisync.c
	src/scriptai.c
2010-06-15 08:35:52 +02:00
René Jürgens 5ce7fee1f1 remove the lancer rof upgrades to keep the old balance.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10954 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-10 10:53:52 +02:00
Christian Ohm 12e6a584dd Add track3.ogg to Makefile.am.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10907 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm 5ada079ab0 Add the Playstation music track.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10902 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
René Jürgens d8786c3a9f - Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10878 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-28 09:57:39 +02:00
Per Inge Mathisen 9a27ca9d26 Remove floating point move precision, second pass two. We store higher precision bits in a bit bucket
for use the few selected places where they matter to get finer incremental movement. They start at
zero and are synchronized over the network, but are not reset when droids jump about for various reasons.
See ticket:1651 for more discussion. Patch reviewed by Zarel and Cyp.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10873 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-26 10:44:54 +02:00
René Jürgens 701a432ef5 balance changes
main things:
more range for twin assault cannon.
less mg damage against all buildings.
a slower tank and cyborg production at start.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10862 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-22 18:57:27 +02:00
Per Inge Mathisen 3490654502 semperfi: Merge much of the differences between the tech branches back together to make them easier
manage dynamically and also create more of them in the future.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10860 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen 4f5775a15f semperfi: Add AA to research list. Really necessary now!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10859 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen 579fd2970d Merge in some changes from semperfi into standard AI: New debug functions. More fallbacks if forward defenses fail.
Remove non-working anti-dupe-sensor hack. Remove hack that prevents AI from defending properly against humans only.
Add more sanity checking.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10856 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:40 +02:00
Per Inge Mathisen e3ec5983c6 semperfi: Add fallback for cases when we don't have tech for some VTOL types. Stop rallying
ground defenders to protect against VTOL attacks - they just get fried by firebombs. Start
protecting properly against human attacks (no reason to treat humans special).


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10844 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:07 +02:00
Per Inge Mathisen f2bdbdb407 semperfi: Utilize CALL_VTOL_RETARGET to make VTOLs more effective.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10842 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen 6c633359f1 semperfi: When the enemy has no AA (that we can see), build the cheapest VTOL bodies available.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10840 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen 55e2bce2d1 semperfi: Construct VTOL droid templates dynamically based on available components
instead of using prefabricated VTOL templates. This is more flexible.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10839 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-17 19:13:20 +02:00
René Jürgens 9b172cf0ef a trunk .wrf update
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10833 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 23:15:53 +02:00
René Jürgens acc70cb9cc laser sat graphic fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10799 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-15 22:46:28 +02:00
Guangcong Luo 752751d4dc Fix intermittent crash when launching a skirmish game.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10797 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
Guangcong Luo 227d2c2de4 New cursors by Zerovirus and Zarel - attack-move cursor idea from Olrox.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10796 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
René Jürgens 55e32c9402 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10763 4a71c877-e1ca-e34f-864e-861f7616d084 2010-05-03 08:50:18 +02:00
Per Inge Mathisen b54fd792ab semperfi: Fix bug that made us never build incendry, and less often upgrade.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10761 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:18 +02:00
Guangcong Luo 1a45555ebc Make sure LasSat doesn't get identified as a fortress.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10745 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Guangcong Luo a51f97c63e Improved AI slider.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10727 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-28 07:52:17 +02:00
Guangcong Luo 4282d92b3c Add "SCOUT" and "DISEMBARK" cursors.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10726 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-28 07:52:17 +02:00
Per Inge Mathisen 02ae467dc2 semperfi: Put a power generator into the must-build list before expanding the base, to avoid starvation problems.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10722 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-26 11:31:28 +02:00
Per Inge Mathisen b357462efc New improved scav script that operates scavengers individually. Helps when they are station in multiple scav bases.
This fixes the scavenger problems reported in http://forums.wz2100.net/viewtopic.php?f=30&t=5100


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10716 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-25 21:24:58 +02:00
Buginator 8ad47a08e6 Set some missing svn properties for the sequenceaudio/cam*/*.txa & /*.txt files.
2.3: r10707

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10708 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-25 12:04:34 +02:00
Per Inge Mathisen b1547abfa1 semperfi: Avoid starvation problem that occurs if AI builds too many power generators at once,
finishing none of them before running out of power. Now prioritizes aiding power generator
construction or upgrade before building new ones. Thanks to Safety0ff for reporting this issue.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10691 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-24 19:29:19 +02:00
Per Inge Mathisen afc69769b0 Make a .wz archive for semperfi. Patch by Safety0ff, closes ticket:1789
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10680 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-23 13:10:01 +02:00
Safety0ff fade198386 Fix previous commit (r10662) which went wrong.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10663 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Safety0ff 059aab5641 Forward-port r10519 to fix dydo-ai in trunk.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10662 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Per Inge Mathisen 2160934b3f semperfi: Only print group info for selected droids when running as selected player and in an autogame
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10661 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:39 +02:00
Christian Ohm 8c4b40c46e Make subtitles translateable, part II.
Enclose all subtitles in _() for gettext. Refs #1728.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10657 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-21 09:32:37 +02:00
Per Inge Mathisen 9902fb2a17 semperfi: In VTOL branch, we now race for PLASMITE BOMBERS. There is nowhere to hide and nowhere to run!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10648 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-20 10:57:33 +02:00
Per Inge Mathisen 0cb3fe603a Add AI template for plasmite bomber
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10646 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-20 10:57:32 +02:00
Christian Ohm fa9451b25a Check for (un)zip in configure.ac.
Fixes #1434.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10585 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 21:38:52 +02:00
Guangcong Luo 9c25d61426 remove DyDo-AI stats folder
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10546 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo 4e9769f6ba Fix the DyDo-AI makefiles
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10544 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo fcce862952 Fix botched merge. (Dropped some trailing linebreaks)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10540 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:42 +02:00
Guangcong Luo 43b6c72448 Forgot this file from previous commit.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10536 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
Guangcong Luo 22b5f5826e Rebalance:
- Remove Cobra prereq from Inferno
- Increase Plasma Cannon range to 10 and damage to 500
- Plasma Cannon and Archie can no longer fire while moving
- Increase HPV weight
- Decrease Assault Cannon/Twin Assault Cannon weight
- Increase Lancer/TK damage by 10
- Increase Bombard damage by 10
- Heavy Laser damage and reload time increased (overall slight buff)
- Heavy Cannon and Medium Cannon range increased 0.5
- Cyborgs sped up a bit

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10535 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
René Jürgens 988cb3a022 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10509 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:32 +02:00
René Jürgens 197bb8c23a template and icon update
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10503 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
René Jürgens 4d4f4f2b86 vtol pad balance fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10471 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen f1fb92971d Set svn:eol-style and fix missing names on old-1.10-balance mod. Closes ticket:1727
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10469 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 0a51b59324 Fix spelling mistake in Mantis name. Closes ticket:1721 by Kreuvf
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10468 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 338bc9e322 Move all hard-coded colours (except map preview ones) into the palette file. Pass a PIELIGHT to widgSetColour() instead of RGB.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10466 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00
Per Inge Mathisen 806268790f Move default form colours into external palette file.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10457 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:29 +02:00
René Jürgens f1e1417353 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10454 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:29 +02:00
René Jürgens c71a6dea0a git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10440 4a71c877-e1ca-e34f-864e-861f7616d084 2010-04-12 11:59:28 +02:00
Per Inge Mathisen 3c629ff5a9 Put the gate names back in names.txt to unbreak trunk from r10424
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10434 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
Per Inge Mathisen 9267292cea Make HPV cannon no longer penetrating.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10430 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
Guangcong Luo 1f7507ca04 Update `templates.txt` in accordance to r10418/r10419. Also merge in changes in `templates.txt`/`names.txt` from DyDo-AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10424 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:28 +02:00
René Jürgens d0b5f6b689 scavenger icon fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10415 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-29 09:05:13 +02:00
Per Inge Mathisen f88bf76000 Add gates to the game. Model by Mysteryem. May have to be re-balanced a bit. Feedback welcome. See ticket:1179 for more info.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10407 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo f898bb0af7 from branch 2.3beta11a
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10406 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo d6b5e40fb5 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10404 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:17 +01:00
Dydo 35962365a0 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10403 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:16 +01:00
Dydo 0007d8a57f DyDo-AI 2.0.8 first trunk version
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10402 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:16 +01:00
Dydo cc11235e91 not required
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10401 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:15 +01:00
Dydo 6814a075cc removing files which are not trunk compatible
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10400 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-23 12:26:13 +01:00
i-nod b818436ee1 Re-exported radardetector model to PIE3 format. Most notable change is that turret is no longer visible through sensor basement edges.
Credit goes to elio for 'lossless' source :)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10396 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 19:47:13 +01:00
dak180 2b84b0317c Squash pngs flat.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10383 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 09:30:54 +01:00
i-nod 579afa20bc Semi-transparent production points. Closes #1700.
Updated graphics utilizes 8-bit alpha channel, please don't crush it accidentally.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10382 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-21 09:30:51 +01:00
René Jürgens 7d3780f99b Adding new Button Textures
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10360 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
René Jürgens 968b77770e adding laser sat and incendiary mortar.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10357 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
René Jürgens c01e01aeb5 adding ground shield and plasma artillery.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10353 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-20 12:49:47 +01:00
Cyp 8573291c68 Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/netplay/Makefile.am
	lib/netplay/netplay.c
	macosx/Warzone.xcodeproj/project.pbxproj
	macosx/configs/Warzone-All.xcconfig
	src/multistat.h
	src/multisync.c
2010-03-17 14:26:32 +01:00
René Jürgens 975352a705 Important Missile balance fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10333 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-17 10:49:44 +01:00
Per Inge Mathisen 72123da59d Port grabTrucksAndBuild() function over from semperfi and use this to implement usage of pickDroidStructLocation in default AI.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10327 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
Per Inge Mathisen 60ecdc82c0 semperfi: Utilize new script function pickDroidStructLocation(). Fix grab trucks ranges in many cases.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10326 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
René Jürgens 886dd10983 pie file fixes and other updates
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10324 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
Per Inge Mathisen 4e41e8fe58 Add new AI script function that gives position to build a structure while checking that
a given droid can build it. This is used to fix ticket:1626 where a power generator
could not be built because the build position function used gave inaccessible coordinates.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10322 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 21:55:04 +01:00
i-nod bc80e9b20f Revert trunk .pies back to PIE2 format.
This will allow PieSlicer to open them again without manual preparations and free PIE3 format for floating point extension.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10296 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 15:47:55 +01:00
Per Inge Mathisen a3afb0da51 Port over some changes from semperfi to trunk AI: Fix bug in build on nearest oil derrick code that meant that we skipped some oil
fields. Fix cases where other events would snatch trucks helping to build something to build something else. Remove unused code to 
minimize difference to semperfi script. Always try to upgrade power gen after building it.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10292 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-16 15:47:53 +01:00
Cyp a0bcd2a865 Merge remote branch 'origin/master' into newnet
Conflicts:
	src/keybind.c
2010-03-14 18:46:40 +01:00
i-nod 0b8fe4f36f Remove unused duplicates for projectile .pies. Game engine uses same files from the 'effects' folder.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10272 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-14 18:38:25 +01:00
i-nod 53d7ad84c4 Remove vidmemc.wrf which is unused and incorrect with current terrain engine. Dataset CAM_1KEVLAR (unused by itself) was the only place where it was mentioned. Any might-be custom campaigns should switch to CAM_1.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10269 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-14 18:38:24 +01:00
Cyp 239e4e450d newnet: Display icon on desynch or on waiting for players.
Saves having to look at console output to check that the game is in synch.
2010-03-14 13:27:05 +01:00
Per Inge Mathisen 936b5dc0a4 semperfi: Add more debug logging. Info added to console when unit selected. Add more techs to non-air tech tree.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10226 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-11 17:29:17 +01:00
Guangcong Luo 04e7e0452f Fix Tank Killer angle bug in campaign (previous fix only fixed skirmish).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10213 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-10 08:23:53 +01:00
i-nod dda0f9f77b Enable or disable fog in TCMask shader depending on in-game state. Part of #851. Reviewed by Per.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10210 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-10 08:23:46 +01:00
i-nod 4ad78bf9b2 TCMask feature: shaders infrastructure and TCMask shader, FF fallback is supported for TCMask. Part of #851.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10179 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-07 08:34:17 +01:00
i-nod 87f8777a63 TCMask support infrastructure: mask loading and colour retrieval routines. Part of #851.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10178 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-07 08:34:17 +01:00
René Jürgens 5485af3b5c texture-wrf update for trunk
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10151 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-05 08:55:42 +01:00
René Jürgens 77bc330ebd NTW:
foundations and scavenger humans are back.
new scavenger research building + a new power module.
little ai changes
cyborg mechanic and engineer fixed

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10144 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-05 08:55:42 +01:00
Per Inge Mathisen 6e16f84a1b Fix droid frustration so that droids do not start the game frustrated. Make sure that scavs
never fire at features, since their own bases are built out of features instead of buildings
they own. Also improve scav script a bit to ensure they do not run out of things to do.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10084 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:38 +01:00
René Jürgens 5f6fc04c84 Online - Template Fix #2
sry... but thats realy the right one now. :/

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10037 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:35 +01:00
René Jürgens d5ff075122 Online - Template Fix
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10029 4a71c877-e1ca-e34f-864e-861f7616d084
2010-03-04 19:07:35 +01:00
i-nod 991b158f65 Use less complex zip calls or mingw32-make will fail.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10016 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-27 22:51:27 +01:00
Guangcong Luo 582962732d Rebalance 0.7.0 - The cannon overhaul.
Cannons and rails have their original 1.10 HP levels restored.

- Heavy Cannon was moved later-game
- Assault Cannon, Twin Assault Cannon, and Hyper Velocity Cannon were moved earlier-game (and rebalanced accordingly)
- Assault Cannon, Twin Assault Cannon, were made lighter
- Hyper Velocity Cannon can now hit air units, penetrate units, and is lighter, but reloads more slowly and has less HP. It no longer replaces Medium Cannon
- Plasma Cannon has been made into a cannon (prereqs: HPV + Inferno + DSLDA3), and has been rebalanced accordingly.
- Hyper Velocity Cannon can now hit air.
- Cannons, rails, mortars, and howitzers have their splash damage increased.
- Ripples and Archies have been nerfed.
- Lancer has had its damage slightly nerfed. A full lancer rebalance is planned for later.
- Analogous changes have been done to the corresponding cyborgs and VTOL weapons, as well.

("Rebalanced accordingly" means that the component price, research price, and damage have been adjusted to fit the new techlevel.)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9945 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-21 18:50:16 +01:00
Buginator b056e7184c DyDo 2.0.5 debut, NSIS, Makefile.am and Makefile.win32 fixes for the mod.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9926 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-21 06:50:54 +01:00
René Jürgens 98717c39e8 - Put Mines back and them + Scavenger Structures in Research.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9911 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-20 22:50:22 +01:00
René Jürgens 595d94c4d9 - NTW Mod: none Versions Number anymore
- Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now
- Mines & 3 Scavenger Bodys removed (others rebalanced)
- Color issue fixed
- Grim's Texture Mod removed

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9864 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-19 14:51:03 +01:00
Per Inge Mathisen a960ffb42f semperfi: When AI has enough initial factories, send off initial trucks on a truck rush in an
attempt to achieve total map control. First the closest unprotected oil resource to the enemy
is defended, then hardpoints are built around his base. This behaviour is currently experimental
and quite high risk, but works fine on some maps. Also fix bug that made AI not always pick quite 
closest the oil resource.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9837 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-17 00:50:13 +01:00
Per Inge Mathisen e943eb0ff7 semperfi: Be a bit more proactive about poaching oil resources.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9834 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-16 22:50:16 +01:00
Per Inge Mathisen 823cf96eeb semperfi AI: Rewrite base expansion code - teach AI to spend like a drunken sailor when it
has too much power on its hands. Fix some bugs. Guide it to research mg tower and the first
power upgrade.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9807 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-15 20:51:06 +01:00