Commit Graph

8416 Commits (7481694e9f14d27ad72d401b5c27d50d71be70af)

Author SHA1 Message Date
cybersphinx f5358c205b Update .gitignore. 2010-10-31 13:19:41 +01:00
Cyp 66286268f2 Don't crash on MOVEPOINTTOPOINT for paths of zero length.
Should that be possible, though?
2010-10-31 08:56:31 +01:00
dak180 e540ca7ab1 Try to pickup the current revision from git first. 2010-10-30 23:12:14 -04:00
dak180 91a9a84c72 Increase the size of the dmg to hold everything.
(transplanted from a3008d5ddb112eaf0a88f2b09649c2a6442f94f4)

--HG--
extra : transplant_source : %A3%00%8D%5D%DB%11.%AF%0A%88%F2%B0%96I%C2%A6D/%94%F4
2010-10-30 21:06:49 -04:00
buginator 5bbe90df6b Update files from TRUNK->master 2010-10-30 20:47:36 -04:00
Cyp 33c25602f7 Bump netcode version. 2010-10-30 22:59:27 +02:00
Cyp d41a6078d4 Bump netcode version for testing build. 2010-10-30 22:57:54 +02:00
Cyp b8523681d6 Draw blueprints of pending but not yet synchronised orders from order queue, to fix blueprints flashing.
(Adding a "Changelog" line, in case anyone wants to try making a changelog using a script.)
Changelog: Fix queued structure blueprints flashing just before being built.
2010-10-30 08:15:00 +02:00
Cyp d8fbf4bccc Fix droid order lists not getting cleared when giving a non-queued order.
Ended up removing SendGroupOrderSelected in the process.
2010-10-29 05:45:26 +02:00
dak180 711f5ebc97 Update the ignores. 2010-10-28 14:42:53 -04:00
Cyp 242fa66dd9 Add fallback to -42, if git rev-list doesn't support --count.
The --count option was introduced in f69c501832ecd6880602c55565508e70c3a013d5 in git v1.7.2-rc1.
2010-10-28 16:44:07 +02:00
buginator 249713b04a Don't shutdown the map on (specific) SP missions, it still is in use for away missions when we come back.
If said map is shutdown, then instead of crashing, this just makes it so you don't see textures.
Note for the future: Perhaps it is better to just abort out instead, since it means that we
shutdown the map when we were not supposed to...

fixes ticket:2265
fixes ticket:2256
(cherry picked from commit f3406075e3cca5599bf699d0e07fc4e83266e55f)
2010-10-28 07:13:19 +02:00
Cyp 2bd260f2aa Fix lassat party, re-add the delay between lassat shots. 2010-10-28 06:44:29 +02:00
dak180 f13be24000 Hook the mac versioning system up to the new git stuff. 2010-10-27 14:26:57 -04:00
Cyp 0ee3a2147b Add version stuff for mac, and shorten version display in-game to a 7 char hash. 2010-10-27 19:43:18 +02:00
Cyp 9cd889fb6a Fix order-queue-related desynch.
Could usually be reproduced by filling a transporter, ordering to unload in an enemy base, and queueing an order to fly back.

Would probably trigger randomly, but not in autogames where orders usually aren't queued.

Also added action targets to syncDebugDroid for easier future bugfinding.
2010-10-27 12:17:35 +02:00
dak180 dca90809f9 Sync wzlocal with the po directory. 2010-10-26 15:53:04 -04:00
dak180 e006723545 Add the Turkish info.plist.
Refs #2261
2010-10-26 15:24:15 -04:00
Cyp 2590c196f6 Fix host being unable to ever research any topic which an AI player has begun research on.
Affected single-player, too.

Closes ticket:2264.
2010-10-26 20:20:02 +02:00
Cyp 5bec739eda When a derrick is destroyed, make the oil well visible to the players that know the derrick exploded. 2010-10-26 15:35:07 +02:00
Cyp 590752c08a Fix broken pathfinding on non-square maps.
Was typo in isBlocked() function in a3569a758f.

Closes ticket:2259.
2010-10-26 15:26:07 +02:00
Cyp 0a687db4ca Add most of sMove structure to syncDebugDroid.
Also, remove unused bound[XY] variables in sMove.
2010-10-26 10:11:54 +02:00
Cyp ad4a38a1be Bump netcode version.
Also, remove unused NETCODE_HASH.
2010-10-26 10:11:04 +02:00
Cyp 25671b1083 Revert "Replace immediate-mode rendering with VA-based rendering" for now, since it makes rendering trucks very slow.
This reverts commit f363a02af7.

Please revert this revert when this is fixed.
2010-10-26 08:36:22 +02:00
Christian Ohm fb18403d75 New terrain textures.
Refs #2013.
(cherry picked from commit d7dcf7c32c5d8210b999574d62e6462fa89104d1)
2010-10-24 22:50:45 +02:00
Per Inge Mathisen b7c9a369d6 Add new backdrop from forum member jorzi. 2010-10-24 19:55:57 +02:00
Cyp 6f1fbbde33 Make the droidOrder*() functions take a ModeQueue/ModeImmediate parameter.
Removes the need for turnOffMultiMsg() in some places.
Should reduce the number of messages sent over the network a bit.
Also removes two unused functions in src/transporter.[ch].
2010-10-24 19:36:08 +02:00
Cyp 40ffee51fc Allow changing game speed in multiplayer when debug mode is enabled.
All players should change to the same speed, unless wanting to test what happens if some computers are too slow.
2010-10-24 17:17:54 +02:00
dak180 57e5ef77da Add the Romanian info.plist.
Refs #2246
2010-10-24 10:14:25 -04:00
Cyp a9ac2c755a Fix some droids not going to rally points.
The droids were getting DORDER_GUARD messages after getting the DORDER_MOVE.
2010-10-23 23:30:36 +02:00
Cyp aea0933672 Don't desynch on embarking nor crash on disembarking. 2010-10-23 22:16:28 +02:00
Cyp 1481ec6830 Fix flamers shooting into outer space due to unsigned underflow and fix penetrating projectiles going 100 times too far.
Also, renamed the confusingly named partially-unsigned vectors {startX, startY, srcHeight} and {tarX, tarY, altChange - srcHeight} to signed vectors src and dst, respectively.
2010-10-23 18:02:56 +02:00
Cyp 5c431a36d1 Convert muzzle location from floats to integers. 2010-10-23 18:02:56 +02:00
Cyp 9b52ee44b4 Fix synch error, don't let AIs bypass the message queue when starting researching. 2010-10-23 18:02:56 +02:00
Cyp e8ebb11d4a Remove NETnull() function, which was potentially confusing.
NETnull() was equivalent to uint32_t zero = 0; NETuint32_t(&zero);, which no longer adds/removes 4 bytes of padding as advertised.
2010-10-23 18:02:56 +02:00
Cyp db58c7c5f9 Fix infinite loop when modifying a template in infinite production.
If a factory was set to infinite production, but no templates were in the production queue, there was an infinite loop looking for something to produce.
2010-10-23 18:02:56 +02:00
Per Inge Mathisen 29413f5a01 Nuke most of the unfinished, unused and deprecated tagfile map format code. 2010-10-22 23:19:32 +02:00
Per Inge Mathisen 1e5c8a77e2 Do not activate a radar detector before it has been completely built. Closes ticket:2202 2010-10-22 19:56:48 +02:00
Cyp d8ec229ec6 Use ModeQueue and ModeImmediate instead of maybeDeleteTemplateFromProduction and reallyDeleteTemplateFromProduction. 2010-10-22 18:38:58 +02:00
Cyp fcdba754c4 Introduce ModeQueue and ModeImmediate as an alternative to playing with bMultiMessages.
Makes campaign queue some messages, and fixes cancelling production queues in campaign.
2010-10-22 18:13:04 +02:00
buginator 714b465743 Fix missing declaration from
d0217d5d4e
(cherry picked from commit 55cf2a4f85dac4570aca592e165a4041c8cd0940)
2010-10-21 19:01:36 -04:00
buginator d0217d5d4e Commit patch from ticket:2110 "Mousewheel menu patch"
Author: noccy
Thanks for the patch!

Format and additional changes by me.

Close ticket:2110
(cherry picked from commit e979b6ad620f27e746f119fefd1f613bbb61b8a4)

Conflicts:

	src/keybind.c
	src/keybind.h
2010-10-21 00:55:55 -04:00
buginator 40c5ace37b Correct typo to make the SuperTransport's enigine output higher (faster)
(cherry picked from commit f0b7fc5ed3a9d0de7fd41ee3039b08b50818bec2)
2010-10-20 21:53:03 -04:00
buginator 8b50aebec8 fixes Ticket:2233 (artifacts texture issues) fixed by Berg.
(don't ask me how the other commit message got mangled)

(cherry picked from commit 9ba8522cb643d10e684725fcf1b158727c7a4756)
2010-10-20 01:25:55 -04:00
buginator 3f2540fea3 Fix flashing animation again.
Fixed by Berg.
(cherry picked from commit c0a12c32c6f8cd291bd154e2fef669a535732843)
2010-10-20 01:24:05 -04:00
buginator c59292e57e Fix pie file for transport shadow.
Fix by Berg.
(cherry picked from commit b923ae28d7320ae66062bed67c0a3145213b72c8)
2010-10-20 01:23:42 -04:00
Per Inge Mathisen 18cf896eb7 Check if a structure has a sensor before reading info from it. Fixes crash in threat map code when dealing
with lassats. (Of course lassats do things differently than everything else.) Bug found by Cyp.
2010-10-19 20:24:05 +02:00
buginator ccb286ceaa Fix ticket:1478 "Non-host players do not get info about the research in progress by allied AIs in MP"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11556 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit edadbb83fd34e65d125d396110db13f8e5cc8097)

Conflicts:

	src/scriptai.c
	src/scriptfuncs.c
2010-10-18 23:02:34 -04:00
buginator 5f83b41456 Make sure pointer is valid before using it.
refs ticket:2171

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11698 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit 4853171df29c2d8286b5b3a84038189d18bac308)

Conflicts:

	src/structure.c
2010-10-18 22:24:01 -04:00
buginator ec18ac9365 Fix SP bug that didn't set the limits correctly for the Cyborg Factory, it really should be fixed in the scripts, however, this will not harm anything, just note that the current limit is MAX_FACTORY which is currently 5.
This will *not* fix savegames that already went past the limit!

NOTE: Our next release after 2.3.5 will have it fixed in the scripts.

refs ticket:2173

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11697 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit d20fe58222bc883f8be849965217d6245d03cf72)

Conflicts:

	src/structure.c
2010-10-18 22:24:00 -04:00