Commit Graph

617 Commits

Author SHA1 Message Date
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
twanvl ca18e192fc Modified update checker to get it to compile
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@605 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 14:53:11 +00:00
twanvl 565ddc1e12 Fixed: keys without save_value caused reader to loop
Fixed: first line of multi line text value could cause warnings about whitespace
Fixed some copy/paste errors in choice style reading;
Text viewer correctly uses mask for first line

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@604 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 14:19:38 +00:00
pichoro 65d92667fc New masks for colored artifacts in magic-future-textless.
New land hybrid masks for old style templates.
Added colored Xander Hybrid Mana Watermarks (in addition to colorless).
Removed an un-needed mask from magic-old-split.
Removed an un-needed ptbox from magic-future-textless.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@603 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-07 06:04:40 +00:00
pichoro c8493377a4 New reminders for Banding and Bands with other.
Fixed horizontal hybrid textboxes and typelines.
Guild mana for magic-mana-beveled.
Last of the lands for magic-future-textless.
Keyword polishing.
Undid a change to magic sort script because card_shape doesn't work yet.
Grey hybrid names and gradient multicolor for magic-future-textless.  Still needs work.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@602 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-06 05:44:23 +00:00
twanvl 6b2d67272b Future shift -- Casting cost positioned more or less correctly
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@601 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-05 13:55:14 +00:00
coppro 1ce4bd9c3d Added primitive update window.
Added diagonal directions (todo: add different text direcitons, primarily for Space)
Cleaned up keyword game file a bit.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@600 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-05 00:38:12 +00:00
twanvl 633621558d Syntax highlighter now knows about built in functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@599 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-03 21:32:40 +00:00
twanvl 2a2935de48 And the documentation just keeps comming...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@598 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-03 15:35:09 +00:00
twanvl dfe1140444 Documented style type
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@597 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-03 14:25:40 +00:00
twanvl a7b8e8d243 Documented field and value types
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@596 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-02 22:27:15 +00:00
pichoro 17303d9382 Another update to cost param. This one works.
Vanguard cost param updated as well.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@595 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-02 21:27:31 +00:00
pichoro ffdeff4de4 New ccard for magic-old-token.
Fixed how name is scaled in magic-new-token.
More upgrade to cost parameter.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@594 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-02 21:06:12 +00:00
twanvl 9ca290755b Documented keyword related types
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@593 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-02 18:55:31 +00:00
twanvl e32ee37ef4 More data type documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@592 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-02 18:01:39 +00:00
pichoro cea95bf5ae More tweaking to cost param.
Added magic-mana-future for futureshifts.
Added textless futureshift style.  Still needs work; todo list in style file.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@591 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 22:17:18 +00:00
twanvl ad48e2ae16 Documented 'length' function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@590 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 18:45:58 +00:00
twanvl 624d5cba56 Documentation of keyword functions, changes sort_text function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@589 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 18:41:11 +00:00
twanvl 849f8935d9 Split 'sort' script function into 'sort_text' and 'sort_list', use "cycle(WUBRG)" instead of "(WUBRG)".
Fixed bug in spoiler export template: mana symbols were always rendered as images.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@588 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 18:40:46 +00:00
twanvl a112f885ca Moved spec_sort to separate file, added more advanced options;
Split 'sort' script function into 'sort_text' and 'sort_list';
Double clicking card in stats panel switches to cards panel

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@587 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 18:34:24 +00:00
twanvl db50b48073 Some more tweaks to the website
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@586 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-01 16:48:22 +00:00
twanvl 06770361ab Documentation of file format
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@585 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-30 13:58:17 +00:00
pichoro 50153c9d26 Added line height soft to magic-new-token.
More work on cost param for Magic.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@584 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-30 06:41:27 +00:00
pichoro 2dc9dfc151 Updated text filtering for non-rules text fields in Vanguard.
Reorganized Vanguard game scripts to same order as Magic game.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@583 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-25 20:44:28 +00:00
pichoro 5bfced7102 Added "rules" to pseudo keywords, to serve as a guideline for use.
Added support to cost param for mixed costs, such as "Kicker-R, Sacrifice a Merfolk."

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@582 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-25 05:16:20 +00:00
pichoro 2f33292cfb Fixed some minor errors in keywords and text field formatting.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@581 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-25 04:16:36 +00:00
pichoro fd42abbbe2 Fixed a bug relating to suspend's parameters.
Added colorless, multicolor, dark artifact, artifact styling choice, and new masks to magic-textless.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@580 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-19 22:05:36 +00:00
pichoro 11fcbfa14d Adjusted field placements for Yu-gi-oh.
10th Edition keyword update for Magic and Vanguard.
Disabled (but intentionally didn't delete) padding top and padding bottom from magic-new-split, magic-new, and magic-planeshifted.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@579 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-17 21:22:12 +00:00
coppro 7709c21b5f Fixed installer bugs, added documentation for crop function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@578 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-16 18:25:08 +00:00
twanvl adafc6dfc3 Function documentation is done.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@577 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-07-14 19:40:32 +00:00