Commit Graph

6256 Commits (c09cb93920661d18221c9bb12ac8e15806c303b2)

Author SHA1 Message Date
i-nod c09cb93920 Corrected cyborg transport model by Mysteryem.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8403 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:57 +01:00
i-nod 2078410674 backport: Force correct target position for projectiles that are almost off-map. Will prevent crashes on impact for effect-enabled projectiles (flame-based ones). Reported by pranjan in http://forums.wz2100.net/viewtopic.php?f=4&t=4130
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8402 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:57 +01:00
Christian Ohm 4fe43df6ea Don't check coordinates in CalcRadarPosition.
Every call to it is saveguarded by calls to CoordInRadar, which uses almost the
same code (exactly the same until r7458). So now the calculation in
CoordInRadar is changed to be the same as in CalcRadarPosition, and
CalcRadarPosition doesn't check anymore. Fixes #1069.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8401 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:57 +01:00
René Jürgens 14d0c58a10 NTW Balance Update, Cannons and Cyborgs
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8396 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:57 +01:00
René Jürgens 11dd5f1465 NTW Research Balance Update, Cannons, Missiles & Rockets
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8384 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:57 +01:00
Buginator a886be8d02 Suggested fix to turn on GLC_AUTO_FONTS by bcoconni (QuesoGLC author) for this issue: http://sourceforge.net/tracker/?func=detail&aid=2890444&group_id=53918&atid=472059
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8364 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:56 +01:00
Christian Ohm 0949e9ed28 Fix tests/Makefile.am for out-of-tree builds.
This makes "make distcheck" run the tests (but maptest has its paths hardcoded
and thus fails).

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8362 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:56 +01:00
Christian Ohm 553fca0df7 Put autorevision.h into builddir, not srcdir.
Contrary to 2.2, "make distcheck" doesn't work yet, since some files in
tools/map that tests/maptest.c needs are not packaged in the tarball.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8361 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:56 +01:00
Christian Ohm 7242272311 Use WZ_CPPFLAGS in lib/iniparser/Makefile.am.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8358 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:55 +01:00
Christian Ohm f7c5520b68 Remove data/base/Makefile from configure.ac.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8357 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:55 +01:00
René Jürgens e5d0cf9fc2 put the old ai back in, to fix several problems.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8354 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:55 +01:00
Buginator 5e3fd0ebab Forgot to svn delete these files, and update the Makefile.am as well.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8353 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:54 +01:00
Buginator 11482e4a96 Fix a typo
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8352 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:54 +01:00
Guangcong Luo a279c154af Fix a typo from r7840 that caused the game to be unable to display all the games on the lobby sometimes.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8341 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:54 +01:00
Christian Ohm a4fa637b56 Fix two clang compiler errors.
Closes #1026.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8338 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:54 +01:00
Christian Ohm 65caade5c5 Unified OpenGL error handling
This adds a glErrors function that returns true in case of errors after
outputting them with file and line number from where it was called.
Closes #1011.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8337 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:53 +01:00
Per Inge Mathisen 289a73d103 Do not crash if someone sends you a research status message with a valid building ID
but which does not correspond to a research building. Reported by Toksyuryel in ticket:1021.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8334 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:53 +01:00
Per Inge Mathisen dbe7ee4209 Quick mitigation for crash reported in and that closes ticket:997
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8332 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:53 +01:00
i-nod e1bfeffa26 - Merged PrintOpenALVersion with sound_InitLibrary since the current usage isn't completely correct. alGetString should be called after a new context was successfully created.
- Changed sound_InitLibrary so it would present all available devices to the debug and dump logs before trying to activating one of them.
- Added successfully opened device name to the debug and dump logs.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8328 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:53 +01:00
i-nod da88cb87ab - Added vc2k8 solution which uses new Warzone2100.vs2k8.vcproj. Lib projects are common between the vc2k8 and vc2k5. vc2k8 (and up) people should you it instead of Warzone2100.sln. Also check for the new devpkg on msvc wiki.
- vc2k8 project is using modern style icon instead of obsolete one.
- Removed sqlite3 dependencies from vc2k5 solution.
- Set eol-style to native for iniparser.vcproj

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8326 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:52 +01:00
Buginator aaea1638b9 Only save tech level & number of players when user hits map button.
fixes ticket:1018

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8324 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:52 +01:00
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