Commit Graph

7334 Commits (fa9451b25a9397ef1967d1b5522a5d450021029a)

Author SHA1 Message Date
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
Christian Ohm a044ab3e6f Don't use recycled experience when game time is stopped.
Should fix #251. The problem was that buildDroid() is used both for loading and
in game, so it used up the recycled experience for droids when loading a game.

This could lead to other problems, if there is a valid reason why buildDroid()
would be called in a situation where game time is stopped, but we _want_ to use
recycled experience.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10584 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 16:06:12 +02:00
Buginator 1d47645d07 Don't broadcast to other players about a new player in NET_CreatePlayer(), we will only do NETBroadcastPlayerInfo() when a player has passed all the verification steps.
This fixes ticket:1611

Correctly handle rejection of the verification process as well.

2.3:r10572

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10583 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:07 +02:00
Buginator 71a9f27b40 Clear the IP Ban list when you start to host the game, instead of when you shut down warzone.
Reset numBans back to 0 on list creation.

2.3:r10543

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10582 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator 321bcc3505 Add some more netplay logging calls
2.3:r10542

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10581 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator 7ac1f1b68f As a temporary solution to the oil features not being put back.
refs ticket:1726

2.3:r10489/r10491

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10580 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator dd0ed35548 Add more logging data to our netplay logs.
2.3:r10484

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10579 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator 5109e7a86f If ban list isn't created yet, then return false.
2.3:r10481


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10578 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator 3cac32c84d Reset file handle to NULL after close.
Fixes ticket:1745

2.3:r10480

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10577 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:06 +02:00
Buginator 0f8ec1c2b0 Use SYNC_FLAG to track sync issues in NETlogEntry() calls.
Adjust NETlogEntry() calls accordingly.

2.3:r10477

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10576 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:05 +02:00
Buginator 05655b6ea5 Add ability to ban IPs when the host kicks a player.
The ban list is *not* permanent, it will reset when host makes a new game.

Information about bans are in your netlog, for future references.

2.3:r10465, r10475, r10477

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10575 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:05 +02:00
Buginator 4ba8e9c34a Rework netlog to give more useful info
Add more counters to keep track of joins / drops / etc.

2.3:r10464

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10574 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:05 +02:00
Buginator b76cb00de2 Add some error checking to a physFS call in removeSubdirs() even though, this will not help us find out the root cause of the crashing issue mentioned in the tickets.
refs ticket:1735
refs ticket:1318

2.3:r10463

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10573 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-15 11:30:05 +02:00
Christian Ohm c38f25fd57 Include/declaration cleanup for src/bucket3d.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10571 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-14 14:53:45 +02:00
Christian Ohm 61ebbf4c06 Include/declaration cleanup for src/bridge.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10570 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-14 14:53:45 +02:00
Christian Ohm e448b274a7 Include/declaration cleanup for src/baseobject.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10569 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-14 14:53:44 +02:00
Christian Ohm 9b74aa267e Include/declaration cleanup for src/astar.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10568 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-14 14:53:44 +02:00
Christian Ohm 0c808ac2e0 Include/declaration cleanup for src/aiexperience.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10567 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-14 14:53:44 +02:00
Christian Ohm 527afbfbd7 Include/declaration cleanup for src/ai.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10566 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-13 09:34:38 +02:00
Christian Ohm 850f1ec1fe Include/declaration cleanup for src/advvis.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10565 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-13 09:34:38 +02:00
Christian Ohm ec9ebc24a6 Include/declaration cleanup for src/action.c/h.
Refs #1647.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10564 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-13 09:34:38 +02:00
Christian Ohm 122bd513dd Fix compilation with configure --disable-sound.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10562 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-13 09:34:37 +02:00
Christian Ohm 642efd7480 Fix last GLee fix.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10560 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-13 09:34:37 +02:00
Christian Ohm 23036ffae9 Polish translation update by Emdek.
Closes #1347.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10556 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 22:27:34 +02:00
Christian Ohm f5d5c46fa8 Fix Glee detection.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10555 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 22:27:34 +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
Buginator 1c4c1cc5bd Fix exception handler to obey UAC on windows machines.
It will write the crash report file to CSIDL_PERSONAL (c:\Users\user name\Documents\logs\warzone2100.rpt)

*All* platforms will now always have --debug-file enable as a default. This will write the logs to <configdir>/logs/WZlog*.txt

When a user overrides the configdir, then we will try to use that directory instead of the default as well.

refs ticket:1759

2.3: r10532


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10538 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:41 +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
i-nod d3f1d77aed Correctly propagate TCMask settings through PIE levels, so it will works for animated objects too.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10530 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
Per Inge Mathisen 2628d7dac7 Make sure template weapons are properly initialized for static templates even if
all player slots are filled with human players. This should fix ticket:1740


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10526 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
Buginator e15668dfc3 Disable visRemoveVisibility() cleanup for objects, (which will cause mem leaks again), since campaign games are using pointer tricks with the data, and causing us to assert / crash.
see: swapMissionPointers() for more details on what they do.

Basically, a revert of r10248

fixes ticket:1704
fixes ticket:1753

2.3: r10476
 

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10525 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:33 +02:00
Giel van Schijndel b582c31648 m4/progversion.m4: AC_PROG_VERSION_CHECK: Properly strip program names (dashes in particular)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10517 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:32 +02:00
Christian Ohm e27f521cd0 Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10514 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:32 +02:00
Christian Ohm 737728f47a Italian translation update by Alpha93.
Closes #1725.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10511 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:32 +02:00
Christian Ohm 818577d166 Spanish translation update by Saberuneko.
Closes #1732.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10510 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:32 +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
Christian Ohm bc82f671f2 Change fixed pipeline messages from warning to info.
No need to scare users more than necessary with warnings when things will work
anyway.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10507 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:32 +02:00
Safety0ff 6f4e3abd99 Fix error in r9319.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10506 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
Guangcong Luo 2b6a34c67c Fix crash when `names.txt` does not contain template name.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10499 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
Guangcong Luo aecdd1805a Change most references to "mods" to singular "mod", so people don't think using multiple mods is a good idea.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10498 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
Guangcong Luo af8f95ebcf Apply patch #1746 - new savegame format; load savegames using the mod they were saved with. (refs #1746)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10497 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
Per Inge Mathisen f5a13e5ecc Remove some more dead code
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10496 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
Per Inge Mathisen f6c50b01ce Remove bogus use of inline to improve crash reports.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10495 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
dak180 db2e3f3d16 Use working addresses for the videos.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10488 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
dak180 2614e76da7 Only copy the data dir if we need to.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10485 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:31 +02:00
dak180 ae26739a9a Some more formatting fixes for the debug dialog and make sure that .strings files get their encoding set properly.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10473 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-12 11:59:30 +02:00