#3890: Add support for ini file diff-mods.
-----------------------------------------+---------------------------------
Reporter: NoQ | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: Engine: Resource Management | Version: git/master
Keywords: | Blocked By:
Blocking: | Operating System: All/Non-
| Specific
-----------------------------------------+---------------------------------
A patch that allows making mods that don't substitute whole ini files with
their versions of them, but only substitute certain parameters in certain
sections, relying on the base game to fill in the rest.
It does so by merging an extra QMap<QString, QVariant> object into
WzConfig containing all overridden properties with their values.
Part 1 (trivial):
https://github.com/haoNoQ/warzone2100/commit/61fc55c24866c5ef6e0a754d0f76fe546b33c054
Part 2:
https://github.com/haoNoQ/warzone2100/commit/9d8e2ccdbbde224897600a1958aa398778d1ed89
I didn't yet think about what happens if two ini diff mods both modify the
same parameter in the same file, but it seems easy to add such collision
detection.
--
Ticket URL: <http://developer.wz2100.net/ticket/3890>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project