Commit Graph

646 Commits

Author SHA1 Message Date
twanvl 85542e4373 slash is not a mana symbol in the casting cost
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@655 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-01 20:07:53 +00:00
twanvl e3ab15900c 'suffix' is no longer a safe global variable name in scripts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@654 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-01 20:06:09 +00:00
twanvl bdc1e12e95 Added <prefix> and <suffix> tags;
Added prefix and suffix support to combined_editor;
'always symbol' now checks if the symbols are available in the symbol font;
Fixed parser bug in spec_sort;
A first information field is no longer used as set identification

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@653 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-01 19:56:43 +00:00
pichoro 881ea90797 Improved image mask for magic-futureshift.
Changed embossedletter font to fix AE error.
Adjusted artist and copyright lines for futureshifts.
Making some minor preparations for creation of Planeswalker template.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@652 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-31 03:53:14 +00:00
pichoro 9bc19281fa New colorless frame for futureshifts.
New artifact masks for magic-future-textless.  Sorta sloppy, but better than before.
Further improvements to font color for futureshifts, specifically colored artifacts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@651 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-30 00:46:18 +00:00
twanvl 322e8715fc Fixed: choice images were generated with the wrong context from invalidate()
Choice thumbnails are now checked to not be 'local' before reading from cache, fixes issue with wrong rarity symbol in the drop down list;
Disabled unimplemented menu items;
Multiple choice items for RENDER_LIST are now zoomed, and positioning is on rotated cards is fixed.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@650 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 22:52:56 +00:00
pichoro f89cc672be Added line height soft to magic-futureshift.
Changed all paintbrush images to reference ones from magic-future-common.  All extra paintbrushes were deleted.
Added styling option to invert common rarity symbol in all post 8th Magic styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@649 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 22:15:32 +00:00
pichoro feddfe11e7 Made new beveled tap symbols.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@648 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 20:38:36 +00:00
twanvl d069fe53fe Put futureshift images through png compressor, it never hurts to have smaller images.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@647 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 17:08:19 +00:00
twanvl 33def102b0 Moved common elements from future templates to a 'future-common' include package;
Added white highlights to the black paintbrush and vice-versa

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@646 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 16:23:38 +00:00
twanvl e200c6839a Found the source of the growing style file bug (and fixed it)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@645 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 15:51:04 +00:00
twanvl 0a2a031d74 Forgot AutoReplaceWindow
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@644 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 15:00:04 +00:00
twanvl 5fa4867cdc Symbol font measurments (margin/fontsize) now scaled by font size, this requires all symbol files to change (or you get really large margins);
Symbol fonts now support stretching/compressing of text;
Made the default symbols of mana-future lighter (compare with real cards);
Use sort_text instead of sort for vanguard;
Fixed initial card list for vs

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@643 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 14:35:39 +00:00
pichoro 1ca1f8d4be Forgot some changes from my last update.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@642 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 01:28:06 +00:00
pichoro bc4b2adfbe Minor adjustments to futureshift cost masks. Looking good now.
Lots of other minor font and field tweaks to futureshifts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@641 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-29 01:23:26 +00:00
twanvl 790e55a35c Fixed 'use zoom and rotation settings when exporting';
Fixed: enabled was not used for default symbol in symbol font;

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@640 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 22:35:49 +00:00
twanvl 6dceccd6cb Added statistics of creature race and class
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@639 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 21:41:06 +00:00
twanvl f8ca499f56 Fixed untagging in statistics panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@638 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 21:39:11 +00:00
twanvl 087af8360d Added <soft> tag that takes up no space for alignment purposes;
used this tag for magic creature types;
Added correct handling of Tribal sub types;
Fixed sort_index use by spoiler export template

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@637 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 20:49:25 +00:00
twanvl a360b334c5 Fixed redraw issue of text behind word list drop down arrows
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@636 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 18:46:54 +00:00
twanvl fcc89b64d6 Added support for scripts to determine word lists;
Added 'trim' and 'remove_tags' script functions;
Simplified safety improvements of locale checker;
Added 'is_targeted' function to magic game to replace the contains(..) calls

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@635 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 18:33:38 +00:00
twanvl ccaea98a67 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@634 0fc631ac-6414-0410-93d0-97cfa31319b6 2007-08-28 18:27:37 +00:00
pichoro 0914c53f0d Font colors closer to correct for future styles.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@633 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 03:57:31 +00:00
pichoro 61fb2f4d99 Keyword Polish. Evoke added. Keywords that should change based on factors like targeting or not (like Storm), or that should display subtype (Amplify) do now.
Added grey colorless land styling for FPM templates.
Expanded size of rarity symbols in all applicable styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@632 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-28 00:55:52 +00:00
twanvl f7b82e3f6b Implemented auto replace, including GUI
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@631 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-26 19:39:23 +00:00
twanvl 52ec7b38c0 Images are now cached as wxBitmap, not wxImage. This should improve performance.
Fixed some more corner cases of rotation+zoom.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@630 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-25 21:24:28 +00:00
twanvl 741b987d54 Fixed alignment of images when zoom != 1
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@629 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-25 01:09:46 +00:00
twanvl 3937f217a0 Fixed some corner cases in the rotation code (rotation + scaling + stretching)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@628 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-25 00:53:39 +00:00
twanvl 694566fef4 Attemp at scaling the spacing between lines to better fill the text box;
Did some profiling, conclusions:
 - we want to buffer our input streams, apperantly wx doesn't do this automatically
 - compiling regexes is SLOW.
   This is not just in the numbers, but it is actually noticable! The textbox used to be quite unresponsive.
   I wrapped the call to filter_text in the game file with a quick contains() call, so usually, the regex doesn't fire.
   It would be nicer if this was somehow automatic, but that will not be easy.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@627 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-25 00:02:33 +00:00
twanvl ca55a4d5da Added regex_escape script function (was already used by keyword code);
Added icons for 'sort special rarity' choice.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@626 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 20:46:56 +00:00
twanvl 61136d79a8 Added regex_escape script function (was already used by keyword code);
Added icons for 'sort special rarity' choice.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@625 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 20:24:10 +00:00
twanvl f12bc70425 Improved search algorithm for determining text size:
- check using previous scale, often gives correct answer when typing
 - binary search + bound estimation otherwise
This allows the step size to be decreased, giving a better fit.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@624 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 20:04:26 +00:00
twanvl 74db393f61 Fixed transparancy in image slicer and sharp resample function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@623 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 15:49:06 +00:00
twanvl bdd3429479 Symbol resizing using aspect ratio;
TODO: copy code for rarity box to other styles

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@622 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 02:05:50 +00:00
twanvl 0625a3ca87 Fixed UTF8 decoding for non-unicode build;
conclusion: @#%!@#% ASCII/Windows-1252/ISO-8859 must die!

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@621 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-24 01:05:39 +00:00
twanvl d68f73edfc Various tweaks and fixes, mostly to the drop down lists
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@620 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 23:29:20 +00:00
twanvl dc9f08b311 Some tweaks to word drop down list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@619 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 17:37:44 +00:00
twanvl c3e10f2ccf Added as_text regex to symbol font as a more flexible replacement for merge_numbers.
This fixes "31/2" which is now rendered as "(3)(1/2)".
Reverted the mana_sort_guild change
Time for a version bump

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@618 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 16:58:08 +00:00
twanvl ff27322522 sort is now called sort_list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@617 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 16:52:54 +00:00
twanvl 9f2b30b2db Added word lists for choosing things like card type;
Added 'in_place' pattern to spec_sort

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@616 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 16:33:12 +00:00
pichoro 9e35698194 Added |1 as an alternate way to access 1/2 colorless mana symbol.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@615 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 03:17:46 +00:00
coppro c46883eea1 Improved the update window further - now we just need a system to actual download and install them.
Added safeties to locale validation (ugly code though... I'd add another function, but I'm lazy and this is faster)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@614 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-23 01:25:57 +00:00
twanvl 35bbf36e04 Added validator for locales based on all strings in the source code.
It checks:
 - whether all keys used by the program are in the locale
 - whether the right number of %s are used
 - if there are no extra keys in the locale that shouldn't be there
This will become very useful when translations need to be updated for new MSE versions.

There is a perl script for generating the 'expected_locale_keys' resource file.
This file contains a list of all the locale keys used.
This is a resource and not a data file because it is automatically generated from the code,
 the user has no business modifying it.

I also fixed all the locale errors I found in the process.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@613 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-17 21:10:48 +00:00
coppro 232c8b3aa9 Attempted to update type symbols on futureshifts to remove scripting
(precise modifications still needed, but MSE runs faster when the 
positions aren't scripted)

Added translation for the 'Open most recent set' button.
Moved 'type symbol' from the game to the futureshift templates.
Fixed a few BOMs.
TODO: Move common elements from futureshifts to an include folder.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@612 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-15 17:16:27 +00:00
pichoro 85ce07e53f Added new kind of multicolor gradient to old styles. (a la artfreakwiu)
Added option to old style to use all common rarity symbols (like before Exodus).
Cleaned up fix for horizontal hybrid textboxes and typelines.
Automatic paintbrushes for magic-textless, magic-new-token, futureshifts, and all FPM styles.
Removed paintbrush font and all associated scripts.
Newly failed attempt at making different colored colorless symbols in magic-mana-future work.
Non-mana costs work for Suspend and Forecast.
Guild mana for magic-mana-future.
Fixed problem relating to name alignment in magic-new-token.
Updated image mask and artifact masks for magic-futureshift.
Started alterations to font colors in magic-futureshift.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@611 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-15 07:37:34 +00:00
twanvl 81dc4329fe Information on translating MSE
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@610 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-11 15:54:12 +00:00
twanvl 2b41abffe6 Restored "(..)" = "cycle(..)" for spec sort
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@609 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-11 15:47:31 +00:00
pichoro 68b4be3f4a New hybrid_blend_pt for magic-future-textless.
Attempt at making different colored colorless mana symbols work in magic-mana-future.
Added magic-futureshift.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@608 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-08 07:40:32 +00:00
twanvl 1233940892 Minor tweaks of documentation syntax highlighter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@607 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 18:28:10 +00:00
twanvl 57da4261a8 Finished documenting scripting system.
This means the documentation is DONE (yay!)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@606 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 18:19:14 +00:00