Pavel Penev
45382d193a
Rename IFolder to IPackage
2016-01-11 21:53:48 +02:00
Pavel Penev
75d983c922
Hardcode mod logo and preview image file names
...
(Revert "Unhardcode mod logo and preview image paths")
2016-01-11 21:16:57 +02:00
Paul Chote
8731d78594
Truncate SoundDevice label at the UI level.
2016-01-10 23:31:30 +00:00
Pavel Penev
a3299d7030
Unhardcode mod logo and preview image paths
2016-01-10 23:52:09 +02:00
Pavel Penev
71c2d6b9d7
Add GetCandidateMods() method to ModMetadata to preload all folders that may contain a mod
...
This allows for loading of mods from both the game's mods directory and the support directory
2016-01-10 23:52:08 +02:00
Pavel Penev
778492840f
Update mod.yaml loading methods to account for potential "package paths"
2016-01-10 23:19:29 +02:00
Pavel Penev
0e53312a1d
Add a package-oriented Platform.ResolvePath() method
2016-01-10 23:19:28 +02:00
Pavel Penev
b27cf8ea94
Small refactoring in Manifest.cs
2016-01-10 23:19:26 +02:00
Oliver Brakmann
6114fe582c
Merge pull request #10453 from huwpascoe/selbox
...
Refactored WorldInteractionControllerWidget
2016-01-10 19:34:25 +01:00
RoosterDragon
a15d1801e1
Calculate better upper bounds in SpatiallyPartitioned.
...
SpatiallyPartitioned was calculating larger that necessary bounding regions as this was simple to do and does not impact correctness. By being careful to calculate the upper bounds exactly we can avoid checking more bins than we need to during updates and queries.
2016-01-09 23:44:58 +00:00
RoosterDragon
8ff08d4e19
Add IntegerDivisionRoundingAwayFromZero.
...
This provides the mirror of the integer division operator, which rounds towards zero.
2016-01-09 23:44:55 +00:00
RoosterDragon
21fd4df586
Invalidate shroud when enabling/disabled the shroud.
...
This ensures when shroud is toggled during a replay, the shroud renderer and radar update correctly.
2016-01-09 23:07:32 +00:00
RoosterDragon
1bc3a7395f
Prevent items without size from being added to SpatiallyPartitioned.
...
Items with no size act unexpectedly as they can fail to be returned when querying partition bins as they do not intersect along the top or left edges of the bin. We prevent such items being added in the first place to avoid this scenario.
As a side effect - we must now prevent any Immobile items that do not have size from being added to the screen map.
2016-01-09 16:51:13 +00:00
Paul Chote
1202a4d968
Move IniFile to Mods.Common.
2016-01-07 21:07:43 +00:00
Paul Chote
9f4b7097b2
Move WW compression formats into Mods.Common.
2016-01-07 21:07:43 +00:00
Paul Chote
83477ec19e
Move VqaReader to Mods.Common.
2016-01-07 21:07:42 +00:00
Paul Chote
33f3e5ad47
Rename WW-created compression formats.
2016-01-07 21:07:42 +00:00
Matthias Mailänder
7c31f6e18e
Merge pull request #10417 from RoosterDragon/log-thread-safety
...
Make Log thread-safe.
2016-01-07 21:34:56 +01:00
Huw Pascoe
df441ff5c7
Refactored WorldInteractionControllerWidget
...
Cleaned up all the nullable types
Simplified dragEnd, lastMousePos, xy, etc.
2016-01-07 16:00:41 +00:00
teees
5def1ed626
Added VocLoader
2016-01-05 18:06:54 +01:00
Matthias Mailänder
98a1a452c1
Merge pull request #10410 from RoosterDragon/fal-footprint
...
Fix FrozenActorLayer.FootprintBounds.
2016-01-04 22:13:49 +01:00
RoosterDragon
081b40b14f
Make Log thread-safe.
...
Since logging is exposed via static methods, it need to be thread-safe or multiple threads trying to log at the same time will cause bad things to happen.
2016-01-04 19:27:48 +00:00
RoosterDragon
0dc51f79a0
Fix FrozenActorLayer.FootprintBounds.
...
The size of the bounds was too small (as rectangle has exclusive edges on the right and bottom). This meant some intersection tests would fail and thus the frozen actor was not found when searching the partition bins.
2016-01-03 23:48:28 +00:00
Matthias Mailänder
83bada07b5
don't disconnect every client when one user gets kicked
2016-01-03 23:19:36 +01:00
Paul Chote
6af377030c
Add sequence parameter to SpriteEffect.
2016-01-03 01:17:29 +00:00
RoosterDragon
8d7ed98636
Merge pull request #10380 from pchote/improve-trails
...
Polish and improved customization for actor trails
2016-01-03 01:15:26 +00:00
Paul Chote
7a9f27aa11
Fix trail sprite size with zoom.
2016-01-02 12:25:52 +00:00
Matthias Mailänder
51468c60ed
use UTF8 instead of system locale code page
2016-01-02 09:08:21 +01:00
Paul Chote
99ef4dc832
Merge pull request #10346 from RoosterDragon/misc-fixes
...
Dispose fixes + misc touchups
2016-01-01 13:53:05 +00:00
Matthias Mailänder
b3c474ebf9
Merge pull request #9452 from atlimit8/CreateFrozenActorsInFrozenUnderFogConstructor
...
Move FrozenActor creation to Created in FrozenUnderFog
2016-01-01 11:45:08 +01:00
RoosterDragon
5f13fa0343
Fix serialization of custom exceptions.
2016-01-01 04:51:55 +00:00
RoosterDragon
b5f24c3fa6
Add some missing Dispose calls, fix some Dispose implementations.
2016-01-01 04:51:54 +00:00
Matthias Mailänder
f8161300ed
Merge pull request #10304 from whinis/ReplayReworkPR
...
Reworking ReplayRecorderConnection to be not be a Connection
2015-12-31 12:40:51 +01:00
Matthias Mailänder
cd730914db
Merge pull request #10119 from RoosterDragon/sort-effects-with-actors
...
Interleave renderables for effects and actors
2015-12-31 12:31:47 +01:00
Matthias Mailänder
6a555a7a8d
Merge pull request #10089 from abcdefg30/shellmapCPU
...
Try to win a small amount of performance when the shellmap is disabled
2015-12-31 12:22:14 +01:00
atlimit8
4744f436d3
Move FrozenActor creation to Created in FrozenUnderFog
2015-12-31 00:53:26 -06:00
Whinis
155c74fc5f
Reworking ReplayRecorderConnection to no longer be an IConnection but rather attached to IConnection
2015-12-30 22:17:13 -05:00
abcdefg30
d2b75d780d
Merge pull request #9856 from atlimit8/FilterInstalledModsFromNeededMods
...
Show only missing required "mod (version)"s
2015-12-30 15:38:07 +01:00
Matthias Mailänder
c6cc0ecd29
Merge pull request #10323 from RoosterDragon/struct-equatable
...
Ensure some structs implement IEquatable<T>.
2015-12-30 09:28:09 +01:00
atlimit8
68fd5dfd58
Merge pull request #10272 from RoosterDragon/player-dict
...
Speed up dictionaries keyed on Player
2015-12-29 19:27:11 -06:00
RoosterDragon
4948f73154
Ensure some structs implement IEquatable<T>.
2015-12-29 15:27:00 +00:00
abcdefg30
a7de8b3919
Merge pull request #10256 from RoosterDragon/fal-partitioning
...
Spatially partition frozen actors
2015-12-29 16:16:26 +01:00
abcdefg30
e38424a2eb
Merge pull request #10133 from Mailaender/benchmark
...
Added a benchmark mode
2015-12-29 15:20:28 +01:00
abcdefg30
3c171569a7
Merge pull request #10193 from atlimit8/ITraitInfoInterface
...
TraitInfoInterface base for interfaces implemented by trait infos
2015-12-29 15:04:57 +01:00
abcdefg30
64f57ac9a5
Try to win a small amount of performance when the shellmap is disabled
2015-12-29 14:54:21 +01:00
RoosterDragon
4b2df6d133
Merge pull request #10290 from Phrohdoh/remove-fromdict
...
Remove unused methods in MiniYaml
2015-12-29 02:26:43 +00:00
RoosterDragon
8d2fc24fbe
Speed up SpatiallyPartitioned.InBox for searches in a single partition bin.
...
If a search in a spatial partition is taking place entirely within a single bin, the cost of tracking possible duplicate items with a set can be avoided for a small speedup.
2015-12-28 21:49:58 +00:00
RoosterDragon
8ec03ab3b7
Spatially partition frozen actor layer.
...
Track changes in the shroud in a spatial partition in frozen actor layer. This allows us to run the expensive visibility updates only on frozen actors with a footprint in affected partitions, rather than on all frozen actors every time.
2015-12-28 21:49:57 +00:00
RoosterDragon
a50fa4fcaa
Interleave renderables for effects and actors.
...
Previously, renderables from actors were z-ordered, but effects were excluded and not ordered. Now we order them all as a whole.
2015-12-28 21:28:12 +00:00
Paul Chote
7cc8846d72
Merge pull request #10271 from RoosterDragon/point-sequencing
...
Support sending sequences of points when drawing lines
2015-12-28 19:36:49 +00:00