Paul Chote
248c12827e
Resolve assembly paths before loading the FileSystem.
2017-05-07 13:25:03 +01:00
Paul Chote
f0d7a6caca
Move GetLoaders to ObjectCreator.
2017-05-07 13:25:03 +01:00
Paul Chote
8dd50c0421
Keep ObjectCreator ResolveAssembly override bound until disposal.
2017-04-25 21:49:37 +01:00
Paul Chote
9b6afd3c37
Unhardcode modchooser mod for content installation.
2017-02-12 13:21:11 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
cff8e949d8
Move ModContent out of the engine.
2016-08-08 22:36:07 +01:00
Paul Chote
3df9efb95d
Rework mod enumeration / caching.
...
- Replaced ModMetadata.AllMods with Game.Mods.
- Store / reference mod Manifest instead of ModMetadata.
- Removes engine dependency on ModContent class.
2016-08-08 22:36:07 +01:00
Paul Chote
1e5065e06a
Remove lazy loading of map rules.
2016-03-18 20:23:52 +00:00
Paul Chote
7993068c8f
Remove Map.SequenceProvider.
2016-03-12 19:46:20 +00:00
Paul Chote
82a9d69a51
Remove RulesetCache and push rule parsing to background thread.
2016-03-11 21:18:32 +00:00
Paul Chote
a3b1baa654
Extract default TileSet/Sequence dictionaries to ModData.
2016-03-11 21:18:32 +00:00
Paul Chote
20e8bc249d
Restore support for inline map rules.
2016-03-10 19:27:50 +00:00
Paul Chote
b969d61466
Move advanced map yaml to their own files.
2016-03-08 20:54:54 +00:00
Oliver Brakmann
4f1fa3acec
Merge pull request #10786 from pchote/mappreview-packages
...
Remove internal use of map paths.
2016-02-23 22:52:54 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
d492c23a6d
Store map packages in MapPreview.
2016-02-21 16:11:36 +00:00
Paul Chote
fe75f265f8
Disable now-invalid sequence caching.
2016-02-18 18:12:34 +00:00
Paul Chote
0b13811976
Don't reenumerate files when loading maps.
2016-02-18 18:12:33 +00:00
Paul Chote
b9f8301959
Use IReadOnlyFileSystem in Sound code.
2016-02-18 18:12:32 +00:00
Paul Chote
d1d3d72edb
Implement IReadOnlyFileSystem on Map.
2016-02-18 18:12:32 +00:00
Paul Chote
6fde09c075
Use IReadOnlyFileSystem in voxel loader.
2016-02-18 18:12:31 +00:00
Paul Chote
b347fade71
Use IReadOnlyFileSystem in artwork loaders.
2016-02-18 18:12:31 +00:00
Paul Chote
a1bc70cb58
Use IReadOnlyFileSystem in MusicInfo.
2016-02-18 18:12:31 +00:00
Paul Chote
9978e20a83
Introduce IReadOnlyFileSystem interface.
2016-02-18 18:12:31 +00:00
Paul Chote
6c6826c3f3
Fix mod assembly loading on Windows.
2016-02-07 23:38:12 +00:00
Paul Chote
79b039d8b9
Change ILoadScreen to take a ModData instance.
2016-02-07 17:57:05 +00:00
Oliver Brakmann
d4aa28e221
Merge pull request #10706 from pchote/filesystem-assemblies
...
Loads mod assemblies via the virtual filesystem.
2016-02-07 16:53:33 +01:00
Paul Chote
7015a2e12f
Loads mod assemblies via the virtual filesystem.
2016-02-06 22:42:27 +00:00
Paul Chote
d5e3fbf452
Store map path in MapPreview.
2016-02-06 22:30:49 +00:00
Paul Chote
4a12e7bafc
Load mod yaml via the virtual filesystem.
2016-02-06 16:30:23 +00:00
Paul Chote
45bae7e9b3
Mount the mod filesystem context in the ModData ctor.
2016-02-06 16:30:23 +00:00
Paul Chote
feab81bdea
Remove IReadOnlyPackage.Priority.
...
Priority is now determined solely by order in mod.yaml
(later packages take priority of earlier ones).
2016-02-01 22:49:11 +00:00
abcdefg30
1cc8330c51
Merge pull request #10535 from pchote/mix-type-autodetection
...
Auto-detect mix hash type.
2016-01-31 22:57:14 +01:00
Paul Chote
ab921682c4
Rewrite yaml merger.
2016-01-30 15:03:56 +00:00
Paul Chote
31cc399579
Remove unused package annotations.
2016-01-29 20:41:20 +00:00
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
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
Pavel Penev
d08a400565
Add a context argument to package files contructors
2015-12-14 03:42:25 +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
RoosterDragon
0caffa8196
Remove some global state dependence in ActorInfo.
...
Instead on relying on the global Game.ModData.ObjectCreator, this is passed in via a parameter.
2015-11-28 17:20:32 +01:00
Paul Chote
c7249e6fa6
Move yaml removals to the end of the merge.
2015-11-28 17:20:32 +01:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
abcdefg30
674b1672f5
Merge pull request #9488 from atlimit8/MapMusic
...
Map Music
2015-10-18 17:47:26 +02:00
atlimit8
63513af027
Load music after mounting map
2015-10-18 09:53:39 -05:00
reaperrr
95709f1157
Remove obsolete mount hack
2015-09-30 01:56:10 +02:00
Paul Chote
7d62ac2b12
Merge RulesetCache.LoadDefaultRules and LoadMapRules.
2015-07-05 14:58:00 +01:00
RoosterDragon
d2d2f4a838
Made FieldLoader thread-safe, and cache some expensive reflection calls.
2015-04-25 18:55:46 +01:00
Paul Chote
a69145caf0
Add a utility command for checking sequences.
2015-03-22 12:48:51 +00:00