Commit Graph

445 Commits

Author SHA1 Message Date
twanvl 04f589637b Removed TextBackground, it never worked anyway
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@453 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 18:19:44 +00:00
twanvl bc6aa2daa8 Added position_hint to statistics categories, for customizable ordering of the items in the statistics panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@452 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 17:32:31 +00:00
twanvl c414bd7e71 Added 'insert symbol' menu to magic-mana-large, fixed title and message of 'insert colorless mana' dialog.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@451 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 15:52:29 +00:00
twanvl 7159fd01ce Added a line below the 'none' option
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@450 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 14:45:19 +00:00
twanvl af818e3bec Width of labels in native look editor is adjusted based on the longest label
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@449 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 14:35:41 +00:00
twanvl 950bcc1cb2 Minor style tweaks to 'spoiler' export template; fixed IE image size issue; added shortcut icon.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@448 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 14:18:33 +00:00
pichoro 7580a47703 Added cmc mode for mana cost param.
Changed resolution and print out size for magic-old.
Added alpha style dual land blends to magic-old.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@447 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-30 03:40:06 +00:00
twanvl 35ec0ce63d Added "width= and height=" to symbols exported to html;
Added a backtrace function to the script evaluator, error messages now include a 'stack trace' of functions that were called.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@446 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-29 19:44:42 +00:00
coppro 14b68de6cb Added "AE" filter to flavor text. Allowed nesting of curly quotes.
Also compatibility update.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@445 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-29 18:36:45 +00:00
pichoro 02de1629ce Moved superfluous fields out of magic-game and into firepenguinmaster tokens, new tokens, and futureshifts.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@444 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-29 05:09:50 +00:00
pichoro 19a2aa1ed3 A new update to the new tokens. Still errors.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@443 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-28 20:59:07 +00:00
pichoro 53808f8f18 One textline versions of new tokens added. Still with errors though, details in style file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@442 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-28 04:37:17 +00:00
pichoro a6f206635e Fixed an error in FPM style.
Fixed an error in flip style dealing with land pt boxes.
Added required stuff for textboxed modern tokens.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@441 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-28 00:02:47 +00:00
twanvl 31b7380d99 Implemented exporting symbol fonts;
Rendering symbols to an image always uses anti-aliassing (by downsampling from a large size);
Finished the spoiler export template;
Added <soft-line> tag to make line breaks use the line height for soft line breaks

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@440 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 18:58:43 +00:00
pichoro ef1ac8fd5b Added beginning of modern tokens, only featuring textless so far.
Added embossedletters font for name of modern tokens.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@439 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 18:21:20 +00:00
twanvl 2868e014cf Script errors now have information on where the error occureed (what value);
Script operator "int + object" now uses string concatenation instead of converting the object to integer;
Html export window uses a dummy set for editing options, so we don't pollute the set's undo stack;
Choice rendererer in nativelook 'both' style always leaves room for the icon;
Version bump

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@438 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 12:18:54 +00:00
pichoro 0627ad9370 Fixed a couple errors in Vanguard, including one that caused a crash.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@437 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 04:28:55 +00:00
pichoro 4912fb915f Cleaned up statistics in Vanguard.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@436 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 04:20:40 +00:00
pichoro 17bd0f016b Changed todo list in FPM templates.
Moved special oldstyle rarities out of game file and into style files.
Added flavor-textless mode for vanguard, to allow for high rules text cards to be readable.
Overhauled VS templates and added hellboy and hellboy-extended templates.
Minor renaming of fields and changing stats in Yu-gi-oh.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@435 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-27 01:54:56 +00:00
twanvl f2c57907c2 A first export template, work in progress
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@434 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-26 15:10:25 +00:00
twanvl 11b8242816 Implemented export functions;
Choice viewer uses font when rendering text.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@433 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-25 20:40:22 +00:00
twanvl 5c6cb41458 implemented html export (only for writing the main file, not the write_file functions);
fixed parser bug: (...\n...) was not parsed as a statement separator if the second ... starts with a string or number


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@432 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-25 16:31:09 +00:00
coppro 4bf2d44ebe Compatibility check - export is still a reserved word.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@431 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-24 15:32:15 +00:00
twanvl f0628317a3 Added clone() function to Value.
Added support for per-card styling

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@430 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-24 01:30:34 +00:00
twanvl df9bb78e51 'initial' property for color fields;
export options stored in settings;
editor for export options.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@429 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-23 19:44:50 +00:00
twanvl e46cbe66b2 Cleaned up Set::Styling/Card::Styling by spliting that functionality into a 'DelayedIndexMaps' class;
Added 'right' and 'bottom' properties to style as an alternative way of specifying width/height;
Added content_width, content_height and content_lines properties that give feedback on text rendering;
Always show warnings when showing errors and vice-versa, this prevents script errors from appearing before the reader/parse error that caused them;
Finally some preliminairy work on export templates

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@428 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-22 23:12:41 +00:00
twanvl 97e0e8d6d6 Choice rendering now uses "style.image()" instead of "style.choice_images[value]";
Added script functions for working with multiple choice values;
Added in_context support for filter_rule;
Optimized toUpper/toLower because they are slow on windows (they use thread local storage and mutexes)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@427 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-17 13:13:56 +00:00
coppro 59d0aee4e7 Fixed line heights on styles
Added tournament pack entry for pack generation.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@426 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-17 01:56:15 +00:00
twanvl 3d84690e69 BlankImage and ImageValueToImage
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@425 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-16 21:48:57 +00:00
pichoro 0eae598420 More polish on keywords.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@424 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-15 04:08:49 +00:00
twanvl e287348843 Added 'or else' construct to script language.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@423 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 18:31:47 +00:00
twanvl 40e55e8151 scripting language now has support for list and map literals: " [a,b,c] "
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@422 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 14:25:53 +00:00
twanvl 6e55175f51 Fixed: < was matched by spec_sort "<xyz>"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@421 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 14:24:49 +00:00
twanvl 8b11433cbd Reader now warns about invalid UTF-8 files;
Fixed possible hang when reading multiline strings with incorrect indentation;
Warnings from reading are shown also in NewSetWindow;
Script parse errors get reported with the correct line number;

Added support for showing multiple choice fields as a single image;
Added 'line_below' to ChoiceField::Choice, for putting a line below menu items.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@420 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-12 19:35:24 +00:00
twanvl 27833003c8 The thread safety stuff is only needed for GTK
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@419 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:46:05 +00:00
twanvl 806d44239e 900x900 is too large for most screens (i.e. 800x600 or 1024x768)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@418 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:41:29 +00:00
twanvl 217e8166ab Fixed 'subtract' symbol combine mode
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@417 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:40:15 +00:00
pichoro f02f6fac87 Polished keywords.
Changed inline mode to action mode.
Changed vanguard keywords so all but pseudo act like inline keywords.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@416 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-10 06:47:52 +00:00
coppro c4e340f9e4 Fixed crash with new thread-safety code (primarily on watermarks)
Actually added only showing "open recent set" if exists
Removed a call to deprecated functions.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@415 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-09 05:10:53 +00:00
pichoro 8133196f15 Finished adding overlay hybrids.
Updated flying's reminder text to 10th edition version.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@414 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-09 05:07:58 +00:00
pichoro 0fd8c42a8d Lots of font size alterations.
Fixed a problem with Magic textless that prevented pt box display.
Added most (but not all) of overlay hybrid scripts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@413 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-07 02:53:39 +00:00
coppro 06138ee325 Made spec_sort specifications featuring more than one '()' not hang.
Added error window if a script error occurs while loading a set.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@412 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-23 00:47:18 +00:00
coppro 9762524025 Added Linux tarball and install scripts, and a README file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@411 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 04:04:34 +00:00
coppro 9c67a4fa78 Implemented difference (XOR) option for symbols.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@410 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:31:17 +00:00
coppro 5351fca511 Expanded symbol editor to fit all the tools.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@409 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:30:48 +00:00
coppro 6ed8315c18 Removed "sides" label, as it causes lock-ups on wxGTK.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@408 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:29:40 +00:00
coppro 62ff837352 Added thread-safety to thumbnail request system.
Marked symbol requests as not being thread-safe.
Added icon to symbol editor
Made *.* actually register on *



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@407 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-21 16:11:38 +00:00
pichoro ad7a1a6506 Shrunk pt font in all post 8th templates, except split.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@406 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-21 02:49:05 +00:00
coppro c8343f739f Fixed some symbol editor resources
Removed Makefile from repository (confuses people who should use 
configure)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@405 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 23:39:17 +00:00
coppro af89fe04d5 Fixed caret size.
Made delete card button greyed-out with only one card in set (oops)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@404 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 21:28:28 +00:00