Commit Graph

28399 Commits

Author SHA1 Message Date
Pavel Penev
8542ed33ce Add ModData.GetLoaders()
Extract sound loaders and sprite loaders creation into a generic method to avoid code duplication.
2015-12-20 19:17:53 +02:00
Pavel Penev
61c1cab963 Add the SoundFormats field to mods 2015-12-20 19:17:51 +02:00
Pavel Penev
a31b0becf1 Make AudLoader implement ISoundLoader 2015-12-20 19:17:50 +02:00
Pavel Penev
5063e56786 Make WavLoader implement ISoundLoader 2015-12-20 19:17:49 +02:00
Pavel Penev
8d56de80ca Add ISoundLoader
The interface is to be implemented by all sound loaders, just like ISpriteLoader. All loading goes through the interface. This would allow mods to create their own sound loaders outside the engine.
Also add a SoundFormats property to mod.yaml, where mods can define what sound loaders they will need.
This requires Game.Sound to be initialized after the ModData is loaded.
2015-12-20 19:17:48 +02:00
abcdefg30
e5cb7e03e1 Merge pull request #10239 from penev92/annotationChange
Use '@' in mod.yaml to indicate extra info
2015-12-20 17:47:36 +01:00
abcdefg30
49cf33dda3 Merge pull request #10242 from obrakmann/fix10228_frozenactor-startrevealed
Fix the StartsRevealed option of FrozenUnderFog being ignored
2015-12-20 17:45:21 +01:00
Pavel Penev
7c0b30888d Merge pull request #10238 from abcdefg30/d2kFoundationDamage
Fix DamagedWithoutFoundation causing more damage than it should
2015-12-20 18:10:18 +02:00
abcdefg30
fa260ddee1 Document fields in DamagedWithoutFoundationInfo 2015-12-20 16:36:13 +01:00
abcdefg30
c0206b18b0 Fix DamagedWithoutFoundation causing more damage than it should
Tick caused extra damage in addition to the damage in AddedToWorld,
which lead the actor to have less health than damageThreshold.
2015-12-20 16:36:11 +01:00
Pavel Penev
4e6df6372d Merge pull request #10247 from obrakmann/fix10245_soviet06_build_prereqs
Fix gap gens being buildable in Soviet 06x
2015-12-20 17:24:48 +02:00
Oliver Brakmann
79bd2d400b Fix gap gens being buildable in Soviet 06x 2015-12-20 14:43:34 +01:00
Paul Chote
855b473084 Merge pull request #10229 from abcdefg30/initialDropzone
Fix crates not spawning immediately on the dropzone maps
2015-12-19 13:36:28 +00:00
Paul Chote
e021617c85 Remove duplication from FillRect. 2015-12-19 12:28:59 +00:00
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
1b755d9833 Use RgbaColorRenderer in RadarWidget. 2015-12-19 12:28:58 +00:00
Paul Chote
ee5ccc4b8a Use RgbaColorRenderer in LineGraphWidget. 2015-12-19 12:28:58 +00:00
Paul Chote
17c98e8af5 Use RgbaColorRenderer in PerfGraphWidget. 2015-12-19 12:28:58 +00:00
Paul Chote
8fc323602c Use RgbaColorRenderer in WeatherOverlay. 2015-12-19 12:28:56 +00:00
Paul Chote
f6606afa8b Use RgbaColorRenderer in CombatDebugOverlay. 2015-12-19 12:28:10 +00:00
Paul Chote
b0806fca92 Use RgbaColorRenderer in SelectionBoxRenderable. 2015-12-19 12:28:10 +00:00
Paul Chote
310222eb0e Use RgbaColorRenderer for rendering contrails. 2015-12-19 12:28:10 +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
b35762f537 Use RgbaColorRenderer in TerrainGeometryOverlay. 2015-12-19 12:28:09 +00:00
Paul Chote
cdf4aaf2b8 Use RgbaColorRenderer in SelectionBarsRenderable. 2015-12-19 12:28:09 +00:00
Paul Chote
27f615261a Use RgbaColorRenderer in VoxelRenderable. 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
50dfa6df8f Fix Contrail field description. 2015-12-19 12:28:08 +00:00
Paul Chote
55433bd27c Fix voxel shadow geometry position. 2015-12-19 12:28:08 +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
teees
1869880aab Enable Hovers: when cruising, merged common aircraft rules into defaults 2015-12-16 13:44:13 +01:00
teees
00c15eaf3a Add cruising upgrade to Aircraft trait 2015-12-16 13:18:18 +01:00
Oliver Brakmann
c7a9d024b0 Merge pull request #10234 from abcdefg30/damagedFix
Fix the idle animation of the host in WithRepairAnimation.cs
2015-12-15 22:51:18 +01:00
Oliver Brakmann
7a1d6e9c26 Merge pull request #10233 from teees/remove-aircraft-defaults
Remove aircraft defaults
2015-12-15 22:43:25 +01:00
abcdefg30
6e5181fe4d Fix the idle animation of the host in WithRepairAnimation.cs using the damage state of the repaired actor. 2015-12-15 20:57:55 +01:00
teees
cdf82cab14 Merged common ra aircraft definitions 2015-12-15 18:45:14 +01:00
teees
c1c386a994 Removed default definitions for repair and rearmbuildings in Aircraft.cs 2015-12-15 18:44:05 +01:00
abcdefg30
1cdd121753 Fix crates not spawning immediately on the dropzone maps 2015-12-15 13:25:48 +01: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
11cbb43212 Merge pull request #9918 from penev92/fixTransforms
Fix an oversight regarding building unlocking
2015-12-14 21:00:41 +01:00
Oliver Brakmann
02fa63c1b4 Merge pull request #9853 from penev92/unglobalFileSystem
Unglobal file system
2015-12-14 20:52:30 +01:00
reaperrr
83dc3a36d2 Add d2k turret make sequences
Currently unused, as WithMakeAnimation and WithWallSpriteBody don't work well together at this point.
2015-12-14 15:33:05 +01:00
reaperrr
e5b3291d41 Enable crumble overlay for D2k turrets 2015-12-14 15:28:31 +01:00