Commit Graph

1319 Commits

Author SHA1 Message Date
twanvl 37ea36005d free spelling suggestion list from hunspell
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1336 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:44:45 +00:00
twanvl 18730641db fixed spelling correction popup when there is no extra dictionary
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1335 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:39:29 +00:00
twanvl e08dc8e8c9 fixed script error
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1334 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:25:53 +00:00
twanvl 3d7367fc9d don't ignore line.top when aligning text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1333 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:13:20 +00:00
twanvl c98f8245d8 init pack total control before setting sizer, so CustomPackDialog gets the right size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1332 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:45:18 +00:00
twanvl c7c028b026 fixed: version number propagates to included files
magic pack template now uses 'pack type' instead of 'pack item'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1331 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:43:15 +00:00
twanvl 30d3343a2c check for duplicate pack names
don't allow a new pack to be 'removed'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1330 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:55:31 +00:00
twanvl 1b90f0666c fixed bug: empty OptionalScript were saved as empty string, causing parse error when reading.
custom pack types can now be removed again.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1329 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:47:50 +00:00
twanvl e3cdb2bea7 adding & editing custom pack types now works.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1328 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:37:03 +00:00
twanvl d3922cb59d make pack type labels clickable (based on HoverButton).
use set_help_text instead of the previous thing in SetWindow.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1327 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:34:54 +00:00
twanvl 2bc3e78134 tweaks to set_help_text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1326 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:33:43 +00:00
twanvl 0a26e17de8 set_help_text function to add status bar help texts to any window
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1325 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:15:06 +00:00
twanvl ad415f655f change the time_modified of cards in actions, and restore it on undo
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1324 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 20:02:58 +00:00
twanvl eba29d38e7 don't merge actions that have been undone before, for example:
typing1 Ctrl+Z Ctrl+Y typing2 Ctrl+Z
removes just typing2, not both.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1323 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 20:02:21 +00:00
twanvl c338444e43 The writer now writes less unused blocks, especially for unused DelayedIndexMaps
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1322 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 19:39:22 +00:00
twanvl 4fde933a11 added time_created and time_modified to Card. This changes the file format
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1321 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 19:07:14 +00:00
twanvl 2dab839906 tweak: slightly less dark lines in graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1320 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 16:24:52 +00:00
twanvl f8f112d240 left align text in package list if it doesn't fit, so we only cut of the end
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1319 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:59:50 +00:00
twanvl 6fdb7f92b1 Added CustomPackDialog for user constructed PackTypes.
There is no UI for using these custom types yet.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1318 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:43:15 +00:00
twanvl be08fac89b the new pack system is alive!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1317 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 03:03:04 +00:00
twanvl 392e4d854b don't pass requested_copies again, that would result in n^2 cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1316 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 03:02:52 +00:00
twanvl 583c1384c2 use gen() instead of rand()
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1315 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:56:14 +00:00
twanvl 689f5dfd3a fixed tag eating and text duplication in spellchecker
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1314 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:43:35 +00:00
twanvl 559a6ce1d8 - fixed SELECT_FIRST behavior: 0 >= 0
- added DoGetBestSize to PackTotalsPanel, so the text always fits

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1313 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:22:43 +00:00
twanvl 7d1bb77163 tweaks to compact reading with tag.isComplex(): no longer requires that many hacks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1312 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:03:24 +00:00
twanvl 432cdcd583 mostly backwards compatibility with old pack system, uses boost tribool
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1311 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:49:14 +00:00
twanvl bce5761781 remove automatic <nospellcheck> tags, made the keyword reminder text code a bit easier to read.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1310 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:11:34 +00:00
twanvl 02e676c54b the new pack system now actually works (yay!)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1309 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:04:24 +00:00
twanvl 6fe82983ed sort card list by identifying column if value in selected column is equal
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1308 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 18:51:12 +00:00
twanvl a8f4ff5afa locale version 0.3.8
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1307 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:39:47 +00:00
twanvl 157aae1179 version bump
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1306 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:33:13 +00:00
twanvl c9a11b2198 fixed assert_tagged for release builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1305 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:32:43 +00:00
twanvl 05ba96ab3e slightly less tagged string checking
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1304 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:25:36 +00:00
twanvl eed4c5301e - Added some calls to assert_tagged
- The tag_contents script function now works as advertised:
     - uses 'input' script variable instead of 'contents'
     - keeps the full old tag, not the one from 'tag'
     - no template code in svn breaks.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1303 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:14:20 +00:00
twanvl f134edb09d added check_tagged function that verifies that a tagged string is correct, this helps with debugging.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1302 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:10:54 +00:00
twanvl 794587d983 multiple choice style . alignment, direction are now scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1301 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 15:21:39 +00:00
twanvl 4f969f7fe2 fixed text placement in multiple choice check lists
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1300 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:37:06 +00:00
twanvl 5d78df944d fixed bug in keyword parsing: seperator_after contained the whole string, causing it to be duplicated
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1299 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:33:00 +00:00
twanvl 1541d57c1a use font settings for drawing multiple choice text labels, spacing and direction are scriptable.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1298 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:19:17 +00:00
twanvl 9551d600eb save open_sets_in_new_window setting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1297 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 13:52:53 +00:00
pichoro 4a64c97d62 Removed ~THIS~ from magic.mse-game/auto_replace due to redundancy with ~.
Added first version of horizontal cycle to magic.mse-game/add_cards_scripts. Should be expanded upon when dialogs are done.
Altered magic.mse-game/packs to give illusion of handling mythic rares by including in rare pack items.
Tweaked text size on magic-new-token.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1296 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-07 06:29:41 +00:00
coppro cf4aea531d Game settings loading is now deferred until the game is fully loading.
This allows auto replaces to be properly loaded from the game file.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1295 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-07 00:20:10 +00:00
pichoro 018b6a6c6b Put ~ back in text_filter. Why? Because I believe that 99.9% of users won't realize to update their automatic text replacements, and will report an error that the tilde no longer functions. Is it possible to just have automatic text replacements update when new ones are added, while keeping custom ones?
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1294 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 20:25:37 +00:00
coppro 1c925a6225 Upped MSE's version number; pushed up M:tG's game version (spellcheck).
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1293 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 19:52:09 +00:00
coppro 3ee71ef6ae Added a lot of BOMs; cleaned up text replacements into auto_replace scripts.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1292 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 19:10:05 +00:00
pichoro 3a935ce9d2 Trying to put a stop to bolding of parameters in VS.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1291 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 18:26:32 +00:00
pichoro 2888ee8adf Commented out Invaders, Kree, and Skrull in VS symbol fonts because we likely won't have those images by 0.3.8 release.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1290 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 21:08:56 +00:00
pichoro 3f9891bbdc Removed ` from LEGENDNAME replacement; that wasn't a bug.
@ is replaced with LEGENDNAME in automatic text replacements, as the community preferred @ as the shortcut.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1289 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 21:07:05 +00:00
coppro ed16dd6864 Updated dictionary
Added new <nospellcheck> tag, to prevent spell-checking of words within.
Prevented spellchecking of anything a) matching a keyword or b) formed from a cardname atom
Replaced ` as LEGENDNAME alternative; I think it's a bug that it's gone


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1288 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 06:16:02 +00:00
coppro 697bfc3e7e Fixed scroll issues; text no longer overlaps on package lists (still truncated, but this at least is better)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1287 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 23:00:25 +00:00