Commit Graph

6256 Commits (c09cb93920661d18221c9bb12ac8e15806c303b2)

Author SHA1 Message Date
Git SVN Gateway 4308ce781d Set the line endings for all source files to native.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8250 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:26 +02:00
Buginator e1a168c349 %lld not %u ... ::sigh::
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8249 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:26 +02:00
Buginator 6e7f02f01e I guess today isn't that day :)
Remove unused vars as well.
Fixes ticket:989


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8248 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:26 +02:00
Buginator 2e6cb4e135 One of these days I will remember to save files *before* the commit. :S
Fixes ticket:989

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8247 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:25 +02:00
Buginator 1899dff4b7 Add a ASSERT() to the --crash test (only on DEBUG builds) since some people are accidentally releasing debug builds instead of release builds and this will be a quick way to check.
Read http://developer.wz2100.net/wiki/ReleaseChecklist


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8245 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:25 +02:00
Buginator 2ea2c754eb Up map packet size to 1K from 256 bytes
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8244 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:25 +02:00
Buginator baac0071c8 Lets NOT auto-submit text on lobby parameter change.
Fixes ticket:924

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8243 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:25 +02:00
Buginator eab46f6bc3 Reset LobbyError to ERROR_NOERROR when user quits back to main menu.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8242 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:25 +02:00
Buginator 1f4e8a08ab Add openAL extensions, remove openAL attributes from Crash Dump info. Attributes were not useful.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8241 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:23 +02:00
Buginator d67909d9ed Add GLSL version to crash dumps to find out what people have, and also add a few more openGL 2+ checks to the LOG_3D dump.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8240 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:23 +02:00
Buginator 54a6690161 Make it more obvious as to what kind of build it was built from. (Debug or Release).
Fix a typo (regarding)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8239 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:23 +02:00
Buginator 8453956b75 Use PHYSFS_fileLength() to cut down on code size since it is available to us.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8238 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-10 14:49:23 +02:00
Guangcong Luo c4eb169c23 Fix removeWildcards to deal with leading/trailing spaces, and add some more characters to the whilelist while we're at it.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8228 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-08 20:17:19 +02:00
Per Inge Mathisen bc915b5d2c Use temporary variable for manipulating filenames inside savegame function, so that original is not
clobbered on early failure return. Closes ticket:981, patch by forum member Kosh.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8226 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-08 20:17:19 +02:00
Per Inge Mathisen c291477a97 Set proper svn line ending properties for AIV scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8225 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-08 20:17:19 +02:00
Per Inge Mathisen c172f327fb Fix drawing of repair centers, that are apparently drawn as if they were sensors. Go figure.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8221 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-08 20:17:18 +02:00
Per Inge Mathisen 70ec114cef Add assert and mitigation for corrupt savegames where repair centres have
been set to repair non-droid objects. This relates to ticket:982.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8219 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-08 20:17:17 +02:00
Per Inge Mathisen 418514a430 Make sure that objInfo() in most cases will not use a static string
buffer. This will avoid problems when using multiple invokations of
objInfo() in one log call.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8218 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:01 +02:00
i-nod 61f2e648d7 Added some missing .wrf files that are required for StructLimiter screen (#875).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8217 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:00 +02:00
Per Inge Mathisen 83921395d9 Fix too strict order and location check that made droids stop following their
dear leader/commander. Fixes ticket:951 reported by Tuomas Salomäki (hwl).


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8216 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:00 +02:00
Buginator 6df5783314 Bad editor, bad! (it inserted wrong codes)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8215 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:00 +02:00
Buginator 9c23caf1b8 SUBLANG_ESTONIAN should have been SUBLANG_DEFAULT.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8214 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:10:00 +02:00
Buginator 0ec13ebdf5 Data Integrity is reimplemented. Version string has been updated, so the new data checks can work correctly.
If all players do not run the same mods or have the same data as the HOST, then they will be kicked.  This is done to prevent crashes to the game.

Closes ticket:961

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8213 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:09:59 +02:00
Buginator eea4cbb7b8 Update the project file to link with libtheora_static.lib as that is the default name that is now built with using libtheora.
Update theora to Thusnelda. (MSVC people, get project file here, and build it yourself)
http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8212 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-06 22:09:59 +02:00
Per Inge Mathisen e709e7c9cf Fix profile versions of --enable-debug (needed ldflags set)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8199 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 23:34:00 +02:00
Gerard Krol 02808349a3 Remove the "you are asking too much" power assert, as it is sometimes legitimate to ask for a lot of power (after lagging for a few seconds in multiplayer for example). Fixes bug 605 and fixes bug 401. 2009-10-04 23:30:08 +02:00
Gerard Krol b6b9a8c534 Lower the skybox scale because it was being clipped by the far clip plane for some people. Fixes bug 575. 2009-10-04 22:28:04 +02:00
Gerard Krol 3a796ab793 Fix the skybox so that it doesn't move around (got broken in r7631). 2009-10-04 22:21:01 +02:00
i-nod 026124a437 A small cleanup in runLoadSave function (plus ForceEditor remnants were removed).
Resolved two MSCV warnings of unreachable code in changeColour and secondaryGetState.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8196 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 19:01:57 +02:00
Christian Ohm 60d73d45c3 Fix drawing of radar dishes that broke in r8189.
Reported in http://forums.wz2100.net/viewtopic.php?f=4&t=3859.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8195 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 19:01:56 +02:00
Per Inge Mathisen b69143212e Correct mitigation for error resulting in ticket:962, this fix should make game continue
even though the root cause is not yet found. Closing ticket:962 since there is no further
info to work on.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8193 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 19:01:56 +02:00
Per Inge Mathisen 6f0aaea8ad Remove unused code and correct PIE documentation. Number of texture animations and playback rates do not
and cannot vary between polygons, despite what parts of the code wants you to believe. This is good.
Patch reviewed by gerard_.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8190 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 19:01:56 +02:00
Per Inge Mathisen 889b9dfdf8 Clean up renderStructure() a bit to remove unused or duplicate code. Use OpenGL matrix commands to
avoid a lot of manual copying and transformation in pie_Draw3DShape2(), and make the function more
readable. Patch reviewed by gerard_


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8189 4a71c877-e1ca-e34f-864e-861f7616d084
2009-10-04 19:01:56 +02:00
i-nod 0b53b7c0d5 Added support for ATI-specific version of two-sided stencil extension (GL_ATI_separate_stencil) in pie_DrawShadows. Will decrease CPU usage when using ATI cards.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8186 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:12 +02:00
Delphinio dcf9612dce updated makefiles for the new original mod.
please check them again... thanks.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8181 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:12 +02:00
Delphinio f433a7134d Change Foldername from Old School to original.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8180 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:11 +02:00
Delphinio 34b866050c Add readme.txt and update the images/frontend0.png
(modname changed).

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8179 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:11 +02:00
Per Inge Mathisen eec162bf19 Fix bug that would allow artillery to use sensors without regard to actual visibility of target.
Reported in http://forums.wz2100.net/viewtopic.php?f=30&t=3823 by user Sekmeton.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8178 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:11 +02:00
Guangcong Luo abb56f1124 Stop stripping debug information from release binaries in Mac OS X.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8175 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
Per Inge Mathisen e125b47e6a Fix ticket:883 assert on savegame load during campaign. The problem is that you load droids
on the other map during a campaign mission, and that map is larger than the map you are currently
working with. So the basic map size checks fail, but that is (sort of) ok. One of these days we
should fix this properly by associating each droid with the map it is on. Reported by dch.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8174 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
Per Inge Mathisen 95afe269bb Fix scrGroupAddAreaNoGroup script function, was called as scrGroupAddArea instead.
Closes ticket:889 reported by DylanDog.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8173 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
Christian Ohm b20fecab8d Explicitly link against libintl.
Fixes building on systems where gettext isn't included in libc.
Closes #946.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8169 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
Giel van Schijndel 6f37eeed5f Display SQLite version during startup. Addresses #936.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8167 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
Delphinio d2ef9b4959 Add the new Old School Mod to the SVN (trunk and branch).
It set the in game balance (stats) back to v.1.10.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8165 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:10 +02:00
i-nod 52c314f2f6 Pies for Multiple muzzle flashes feature #824 (part 2).
Angel missiles, Heavy SAM, MRL plus some tune to part 1 pies.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8164 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:09 +02:00
i-nod 207bd951a1 Additional code changes for Multiple muzzle flashes feature #824.
Will handle projectile spawn locations for the feature.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8163 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:09 +02:00
Guangcong Luo 9e044868ce Fix bug #939: Cannot compile in Linux.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8160 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:09 +02:00
Guangcong Luo 8d3e246ea3 Partially fix bug #763: Units not going to specified repair facility.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8158 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:08 +02:00
Guangcong Luo f1b8268f15 Update Warzone.xcodeproj to be compatible with Mac OS X 10.6.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8157 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:08 +02:00
i-nod 2895e3c65e Additional check for NULL target in actionTargetTurret (#933), plus a small change in actionUpdateDroid (multi weapons targeting code).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8155 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:08 +02:00