Commit Graph

1103 Commits

Author SHA1 Message Date
twanvl 1654935a4f don't include spacing in symbol font text drawing alignment&size calculations
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1119 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 15:29:57 +00:00
twanvl 07d509ae78 Fixed: last cursor position of text box was not checked when trying to find new cursor position.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1118 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 14:41:38 +00:00
twanvl d48e93f6a5 documented :cd and :pwd commands
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1117 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:55:49 +00:00
twanvl 9e77a63526 Allow writing files anywhere from the command lines interface, not just in the working directory
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1116 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:54:17 +00:00
pichoro 1b57db2f97 Provided for rulestip card sorting in Magic game file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1115 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:38:17 +00:00
twanvl 76728dfed9 Package icons will be loaded from installers if possible
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1114 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 00:39:06 +00:00
twanvl d14af1c43a Fixed possible crash in dependency checking
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1113 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 23:53:59 +00:00
twanvl e575af3320 fixed: packages can now be upgraded from installers, their status was not updated
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1112 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 23:53:20 +00:00
twanvl 0556bc2f31 some more locale changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1111 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 23:34:02 +00:00
twanvl 6728040fc0 export template uses 'cards' instead of 'set.cards'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1110 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 22:27:56 +00:00
twanvl f870f48b13 HTML export widow also uses cards selector
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1109 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 22:16:06 +00:00
twanvl 3c5ec28d8d new card selection thingy also used for "export all card images"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1108 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 21:51:58 +00:00
twanvl 2d2c434bd8 Generated packs can now be selected for printing.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1107 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 21:35:38 +00:00
twanvl 5cde673976 don't refresh stats panel when only a style changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1106 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 19:04:14 +00:00
twanvl 47c5fd2d7a random seed settings stored at the right time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1105 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 19:01:44 +00:00
pichoro d77b2745f4 Improved pack structure for Magic to deal with tokens/rulestips.
Added rudimentary pack structures for Vanguard, VS System, and Yu-Gi-Oh.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1104 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:53:11 +00:00
twanvl 0a19ecf83d NO_REPLACE is default for packs
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1103 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:38:19 +00:00
twanvl d3e2ffd370 Ctrl+Enter is the add card/keyword shortcut
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1102 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:36:37 +00:00
twanvl 893547aff2 Locale now sneakily also recognizes lines marked as #_ADD
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1101 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:25:47 +00:00
twanvl 384671b36c First stage locale fixing: Mark things to ADD
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1100 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 17:47:30 +00:00
twanvl 9ae03bfeb0 Program to merge changes between different locale files.
This makes it easier to add new keys to the non-english locales.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1099 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 17:23:38 +00:00
twanvl 5baabc33d4 also whine about 'mse version' declaration in locales.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1098 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 16:39:55 +00:00
twanvl 8389ed0c9a Fixed: include files where not read with the same ignore_invalid settings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1097 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 13:55:59 +00:00
twanvl 8b01aa1823 Ignore --color flags when creating installers and when exporting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1096 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 13:41:32 +00:00
artfreakwiu 1c6d36b820 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1095 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-08-08 06:21:59 +00:00
pichoro 58fecee751 Bumping versions of Magic templates that were edited.
Removed extra dependancy from Magic export template.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1094 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 05:21:46 +00:00
pichoro 35b0c75587 0.3.7 Update for VS System.
- Updated statistics.
- No more auto-bolding of lowercase keywords.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1093 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 03:10:53 +00:00
pichoro 1cab0e7c15 0.3.7 Update for Vanguard.
- Upgraded Statistics.
- Scripts refurbished based on latest Magic scripts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1092 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 03:09:16 +00:00
twanvl 01a220f199 Made symbol font size and alignment scriptable.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1091 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 00:35:53 +00:00
twanvl 01630e0f5f Add padding_right to nativLook text boxes, to account for the scrollbar
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1090 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 21:12:53 +00:00
twanvl e4d2df4827 Separate card numbers for tokens
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1089 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:52:15 +00:00
twanvl efcf445878 The card shape depends on the stylesheet
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1088 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:50:35 +00:00
twanvl 44f6acade7 Dependencies on stylesheet are marked, and updated when the stylesheet changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1087 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:50:19 +00:00
twanvl ee9060077b Fixed conversion bug in position_of function;
to_real no longer needs to throw exceptions when conversion fails

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1086 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 19:39:06 +00:00
twanvl 7eb05cbd7e Moved clean_filename to file_utils.cpp where it belongs;
Split up images exporting, and moved it to data/formats/image

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1085 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 18:04:49 +00:00
twanvl 2ced942d47 Fixed error in planeswalker template and added style panel icons
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1084 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 16:27:48 +00:00
twanvl b5bdaedde2 Fixed conversion from Values to other types: Values now report being of the contained type.
Added toImage function to ScriptValue.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1083 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 16:26:33 +00:00
twanvl 40719b7831 removed write_stdout function, now handled by CLI class
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1082 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 02:48:20 +00:00
twanvl d98812673d Added some icons for fields on the style panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1081 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 02:43:06 +00:00
twanvl c6fe6634dd Tweaked the way to use getScript() like functions;
Made condition and default_expand parameters of expand_keywords optional.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1080 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:54:13 +00:00
twanvl 36065707ab documented expand_keywords changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1079 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:47:28 +00:00
twanvl 2c6c6645f7 Lower case keywords are now recognized, but only if all parameters are given.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1078 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:01:51 +00:00
twanvl 1d38312d05 Moved part of keyword matching into a separate function; it was way too long
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1077 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 00:24:02 +00:00
twanvl ee4aa6f50e Allow selected card from random pack to be exported
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1076 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 00:22:38 +00:00
twanvl c2182c1421 Fixed pack item for basic lands
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1075 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 00:22:01 +00:00
twanvl 04d811c96e slightly different stats icons for creature race and class
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1074 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-06 21:33:06 +00:00
twanvl 2b3bae9549 The magic game file was getting way too long, so I split it into several files.
As a bonus the keywords and perhaps other reusable parts can now be used by vanguard with "include file: /magic.mse-game/keywords".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1073 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-06 16:18:33 +00:00
twanvl b586790421 Cleaned up handling of what things should be drawn by using the DrawWhat enumeration type.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1072 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-06 03:05:40 +00:00
twanvl 6c782bb033 Changed the way the FilteredCardList on the stats panel selects cards:
used to: by running scripts on cards and comparing to string value of selected group
  now:     by keeping a list of group_ids for all cards, and comparing indices
Added 'bin size' attribute for making a histogram of numeric axes.
Added 'Text length' statistic.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1071 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 23:13:26 +00:00
twanvl 52ccd7b573 not much point in the combine being scriptable (?)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1070 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-05 20:59:47 +00:00