Commit Graph

6872 Commits (27534ac95a839c265942c32886ceb6e1c5533eeb)

Author SHA1 Message Date
Guangcong Luo be47ec5bfa Increase max game limit from 12 to 18 - now supported by new larger lobby!
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8964 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Guangcong Luo 9d1c1f4cc1 Fix bug #1327 - players list doesn't appear sometimes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8961 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Guangcong Luo fc94a37432 Fix bug #1325 - confusing research icons for some missile upgrades.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8960 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
dak180 d1776d650d Add a "Make DMGs for Release" target to the xcode project.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8958 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:02 +01:00
Giel van Schijndel 2b8c85a686 Include source:trunk/autorevision.conf in `make dist`
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8956 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:01 +01:00
Christian Ohm 18294ffdc7 Update translations.
Also include po/stamp-po, to prevent the .po files from being changed during
the build process.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8954 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:01 +01:00
Giel van Schijndel f83b2dbd79 Remove po/stamp-po from the ignore lists per cybersphinx's request (he uses git-svn)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8952 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:00 +01:00
Giel van Schijndel 0705cbdf35 Don't perform additional dependency resolving for the installer when we're not building the installer...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8948 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:00 +01:00
Giel van Schijndel f0fb5d2168 Trac plugin TicketValidEmail:
* Reject e-mail addresses matching /^\w+@example\.(org|net|com)$/ (see #1317)
 * Suggest logging in as alternative to using a valid e-mail address for the reporter field

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8947 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Giel van Schijndel f0aacfd6a8 Add a new Trac plugin: TicketValidEmail
Extends Trac to only accept anonymous tickets when the reporter name is a valid RFC822 e-mail address.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8946 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Christian Ohm 3637a83e38 Remove stray parenthesis.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8945 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Per Inge Mathisen 3190fb0ab6 Fix warnings
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8941 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo f69d38b4f2 Fix bug #1312 - forgot to commit multiint.c
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8940 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo e372d3d44e Fix bug #1311 - typos in netplay.c
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8939 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:59 +01:00
Guangcong Luo f2e9a412ac I've discovered why the netcode is so unstable. Everthing just assumes it'll be successful. At one point, there's an infinite loop waiting for an accept message. No possibility of receiving a rejection message, no timeout, nothing. At another point, the host just overwrites an existing player, if the game is full. I've fixed most of the ones I came into contact with, but there are probably many more left.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8938 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:58 +01:00
Guangcong Luo 495004bc7c - Enlarge game lobby
- Move password prompt to separate dialog box (stops the annoying flashing)
- Attempt to join full games, in case lobby misreports game size.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8935 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:58 +01:00
Guangcong Luo 9b0381b14b Remove the two Warzone logo backdrops - they're really unprofessional and tacky, especially when there's already a Warzone logo at the top of the screen.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8933 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:57 +01:00
Guangcong Luo cb4c47cde5 Add a shadow to the sideways text, to make it more readable on some backdrops.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8932 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:56 +01:00
Guangcong Luo c10417b595 Disable some fields that should be disabled but weren't, in the multiplayer game join interface.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8929 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:56 +01:00
Guangcong Luo a414131f6f Fix design screen bug: Two tabs could be highlighted at once in some cases.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8924 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:56 +01:00
Per Inge Mathisen 0d6ded48d0 When adding droids to a transporter or sending a transporter to a new map, reset
their visibility caches. This closes ticket:1300 and closes ticket:1304


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8919 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:55 +01:00
dak180 d2f4eea3f1 Changed our plist to be more useful and dynamic.
Updated the xcode project file to support these changes.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8914 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:03:55 +01:00
Christian Ohm 8102cce397 Update Finnish translation.
Closes #1301.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8911 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:08 +01:00
Giel van Schijndel e89964b87b Win32 crossbuild scripts
* build the *.gmo files when required
 * only run autogen.sh when required.
 * Use 'set -x' to achieve make-like command printing behaviour
  - I.e. instead of using a custom 'execute' function

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8909 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:08 +01:00
Christian Ohm 9d2e338b64 Win32 build scripts: Use --force for QuesoGLC svn export to deal with failed earlier runs.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8907 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:08 +01:00
Giel van Schijndel 2863ece766 Dash workaround: source __BUILD_CONFIG.USER from the current directory (using ./)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8905 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:08 +01:00
Guangcong Luo 35335d6ede Rewrite the turnOffMultiMsg system - it can now be nested. However, it must be paired now - each turnOffMultiMsg(true) _must_ be followed by a turnOffMultiMsg(false). Also simplifies a lot of hacky code caused by bMultiPlayer being temporarily false because of turnOffMultiMsg.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8904 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:08 +01:00
Giel van Schijndel 4bd1606843 Win32 crossbuild scripts: use 'bash' as shell when building gettext
* Apparently that monster has some code that's sensitive to which shell is used as the default for /bin/sh

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8902 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:07 +01:00
Christian Ohm 80453a9def Lower skybox scale again.
This fixes the skybox at 1600x1200 at least, much higher resolutions might
still be broken.  Closes #575 again.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8901 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:07 +01:00
Per Inge Mathisen b9879638e1 Add map and radar minimap display of true fog of war to the game. This is the same
as what you see when you previously held in the 'z' button. That is, you see where
you have sensor coverage. Implemented using reference counting on each tile that is
unreferenced using a stored tile cache on each game object. Closes ticket:1289


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8900 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:07 +01:00
Guangcong Luo 14fc592429 Fix bug #1292 - auto-repair is sometimes instantaneous.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8899 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:07 +01:00
Guangcong Luo b2a4a32d6f Make descriptive headers optional.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8896 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:07 +01:00
Guangcong Luo e22246cb30 A few balance changes:
- Update cyborg lasers to match changes to regular lasers
- Change cyborg transport research icon to cyborg transport
- Change Lancer's prereqs from HEAP Mini-Rockets to HE Mini-Rockets Mk3
- Allow only Dragon to have multi-turret; decrease its HP by 50

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8894 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo 3841322539 Revert broadcasting picking up oil drums, per forum consensus. In the future, please ask before making controversial changes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8889 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo a12a7b8ff2 Fix 2 compile warnings.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8887 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo a7050f2eec Optimize checkValidWeaponForProp() - it had a "FIXME" tag.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8884 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo 437917fb05 Correctly calculate secondary weapon shadow power/HP. Also allow changing primary weapon without removing secondary weapons.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8882 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo b4a11cf4af Fix design screen bugs. In particular, it's no longer possible to build a droid with two weapons on a body that only supports one weapon. Also, the component tabs now more clearly display which component is currently active.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8880 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:06 +01:00
Guangcong Luo 49bea1ed22 In checkValidWeaponForProp - Re: FIXME - we're checking for attack runs on non-air units because this is a validation routine - obviously, non-air weapons should not have attack runs.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8878 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:05 +01:00
Guangcong Luo 7bd58439d4 2.3: Commanders now display the correct amount of power/health in the design screen - fixes bug #871.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8876 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:05 +01:00
Christian Ohm e485399454 Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8872 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:05 +01:00
Christian Ohm b0ec1a3760 Better grammar.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8871 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:04 +01:00
Per Inge Mathisen a61683b4fe Remove an entire visibility subsystem that has always been unused, and has no useful purpose.
This changes script hooks, so trunk savegame compatibility is probably broken yet again. Sorry.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8870 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:04 +01:00
Per Inge Mathisen e7fb5a1c03 Add new radar mode RADAR_MODE_TERRAIN_SEEN that is only available in non-fog-of-war
reveal mode, that does not show unexplored terrain in the radar/minimap view. Requested
by players on the forum and useful for debugging the visibility code.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8869 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:04 +01:00
Per Inge Mathisen 1f40cec1e3 Do not draw repair and baba muzzle flashes if structure is not seen by current player.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8868 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:03 +01:00
Per Inge Mathisen 9e817f6537 Fix warning in order.c about unused variable. Closes ticket:1288
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8866 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:03 +01:00
Guangcong Luo 75569d156f Fix rearming pads so they actually rearm at the speed they're intended to. Also make rearming upgrades affect rearming pad repair speed. Replaces REARM_PAD.currentPtsAdded with REARM_PAD.timeLastUpdated, but savefiles should still be compatible.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8865 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:03 +01:00
Guangcong Luo 8c6ca5cb91 Make VTOLs finish patrolling/scouting before returning to rearm.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8862 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:03 +01:00
Per Inge Mathisen f2cf35f791 Enumerating devices apparently crashes PulseAudio on Fedora12, so try to do this in a more
limited way and hope that either this fixes the problem, or someone fixes the issue upstream
meanwhile. This was fixed in a different way in 2.3 branch due to different sound init code.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8861 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00
Guangcong Luo 61c733c5ef Rearrange files in Xcode project to be more alphabetical.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8858 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00