Commit Graph

8207 Commits (bf38eb51ea431d9197746d656ac342d1fad02b47)

Author SHA1 Message Date
Per Inge Mathisen bf4ffed04c Allow texture animation and tcmask to be used together. 2010-11-10 20:10:40 +01:00
Per Inge Mathisen 77fb642247 The current algorithm for matching a defensive structure to terrain looks at the higher corner of a tile. This new algorithm looks instead at the higher position on a tile where a vertex in the model would intersect the terrain if it were level with the ground. This makes defensive structures match up with the terrain much closer, avoiding the 'jutting out of the terrain' effect of building defensive structures on uneven terrain. This closes ticket:2299 2010-11-09 19:11:15 +01:00
cybersphinx 268f2d0523 Polish translation update by Emdek.
Closes #1347.
2010-11-09 15:57:08 +01:00
cybersphinx 8facf5e178 Include autorevision.h in the tarball for Mac builds.
(cherry picked from commit fa3abb70e5ad9dfdd41451c1135648e240f2f2b3)
2010-11-08 02:55:40 +01:00
dak180 475398b0d2 Update the autorevision script so we can get something out of tarballs; also some minor fixes to data copying. 2010-11-07 16:09:35 -05:00
cybersphinx 24f204863c Update changelog formatting script for git commit hashes.
sed magic by Kreuvf.
2010-11-07 19:15:28 +01:00
Per Inge Mathisen 4eedc06362 Use Mysteryem's new tree textures (http://forums.wz2100.net/viewtopic.php?f=33&t=3485) for rockies tileset. 2010-11-07 17:44:27 +01:00
Cyp be5285f916 Fix duplicate structure IDs by removing GAME_BUILD message type.
The only remaining purpose of GAME_BUILD was to hackishly change structure IDs around, which is not useful since structure IDs are already synchronised.

Changelog: Fix inability to select or target some structures due to duplicate structure IDs.
2010-11-07 14:16:56 +01:00
Cyp c53a59b709 Don't call glBufferSubData(GL_ARRAY_BUFFER, *, 0, *), which crashes some drivers.
Probably shouldn't have crashed... Fixes ticket:2293.

Changelog: Work around crash in some graphics drivers on some maps.
2010-11-07 11:46:51 +01:00
buginator 5a35eb9f89 CHANGELOG: Correctly handle unicode strings for edit boxes.
fixes ticket:2209
(cherry picked from commit 3012fde61ef92151e0ec5125551a7b3481f05fb8)

Conflicts:

	lib/widget/editbox.c
2010-11-06 15:59:57 -04:00
Per Inge Mathisen 4492a1fbff Add higher resolution feature textures by Black Project. Closes ticket:2279 2010-11-06 17:56:01 +01:00
Per Inge Mathisen f78910162b Universal feature support by Mysteryem from ticket:872 2010-11-06 17:35:17 +01:00
Per Inge Mathisen 97f0d5b3e3 Do not crash when building ugly gates in L-formation. Closes ticket:2292 reported by Cyp. 2010-11-06 16:26:19 +01:00
Per Inge Mathisen f17981b6d6 semperfi: There is no point in rushing out to fortify an oil well that the enemy cannot (safely) get to. 2010-11-05 22:15:00 +01:00
Per Inge Mathisen d9be3f5bf4 semperfi: Do not send trucks to build at oil derricks where they will be shot to pieces en route. 2010-11-05 21:39:38 +01:00
Per Inge Mathisen ba0d8f3509 Do not make AIs build gateway fortifications in places where they can be shot at. 2010-11-05 21:39:07 +01:00
Per Inge Mathisen bd82f2b8e2 Make danger map accessible to scripts. New functions: safeDest(plr, x, y) and threatAt(plr, x, y) for querying it. 2010-11-05 21:16:05 +01:00
Per Inge Mathisen b676dcded4 Make danger map block fill on buildings as well as features again. Mark buildings and features in safe territories as safe. 2010-11-05 21:15:02 +01:00
dak180 fb697187f4 Update vorbis to 1.3.2. 2010-11-03 18:30:14 -04:00
Per Inge Mathisen 2a56d64b0b Speed up danger map performance by using a preallocated array instead of a dynamically allocated linked list for storing open nodes. 2010-11-03 21:14:05 +01:00
Per Inge Mathisen 5b0422af3c Fix warning for missing parentheses. Closes ticket:2291 2010-11-03 20:06:09 +01:00
Per Inge Mathisen fb58bfdaf8 Add missing files for 3,5,7 player map support. Closes ticket:2289, fix by Black Project. 2010-11-03 20:03:40 +01:00
Per Inge Mathisen aeb20e839e Make AI players able to produce more than one thing in each factory again. 2010-11-03 19:47:28 +01:00
Cyp 374c1a97be Fix desynch due to pre-placed oil drums being weird and unsynchronised.
Fixes audio message that shouldn't be there, since power from oil drums is no longer sent as a "gift".

Changelog: Fixed desynch on picking up oil drums included in maps. Also fixed power transferred audio on picking up oil drums.
2010-11-02 23:35:53 +01:00
Per Inge Mathisen d46309b6d1 Fix 2 rockies tileset decals (page-55.png and page-62.png). Patch by Dark Project in ticket:2285 2010-11-02 23:27:25 +01:00
Per Inge Mathisen bb72422a01 Cache the blocked status of tiles in a bitset to make lookups faster, especially for time consuming map analysis like danger maps. See ticket:2283 for discussion. 2010-11-02 21:30:56 +01:00
Per Inge Mathisen 1617b4c3d7 Add new keyword WZ_DECL_ALWAYS_INLINE to label functions that we always want to inline, even when compiling in debug mode.
Also manually inline map tile lookups in the danger map code for maximum performance (avoiding some checks).
2010-11-02 21:12:58 +01:00
Per Inge Mathisen b1c4980c81 Speed up danger map performance a bit by rejecting tiles during flood fill that have already been processed. 2010-11-02 21:06:03 +01:00
cybersphinx aa48d4c069 Fix last commit (libpng). 2010-11-02 16:28:37 +01:00
cybersphinx 17a9973597 Update the dependencies for the Windows cross build.
DejaVu fonts: 2.31 -> 2.32
freetype: 2.3.12 -> 2.4.3
gettext: 1.18.1 -> 1.18.1.1
libogg: 1.2.0 -> 1.2.1
libpng: 1.2.44 -> 1.4.4
libvorbis: 1.3.1 -> 1.3.2
2010-11-02 16:13:24 +01:00
cybersphinx af72ffa377 Updated Spanish translation by Saberuneko.
Closes #2214.
2010-11-02 15:34:00 +01:00
cybersphinx 29d171d0d9 Updated Romanian translation by adimosh.
Closes #2246.
2010-11-02 15:34:00 +01:00
cybersphinx 86526c9c20 Fix some French.
Closes #2268.
2010-11-02 15:34:00 +01:00
cybersphinx 99486cb694 Add Turkish translation by Ayhan Görgülü.
Closes #2261.
2010-11-02 15:34:00 +01:00
Buginator 0702fa9eb5 Show map / game name / hosted by in the tooltip for the lobby
closes ticket:2121

This does *NOT* break GAMESTRUCT compatibility.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11546 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit 1119dada6868433f6840dd1fe174a7aa3858b081)
2010-11-02 15:30:36 +01:00
cybersphinx 8ed8ecc65c Update translations. 2010-11-02 13:32:52 +01:00
dak180 af8ebf5afa Filter tag names properly. 2010-11-01 11:16:55 -04:00
Cyp 92cd24faaa Make game difficulty setting not affect skirmish games.
Hopefully, skirmish games will be just like multiplayer now.

Changelog: Game difficulty setting no longer affects damage in single-player skirmish games.
2010-11-01 19:18:42 +01:00
Cyp 4c28815937 Add defaults to autorevision.cpp for when not in a git repository. 2010-11-01 19:16:18 +01:00
Cyp 3f5176be49 Fix "(modified locally)".
Was hard to see it was broken, since the po/ directory keeps getting modified, so "(modified locally)" is often correct.
2010-11-01 13:34:07 +01:00
Cyp bad36b8a48 Fix power generation speed in multiplayer depending on game options difficulty level.
Basically, any player that changed the game difficulty level to help them beat the campaign would end up accidentally cheating 10% extra power in multiplayer...

This caused desynchs for obvious reasons.

Changelog: Fix desynch due to each player's power generation speed in multiplayer depending on the their game options difficulty level.
2010-11-01 11:47:45 +01:00
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