Commit Graph

4652 Commits

Author SHA1 Message Date
RoosterDragon
0fab3ec1b2 Remove LINQ in some performance critical AutoTarget paths. 2015-12-12 20:55:18 +00:00
RoosterDragon
dcf375a412 Store Targetables in Actor.
This can be used to avoid several lookups for these traits, as well as allow Actor to provide specialised methods to deal with target types efficiently. This also reduces some code duplication.
2015-12-12 20:55:17 +00:00
Paul Chote
8230be6a14 Merge pull request #10196 from RoosterDragon/hardware-cursoring
More graceful hardware cursor failing
2015-12-12 12:55:53 +00:00
RoosterDragon
654ca6ed03 Fix some typos in vector strings. 2015-12-10 21:53:11 +00:00
RoosterDragon
4ed5a24bbe Merge pull request #10118 from pchote/rework-order-targets
Rework order targeting crazyness.
2015-12-10 20:09:57 +00:00
RoosterDragon
679cff004e When hardware cursors fail, retry next session. 2015-12-08 22:53:21 +00:00
RoosterDragon
47224bca40 Merge pull request #10078 from penev92/actorNameOverlay
Add an actor name overlay debug option
2015-12-08 21:16:26 +00:00
abcdefg30
22aa548d1b Merge pull request #10126 from RoosterDragon/fuf-perf
Speed up FrozenUnderFog.Tick
2015-12-07 15:03:59 +01:00
Pavel Penev
6217ec0360 Add a ShowActorTags property to DeveloperMode 2015-12-07 01:41:15 +02:00
Oliver Brakmann
c02881e51e Merge pull request #9735 from RoosterDragon/animation-refactor
Refactor animation classes
2015-12-06 18:53:45 +01:00
Matthias Mailänder
fa5fd5c92f Merge pull request #9710 from obrakmann/yaml-removals
Fix yaml removals
2015-12-06 17:04:47 +01:00
abcdefg30
310f0cbea5 Merge pull request #10174 from atlimit8/WDistToString
Make WDist.ToString() return <cells>c<units>
2015-12-06 13:51:24 +01:00
Matthias Mailänder
995d1dd4af Merge pull request #9650 from r34ch/health-bars-on-damage
Display status bars dropdown
2015-12-05 19:45:20 +01:00
Matthias Mailänder
142d3ef6ab Merge pull request #9438 from atlimit8/UpgradableMobile
Upgradable Mobile and replace IDisableMove
2015-12-05 18:24:40 +01:00
Matthias Mailänder
0c44bac636 Merge pull request #9357 from UberWaffe/LineImpactProjectile
Added a LineImpactProjectile (Attempt 2)
2015-12-05 18:09:12 +01:00
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
atlimit8
c827dbe183 Replace IDisableMove with upgradability 2015-12-04 19:26:49 -06:00
UberWaffe
f7f0dde4bb Added LineImpactProjectile. 2015-12-05 00:23:55 +02:00
atlimit8
d196d2d40f make WDist.ToString() return <cells>c<units> 2015-12-04 13:03:57 -06:00
Oliver Brakmann
44b940333a Merge pull request #9988 from pchote/isometric-boundingregion
Fix CellRegion.BoundingRegion behaviour.
2015-12-03 21:36:58 +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
837c553e88 Merge pull request #10068 from Mailaender/catch-natdevice-externalip
Fixed crashes when NatDevice.GetExternalIP() fails
2015-12-01 17:20:13 +01:00
Paul Chote
03693a06eb Add CurrentSource parameter to ProjectileArgs. 2015-12-01 07:47:39 +02: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
RoosterDragon
0caffa8196 Remove some global state dependence in ActorInfo.
Instead on relying on the global Game.ModData.ObjectCreator, this is passed in via a parameter.
2015-11-28 17:20:32 +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
Oliver Brakmann
f89d40ee10 Merge pull request #10131 from pchote/add-join-logging
Add a server log line for player joins.
2015-11-28 15:44:59 +01:00
Paul Chote
92e6efd45c Add a server log line for player joins. 2015-11-28 10:38:47 +00:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +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
756bec69b3 Fall back to target cell if there are no valid orders against the target actor. 2015-11-26 18:37:40 +00:00
Paul Chote
fb99a1f3c2 Remove ActorMap query for each actor. 2015-11-26 18:30:43 +00:00
Paul Chote
7b31f18046 Reduce duplication in UnitOrderGenerator. 2015-11-26 18:25:39 +00:00
Matthias Mailänder
b75bfec2f8 avoid working with NatDevice directly as it is dangerous 2015-11-23 21:40:48 +01:00
Matthias Mailänder
86a2a54640 catch MappingExceptions in NatDevice.GetExternalIP 2015-11-23 21:39:42 +01: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
0b349f943e Merge pull request #9890 from atlimit8/CreateEffectWarhead_TargetTypes
Target type support for CreateEffectWarhead
2015-11-22 15:42:54 +01:00
abcdefg30
b51548a60d Merge pull request #9585 from ChaoticMind/select_all_map
Make "select all units" work across screen/map again
2015-11-22 01:50:48 +01:00
Paul Chote
f945e35136 Fix CellRegion.BoundingRegion behaviour. 2015-11-21 22:00:35 +00:00
Oliver Brakmann
16de21d41c Merge pull request #10018 from pchote/fix-spy-cursor
Restore targeting cursor when mousing over a disguised enemy spy.
2015-11-21 20:57:12 +01:00
Pavel Penev
8d4d37ca46 Make GPS respect shroud 2015-11-21 01:11:40 +02:00
Pavel Penev
78e2eabd17 Remove byPlayer parameter from IFogVisibilityModifier.HasFogVisibility() 2015-11-21 01:11:38 +02:00
Pavel Penev
217c3881c6 Add IFogVisibilityModifier.IsVisible(Actor) 2015-11-21 01:11:37 +02:00
Kevin Azzam
64ed164295 Make "select all units" work across screen/map again 2015-11-19 00:21:16 +01:00
abcdefg30
c35f9007c3 Merge pull request #9582 from ChaoticMind/ctrl_backspace
Implement some keyboard hotkeys for chat (TextFieldWidget)
2015-11-18 20:48:05 +01:00
atlimit8
7e4bf51895 Merge pull request #9937 from hacklex/server-settings-fix
Changed ServerSettings cloning to a more reliable approach
2015-11-16 21:47:17 -06:00
Thehx
6bd3195c3d Changed ServerSettings cloning to a more reliable approach 2015-11-17 05:27:42 +03:00
Paul Chote
565e292e12 Merge pull request #10008 from penev92/serverBrowserFilter
Add a null check to CachedTransform.Update()
2015-11-16 21:51:50 +00:00
Paul Chote
124c0ea041 Make CanTarget modifiers a ref parameter. 2015-11-16 20:38:53 +00:00