Commit Graph

583 Commits

Author SHA1 Message Date
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
coppro bd891efc15 Changed so you can't delete last card in set.
(this can cause crashes, and an empty set seems pointless anyways.)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@403 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 19:39:41 +00:00
pichoro 7d49be5a3a Updated Imprint.
Changed center justification to not default.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@402 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 03:06:47 +00:00
coppro 9a2b992c06 Fixed GTK GetTextExtent bug
Added resources shell script


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@401 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 21:15:20 +00:00
twanvl b4c7cfb5bc attempt at fixing text extent for gtk
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@400 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:59:30 +00:00
twanvl d896a95cbb COL_DRAGGING event doesn't seem to do anything
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@399 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:59:00 +00:00
twanvl 4fc8f88d77 all card lists share the widths of the columns
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@398 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:12:30 +00:00
twanvl 7a66256ebd minor cleanup of '\n' to ' ' code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@397 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:09:26 +00:00
coppro 8aef0b244b Fixed crash when deleting a card from a non-empty set.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@396 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 16:53:15 +00:00
coppro 32b3f86cc3 Fixed dropdown arrow display bug on Linux.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@395 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 16:12:05 +00:00
coppro c51d7f8458 Fixed keyword list replacements messing up due to being multi-line.
Fixed GCC warnings.
Added linux installer directory.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@394 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 15:11:14 +00:00
pichoro e5289b78d9 Fixed minor errors and added missing pieces to FPM temps.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@393 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 03:19:48 +00:00
twanvl 936fb57b69 style specific fields are now editable&saveable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@392 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 00:05:18 +00:00