Pavel Penev
4ce1444c6b
Fix shader loading
...
Also remove now redundant mounting of the game directory
2015-12-14 03:42:24 +02:00
Pavel Penev
1b88d24cfa
Unstatic GlobalFileSystem and rename it to FileSystem
...
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
Pavel Penev
5684bcec1c
Move IFolder out of GlobalFileSystem.cs
2015-12-14 03:42:18 +02:00
Matthias Mailänder
02c5c1bbfb
Merge pull request #10148 from pchote/widelines
...
Rewrite line renderer: Part 1 (improved lasers plus other cleanups)
2015-12-13 20:55:54 +01:00
Oliver Brakmann
1f440baaa0
Merge pull request #10120 from RoosterDragon/gps-dot-perf
...
Fix broken GPS and frozen actor behaviour
2015-12-13 18:28:12 +01:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
abcdefg30
62addb9c60
Merge pull request #10182 from obrakmann/fix9851-attackmove-click-madness
...
Fix AttackMove not working properly under certain conditions
2015-12-13 16:06:51 +01:00
Oliver Brakmann
59d22a2ff0
Fix AttackMove not working properly under certain conditions
...
This fixes the issue where AttackMove (and possibly other order modes) would not work properly when people were clicking their mouse buttons at the same time. A move order (the default order mode) would be issued instead.
2015-12-13 14:16:06 +01:00
abcdefg30
301c2f0ca0
Add a 'Voice' field to RepairableNearInfo
2015-12-13 01:08:34 +01:00
RoosterDragon
21292061f9
Added "PERF: Avoid LINQ." comments.
2015-12-12 21:05:13 +00:00
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
RoosterDragon
aaa82339d1
Small cleanup in TraitDictionary.
2015-12-12 20:46:10 +00:00
RoosterDragon
c0286bb147
Remove ActorMap.ActorsInWorld.
...
Prefer the more direct and efficient query on World.Actors instead.
2015-12-12 20:42:44 +00:00
RoosterDragon
cbc090dd38
Ensure frozen actors are rendered on the first tick they become visible.
...
The previous lazy rendering means the snapshot of the render state might be more up to date then when the frozen actor actually did become visible. Now, we take this snapshot as soon as needed. We still retain the performance of only doing this rendering when needed by avoiding extra rendering until the visibility cycles again.
2015-12-12 19:54:25 +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
Paul Chote
78556ec60c
Remove obsolete WorldRenderer.DrawRangeCircle.
2015-12-10 23:25:58 +00:00
Paul Chote
43eb4dadc9
Remove obsolete QuadRenderer.
2015-12-10 23:22:47 +00:00
Paul Chote
66744ee92a
Use RgbaColorRenderer for UI rendering.
2015-12-10 23:22:46 +00:00
Paul Chote
02dedf9acf
Introduce RgbaColorRenderer class.
2015-12-10 23:22:07 +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
atlimit8
3d2aa751a3
TraitInfoInterface base for interfaces implemented by trait infos
2015-12-07 18:22:43 -06: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