coppro
30671ad5b0
Fixed a bunch of linker errors preventing optimized compile on Linux.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1352 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-14 19:13:05 +00:00
twanvl
0bc1c1af30
show version number on welcome screen
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1351 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 22:18:42 +00:00
pichoro
ac2954c1ea
Vanguard random card picker was messed up.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1350 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 21:44:05 +00:00
twanvl
ebf2e4c079
documented the time_created and time_modified members of Card
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1349 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:39 +00:00
twanvl
ad5e22e7c5
Added script support for wxDateTime values:
...
- added ScriptDateTime type
- added to_date function
- added date formating support to to_string.
- documented all of the above.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
pichoro
13daa528b7
Adjusting keywords a little.
...
Fixed magic-future-flip, and improved border mask.
Bumped magic-future-textless so that magic-future-promo can depend on a new version of it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1347 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 04:45:38 +00:00
twanvl
ba4672b0b2
Support for english_number_a/process_english_hints to detect when "a" should be "an".
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1346 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 03:07:27 +00:00
twanvl
0fcd379cee
added "unblockable" to magic dictionary
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1345 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 02:21:44 +00:00
twanvl
eaf5e9bef2
keywords from the set file take precedence over keywords from the game file
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1344 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 02:17:31 +00:00
twanvl
1ae654082d
documented new pack system.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1343 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:38:58 +00:00
twanvl
8b9c2b4064
while it is still possible: renamed select:cyclic to select:equal.
...
Added "equal proportional" and "equal nonempty" for symmetry.
select:equal now takes weights into account.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1342 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:36:17 +00:00
twanvl
c8dd777bca
EnumReader now warns about the correct string,
...
parse_enum function throws if the string can not be parsed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1341 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 00:45:21 +00:00
pichoro
8c1cf2a0a6
Updating pack structures for Vanguard, VS, and Yugioh.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1340 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 21:59:39 +00:00
pichoro
14c118e86e
Adding add_multiple_cards script for group of basic snow-covered lands.
...
Changed default settings for Magic to more closely match real Magic sets.
Minor adjustments to magic-new-split.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1339 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 21:58:47 +00:00
twanvl
ac6b8f77ac
while there is still time to make changes to the file format: s/probability/weight/
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1338 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 20:22:11 +00:00
twanvl
4200e4ae0a
made isComplex() function cope with the looping of the IMPLEMENT_REFLECTION function
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1337 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 20:21:14 +00:00
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