Commit Graph

4551 Commits

Author SHA1 Message Date
huwpascoe
baecedc7b8 Cursor Doubling
Cursor now doubles with pixel doubling, enabled by a new checkbox in the
settings menu.
2014-08-21 20:08:38 +01:00
WolfGaming
d619fbfbbe Added a trait that removes an actor when prereqs are met, with delay. 2014-08-21 18:42:37 +00:00
Alexander Fast
e934df374d Fixes double auto completion in in-game chat. 2014-08-21 13:12:29 +02:00
Alexander Fast
a73898d441 Fixes double auto completion.
Pressing tab twice would auto complete (the same name) twice.
Auto completion is now disabled when last character in sentence is a
space.
2014-08-21 13:05:04 +02:00
Alexander Fast
bab7f765dd Replaced GetPlayerNames method with simpler linq.
Bonus feature: it now auto complete bot names as well.
2014-08-21 13:02:17 +02:00
Alexander Fast
0c6f180f56 Replaced ForEach with loop, moved Trim outside. 2014-08-21 12:39:53 +02:00
Alexander Fast
070d00c678 Fixes year numbers in license text in file headers. 2014-08-21 11:27:52 +02:00
obrakmann
87e4d6b422 Merge pull request #6079 from reaperrr/rof-modifier
Adds ReloadDelay modifier & renames ROF to ReloadDelay
2014-08-21 00:27:39 +02:00
Alexander Fast
3160fa40f6 Added tab completion to lobby chat.
Also fixes accidental reversion of one word logic during cleanup.
Fields that could be readonly are now readonly.
2014-08-19 22:48:51 +02:00
Alexander Fast
ab61830d0f Code cleanup based on code review.
Fixes multiple enumeration of IEnumerable.
Fixes return value of pure method not used.
Converted OnTabKey and OnClick handlers to method groups.
Removed one set of redundant parenthesis.
Replaced explicit type with var.
2014-08-19 21:27:39 +02:00
Alexander Fast
034625c2ea Added tab completion to in-game chat.
Both player names and chat commands can be completed.
Names of local players and bots are not candidates for completion.
If a completed name is the first word ": " is appended to the end.
The hotkey for toggling team/all chat has been moved to left Alt.
2014-08-19 17:19:32 +02:00
reaperrr
4469b5f5ca Introduces ReloadModifier
and renames ROF -> ReloadDelay
2014-08-19 02:59:50 +02:00
Paul Chote
520df8242d Merge pull request #6217 from Mailaender/starting-units-classname
Fixed lobby start unit notifications not showing class names
2014-08-19 10:15:12 +12:00
Paul Chote
774e516106 Suppress map change order when selecting the same map. Fixes #6206. 2014-08-19 00:13:48 +12:00
Matthias Mailänder
fa2b2bea0b beautify starting unit notification when joining server
move LobbySettingsNotification into it's own ServerTrait
2014-08-17 07:39:34 +02:00
Paul Chote
e2ede4ec24 Merge pull request #6201 from cjshmyr/morelua
Add more Lua functions
2014-08-17 12:54:30 +12:00
Paul Chote
d9dc514d37 Merge pull request #6262 from Mailaender/silo-placement-loop-glitch-fix
Fixed silo fullness animations loop during building placement
2014-08-17 12:36:17 +12:00
Matthias Mailänder
da7caa6105 Merge pull request #6183 from UberWaffe/6030Fix_UpgradeRules
Closes #6177
Closes #6222
Closes #6240
Closes #6245
2014-08-16 18:07:56 +02:00
Matthias Mailänder
df09d16a1c Merge pull request #6218 from pchote/percentmods
Change attribute modifiers to use integers.
2014-08-16 17:28:37 +02:00
Matthias Mailänder
29dc1b574c fix silo animations playing during building placement
closes #6258
2014-08-16 17:17:25 +02:00
UberWaffe
0ebe1c2c6a Made Effect, Resource and Smudge warheads return 0% effective against actors. 2014-08-16 10:58:04 +02:00
Curtis Shmyr
cb4bd52fc0 Added more Lua functions 2014-08-15 19:51:02 -06:00
Paul Chote
c80a12f99c Merge pull request #5937 from reaperrr/explosions2
Implements more sophisticated explosion animation/sound system
2014-08-16 01:58:11 +12:00
UberWaffe
1375e56a32 Fixes D2K AI constantly repairing weather damage. 2014-08-13 16:13:34 +02:00
reaperrr
ef54f011bb Change ImpactTypes from array to bitfield approach. 2014-08-13 11:45:58 +02:00
Matthias Mailänder
50ab941d1f avoid NullReferenceException in updatedRegion
fixes #6166
2014-08-12 06:19:34 +02:00
Paul Chote
7e92ba9fdd Rename ProneSpeed to SpeedModifier in TakeCover. 2014-08-12 11:43:24 +12:00
Paul Chote
01cd6efbd0 Convert firepower modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
84d3497e96 Convert speed modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
0425416ce2 Convert damage modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Matthias Mailänder
24a3fd3196 show a user friendly description of the starting unit template
closes #6209
2014-08-09 13:34:03 +02:00
Curtis Shmyr
381505cd19 Merge pull request #6189 from UberWaffe/6066_CratePrerequisites
6066 Crate Prerequisites
2014-08-08 23:14:58 -06:00
Paul Chote
54fa8e4d30 Merge pull request #6182 from obrakmann/fix6172
Fix observer widgets not showing up when a player loses
2014-08-09 12:45:54 +12:00
UberWaffe
30e675a306 Added YamlException to GiveUnitCrateAction if no units are defined. 2014-08-08 17:00:04 +02:00
UberWaffe
0ff9332844 Crate actions can now define required prerequisites. 2014-08-08 17:00:03 +02:00
Oliver Brakmann
8c43ffb802 Add some Media functions to new Lua API 2014-08-08 13:35:50 +02:00
Oliver Brakmann
d673520d82 Remove inconsistencies w.r.t the Surrender order
* Surrendering is now possible even in maps that do not use
  ConquestVictoryConditions.
* The Surrender button is greyed out instead of hidden when it cannot be
  used.
2014-08-08 13:35:50 +02:00
Oliver Brakmann
819eb64011 Add end game dialog 2014-08-08 13:35:49 +02:00
Oliver Brakmann
8cec848a0f Add a mission objectives GUI panel 2014-08-08 13:35:49 +02:00
Oliver Brakmann
cca6646927 Add mission objectives to Lua interface 2014-08-08 13:35:43 +02:00
Oliver Brakmann
a448ba29a8 Move trigger lists into a dictionary for easier access and enumeration 2014-08-08 13:34:47 +02:00
Oliver Brakmann
6e3000ab0e Make Conquest- and StrategicVictoryConditions use objectives backend
Note: 3rd party KotH maps will need to be modified to work correctly
with this change.  Previously, StrategicVictoryConditions was a
supplement to ConquestVictoryConditions.  After this change, each works
by itself.  So KotH maps will need to remove the ConquestVictoryConditions
trait from the player definitions, or both victory conditions will have
to be satisfied to win the game.
2014-08-07 16:56:17 +02:00
Oliver Brakmann
a3bf3e7403 Add support for mission objectives
Objectives can be either primary or secondary objectives. Primary ones
influence the outcome of the game.  If all primary objectives are
completed the game is won, and lost when any of them fails.

Objectives can be added at any stage during the game, allowing to react
dynamically to game events.

The objectives backend only contains the information about the
objectives themselves. It does not check if objectives are completed or
failed.  Instead, the state of objectives must be manually marked. The
backend, however, does check whether the game is won or lost.
2014-08-07 16:56:17 +02:00
Paul Chote
1a4f476ffa Replace CloakCrateAction with upgrades. 2014-08-07 20:44:30 +12:00
Paul Chote
2d062b790b Add FriendlyFire property to GivesExperience. 2014-08-07 20:44:29 +12:00
Paul Chote
de775e2f56 Reimplement unit levels using IUpgradable. 2014-08-07 20:44:28 +12:00
Paul Chote
0ca5336072 Reimplement UnitUpgradeCrate using IUpgradable. 2014-08-07 20:43:27 +12:00
Paul Chote
bf5da145b0 Introduce IUpgradable and purchasable unit upgrades. 2014-08-07 20:40:47 +12:00
Paul Chote
4cf822cd00 Support production of actors without IFacing. 2014-08-07 20:40:47 +12:00
obrakmann
2512bc52f8 Merge pull request #6134 from Mailaender/lobby-notify-followup
Made the lobby notifications less spammy and added some more cases
2014-08-06 19:58:15 +02:00