Commit Graph

4808 Commits

Author SHA1 Message Date
Paul Chote
b0bd252343 Move Util to Mods.Common. 2016-01-19 23:35:18 +00:00
Paul Chote
0039a2bdbf Split out an ActivityUtils class. 2016-01-19 23:34:13 +00:00
Oliver Brakmann
a04223fcd2 Merge pull request #10143 from Phrohdoh/interface-reflection
Implement a utility command to check for explicit interface implementation violations.
2016-01-18 20:23:43 +01:00
abcdefg30
d416138cec Merge pull request #10542 from RoosterDragon/simplify
General Cleanup
2016-01-18 11:37:30 +01:00
Taryn Hill
2e861c6d65 Implement a utility command to check for explicit
interface implementation violations
2016-01-17 17:31:36 -06:00
Oliver Brakmann
d151343216 Merge pull request #10468 from RoosterDragon/fix-dev-shroud-invalidation
Fix shroud not updating when disabled
2016-01-17 22:42:34 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Oliver Brakmann
aaeb715006 Merge pull request #10246 from penev92/terrainPalettes
Allow tile templates to define their own palette
2016-01-17 21:39:28 +01:00
Matthias Mailänder
a829baa82a Merge pull request #10521 from pchote/facing-cleanup
Remove Util.GetFacing.
2016-01-17 20:21:50 +01:00
Pavel Penev
861d1368a4 Unhardcode internal terrain palette name from all over the codebase 2016-01-17 19:02:16 +02:00
Pavel Penev
0c51d73be9 Enable use of "custom" palettes per tile Templates
Keep the tileset's palette as default, defined on the tileset, but override it for any tile templates that may want to do so with a palette defined on the template.
2016-01-17 19:02:15 +02:00
RoosterDragon
a232eff7fd Replace IRemoveFrozenActor with FrozenActorLayer.Remove.
The IRemoveFrozenActor interface is replaced with a Remove method on FrozenActorLayer. IRemoveFrozenActor is a performance problem for FrozenActorLayer.Tick as it incurs a large cache miss penalty in order to load and enumerate the array of these interfaces for every frozen actor. Instead, we invert control and allow traits to remove frozen actors directly which eliminates the performance penalty.
2016-01-17 00:13:06 +00:00
RoosterDragon
c98df23b57 Create FrozenActor.RefreshState method for better encapsulation and reuse of this logic. 2016-01-17 00:13:06 +00:00
RoosterDragon
3026bdcea5 Implement equality on TraitPair. 2016-01-17 00:13:06 +00:00
Paul Chote
3b18c7815d Remove Util.GetFacing. 2016-01-16 22:38:17 +00:00
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
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
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