Commit Graph

2696 Commits

Author SHA1 Message Date
RoosterDragon
082ea6ba73 Refactor animation classes.
Specify pause function in constructors of Animation if required, and remove the unused pause function from AnimationWithOffset.

Cleanup Animation.cs and reduce code duplication.
2015-12-05 16:58:26 +00:00
abcdefg30
6df67cf451 Merge pull request #9595 from ChaoticMind/middle_click
Middle click to cancel directly (skips onhold) & ctrl+cancel to cancel entire queue
2015-12-05 16:06:09 +01:00
Kevin Azzam
7b22023d57 Implement middle click to cancel (skips onhold) and ctrl+cancel to cancel entire queue 2015-12-05 15:50:41 +01:00
atlimit8
e9b0691f70 Improve rule upgrade logic for immobilization 2015-12-04 19:30:39 -06:00
atlimit8
c827dbe183 Replace IDisableMove with upgradability 2015-12-04 19:26:49 -06:00
atlimit8
0fc04b7a4a Make Mobile upgradable 2015-12-04 19:22:23 -06:00
atlimit8
f5460f9f56 Upgrade(s) while loading cargo 2015-12-04 19:17:16 -06:00
abcdefg30
e5bafe835f Merge pull request #9541 from reaperrr/rename-rendertraits-xy
Rename WithTurret, WithBarrel and WithReloadingTurret to include 'Sprite' in trait name
2015-12-05 00:24:37 +01:00
UberWaffe
f7f0dde4bb Added LineImpactProjectile. 2015-12-05 00:23:55 +02:00
abcdefg30
642e213049 Fix DeathSounds not working without DeathTypes defined 2015-12-04 22:06:16 +01:00
Paul Chote
a34b0be873 Add AnyBlockingActorsBetween helper. 2015-12-04 17:44:40 +02:00
abcdefg30
6f8d580567 Fix a crash when producing an actor without OccupiesSpace in combination with UpgradeActorsNear 2015-12-03 16:25:46 +01:00
Oliver Brakmann
fd2bd7c9d3 Merge pull request #9639 from abcdefg30/specchat
Add team chat for spectators
2015-12-01 22:32:57 +01:00
abcdefg30
07bfd5f59e Merge pull request #9786 from RoosterDragon/reserve-fixes
Reserve fixes
2015-12-01 21:13:41 +01:00
abcdefg30
837c553e88 Merge pull request #10068 from Mailaender/catch-natdevice-externalip
Fixed crashes when NatDevice.GetExternalIP() fails
2015-12-01 17:20:13 +01:00
Pavel Penev
e1dc53a0d2 Merge pull request #10093 from teees/harvesterdocksequence
Made the HarvesterDockSequence class abstract
2015-12-01 13:53:21 +02:00
Paul Chote
03693a06eb Add CurrentSource parameter to ProjectileArgs. 2015-12-01 07:47:39 +02:00
teees
c9e5dba38b Fixed FallToEarth groundlevel check 2015-11-30 13:02:16 +01:00
DArcy Rush
8eb34f3cfa Replace 'Always show Healthbars' checkbox with dropdown
The player can now cycle between;
-Standard: Health and Status bars display only on mouse hover.
-Show On Damage: Health shows on damaged actors, Status always shows.
-Always Show: Health and Status bars are always displayed.
2015-11-29 21:52:31 +00:00
Matthias Mailänder
70de26557b Merge pull request #10145 from obrakmann/fix10127_creeps-enemies
Set enemies of the 'Creeps' player when adding a new player in the editor
2015-11-29 19:47:23 +01:00
abcdefg30
a10ea0350e Misc (style) improvements in the upgrade rule code 2015-11-29 19:39:43 +01:00
abcdefg30
5c6c44ba7b Try to avoid adding duplicate values through upgrade rules 2015-11-29 19:39:42 +01:00
abcdefg30
1695627ffc Let upgrade rules also account for negated traits
(this commit affects only "-SpawnViceroid:", "-LeavesHusk:", "-Plane:" and "-Helicopter:")
2015-11-29 19:39:41 +01:00
Oliver Brakmann
e53a167046 Set enemies of 'Creeps' player when adding a new player in the editor 2015-11-29 15:21:20 +01:00
reaperrr
e9ed50a831 Fix actors not going back to idle animation after custom animation 2015-11-28 22:45:05 +01:00
reaperrr
35c4aca983 Rename WithTurret, WithBarrel and WithReloadingTurret
Make them use RenderUtils.ZOffsetFromCenter.
2015-11-28 20:57:09 +01:00
reaperrr
72ec431766 Add RenderUtils
With ZOffsetFromCenter as first feature so render traits don't have to use it from WithTurret(Overlay)
2015-11-28 20:47:17 +01:00
Paul Chote
c7249e6fa6 Move yaml removals to the end of the merge. 2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge. 2015-11-28 17:20:21 +01:00
abcdefg30
18b9022915 Fix potential crashes in the upgrade rules 2015-11-28 16:12:16 +01:00
abcdefg30
abed25d293 Merge pull request #9501 from atlimit8/DeployedInit
Add DeployStateInit for Pre-deployment and Clean Up after #9124
2015-11-28 15:58:46 +01:00
Paul Chote
4c0ffe98f1 Merge pull request #10121 from RoosterDragon/spelling
Fix some spellings
2015-11-28 10:42:58 +00:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
RoosterDragon
91ea3532b4 Change a dictionary to an array for faster player lookup in FrozenUnderFog.
Deferencing an array element to get the state is cheaper than a dictionary lookup. We can do this since the players collection does not change during gameplay.
2015-11-27 15:46:32 +00:00
RoosterDragon
ab6ef9be40 Cache traits directly in FrozenUnderFog.
Avoid the performance impact of accessing Lazy.Value by caching the traits on the first tick and accessing the references directly when needed.
2015-11-27 15:45:50 +00:00
RoosterDragon
23a38a08f7 Refactor player setup.
Tweak how players in a world are created. Change the collection to be an array to more strongly imply it will not change during a game.
2015-11-27 15:15:43 +00:00
Paul Chote
373bfefc6c Only support move orders against terrain targets. 2015-11-26 18:38:10 +00:00
atlimit8
e417ecb93f Add map editor only tooltips 2015-11-25 17:28:29 -06:00
Paul Chote
7c69461ff2 Fix C4Demolition trait doc punctuation. 2015-11-25 21:16:15 +00:00
Paul Chote
6304d72f44 Add enter behaviour customisation to C4Demolition. 2015-11-25 21:16:15 +00:00
Pavel Penev
c374bff9fb Merge pull request #10103 from pchote/fix-png-command
Fix the ConvertSpriteToPngCommand.
2015-11-25 22:07:52 +02:00
Paul Chote
ee1fb0f1e0 Add SelectionDecoration flag to WithDecoration. 2015-11-24 23:03:06 +00:00
Paul Chote
0c2d9c5ed4 Fix the ConvertSpriteToPngCommand. 2015-11-24 23:02:45 +00:00
teees
0c17188f24 Made the HarvesterDockSequence class abstract 2015-11-23 23:49:00 +01:00
Matthias Mailänder
86a2a54640 catch MappingExceptions in NatDevice.GetExternalIP 2015-11-23 21:39:42 +01:00
Huw Pascoe
e92ccdf808 TargetLine for Rally Points
Also enabled allied players to see waypoints.
2015-11-23 19:30:24 +00:00
Matthias Mailänder
2f82b22ca1 Merge pull request #9980 from penev92/chromeLogic
Allow loading of ChromeLogic properties from YAML
2015-11-22 19:21:11 +01:00
Matthias Mailänder
79bf69cd4c Merge pull request #9978 from RoosterDragon/cache-script-actor-luavalue
Cache self.ToLuaValue in ScriptTriggers
2015-11-22 18:06:41 +01:00
Matthias Mailänder
db38d390eb Merge pull request #9970 from Sapena/fix_9965_minimap_orders_left_click_control_scheme
Fixed the minimap orders for left click control
2015-11-22 16:13:40 +01:00
Matthias Mailänder
3727fccd1b Merge pull request #9982 from abcdefg30/chronodesc
Unhardcode and document things in Chronoshiftable
2015-11-22 16:05:36 +01:00