Commit Graph

6872 Commits (27534ac95a839c265942c32886ceb6e1c5533eeb)

Author SHA1 Message Date
Christian Ohm 585e72d7e1 Updated Spanish translation by Saberuneko.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9368 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:25 +01:00
Per Inge Mathisen ddcb9a9986 Remove some dead AI code from scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9367 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:25 +01:00
Christian Ohm c166632447 Updated Spanish translation by Saberuneko.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9365 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:24 +01:00
Christian Ohm 6538a6e180 Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9362 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:24 +01:00
Cyp be78e9035c orders: Allow shift-click to queue orders on radar, make a sound when queueing move orders.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9360 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:23 +01:00
Guangcong Luo 0b90db00bb Fix bug #1425 - crash when patrolling.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9355 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:23 +01:00
Cyp 11425c5274 Substitute s/mapgrid.c/mapgrid.cpp/ in a couple more files.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9353 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:23 +01:00
dak180 c55bc14c1b Fix typos in the DMG script.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9350 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:22 +01:00
Guangcong Luo 8cf40897c2 Fix structures so they're illuminated correctly (they were previously illuminated based on whether or not their owner could see them, rather than whether or not you could).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9342 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:22 +01:00
Guangcong Luo 79442c8560 Display "HOST" below host.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9341 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:21 +01:00
Guangcong Luo 81e5af8e34 Rebalance 0.7.0.
Flashlight: range 6-12 -> 12-12
Pulse Laser: range 8-16 -> 14-14, damage 170 -> 165
Heavy Laser: range 5-7.5 -> 16-16, damage 350 -> 240
Pulse laser tower: price 175 -> 200
Pulse laser hardpoint: price 250 -> 275
Heavy laser emplacement: price 225 -> 450

Scourge: range 5-16 -> 5-14, accuracy 70%-80% -> 50%-80%
Seraph: range 5-14 -> 7-15
Lancer: price 125 -> 150, accuracy 50%-60% -> 30%-60%, remove MRL prereq
Lancer hardpoint: price 150 -> 175
Tank killer: accuracy 50%-60% -> 30%-60%
MRL: damage 30 -> 34
MRP: accuracy 45%-45% -> 40%-45%, range 5-8 -> 4-8

Note to self: Fix the tank killer angle bug already.

Mortar/pepperpot: Splash radius 0.5 -> 1.0
Bombard/incendiary mortar: Splash radius 0.75 -> 1.25, (incen) burn radius 0.5 -> 1.25

Howitzer/hellstorm: Splash radius 1.0 -> 1.25
Ground shaker/incendiary howie: Splash radius 1.0 -> 1.5, (incen) burn radius 1.0 -> 1.5

All-rounder modifiers:
Cyborg 60% -> 65%, Wheels 120% -> 125%, HT 110% -> 115%, Tracks 100% -> 105%, Hover 100% -> 120%

Artillery modifiers:
Tracks 50% -> 40%, HT 70% -> 65%, Hover 100% -> 120%

Whirlwind site obsoletes Cyclone site
Cyclone site obsoletes Hurricane site
Whirlwind hardpoint obsoletes Cyclone hardpoint
Gauss hardpoint obsoletes Rail hardpoint
Gauss emplacement obsoletes Rail emplacement

Fixes bug #663 - Tank Killer doesn't fire.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9338 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:21 +01: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
Guangcong Luo 5238d9f21d Allow research.txt to have a header.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9334 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:21 +01:00
Per Inge Mathisen ac67165ef0 Remove support for formation speed limiting. It is not implemented well, has bugs, and will
lead to severe out of sync issues if used by some but not all players in multiplayer. This
closes ticket:1177 and closes ticket:1167


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9330 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:20 +01:00
Christian Ohm 6bfac26b93 Actually install the Ukranian translation on Windows.
Closes #1424.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9327 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:20 +01:00
Christian Ohm 2b2a187172 Update Windows language table according to MSDN.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9326 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:20 +01:00
Per Inge Mathisen 55ab14d2cf Fix GUI widget ID corruption bug that happens when too many proximity messages are
added at once. It can cause a variety of GUI bugs and asserts as random widgets may
be removed when the superfluous proximity messages are removed, or random widgets may
fail to be added because the ID is taken. This bug has been there since the beginning.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9324 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:20 +01:00
Per Inge Mathisen 9fed940d7c Darken features and building that you cannot see, just like the tiles they stand on.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9323 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:20 +01:00
Per Inge Mathisen d1ca417ef2 Remove redundant code and improve asserts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9321 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:19 +01:00
Per Inge Mathisen 90b5c413dd Make sure we do not fire off an event while processing another event. This the scripting engine
does not handle. Happens when gifting away droids to other players. Bug probably introduced in 
AI research changes.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9320 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:19 +01:00
Per Inge Mathisen 7f63c39b06 This patch significantly cleans up the template loading code. It does not fix any known bugs. I did this
in an attempt to fix the copycat truck bug, but it has so far managed to escape me. Closes ticket:1417


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9319 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:19 +01:00
Cyp 453ec09121 src/display3d.c: Fix a bit of component.c-style code duplication.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9318 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:18 +01:00
Cyp 3f8d7f9247 src/component.c: Fix last cleanup. Apparently weaponImd[0] == NULL doesn't imply Stats->numWeaps == 0.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9317 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:18 +01:00
Guangcong Luo 1685f723be Fix two warnings in scrap.c in Mac OS X.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9316 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:18 +01:00
Cyp 211781cbfa src/component.c: Remove 134 lines of code duplication. Remove a dead function and some undefined functions noticed by Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9315 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:18 +01:00
Guangcong Luo af1d9865c0 Add "Laser satellite firing" and "Incoming laser satellite strike" to the list of occasions that deserve a radar blip representing where they're occurring.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9314 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:16 +01:00
Guangcong Luo 9799fb87c7 Add "ALL ROUNDER" as an alias for the "ANTI AIRCRAFT" weapon type. Should save future modders a bit of confusion over why cannons and rails are anti-aircraft weapons. ;)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9312 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:16 +01:00
Guangcong Luo 411d327a22 Mitigate bug #1421 - Brings it back to before-r9272 conditions using some black magic I really don't understand. Anyone who knows what's going on is welcome to go and fix things.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9310 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:16 +01:00
Guangcong Luo 90770d0c2b Fix bug #1154 - tons of power given in certain conditions - with help from Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9309 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:16 +01:00
Cyp b2fe5203cd win32: Move declaration out of for loop.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9308 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:15 +01:00
Guangcong Luo 3ac9f53bf8 Add support for Cmd/Meta keyboard shortcuts. Make keyboard shortcuts look nicer: "lctrl - f11" to "Ctrl + F11" (Warzone keyboard shortcuts accept both LCtrl and RCtrl)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9306 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:15 +01:00
Cyp c307435927 win32: Add extern "C", in case it helps.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9305 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:15 +01:00
Cyp deb4a10401 make/win32: Add pointtree.cpp, since it's probably hard to link without that one, too.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9304 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:15 +01:00
Cyp b1264d7e24 make/win32: Update mapgrid.c to mapgrid.cpp, apparently this makefile isn't autogenerated.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9303 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:14 +01:00
dak180 73ba2e11e0 Better version numbers and kill some warnings.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9301 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:14 +01:00
Guangcong Luo 95d8e79161 Fix typo in r9297/r9298.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9299 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:14 +01:00
Guangcong Luo ada08d0040 Fix bug #1418 - transports can be controlled sometimes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9298 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:14 +01:00
Cyp ffa10c5113 make: Don't give make errors when switching between trunk and branches, even with out of tree builds.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9296 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:14 +01:00
Guangcong Luo 9568ac7987 Close ticket #1134 - add radar blips for events such as "structure under attack"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9293 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:13 +01:00
Guangcong Luo 2025407222 Commit mod list patch #1415:
1. Adds a specific autoload folder, `mods/autoload/`. This is essential for a good mod community.
 2. Searches the `mods/` folder for global mods, as well as `mods/global/`. This is the first step in merging the three mod folders together, but I'm not planning on merging them completely in 2.3.
 3. Constructs a list of loaded mods, and displays the list in the VersionString (including the list of games in the lobby).
 4. Grays out games with incompatible mods in the NetPlay game list, and gives a warning in the tooltip: "Your loaded mods are incompatible with this game. (Check mods/autoload/?)"
 5. Gives a warning when a game with an incompatible mod is clicked: "You have an incompatible mod."
 6. Displays a list of mods above the Warzone logo.
 7. Lists mods in hosting screen, and warns hosts that all players need the same mods loaded.

Closes ticket:1415.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9291 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:13 +01:00
Cyp 809098735d make: Don't give make errors when switching between branches.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9286 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:13 +01:00
Per Inge Mathisen a8a2bcb161 Fix --selftest. Had to comment out the sound test for now.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9282 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:13 +01:00
Per Inge Mathisen 06f8f2588d Add ai.slo to POTFILES.in
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9281 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:13 +01:00
Guangcong Luo b5471fc186 Calculate gameTime2 using the correct time offset (fixes strange animations on some nonstandard game speeds).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9279 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:12 +01:00
Cyp 1a99e9038b visibility.c: Increase query range, since objects are looking for things to be looked at by. That didn't make sense, but neither does the function.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9278 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:12 +01:00
Guangcong Luo a341785d23 In aiUpdateDroid - Move on to the next target if current target is probably doomed.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9276 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:12 +01:00
dak180 6033e63f0b Update the xcode file to work with Cyp's new code.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9275 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:12 +01:00
Cyp eb7aa25d51 pointtree: Use ULL postfix on 64-bit integers, so it compiles with -m32.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9274 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:11 +01:00
Guangcong Luo f73d44e982 Make the Tab "hide interface" keyboard shortcut hide the entire interface.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9272 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:11 +01:00
Cyp 18fb0f81cb visibility.c: Reduce query range to sensorRange (now that queries have variable range).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9271 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:11 +01:00