Commit Graph

6657 Commits (fbd7ba368a7367e6dde52ef38faa9d71f321b531)

Author SHA1 Message Date
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
Guangcong Luo a9e10388ab Make the SP transport refusal of orders a bit more graceful.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8857 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00
Guangcong Luo 6a059fc8f8 Fix bug that made it impossible to order more than one transport at a time.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8855 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00
Guangcong Luo aa891ea7e4 Xcode project file changes: Added a check to ensure a min. version of 1.4 for svn. Altered the "Copy Game Data" script to try to be more tolerant of spaces in the path. Minor housekeeping cleanups. Contributed by dak180
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8853 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00
Guangcong Luo 1526b124d2 Fix a crash caused by typo in trunk netcode in r7288.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8850 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:02 +01:00
Guangcong Luo 38b7d54ad0 Return on assert fail in all relevant group functions.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8845 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:01 +01:00
Guangcong Luo 6a9c587ffa Prevent crash from infinite recursion when checking to see if a commander has an electronic droid.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8844 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:01 +01:00
Giel van Schijndel 4801f4b4ca Win32 crossbuild scripts: dependency fixes (these ''should'' be the last)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8842 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:27:01 +01:00
Giel van Schijndel 733113472b Win32 crossbuild script: use stabs as default debug symbol format
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8841 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel c526dfc78a Win32 cross build scripts:
* automatically fetch the DejaVu fonts
 * Place the fontconfig configure files where they're expected by the NSIS script
  - source:trunk/pkg/nsis/fonts.conf.wd_enable and source:trunk/pkg/nsis/fonts.conf.wd_disable
 * Fix some dependency ordering for `fontconfig` and `ogg`

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8840 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel 4d006adb4f Add proper dependency resolving for `zlib` and `png` and bump the default INSTALLER_VERSION to 2.2.0.999 (must be numeric and 4 numbers)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8839 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel 53efd0f5db Add proper dependency resolving for `iconv` and fix a syntax error in __BUILD_SCRIPT
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8838 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel a08ed80b76 Win32 cross build scripts: automatically fetch and extract the devpkg (precompiled libraries)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8837 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel 19754d0203 Win32 cross build scripts: better dependency tracking
* track the files we use, not the files that are the source of what we use

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8836 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:58 +01:00
Giel van Schijndel 18d344d8aa Win32 cross build scripts: don't depend on libiberty when building Popt
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8835 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:57 +01:00
Per Inge Mathisen fd4a2b991b Fix ticket:1253 - line build broken.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8834 4a71c877-e1ca-e34f-864e-861f7616d084
2010-01-30 20:26:57 +01:00