Commit Graph

6235 Commits (736ed038571f5bb6b2a57ee6b35555af35b75dbe)

Author SHA1 Message Date
Buginator 736ed03857 Change ping 'traffic light' detectors to more realistic values that more accurately show what kind of a connection they have compared to you.
low pings (green light) is from 0-200  (was 0-600!)
medium pings (yellow light) is from 400-1000 (was 600-1200!)
high pings (red light) is from 1000-2000. (was 1200-2000)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8323 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:52 +01:00
Buginator 18bd672df9 Upload the fonts.conf file that NSIS uses.
fonts.conf.wd_enable is the one where windows directory is enabled.
fonts.conf.wd_disable is the one where the windows directory is disabled (default)

The reason for this is, when enabled, it takes a very long time to build the font cache on vista & win7.

Closes ticket:1013

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8321 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:52 +01:00
Buginator 0aff0b46cf Add a new debug flag type, LOG_FATAL.
This is used to differentiate LOG_ERROR (which is a *non* fatal error, but a error none the less) and fatal errors which result in program termination with no *visible* output (on windows/macs) on our end because of the crappy GUI functions so we usually dump it to stderr.txt and there is no clue that the program had to exit for whatever reason.

Hopefully, this will be helpful to windows people so they can differentiate between *our* exit/abort routines, and crashes that occur in drivers which look exactly the same since they get dumped back to the desktop with no visible clue why.

LOG_FATAL is *always* on in both debug & release builds.

On LOG_FATAL debug lines, on windows, we now throw up a modal dialog box with the current error message.  At this time, this only happens when we have a error, and we use abort() right after the error, which makes it fatal.

That explains why this touches ~60 files :)


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8320 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:51 +01:00
Buginator 7566f8901d Missed a file yet again--all in a ploy to get my commit count up! :D x2
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8314 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:51 +01:00
Buginator f9489080a5 Missed a file yet again--all in a ploy to get my commit count up! :D
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8313 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:50 +01:00
Buginator a86cbc2e3c As was discussed on the ML, removing SQL from trunk.
Please test!!
OS X & mingw builds may be broken!


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8312 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:50 +01:00
Per Inge Mathisen bb3975f089 Add new tool: simplipie. It strips unused flags from PIE files and rewrites them.
It also obsoletes the no cull flag by removing it and instead adding duplicate,
reversed polygons to fix the culling issues this flags was meant to fix.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8306 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:49 +01:00
Per Inge Mathisen b02aa1f0f4 The LasSat is now a DOOR type structure. This means it behaves like a fortress when it comes to
where it can be placed and how it adapts to terrain. See discussion on the forum for details
(http://forums.wz2100.net/viewtopic.php?f=6&t=3992)


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8305 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:49 +01:00
Christian Ohm 68841a105b Blender PIE import plugin: Add a default filename for the file selector
Makes it start in the current directory instead of $HOME.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8304 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:48 +01:00
Christian Ohm df7f2223d6 Compare locale names before claiming they differ
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8302 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:48 +01:00
Per Inge Mathisen 6e27d99815 Fix two spelling errors found by Debian scripts. Closes ticket:1010
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8300 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:48 +01:00
Per Inge Mathisen 6a09d348af Make addDumpInfo() parameter const
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8299 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:48 +01:00
Christian Ohm 6a3fce95f4 Use the "Mesa hack" only when OpenGL 1.5 isn't available
Mesa 7.6 provides OpenGL 1.5 support for ATI cards, so it isn't needed there
anymore.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8297 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:48 +01:00
Christian Ohm 1f52695730 OpenGL 2.0 is needed to query GLSL version
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8296 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:47 +01:00
Christian Ohm 9128fd00da Update Estonian translation
By Erlando.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8294 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:47 +01:00
Christian Ohm ac64b1459f Updated Russian translation
By Maxim (Raptor9000), closes #1002.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8292 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:47 +01:00
Per Inge Mathisen 68c189a89a Simplify some extraneous math ops and simplify comparisons in combFire(). Patch by stiv, closes ticket:459.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8291 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:46 +01:00
Per Inge Mathisen 4a4363026b Move two comments to satisfy MSVC's auto-definition feature as requested
by Buginator. Closes ticket:255. It only took 8 months.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8289 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:46 +01:00
Christian Ohm 98b5f8f8be Update translations
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8285 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:45 +01:00
Christian Ohm 7380e0b324 Update Estonian translation
Posted by Erlando in http://forums.wz2100.net/viewtopic.php?f=6&t=3772,
closes #988.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8284 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:44 +01:00
Per Inge Mathisen bfcf2119f8 Fix 'make dist' compilation of original rules mod. Was missing a dollar sign.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8282 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:44 +01:00
Per Inge Mathisen ae9bc582be As seen in http://forums.wz2100.net/viewtopic.php?f=30&t=3922 there is a
fake limitation on the cost of a droid in the design screen. This patch
fixes it by an ugly hack in the widget code. Closes ticket:994
Patch reviewed and approved by Buginator.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8275 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:44 +01:00
Per Inge Mathisen 4e0959f959 On failure to find a path to a build order, a sulk action is started. This
triggers an assert failure inside the action update code. Now we check this
corner case specifically. Closes ticket:992.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8269 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:43 +01:00
Guangcong Luo d676290d54 I seriously hope these are all the typos.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8265 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:43 +01:00
Guangcong Luo 8fe4e81bfb Whoops. Typoed a few things in last commit; fixing now.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8264 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:43 +01:00
Guangcong Luo 96e6a084d1 Rebalance 0.6.1. (Go on, accuse me of not having a detailed enough commit message. I dare you.)
- Most projectiles 1.5x faster. Should reduce sync problems

Renames:
- Mini-Rocket Artillery renamed Mini-Rocket Array
- MRL Emplacement renamed Mini-Rocket Battery
- Angel Missile renamed Seraph Missile Array (should eliminate the "angel missile won't fire!" complaints)
- Angel Missile Battery renamed Short-Range Missile Battery

VTOL balance:
- Hurricane damage increased 40 -> 50, splash increased 10 -> 30
- Cyclone damage increased 50 -> 70, splash increased 40 -> 60
- Whirlwind damage increased 50 -> 65, splash increased 30 -> 50
- Avenger and Vindicator damage increased 320 -> 350, accuracy increased 60%-70% -> 70%-80%
- Stormy damage increased 140 -> 180
- All lasers now have 80%-80% accuracy
- Plasmite Bomb weight increased 8000 -> 12000
- Mini-pod can hit air
- Decrease Pulse Laser and Heavy Laser ROF, increase corresponding damage
- Decrease VTOL MG damage, increase VTOL MG shots-per-rearm

Late-game stalemate-busting:
- Artillery to hover multiplier decreased from 110% to 100%
- Artillery to tracks multiplier decreased from 65% to 50%
- Artillery to half-tracks multiplier decreased from 80% to 70%
- Artillery to wheels multiplier decreased from 95% to 90%
- Anti-tank to hover multiplier decreased from 100% to 90%
- AP to hard multiplier increased from 45% to 50%
- Seraph (see "Renames") range increased from 5-11 to 5-14

Truck rush prevention:
- Command Center must be built before MG tower can be researched
- Truck HP decreased 50 -> 25
- Truck weight increased 600 -> 800

Structure research price cuts:
- Inferno bunker research price 150 -> 125
- Plasmite bunker research price 150 -> 125

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8261 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:43 +01:00
Guangcong Luo 3fbf4c8f19 Apply the hacky fix for AA targeting (make all dedicated AA homing) to campaign as well as skirmish (this is probably the first change to campaign stats in ''ages'').
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8257 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:42 +01:00
Guangcong Luo dd9d1e45db New logo for original-1.10 mod that doesn't violate copyright.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8254 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:42 +01:00
Buginator a7fa52d3e4 Set svn-eol to native for mods/* as well
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8251 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:40 +01:00
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