Paul Chote
62402e0e2e
Unify static mod metadata collections.
2016-02-07 16:28:04 +00:00
Paul Chote
fcccc0f5f9
Merge mod Folders into Packages.
2016-02-01 22:49:11 +00:00
Paul Chote
31cc399579
Remove unused package annotations.
2016-01-29 20:41:20 +00: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
b27cf8ea94
Small refactoring in Manifest.cs
2016-01-10 23:19:26 +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
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
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Oliver Brakmann
f2bad4331d
Skip mod directories without a mod manifest file
2015-11-12 22:13:38 +01:00
Pavel Penev
9748b556dc
Add RequiresMods tag to the mod Manifest
...
List required mods and their versions to enable mod dependencies on another mods.
Also used for identifying the engine version by `modchooser`'s version.
2015-11-01 22:22:03 +02:00
Pavel Penev
642468ce0c
Add MapGrid class
...
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
Paul Chote
19c777a922
Move maximum terrain height definition to mod.yaml.
2015-07-05 17:49:56 +01:00
Taryn Hill
96d6ea79ce
Remove explicit private.
...
Remove unnecessary delegate.
Use extension method syntax.
Fix HealthInfo.NotifyAppliedDamage’s desc.
Remove unused using directives.
Remove explicit type declaration in Manifest.
2015-04-09 13:59:20 -05:00
Paul Chote
7292bd20b3
Move Sequence parsing into mod code.
2015-03-09 20:45:22 +00:00
Paul Chote
2cc714be4e
Allow IGlobalModData to opt-in to custom parsing.
2015-03-09 19:19:00 +00:00
Paul Chote
60937b096b
Give a sensible error if LoadScreen/LobbyDefaults is missing.
2015-03-09 19:18:59 +00:00
Paul Chote
2de91a4c4e
Convert ContentInstaller into a manifest module.
2015-03-07 10:02:42 +00:00
Paul Chote
5552000d69
Allow mods to define custom manifest metadata.
2015-03-07 10:02:42 +00:00
Matthias Mailänder
595c792879
remove the unused movie lists
2015-02-01 18:53:50 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
Oliver Brakmann
f55af366f2
Remove more references to old Lua API
...
Fixes #6811
2014-10-21 22:08:06 +02:00
Paul Chote
4f44cc1969
Load assets using absolute paths. Fixes #6717 .
2014-10-11 11:02:30 +13:00
Paul Chote
0d0b8c1e22
Remove obsolete PackageContents array from Manifest.
2014-10-10 23:44:37 +13:00
Paul Chote
9cf8328979
Add plumbing for mod-defined sprite loaders.
2014-10-07 09:55:49 +13:00
atlimit8
898bf4959a
Remove sub-cell offset bounds checking
2014-08-04 18:09:26 -05:00
atlimit8
9b30c21f93
Load subcells and default subcell index from mod.yaml
2014-08-04 18:09:26 -05:00
Paul Chote
c352ff644f
Use a shared url for news updates. Fixes #5603 .
2014-07-07 21:48:07 +12:00
Paul Chote
3f7293b206
Let FieldLoader do the hard work of loading fields.
2014-07-06 14:04:26 +02:00
Matthias Mailänder
351c759793
separate content install from loadscreen
2014-07-06 14:04:25 +02:00
Paul Chote
a30c8b53a7
Add support for diamond cell grids.
2014-06-30 23:44:23 +12:00
RoosterDragon
2e992a7310
Changed MiniYaml.NodesDict property into a method.
...
Method is now called ToDictionary.
- Cached a few invocations into locals which should prevent some redundant evaluation.
- Added ToDictionary overloads that take projection functions for the keys and elements, since several callsites were doing a subsequent Linq.ToDictionary call to get this.
2014-06-09 17:06:42 +01:00
Paul Chote
657ade7221
Add map folder types. Fixes #4635 .
2014-05-18 17:29:42 +12:00
Paul Chote
e6d1f30cf0
Use an IReadOnlyDictionary for package definitions.
2014-05-18 17:29:42 +12:00
Pavlos Touboulidis
10b8093d5a
Rename ModInformation to ModMetadata
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
ScottNZ
c7d8024522
Add a news panel to each mod
2014-05-14 23:51:41 +12:00
Matthias Mailänder
59ace5d01b
new shorthand Exts.(Try)ParseIntegerInvariant
2014-05-13 14:16:41 +02:00
Matthias Mailänder
b19d286f56
parse with NumberFormatInfo.InvariantInfo everywhere
...
closes #5240
2014-05-06 18:31:48 +02:00
ScottNZ
22dd2b0a92
Add singleplayer mission menu to ra/td
2014-04-19 15:54:55 +12:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00