Commit Graph

301 Commits

Author SHA1 Message Date
twanvl d2196eea09 Finally got precompiled headers to work.
Now all C++ files need to #include <util/prec.hpp>
 That is why all .cpp files are touched by this commit

Many changes to installers and update checking:
     - the window is now called PackagesWindow, in a new source file
     - update checking is now independent from the PackagesWindow. For update checking only a list of package versions are needed (vector<PackageDependency>). This is much less information to download at each startup.
     - the list of available packages is now a list of available Installers, since an installer can contain multiple packages.
     - moved the logic of dependency checking etc. to data/installer
     - moved the actual installation to util/io/package_manager
     - moved directory iteration/creation logic to util/file_utils
     - added PackageDirectory: the local and global package directory now have their own object (was part of PackageManager)
     - added PackageVersion: for detecting if a package has been modified after it was installed.
     - added PackageDescription: description/header of a package. Basicly the same as what Packaged provides.
     - added DownloadableInstaller: where to find an insaller, what does it contain?
     - added InstallablePackage: brining it all together: installer, package, status, action.

Current status: the insaller is currently broken in a few places, more on that soon.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@792 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 18:30:41 +00:00
twanvl 7b340db04f Added 'short name', 'position hint' and 'icon' to symbol fonts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@789 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 23:08:27 +00:00
coppro a20746422e More fixes for Mac.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@770 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-11-08 04:26:48 +00:00
pichoro cca633aa38 Fixed some problems with magic-extended-art.
Added infinity mana symbol.
Added insert symbol menus to all symbol fonts that were lacking them.
Updated font color choice for fpm promo to improve readability.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@765 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-13 06:18:39 +00:00
pichoro 998cb95889 Fixed dependancies for Vanguard, VS, and Yu-Gi-Oh.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@764 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-06 04:04:38 +00:00
pichoro 6da4e9b3d0 Made a change to casting costs in all new Magic styles. They're still not perfect, but closer.
Corrected a mistake in extended image styling for magic-new and magic-planeshifted.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@763 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-06 03:37:37 +00:00
coppro dd656ba1bd Fixed "regex escape" function, and updated a script that needed it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@762 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-30 14:37:18 +00:00
pichoro 01dbd8cb7b Updated reminder texts for Changeling and Clash.
Adjusted fields for magic-planeshifts and alignment in magic-new-promo.
Added transparent mana symbol watermarks.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@761 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-29 05:43:06 +00:00
coppro ca13be9fb7 Updated for The Grand Creature Type Update
NOTE: I removed the default list of creature types. I don't want it 
gone, I just found the update easier to make without a simple list. If 
someone else feels like making one themself, I don't object.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@760 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-28 03:22:09 +00:00
coppro 2fcf2f359d Finished update window (YAY!)
Updates now work, and have been tested.
Made a few other updates.
To work on: aesthetics?


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@759 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-26 22:13:39 +00:00
coppro f580d8a48f Moved futursight symbols to lowercase filenames - required for proper use of installers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@758 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-26 02:07:24 +00:00
coppro 30e18663f6 Added some new update code (YET TO BE TESTED) and some fixes to the VS
templates.
Still looking to find one source of a reference to 
"futsymbol_artifact.png" (case-sensitive)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@757 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-25 23:28:12 +00:00
coppro 3ea0a4abd7 Made it so that update window and set window can't be open simultaneously (don't explode the set by deleting the style, say).
Made update window enforce dependencies
Added update button to welcome window (need icon still)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@756 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-25 02:02:53 +00:00
twanvl a57c20aa4f Fixed export template grouping yet again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@755 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 22:19:11 +00:00
twanvl 4c40394ba5 Now also requires a dependency for symbol fonts;
Fixed all the dependency warnings for the magic templates

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@754 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 21:54:52 +00:00
twanvl 36a36356c5 The 'Big Whine' patch:
Any use of a file from another package without a declared dependency will give a warning;

Also added some more _LOCALE_123_ macros so we need less format_string calls

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@753 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 20:24:22 +00:00
coppro 1f59376b54 Added perl script to generate updates page.
Added/fixed versioning in data.
Added more framework to update checker.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@750 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 21:49:10 +00:00
pichoro d17fe83474 Upgraded font colors for future-textless.
Added "trim" step to separate_word script for Magic.
Changed card.full_name field to recognize "shifted splits" as splits.
Corrected an error in split sorting.  U // 1U was sorting as multicolor split.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@749 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 19:33:05 +00:00
coppro 51aa9ae9fd Fixed all the capital-letter images. In the future, all should be lowercase, for consistency
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@747 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 23:30:40 +00:00
twanvl b9cd3a433b Fixed sorting of cards whos names start with a number
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@742 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 11:07:08 +00:00
pichoro 147c787eb3 Typeline adjustment in magic-new.
Fixed hybrid sorting.
Fixed part of hybrid futureshift p/t colors.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@741 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 23:35:29 +00:00
twanvl 69140171be Size of rarity symbol on fpm templates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@740 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 19:18:05 +00:00
twanvl 6e020daf92 Also added XYZ images to magic-mana-beveled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@739 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 19:02:46 +00:00
twanvl 9c62b74517 X,Y,Z mana symbols are now separate images
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@738 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:57:44 +00:00
twanvl a71fe794bb Width of image box
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@736 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:07:22 +00:00
twanvl d07c40d1c1 Disabled the 'all types' word list item, it was not finished
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@729 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 14:55:30 +00:00
twanvl 77ab586881 Option to show/hide editing hints (i.e. word list boxes)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@727 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 12:35:24 +00:00
pichoro ef604a3786 Fixing an error relating to the grey colorless land frame in FPM templates.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@722 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 00:31:11 +00:00
twanvl 458062fa37 Spelling: availAble;
Added information about what parameter an error occured in;
Conversion to string no longer results in [[typeName()]], it gives an error instead.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@721 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 21:52:26 +00:00
twanvl 3622a58417 Names of vs templates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@718 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 19:46:46 +00:00
twanvl 1dabc07979 Reordered the magic statistics panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@717 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 19:01:17 +00:00
twanvl 1f3f4e01fe Added support for named colors, e.g. "white" and "black";
Added missing keys to locale.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@716 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 18:16:10 +00:00
twanvl 6f899db4d9 Fixed loyalty cost icons after change not to use power/toughness fields
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@715 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 18:02:47 +00:00
twanvl 916f48a48d Some fixes to the vs spoiler export template
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@713 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-20 17:30:15 +00:00
pichoro 5725e878e1 More tweaking of futureshift styles.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@709 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-18 04:11:48 +00:00
pichoro fea5887e16 Improvments to typeline fields in magic-new-flip, magic-new-promo, magic-old-token, magic-fpm, and magic-fpm-flip.
Improved image masks for magic-fpm-split, magic-fpm-promo, and magic-fpm-token.
Modified <a> parameter and Champion keyword; now you can "Champion two Knights".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@708 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-16 19:51:37 +00:00
pichoro abe860b48e Bolded text for magic-mana-future.
Changed reminder text for Changeling keyword.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@707 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-16 04:16:11 +00:00
pichoro 4fa8db0c8a Fixed magic-old-token dpi.
Shrank magic-old-token rarity symbol.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@706 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 17:46:43 +00:00
artfreakwiu 020b1feb55 Updated images adding borders and reworking script to fit.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@705 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 12:23:51 +00:00
pichoro bd733776b2 Adding more "glow" to futureshift image masks.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@704 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 07:14:45 +00:00
artfreakwiu 54787efcbb Fixed positioning issues.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@703 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 05:11:02 +00:00
pichoro 7390faa171 Repaired card field alignments in magic-new-promo and magic-fpm-split.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@702 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 05:06:02 +00:00
artfreakwiu 5d3595a56a Fixed Tap Symbol Styling error - only new Tap symbol was appearing.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@701 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 04:56:08 +00:00
pichoro 420e95ba1f More playing with landwalk keyword.
Added Hideaway keyword (the last new keyword from Lorwyn).
Added position hints to Yu-Gi-Oh and Vanguard styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@699 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 01:56:13 +00:00
pichoro 98e80e5042 I realized that actions can use semi-colons, so I re-added them.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@698 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 01:35:41 +00:00
pichoro acfaeed425 Modified action param to not include colons or semi-colons.
Modified name param to not include colons or semi-colons and to include regular dashes (because they're legal in Magic card names).
Modified prefix param to accept curly apostrophe (Urza'swalk *shudder*).
Modified landwalk to to_lower() all inputs with "land".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@697 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-15 01:30:27 +00:00
pichoro 0d38e8496a New pt-box masks for magic-textless and magic-new-flip.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@696 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-14 22:37:29 +00:00
pichoro 020d0a79fe Changed "shadowed mana" in magic-future to "popup mana"; reason: its called popup in other templates. Consistency.
Added loyalty fields to magic-game.
Changed magic-new-planeswalker to use loyalty fields instead of p, t, p2, and t2.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@695 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-14 00:01:33 +00:00
artfreakwiu a1d5f45e94 Added option for mana-large in text box.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@694 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-13 15:30:25 +00:00
artfreakwiu 6e301ad137 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@693 0fc631ac-6414-0410-93d0-97cfa31319b6 2007-09-13 08:26:38 +00:00