Paul Chote
a0979634bb
Use .Yaw.Facing in Map.
2016-01-16 22:38:17 +00:00
Paul Chote
46bf58b520
Introduce WVec.Yaw and WAngle.Facing.
2016-01-16 22:38:17 +00:00
Paul Chote
bdb8fd48ca
Remove legacy package creation code.
2016-01-16 10:37:21 +00:00
Paul Chote
f8d0b97e8d
Split IPackage into IReadOnlyPackage and IReadWritePackage.
2016-01-16 10:37:21 +00:00
reaperrr
77b0bd6067
Merge pull request #10520 from pchote/fix-voxel-z-offsets
...
Use height offset when rendering voxels.
2016-01-16 00:10:17 +01:00
Paul Chote
2fb0af60d1
Merge pull request #10482 from Mailaender/ra2-wav
...
Fixed crashes with Red Alert 2 wav files
2016-01-15 23:05:13 +00:00
Paul Chote
24570f0bdf
Merge pull request #10490 from penev92/packages
...
Some renaming from "folder" to "package"
2016-01-15 22:40:02 +00:00
Oliver Brakmann
8ebee425ab
Merge pull request #10264 from whinis/bleed
...
Restart button for missions
2016-01-15 21:55:02 +01:00
Whinis
9059e3e2c8
Changes to the RestartGame function to make it more streamlined
...
Removal of PromptAbortAction and inclusion into PromptConfirmAction
Changes to prevent a restart button being required for all mods
ConfirmAction
Addtion of named parameters to PromptConfirmAction
Moved StartGame from MissionBrowserLogic.cs to Game.cs
2016-01-15 15:34:00 -05:00
RoosterDragon
db520a8560
Merge pull request #10476 from pchote/sound-device-labels
...
Truncate SoundDevice label at the UI level.
2016-01-15 19:53:42 +00:00
Matthias Mailänder
047f71e5ec
Reset stream position after TryParseSound failures
2016-01-15 18:29:25 +01:00
Matthias Mailänder
d578ea4094
Implement MergedStream.Position properly
2016-01-15 18:29:25 +01:00
Matthias Mailänder
dc62dcd56d
Avoid the bracket syntax everywhere
2016-01-15 18:29:25 +01:00
Matthias Mailänder
71e8e20987
Report unknown codecs when failing
2016-01-15 18:29:11 +01:00
Matthias Mailänder
fb39aed29f
Return earlier on error in AudLoader
2016-01-15 18:11:22 +01:00
Matthias Mailänder
a01bc02390
Log sound parsing errors in sound.log
2016-01-15 18:10:52 +01:00
Paul Chote
88e15d9100
Fix voxel z offsets.
2016-01-15 17:04:19 +00:00
Pavel Penev
e3f5697f7e
Some more renaming from "folder" to "package"
2016-01-14 22:08:49 +02:00
Alexander Heinz
e0c033fe99
restart button added for singleplayer in cnc, ra, d2k
2016-01-14 11:53:31 -05:00
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