Commit Graph

1479 Commits

Author SHA1 Message Date
pichoro 1a05c0147a 4 Ability Planeswalkers for Magic.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1497 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 18:09:44 +00:00
pichoro 9ed652ea9f Forum formatted text spoiler exporter templates for Magic, Vanguard, Planechase and Yu-Gi-Oh.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1496 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 18:08:19 +00:00
pichoro 891af1dcd6 New update by Coppro to give more control over frame color in flips for both flip styles.
New update mostly by Art_Freak to allow combining two images to make a composite in magic-new-flip.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1495 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 18:00:20 +00:00
pichoro 6a615bb47e Changes to Magic:
Big keyword update.
Update to allow new flip card technology.
Update to allow 4-ability planeswalkers, textless lands, and levelers.
More statistics that are related to card type.
Custom subtype tracking for all card types.
Planeswalker types included.
Creature type updates.
New symbol variation for set symbol watermarks; more like what appears on real cards.
Updated card sorting.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1494 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 17:55:51 +00:00
pichoro 7f1197e2a3 Land frames for Modern Tokens.
Fewer p/t box images needed.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1493 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 17:34:15 +00:00
pichoro 062fed5c52 New colored lands for planeshifted style.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1492 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 17:29:24 +00:00
pichoro ab2df4c973 New 0-cost loyalty "arrow" for planeswalkers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1491 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 17:26:34 +00:00
pichoro dad794ff59 New position hints for various Magic styles. This is to rearrange and reorganize list of styles - it was quite disorganized.
These styles have no other changes.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1490 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-14 17:21:58 +00:00
pichoro b24f3e359f Changes to Magic Planechase:
New card back for card-sample in game.
Improved stats package.
Big keyword update.
Improved list of Planes.
Better allowances for custom card types.
Standard style is now much larger, reflecting that it is larger than regular Magic cards.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1489 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-13 22:42:27 +00:00
pichoro 68be0ff2af Changes to Vanguard:
Better stats package.
Correct card back as card-sample in list of games.
Big keyword update.
General cleaning up of style.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1488 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-13 22:28:25 +00:00
pichoro da01c308d6 More VS changes:
Moving "~ to CARDNAME" into auto replace file.
Automatic symbolization of new official affiliations in new styles.
Typeline symbols and watermarks for new official affiliations.
Now showing statistics for frame type. (seems useful)
In Alter and Oversize styles, calling background image more directly instead of having every frame choice point to it.
Ditching an unused card-sample.jpg from oversize style.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1487 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-13 22:19:51 +00:00
pichoro 352b5f48bf Lots of new VS affiliation symbols - some official, others not so much.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1486 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-13 21:53:28 +00:00
pichoro f02b2ff0e0 Removing repetitive image from vs-standard-arrow.mse-symbol-font.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1485 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-13 21:49:17 +00:00
twanvl 50a26e4c76 * find_i function for case insensitive searching
* card::contains uses case insensitive find
* Added card::contains_words for quick search, which searches for each word separately

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1484 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 22:33:20 +00:00
twanvl be922940a2 Added a "quick search" box for filtering the card list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1483 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 21:52:26 +00:00
twanvl 4532fade77 Removed old random pack code. It was already disabled by the USE_NEW_PACK_SYSTEM flag.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1482 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 15:48:42 +00:00
twanvl 098e470ff9 A simple default "any card" pack if there are no packs specified in the game file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1481 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 15:13:29 +00:00
twanvl d546904163 A simple default "any card" pack if there are no packs specified in the game file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1480 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 15:07:07 +00:00
twanvl 57e0391f0d slightly better error messages when reading an enum value fails: also report the default used
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1479 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 01:38:53 +00:00
twanvl 90b08ea743 Added scrollbar for DropDownList, fixes #52
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1478 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-04 00:45:55 +00:00
twanvl 968f557511 recolor_image function can now be used with custom colors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1477 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:44:44 +00:00
twanvl 6bfe384fb6 images for recolor_image documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1476 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:25:55 +00:00
twanvl 4defd52aa2 allow reading images from the current directory in the CLI interface
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1475 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:25:35 +00:00
twanvl 0673eda5c9 new functions, added a rgb() color popup to highlighted code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1474 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:20 +00:00
twanvl e01b24aa63 Added 'recolor_image' function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1473 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 18:19:05 +00:00
twanvl ca0e762b64 New image functions:
* invert
 * flip_horizontal
 * flip_vertical
 * rotate

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1472 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:56:45 +00:00
twanvl 726bd9c135 don't use locale for error message (mostly to stop mse from whining about the missing entry)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1471 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:54:52 +00:00
twanvl 463c3d9a81 (minor) use getAngle() instead of trAngle(0)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1470 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:53:30 +00:00
twanvl 37da5e1141 init sockets in main function, otherwise the installer window doesn't work if updates were not checked first
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1469 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:51:24 +00:00
twanvl 2bc67b964f multiple choice checklists also work in non-native look
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1468 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:50:30 +00:00
twanvl 17c766c8fc documented "to_image"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1467 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 13:48:02 +00:00
twanvl ff26cb0a4b fix some tables and links
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1466 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:52:10 +00:00
twanvl 34929bc4e5 "scale down to" works for single line text boxes, fixes #53
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1465 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:21:58 +00:00
twanvl 69ea39c64f slightly better error messages when reading an enum value fails: also report the default used
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1464 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 23:05:05 +00:00
twanvl 0fc52a7952 alignment for choice fields rendered as text (#16)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1463 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 21:42:55 +00:00
twanvl e1d9437320 always draw checkerboard behind default image
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1462 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 20:53:09 +00:00
twanvl 0625cd0aff Short-circuiting "and" and "or" operators
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1461 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 23:52:34 +00:00
twanvl 603442e75b comment
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1460 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 14:40:28 +00:00
twanvl 44b3d15a68 warn about invalid conversion to int/double/bool in Reader
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1459 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-22 13:36:05 +00:00
twanvl 66bf7c8521 Fix #10: Use of saturate function almost always causes a crash.
saturate: fix possible division by 0
SaturateImage: fix: had two 'image' members, one inherited, one nullptr, which caused a crash

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1458 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-22 00:29:35 +00:00
twanvl 55599011b4 keep close tags together with keyword parameters, fixes #51
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1457 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 23:33:58 +00:00
twanvl f7ae4b5a7b in_tag function now looks for a positive number of tag occurrences.
In particular: in "<tag><tag></tag>x</tag>" the x is now in_tag.
This fixes the rest of #20.

Also added is_in_tag function that returns a bool instead of the tag position.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1456 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 22:42:46 +00:00
twanvl 4c3acef3fa don't crash when an action=nullptr (partial fix for #20)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1455 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:24:51 +00:00
twanvl c5d92f7d13 don't close window on error
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1454 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:56 +00:00
twanvl 8ed09c48bf Fixed #24: nullptr error in graph code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1453 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:19 +00:00
twanvl 4a31b77d2c Use a HandleEvent wrapper instead of OnExceptionInMainLoop.
This way we don't rely on rethrowing exceptions. This method has proven to work well in other projects.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1452 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:52:40 +00:00
twanvl 864cabb590 fixed nullptr exception when opening a stylesheet without a game twice, the solution is to re-load when loading/validating fails the first time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1451 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:49:12 +00:00
twanvl 854998f204 Fix #25: Program throws exception when clicking on the 'stylesheet' list if there are no stylesheets.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1450 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:37:47 +00:00
twanvl f88d92acab curly_quotes now considers EM_DASH to be a space, so it uses an open quote after it.
Fixes #33

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1449 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:23:57 +00:00
twanvl f8c7961c03 trim filenames, apparently writing a file "some card " is not possible on windows, it drops the trailing space.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1448 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:06:54 +00:00