Commit Graph

1474 Commits

Author SHA1 Message Date
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
twanvl 07d4e8619b gif export is not supported by wxWidgets
This 'fixes' #18 by just removing the option to export .gif files

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:35:59 +00:00
twanvl 70fb9d612b Fix #19: Colon in Name Prevents Opening Save Dialog
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1446 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:12:49 +00:00
twanvl 4bdd0d5c01 perhaps "orelse" is better syntax then "or else"?
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1445 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:50:39 +00:00
twanvl a6198ddf1b correct scope handling for closures, this was broken after the change to not make calls open a scope.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1444 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:35:23 +00:00
twanvl 51dfed69b4 Instead of the new_intrusive<T>() functions, use intrusive(new T)
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00