Commit Graph

4736 Commits

Author SHA1 Message Date
Paul Chote
4ffee12065 Remove legacy line rendering code. 2015-12-19 12:28:59 +00:00
Paul Chote
8e9318e64d Use RgbaColorRenderer in UISpriteRenderable. 2015-12-19 12:28:59 +00:00
Paul Chote
c618c2d8ab Use RgbaColorRenderer for selection box rendering. 2015-12-19 12:28:10 +00:00
Paul Chote
8719b4ed3c Use RgbaColorRenderer in SpriteRenderable / TextRenderable. 2015-12-19 12:28:10 +00:00
Paul Chote
cdf4aaf2b8 Use RgbaColorRenderer in SelectionBarsRenderable. 2015-12-19 12:28:09 +00:00
Paul Chote
03a48a7a41 Use RgbaColorRenderer in TargetLineRenderable. 2015-12-19 12:28:09 +00:00
Paul Chote
bb0a7bdaf5 Add two-colour line rendering to RgbaColorRenderer. 2015-12-19 12:28:09 +00:00
Paul Chote
c5dbc5fab7 Add composite line drawing methods to RgbaColorRenderer. 2015-12-19 12:28:09 +00:00
Paul Chote
43226d7c55 Move DrawRollover to WICW. 2015-12-19 12:28:08 +00:00
Paul Chote
0f1fcdaca4 Move DrawTargetMarker to TargetLineRenderable. 2015-12-19 12:28:08 +00:00
Oliver Brakmann
879ccaf4f8 Fix the StartsRevealed option of FrozenUnderFog being ignored 2015-12-18 20:32:10 +01:00
Pavel Penev
55bb7eb1a0 Use '@' in mod.yaml to indicate extra info
Applies to MapFolders (to indicate System and User directories) and Packages (to indicate package annotation).
2015-12-16 23:39:22 +02:00
Oliver Brakmann
20725c9b2c Merge pull request #10153 from abcdefg30/repairableNear
Add a 'Voice' field to RepairableNearInfo
2015-12-14 21:59:56 +01:00
Oliver Brakmann
02fa63c1b4 Merge pull request #9853 from penev92/unglobalFileSystem
Unglobal file system
2015-12-14 20:52:30 +01:00
atlimit8
bee590a057 Merge pull request #10208 from RoosterDragon/perf-comments
Added some performance comments
2015-12-13 20:46:07 -06:00
Pavel Penev
d08a400565 Add a context argument to package files contructors 2015-12-14 03:42:25 +02:00
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