Commit Graph

7869 Commits (e5a619411ea7a155c99101713b1312b15c1ae021)

Author SHA1 Message Date
Cyp eed7a50018 Minor power code cleanup.
Removed unused stuff, changed float to int in some places that don't make a difference.
2010-08-01 18:38:11 +02:00
Cyp 7874dc608c Clean up thread-related #defines. (Backport from newnet.) 2010-08-01 15:23:06 +02:00
Cyp c96eda047c Check if blocking map pointer is valid by comparing game time to a variable that isn't inside the blocking map structure. (Backport from newnet.)
Must have gotten confused when mixing/refactoring/blending/frying data structures, even the comment was weird. Fixes valgrind warning and probably fixes ticket:2016.
2010-08-01 15:17:47 +02:00
Christian Ohm c778cad0f1 Polish translation update by Emdek.
Closes #1347.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11336 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-01 15:14:54 +02:00
Cyp 098878ffae Merge remote branch 'origin/master' into newnet
Conflicts:
	macosx/Warzone.xcodeproj/project.pbxproj
2010-08-01 13:52:16 +02:00
Cyp 6e26d32b5e newnet: Don't wait for players that have left the game. 2010-08-01 13:44:56 +02:00
Cyp 2e01e81da6 newnet: Show relevant players next to connection status icons. 2010-08-01 13:06:50 +02:00
Christian Ohm 324722fc93 Prevent out of bounds access of player stat arrays.
In the 2.3 netcode, we use player 9 for features, while we only have stats for
players 0-7. Fixes #2029 and probably a truckoad of other random problems.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11323 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-01 10:50:33 +02:00
dak180 3d0befebc9 Fix up the build rules.
Add the Korean .strings file.

Closes #2039.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@11318 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-31 19:03:34 +02:00
dak180 943af316ec Add the Korean .strings file.
Closes #2039.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11317 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-31 18:51:15 +02:00
Cyp 1854f49a0c newnet: Check if blocking map pointer is valid by comparing game time to a variable that isn't inside the blocking map structure.
Must have gotten confused when mixing/refactoring/blending/frying data structures, even the comment was weird. Fixes valgrind warning and probably fixes ticket:2016.
2010-07-31 11:42:50 +02:00
Cyp b59b089ca5 Merge remote branch 'origin/master' into newnet
Conflicts:
	lib/netplay/nettypes.c
	src/multibot.c
2010-07-30 22:51:33 +02:00
Cyp ea690beab7 newnet: Fix maximum latency calculation, don't return 1 second unconditionally. 2010-07-29 23:30:16 +02:00
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
Buginator 32241ef77b Fix ambiguous function call to overloaded function
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@11297 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:59:41 +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
Cyp 5651464175 newnet: Fix research facilities getting broken if clicking too much before researching.
(Was broken by "Make production UI respond instantly (without waiting for game state to change).".)
2010-07-22 09:39:44 +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
Christian Ohm acff17e90c Update list of files to translate.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@11242 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-21 18:29:56 +02:00
Cyp 1cb0cf5cf9 newnet: Add -lz to configure. (Patch by Per.) 2010-07-21 18:28:41 +02:00
Cyp 0c93c007b9 newnet: Make DORDER_RTB on a droid with DACTION_MOVETOBUILD not crash in skirmish.
Don't know why it's only in newnet and not trunk, that the AI sends DORDER_RTB in skirmish.

Closes ticket:2010.
2010-07-21 17:57:52 +02:00
dak180 4e8f1fb7f3 Add the font files and clean up some of the scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@11240 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-21 17:43:57 +02:00
Cyp 1a39299572 Merge remote branch 'origin/master' into newnet
Conflicts:
	macosx/Warzone.xcodeproj/project.pbxproj
2010-07-20 23:07:26 +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
Cyp b5529929e7 newnet: Make production UI respond instantly (without waiting for game state to change).
Fixes production count being displayed as "10".
2010-07-20 22:57:19 +02:00
Cyp e246e6006e newnet: Save a few more bytes. 2010-07-20 15:40:07 +02:00
Cyp f5fe36414a newnet: Save a few bytes. 2010-07-19 18:42:19 +02:00
Cyp e826510caa newnet: Make research buttons appear to work instantly, don't allow researching same thing twice. 2010-07-19 17:17:53 +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