Commit Graph

7611 Commits (3f69367f3a96e0152e166f1fc881c42ef095433f)

Author SHA1 Message Date
dak180 3f69367f3a Add dSYM bundles for maximum symbolication.
http://bitbucket.org/boredzo/symbolicator can be used to symbolicate crash logs from people without dSYM bundles.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11313 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-29 23:27:39 +02:00
Guangcong Luo 1bf4d64a0c Fix loading some maps in T1 mode.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11309 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:35 +02:00
Christian Ohm 7b3dce75df Simplify buildingDamaged().
Prevents a possible division by zero, closes #2008.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11307 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:34 +02:00
Guangcong Luo 320a218442 Fix a bug that caused T2 and T3 maps to load in T1 mode.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11304 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:34 +02:00
Guangcong Luo da445cd536 Make some text alignment fixes that got left out of r11230.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11301 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:33 +02:00
Buginator edb644a03b Fix (and add missing) headers to files.
2009  Warzone Resurrection Project -> 2010  Warzone 2100 Project

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11298 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:33 +02:00
Christian Ohm d1343e4a7d Prevent automake.sh from complaining about astartest.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11296 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:31 +02:00
Per Inge Mathisen e4cf2297b9 Stop falsely advertising ctrl+l as an available key combo. It is not.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11291 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:30 +02:00
Christian Ohm 45de3b488c Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11285 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:30 +02:00
Christian Ohm f63667e4b5 Add an option for the rotating radar.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11284 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:29 +02:00
Cyp 6957b04072 astar.c → astar.cpp in .vcproj file. 2010-07-24 13:32:09 +02:00
Christian Ohm 09879b8a83 Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11277 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-24 09:56:07 +02:00
Christian Ohm fdceb3e322 Show complete game name in lobby tooltip.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11275 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-24 09:56:07 +02:00
Christian Ohm b808df33f4 Fix transporter ETA image.
Closes #2001.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11270 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-23 12:04:37 +02:00
Cyp 1db4f15973 Change do-while to while, since it doesn't make sense to try to read a game structure when there are none in the lobby. 2010-07-22 19:19:53 +02:00
Cyp bb7f960569 Make cliffs (blocking tiles) visible on radar. 2010-07-22 19:19:52 +02:00
Cyp a16c5f7df9 Show oil wells burning in the radar instead of pulsing. 2010-07-22 19:19:52 +02:00
Christian Ohm a31beaec05 Fix "make check".
Disable astartest, since it's broken after the rename of astar.c to astar.cpp.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11258 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-22 19:17:54 +02:00
Cyp 1b811abcea Before receiving game list from server, clear old games from list, and don't receive more than there are room for in the array. 2010-07-22 14:45:49 +02:00
Christian Ohm 9a05862fba Update .gitignore
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11253 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-22 09:34:23 +02:00
Christian Ohm 9d553bccab Add missing file for r11247.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11251 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-22 09:34:23 +02:00
Christian Ohm bf3006d31c Make sure we use at least 640x480.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11248 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-22 09:34:22 +02:00
Christian Ohm e27ccca05c Windows cross-build: Make quesoglc compile on Ubuntu.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11247 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-22 09:34:22 +02:00
Cyp 694a9f8fb1 Don't spam log with "[NET_InitPlayers] Players initialized" in single-player menu. 2010-07-21 18:47:37 +02:00
dak180 f7ceb6aca1 Since user comments at the top of "project.pbxproj" do not stick, be creative.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11236 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-20 23:01:36 +02:00
Guangcong Luo 2dcb53d326 Fix bug #1994 and apply patch #1998 - Change Mac OS X to use DejaVu Sans like in Windows/Linux, which fixes problems with text alignment. refs #1994, closes #1998
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11230 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-19 10:58:59 +02:00
Per Inge Mathisen aa0fcecc52 (from path branch) Make sure we can never end up driving in reverse while waiting for a path.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11229 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-19 10:58:59 +02:00
Per Inge Mathisen e25fc53a66 (port from path branch) No longer come to an instant halt when changing paths.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11227 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-19 10:58:59 +02:00
Guangcong Luo 09d73b0ba5 Apply patch #2003 - Add option for rotating with middle mouse button (LMB+RMB also works). refs #2003
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11212 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-16 03:54:27 +02:00
Safety0ff a6bb433a17 Reuse the lightmap texture and buffer since their size will not change between initTerrain and shutdownTerrain calls.
Replace a magic number with a new constant.
Update lightmap on the first frame (gameTime = 0).
Closes #1962.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11211 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-16 03:54:27 +02:00
Per Inge Mathisen 5c48a62fd5 Convert moveGetObstacleVector() to float. Now the float-b-gone conversion of move.c is complete. Patch by Cyp.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11209 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-15 20:35:04 +02:00
Christian Ohm dc9338a3b6 Fix a few new warnings.
Closes #1999.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11208 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-15 07:13:22 +02:00
Guangcong Luo e3b5c20533 Fix bug #1993 - crash when hosting a multiplayer game
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11207 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-15 07:13:22 +02:00
Guangcong Luo f367bc1d4f Make text line up better - most text now fits in the text box containing it.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11204 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-14 19:58:33 +02:00
Guangcong Luo 6ad59e0ec9 Fix bug #1990 - broken skirmish games
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11203 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-14 11:01:15 +02:00
Cyp 0c95725a23 Backport warnings from newnet branch, fix a warning that was stopping mac build. 2010-07-13 21:04:32 +02:00
Cyp 33eaa1fd65 Fix off by (almost) half of a tile when building derricks.
Was "+ TILE_SHIFT / 2" = +3 instead of "+ TILE_UNITS / 2" = +64 when finding the centre of a tile.
This bug exists since revision 1. Closes ticket:1988.
2010-07-13 19:55:05 +02:00
Cyp a3569a758f Make pathfinding thread safe.
May also be faster in some cases, where lots of droids are pathfinding to different destinations at once.
2010-07-13 18:20:05 +02:00
Buginator 228e60f18a Prevent division by 0 when a object has 0 original hit points.
Add a check for that condition on load, and complain about it, and assign 1 hit point to the object.

Correct some typos, clean / fix up some comments / debug lines

fixes ticket:1711
Original patch by MegabytePhreak

NOTE: the feature.txt file wasn't fixed in the commit.
2.3: r11186

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11187 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:57 +02:00
Buginator 6239cbaf46 Bump revision number for netcode, since the addition of r11182 (the map) it would fubar if all clients are not the same, and host was using said map.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11185 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:56 +02:00
Buginator 096c257052 Commit these project settings defines to disable extra checking which causes a huge performance hit. (VS2k8 was already committed in r9639, this was forgotten.)
_HAS_ITERATOR_DEBUGGING=0
http://msdn.microsoft.com/en-us/library/aa985939(VS.80).aspx
_SECURE_SCL=0
http://msdn.microsoft.com/en-us/library/aa985896(VS.80).aspx
For more info on checked iterators see:
http://msdn.microsoft.com/en-us/library/aa985965(v=VS.80).aspx
and
http://msdn.microsoft.com/en-us/library/aa985982(v=VS.80).aspx


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11184 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:56 +02:00
Per Inge Mathisen dfc9b624dd Add new map 'Pyramidal' by Mysteryem.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11182 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:55 +02:00
Per Inge Mathisen 193bd4f386 Add challenge descriptions. Patch by BlueMaxima, though I shortened the Back to Basics description somewhat. Closes ticket:1986
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11180 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-13 11:30:55 +02:00
Cyp 65b68143e1 Merge accidental fix of bad sorting function in astar.cpp from newnet branch.
The bug (due to missing parentheses) was accidentally fixed during a merge from trunk to newnet, due to different warning flags on the newnet branch which required an accidental bugfix to compile.
Pathfinding might give straighter paths now and/or be faster.

Completely closes ticket:1981.
2010-07-12 08:50:26 +02:00
Cyp 0dc1a58cd1 Fix infinite loop in pathfinding to nearest point when destination is not reachable.
Hopefully closes ticket:1983.
2010-07-11 23:52:13 +02:00
Per Inge Mathisen 33afe5bc3d simplipie: Make it accept multiple filenames as arguments to make mass-conversions simpler.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11171 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 23:04:18 +02:00
Cyp 25ee2493d0 Add assertion that paths are not longer than the number of tiles in the map. 2010-07-11 22:00:24 +02:00
Per Inge Mathisen 7c39eaf693 Improve logging for movement
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11163 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 21:56:12 +02:00
Christian Ohm aacc6f7e54 Croatian translation update by MetalWarrior95.
Also add Saberuneko's real name, per his request.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11160 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 21:56:12 +02:00
Christian Ohm a5f420655a Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11159 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 21:56:12 +02:00