Commit Graph

6783 Commits (36acdc554b981c68f7760437be28753aada47f53)

Author SHA1 Message Date
Christian Ohm 36acdc554b Add Croatian translation by 13KukYNexus666.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9474 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:43 +01:00
Cyp 826f3fde0c Make VTOLs roll more when turning, and smoothly.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9473 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:43 +01:00
Cyp f9e3b1eb85 Fix VTOLs flying at strange angles. Patch by Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9472 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:42 +01:00
Christian Ohm 8fc2196f14 Updated Polish translation by Emdek.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9469 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:42 +01:00
Christian Ohm 0b54babb5a Updated Spanish translation by Saberuneko.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9468 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:42 +01:00
Per Inge Mathisen bae4d0a056 Sometimes psDroid->pName is not set for some reason when loading templates. Hack it to use aName instead to avoid a crash.
Seems to happen during campaign changes.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9467 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:42 +01:00
Cyp e0ba7eb4ff Fix progress bars, reenable sound test, move variable, remove magic number, comments and spelling. Patch by Safety0ff.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9466 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
Per Inge Mathisen f29597696a Forgot to remove a log error message in previous commit
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9465 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
Per Inge Mathisen daceec3fd9 New script function bool getPlayerStartPosition(index, ref x, ref y) that finds the start position of any player.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9464 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
Per Inge Mathisen cb3c9bcf88 Style, indent and dead code cleanup.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9463 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
Guangcong Luo 255506d4b6 Correctly calculate frameTimeFraction2 - fix bug #482, among many other bugs.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9461 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:41 +01:00
dak180 525c32491a Really turn -Werror off this time.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9460 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
dak180 2d5847991e Turn -Werror off to keep Zarel sane.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9459 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
dak180 e8eaac514e Bring Xcode inline with warnings..
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9458 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
Guangcong Luo 4e828632be Fix bug #1396 - can start game with everyone on the same team.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9456 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
Christian Ohm f4de16db77 Replace deprecated libpng variables.
Refs #1471.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9455 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
Guangcong Luo 683c03f999 Don't treat ".svn" as a mod, even if it is in the autoload dir.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9454 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:40 +01:00
Christian Ohm d7d4c258c4 Actually include challenges in base.wz.
Fixes #1470.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9452 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Guangcong Luo 3579209ab4 Fix bug #1466 - release builds shouldn't assert - fixes a ton of "crashes" in Mac OS X and Linux.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9451 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Christian Ohm 897eeadedd Disable mouse scrolling when mouse leaves the window.
Keyboard scrolling still works. Really fixes #1141, and makes the game always
behave as mentioned in r9428.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9447 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Christian Ohm 35a510aa61 Remove unused bRetardScroll.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9446 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Cyp 275e260a89 Fix building with PD-ksh on BSD. Reports and some patches from brad0. (svn -r9444)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9445 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Christian Ohm d7b341b788 Increase the scrolling area from 16 to 22 pixels.
Makes scrolling a bit easier with larger resolutions. 24 is where other stuff
starts (radar...), so we can't increase it more.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9442 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:39 +01:00
Guangcong Luo 6fbdb2d638 Fix turnOffMultiMsg's return values.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9441 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
Guangcong Luo f8013c8ec2 Simplify turnOffMultiMsg.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9439 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
Christian Ohm 1a6376c3ae Reset scrolling on focus loss.
Prevents jumping around when the window is focused again.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9437 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
Cyp 4fd281e09f Fix turnOffMultiMsg(). Multiplayer games should work again, now.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9436 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
Per Inge Mathisen ca1d602ccb Remove visibility information when changing between campaigns. This closes ticket:1461
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9435 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
dak180 8b9dfd0789 Better version numbers for branch builds.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9432 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:38 +01:00
Per Inge Mathisen e13870f0cd Make sure we match the correct templates by not reading human templates from VLO files, and comparing untranslated names.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9431 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:37 +01:00
Cyp 03f3c9c5d6 raytrace: When hitting the wrong target, do damage to the wrong target, too.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9429 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:37 +01:00
Christian Ohm 1f9303e74c Clean up handleActiveEvent.
This fixes PauseOnFocusLoss to actually work in skirmish, and disables
scrolling when the mouse leaves the window. Fixes #1411.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9427 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:37 +01:00
dak180 c6587a8f1d Minimum required Xcode 3.1; Minimum system version 10.5 (for building, it will still play on 10.4).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9424 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:37 +01:00
Per Inge Mathisen d9eeb65e4c Forward port r9060 from 2.3 to remove always show oil resources change. We need to implement
private player maps before we can implement this feature.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9422 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:37 +01:00
Christian Ohm 2433ba8709 Updated Spanish translation by Saberuneko.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9420 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:36 +01:00
Cyp a053ec980b structure.c: Set timeLastHit and lastHitWeapon, to silence one valgrind warning.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9416 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:36 +01:00
Cyp cdb554ab58 Fix units of mapTile().
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9415 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:34 +01:00
Cyp 3706aca886 Make mapTile() take signed values, so comparison with -1 works.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9413 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:34 +01:00
Guangcong Luo ce4ff793da Give one tile of leeway in mapTile() before asserting, for things that are coming in from off-map.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9411 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:34 +01:00
Christian Ohm b9960b35f4 Updated Spanish translation by Saberuneko.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9409 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:34 +01:00
Guangcong Luo 302582d8b6 Split bMultiPlayer into bMultiPlayer and bMultiMessages - fixes a ton of bugs relating to the game thinking it's not in multiplayer mode when it is, but has multi messages off.
Previous commit was misnamed, it was actually a commit of patch #1440.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9408 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:33 +01:00
Guangcong Luo d187d6fab4 Split bMultiPlayer into bMultiPlayer and bMultiMessages - fixes a ton of bugs relating to the game thinking it's not in multiplayer mode when it is, but has multi messages off.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9407 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:33 +01:00
Guangcong Luo 38fd6be936 Fix bug #1248 - commanders sometimes can't lead up to the max number of units for their rank.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9406 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:33 +01:00
Thomas Barlow 5ad6596be9 Fix some polygon issues in the factory models.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9403 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:33 +01:00
Guangcong Luo 352666ff0e Apply patch #1462 - Fix redundant components remaining available if researched after being made redundant.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9402 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:32 +01:00
Christian Ohm c78a3aad2c Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9399 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:30 +01:00
Christian Ohm bf7e95a161 Add resmessages12.rmsg to POTFILES.in.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9398 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Guangcong Luo b6f03407dd Add new file data/mp/stats/messages/resmessages12.rmsg - additional research descriptions.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9397 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Guangcong Luo 258d65c169 Fix some unnecessarily specific numbers in weapon accuracy and pricing: 99% -> 100%, 999 -> 1000.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9395 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00
Guangcong Luo 4df6b05f40 Research messages more specific: "Machinegun damage +25%" instead of "Upgrades machinegun damage". Also add description for radar detector, and fix prerequisites for Flamer Autoloader Mk2.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9392 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:27:27 +01:00