Commit Graph

10704 Commits (93493f9b1d3b8faf861b255aead69072bbe70f0e)

Author SHA1 Message Date
Cyp 54080cc556 Fix 3 extra trucks belonging to host on 4c-pyramidal.
The 3 extra trucks belonged to player 4, 5 and 6, and triggered an assertion.

Fixes ticket:2945.
2011-11-17 15:08:19 +01:00
Cyp a7b2a5b45f walls: Allow building gates on top of walls. 2011-11-17 15:07:26 +01:00
Cyp 116afd08c5 walls: If building a corner wall with two trucks, don't cancel the second truck's order when it arrives. 2011-11-17 15:07:26 +01:00
Cyp 233ee5e711 walls: Make walls rotate to visually block narrow passages.
Single walls should look less weird, when blocking narrow passages, now.
2011-11-17 15:07:26 +01:00
Cyp 312b4a21c9 walls: Adjust wall orientation next to new hardpoints.
Wall orientation should no longer depend on whether the wall or the hardpoint was built first.
2011-11-17 15:07:26 +01:00
Cyp 42f57b6116 walls: Make blueprint walls match each other, and match real walls.
Fixes ticket:2581.
2011-11-17 15:07:26 +01:00
Cyp 7e449bf18b Simplify blueprint logic, first plan all blueprints, then render them. 2011-11-17 15:07:25 +01:00
Cyp 0898e56847 walls: Do not destroy and recreate walls when changing to corner type.
This would cause trucks to stop building the wall that was changed.
2011-11-17 15:07:25 +01:00
Cyp cff886cc36 walls: Fix walls alignment with 2x2 fortresses and allied walls.
Don't search through all structures on the map when looking for nearby structures.
2011-11-17 15:07:25 +01:00
cybersphinx 3bc7cdc170 Update translations. 2011-11-16 19:55:21 +01:00
Cyp 53e042be15 Animate changes in power.
This prevents the displayed power bar from changing abruptly.
Actual power levels are unaffected by this patch.
2011-11-16 19:48:19 +01:00
Cyp 8d7df45d35 Do not report incomplete structures as damaged, unless they actually were.
The maximum sizes of incomplete structure health bars are now correspondingly smaller.

Fixes ticket:1911.
2011-11-16 19:48:19 +01:00
Cyp 7eb32e9de2 Simplify build progress display code.
Adds missing tooltips as suggested by vexed.
2011-11-16 19:48:19 +01:00
cybersphinx a7299f1754 Push custom translation strings. 2011-11-16 19:34:45 +01:00
cybersphinx 91c67d3389 Add a push/pull rule for update-custom.py. 2011-11-16 19:34:45 +01:00
cybersphinx 7eccaa5957 Update .gitignore. 2011-11-16 19:34:45 +01:00
Cyp 943b4c345d Stop instantly, if trying to change scroll direction.
This should make scrolling less like hoverboarding.
2011-11-16 09:48:58 +01:00
Per Inge Mathisen 2e5451cb71 Make sure that F12 move-position-to-last-message does not reset map in (0, 0) position
when sound is turned off.
2011-11-12 17:22:21 +01:00
Per Inge Mathisen 47ac282bcd Fix for ticket:2928 - commanders unliked when loading game. Not fixed unit stuck in terrain. 2011-11-12 13:55:32 +01:00
Per Inge Mathisen 7861f33505 Fix radar modes bug, where old radar mode 1 would not work properly due to new
radar visibility rules. Also reduce darkness a bit.
2011-11-09 18:46:26 +01:00
Per Inge Mathisen 2ce5cc6777 Check for physfs 2 2011-11-09 18:46:26 +01:00
vexed 41515b089b More fixes to the MSVC build system 2011-11-08 21:41:58 -05:00
cybersphinx e2f6e7f3c1 Turkish translation update by Ayhan Görgülü.
Closes #2937.
2011-11-09 01:20:52 +01:00
dak180 ecb3fa62e5 Update the Xcode project for the changes in cazfi's patch.
Closes #2936.
2011-11-08 14:01:52 +01:00
vexed de28a736ef Updates for the red headed stepsister.
Refs #2936.
2011-11-08 14:01:40 +01:00
cybersphinx 3be85b0aa6 Make the src/autorevision.h target phony.
Else "make dist" from a clean source tree fails.

Refs #2936.
2011-11-08 14:01:23 +01:00
cybersphinx 8581c9a29f Use automake's builtin lex/yacc handling.
Original patch by cazfi
(http://forums.wz2100.net/viewtopic.php?p=88749#p88749).

Refs #2936.
2011-11-08 14:01:06 +01:00
cybersphinx 8c6248abe1 Update ChangeLog. 2011-11-07 21:35:35 +01:00
Cyp 3f22dbc111 power: Also calculate the construction ETA.
This ETA of course depends on the number of trucks helping with construction.
2011-11-07 21:10:37 +01:00
Cyp a63604fd15 power: Display power needed to start production in interface. 2011-11-07 21:10:37 +01:00
Cyp b780ec8d25 power: Spend all power at start of construction, instead of during. 2011-11-07 21:10:37 +01:00
Cyp 43ce2e586e power: Implement a power queue in power.cpp.
Structures now need to be rewritten to request all required power at the start of construction.
2011-11-07 21:10:37 +01:00
cybersphinx d3ee6bfca8 Italian translation update by Alpha93.
Closes #2935.
2011-11-07 18:43:08 +01:00
Per Inge Mathisen 74d92a17e4 Make source compatible with physfs 1 again. 2011-11-06 23:23:42 +01:00
cybersphinx 8ec5831657 Italian translation update by Alpha93.
Closes #2932.
2011-11-05 17:08:33 +01:00
cybersphinx a920033938 Update translations. 2011-11-05 17:04:42 +01:00
Per Inge Mathisen 749ee223d8 Remove unused accrue variables 2011-11-05 16:02:54 +01:00
Per Inge Mathisen 4d3dd28a5b Remove unused timeToResearch 2011-11-05 15:46:36 +01:00
Per Inge Mathisen 21ca6eb072 Cleanup of frontend code 2011-11-05 14:10:27 +01:00
Per Inge Mathisen 9c43217f0c Make unexplored tiles slightly lighter, as requested by NoQ on forums. 2011-11-05 14:10:27 +01:00
dak180 57512019cf Update Png to 1.5.6. 2011-11-03 10:08:47 -04:00
Cyp bb4a6e5d20 Remove unused repair power cost code, unused upgrade code and 40% of functiondef.h. 2011-10-31 12:58:38 +01:00
cybersphinx 588978ae40 Set keyboard/mouse state to KEY_UP when losing input focus.
See 4f0429e212a43697a8b25ab7ed8722fc82db98ee which got lost somewhere in
the qt merge. Refs #515, closes #2887.
2011-10-30 22:26:35 +01:00
Per Inge Mathisen bb3d7fe92e Remove dead Pumpkin code related to cleaning up wreckage. There is no wreckage in the game. 2011-10-30 18:33:42 -04:00
Per Inge Mathisen 1b6359e12c Fix bug in label code. Add possibility of negative object IDs in game data that force
the game to create a new ID, used to avoid ID collisions in campaigns.
2011-10-30 17:38:28 -04:00
Cyp f4dba73b0c Add ETA to production and research progress bars.
Should make it easier to answer, when people ask you “How long until ripples are ready?”.

Clarity-enhancing suggestions by cybersphinx.
2011-10-30 16:32:10 +01:00
cybersphinx 73c1d98637 Make texture compression optional.
Two variants:

1. Use the --notexturecompression command line option.

2. Put "notexturecompression=1" into the config file. Can be overridden
with the --texturecompression command line option.

Closes #2864.
2011-10-30 14:41:10 +01:00
vexed 6465d7287d Sync up the NSIS file.
Thanks for the heads up Asgorath
2011-10-29 21:05:03 -04:00
dak180 5c700b8a2b Get rid of unnecessary files.
Change the way the xcode project runs moc to not require additional files.
2011-10-29 16:47:27 -04:00
Per Inge Mathisen 95a4b39f96 javascript: Add support for dead man's hand type triggers. You bind a function to a game object, and
the function is called when that game object dies. Useful particularly for campaign scripting.
2011-10-29 18:48:51 -04:00