Commit Graph

817 Commits

Author SHA1 Message Date
pichoro 429f6db598 Keyword polish.
Adjusted borders of rarities slightly.
Fixed a bug relating to shrinking mana costs in magic-future-textless.
Added option to left align artist and copyright in magic-old styles, as seen in Tempest.
Changed all magic-new, magic-future, and magic-planeshifted styles to use ModMatrix for p/t, increased font size 1 point, raised p/t 1 pixel, added "shrink-overflow".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@829 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-03-13 02:05:54 +00:00
coppro 60b1bb0489 Fixed that stupid user-made keyword precedence bug.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@828 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-02-10 02:14:15 +00:00
coppro 98fe6a4e26 Made the reader capable of skipping blank lines.
Added a bunch of missing byte-order marks.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@827 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-28 04:30:33 +00:00
coppro 75a4adcf57 I have made it so that it is possible to access extra card fields through the script as many, many templates are suffering for no good
reason as a result of them not being scriptable. I understand that the gamme shouldn't be allowed to rely on them, but the styles 
should, and as such, they should definitely be accessible from scripting.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@826 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-22 02:33:25 +00:00
pichoro 107227b24a Improved blends for pt-boxes.
Updated creature type lists in accordance w/ Oracle update.
Shrank textbox font size for magic-future.
Fixed new "colored multicolor land name" option in futureshifts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@825 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-21 04:23:44 +00:00
pichoro fdd2c37001 Better Sorting for Yu-Gi-Oh.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@824 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-19 05:30:29 +00:00
pichoro 5dfa394235 Tokens for Yu-Gi-Oh.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@823 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-19 05:02:08 +00:00
pichoro 35c63bba42 "Grey hybrid typeline" for magic-new-token.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@822 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-13 02:00:49 +00:00
pichoro 0a33961584 Adjusted magic-new-planeswalker image mask.
Added new styling option to replicate "Murmuring Bosk" frame from Morningtide.
Changed game file "creature type" lists to be named "Race" and "Class".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@821 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-13 01:11:15 +00:00
coppro 3ad16e949f Added sorting of words "A", "An", and "The".
Fixed transparency on update arrow.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@820 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-12 18:07:34 +00:00
twanvl 6281a26f81 fix word list sub menus
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@819 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-11 21:51:25 +00:00
twanvl cefe0823f7 fixed: reminder text of a keyword can not be disabled if that keyword appears as the start of another word before it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@818 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-11 21:40:17 +00:00
pichoro 5c801ffce8 Changed Yu-Gi-Oh textbox font from Palatino-something to MatrixBook.
Keyword polish.
Various other maintenances.
Added "magic-mana-small-grey" as colorless mana font.
Removed "colorless mana" styling choice when applicable.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@817 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-11 04:43:44 +00:00
coppro 489630867c Set svn:ignore.
Updated expected_locale_keys


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@816 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-06 10:39:53 +00:00
coppro 692ff43573 Compatibility updates step 1.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@815 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-05 22:37:22 +00:00
pichoro aec798b8f6 Missed "package choice" for vs-insanity style last night. Here it is.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@814 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-04 20:48:59 +00:00
pichoro 3199b2982a Fixed an error in the image of magic-planeshifted when images extend into textbox.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@813 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-04 07:27:26 +00:00
pichoro 40d26cd047 Yu-Gi-Oh Update.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@812 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-04 07:24:20 +00:00
pichoro 976b1cbb90 Added "package choice" for VS symbol fonts in textboxes.
Adjusted dependancies.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@811 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-04 04:10:44 +00:00
pichoro 6f982ae773 Massive VS Update (Courtesy of Artfreakwiu)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@810 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-04 03:39:58 +00:00
twanvl 5f9845c167 Fixed AlphaMask::isTransparent
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@809 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-01 18:43:09 +00:00
twanvl ed060aeb04 nicer options for defaults in localization tr() functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@808 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-01-01 16:06:58 +00:00
pichoro f0be49c2e4 Fixed an error pertaining to rules text in futureshifts.
"Shifted sorting" on futureshifts and planeshifts is now optional.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@807 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-31 22:40:30 +00:00
twanvl 5fc06663b1 Added icon for MSE in packages window;
Added resample(image,width,height), instead of always passing in images

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@806 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 23:48:26 +00:00
twanvl 17965eea73 Fixed: direction:vertical was putting characters on the next line, causing multi-char symbols to render incorrectly
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@805 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 13:42:29 +00:00
pichoro f04aa61aa6 Adjusted some magic fields, mostly casting costs.
Added larger masks for magic-new-planeswalkers to stop errors.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@804 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 06:46:49 +00:00
pichoro 7b64c71da1 Updated all magic and vanguard styles to use new styling choice for choosing text box mana font.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@803 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 05:31:56 +00:00
twanvl abf4da9cff Fixed: rotation adjust code was overwriting scripts;
Fixed: positioning of stretched + rotated text

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@802 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 01:53:41 +00:00
pichoro 1b5326a3dd Updated to work with new rotation method.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@801 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 00:55:58 +00:00
twanvl 796975bd9d Added saturate script function (+documentation), it also desaturates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@800 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-30 00:48:39 +00:00
twanvl 3ceec52c1c - no longer try to draw fields with huge or negative size
- download icons of packages

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@799 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 23:51:19 +00:00
pichoro fb972ed10a Updated vanguard export size to be more realistic.
Magic-old heavily updated.
Magic keyword system updated to allow for Prowl (morningtide).
Amplify keyword updated to maintain functionality.
Prowl, Kinship, and Reinforce keywords added to Magic and Vanguard.
Protection keyword updated.
Altered creature type lists (they still don't really work right).
Fixed an error in champion keyword; still no championing multiple cards.
New colorless frame for magic-future.
Made watermarks in magic-future more narrow; keeps larger ones out of typeline.
Old style watermarks now available in magic-old styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@798 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 22:21:32 +00:00
twanvl f6aecda8a0 Using a 'package choice' field
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@797 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 21:58:34 +00:00
twanvl e49f2eebcb fixed: errors in templates could cause program to hang/crash
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@796 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 21:12:11 +00:00
twanvl eed8ba4274 PACKAGE_INSTALL now stands for both installation and upgrades
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@795 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 20:46:00 +00:00
twanvl eba28b64d3 Now actually downloads a list of installers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@794 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 19:53:16 +00:00
twanvl 4602d46203 added desaturate function for making greyed out icons
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@793 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-29 19:38:09 +00:00
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 361488b4fe documentation of 'package choice' field type
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@791 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 23:45:39 +00:00
twanvl d493394519 - Added 'package list' field type
- Some refactoring of the other field types

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@790 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 23:37:45 +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
twanvl 8d86e4a25c A bit of refactoring:
- common code of ChoiceValueViewer and MultipleChoiceValueViewer put into functions
 - RotatedDC can now draw text with shadow.
 - DECLARE_STYLE_TYPE macro and friends do slightly more.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@788 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:46:40 +00:00
twanvl 2fb7de196e minor improvement of --help message
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@787 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:44:08 +00:00
twanvl 4405863485 Added caching to filter_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@786 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:43:17 +00:00
twanvl b006faaabd updated documentation of the 'style' data type
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@785 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:42:06 +00:00
twanvl dcfac836fa Optimization: removed the conversion via wxImage for downsample_to_alpha (profiling indicated it was a bottleneck)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@784 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 03:34:41 +00:00
twanvl 547a48b98d - Optimization: common parameters to built in functions are no longer looked up as a string at each call, instead their integer ids are global constants
- Optimization: some other minor tweaks.
 - Nicer --help message

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@783 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 02:04:45 +00:00
twanvl b79f52db84 New rotation system (see forum thread).
Major changes:
  - when rotating, the top left corner of the rectangle stays in place.
  - ValueViewers get a dc that is pre-rotated/translated for them, i.e. (0,0) is the top-left of the viewer (with ValueViewer::getRotation).
  - moved 'angle' from individual Styles to the Style base class.
  - any rotation angle is now possible. angle is still an int for now.

This warrants a version bump

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@782 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:58:58 +00:00
twanvl 94e4a1ce9e Category selection in statistics panel now goes using a separate list for each dimension.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@781 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:49:48 +00:00
twanvl 5b62c3f9b7 Added convex hull function to ContourMask for drawing nicer borders around masked fields
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@780 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-22 19:22:32 +00:00