twanvl
d666034e7f
Added raw mode to simplify the interface with other programs
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1056 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 22:17:45 +00:00
twanvl
574644b3eb
If possible all errors are sent to stderr
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1055 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 21:28:24 +00:00
twanvl
6a71b20d26
Files can be written from command line interface
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1054 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 21:01:40 +00:00
twanvl
ef598f2d8c
command line interface can now execute scripts
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1053 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 19:55:34 +00:00
twanvl
c9a402e3f5
don't check for updates from CLI mode
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1052 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 18:50:33 +00:00
twanvl
19bfaa0684
Beginnings of a simple command line interface
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1051 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 18:45:46 +00:00
twanvl
2fb61eb780
Wrapper program for fixing CLI behaviour on windows
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1050 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 15:59:28 +00:00
twanvl
b7caecabf0
detect output redirection on windows
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1049 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 14:46:57 +00:00
twanvl
dd80a51e96
tweaks to dimension list control
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1048 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 14:15:07 +00:00
twanvl
48f1315cda
pack totals on random pack panel
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1047 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 13:52:32 +00:00
twanvl
f9a0afe64e
fixed crash with empty numeric axes
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1046 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 01:57:19 +00:00
twanvl
04a040dc29
random pack generation works
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1045 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-04 01:38:46 +00:00
twanvl
0cb872a0d3
Implemented seed controls on random pack panel;
...
seed settings and pack amounts are stored in settings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1044 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 22:46:53 +00:00
twanvl
d969ae96bd
remember 9 recent sets instead of only 4
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1043 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 20:02:49 +00:00
twanvl
95b5fa67a2
- Added SetWindow::setControlStatusText function for setting the status text of child controls, since wx lacks a feature for doing it automatically.
...
- RandomPackPanel's spin controls are cleaned up when the set is reloaded
- to_int script function now converts empty string: to_int("") == 0
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1042 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 20:01:59 +00:00
twanvl
063a2df8d7
Mana costs like 123/C are now parsed as {12}{3/C} instead of {123/C}. The reasoning is that a cost of {10/C} or more is very unbalanced, so you want that.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1041 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 19:02:07 +00:00
twanvl
bca66f54b9
All three dimensions on stats panel in a single multicolumn list
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1040 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 15:51:47 +00:00
twanvl
9b16e15c57
Added stats dimension for the card's stylesheet
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1039 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-03 02:39:27 +00:00
twanvl
76d2eb7d42
Remove curly quotes for MWS and apprentice export
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1038 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 20:43:45 +00:00
twanvl
de0817099a
some provisions for sorting card list by multiple columns
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1037 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 20:34:47 +00:00
twanvl
2f5666ac5b
dependencies of extra card fields are now also added and updated;
...
this fixes combined_editor in extra fields.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1036 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 19:16:30 +00:00
twanvl
7aef2948e2
correct parent for file open dialog in ImageValueEditor
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1035 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 17:10:11 +00:00
twanvl
76c71e5800
Catch all exceptions in onPaint functions, because otherwise we show a message box. Message boxes while in a paint handler lead to a crash on win32.
...
Made a CATCH_ALL_ERRORS macro containing the common catch statements.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1034 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 17:04:30 +00:00
twanvl
fb411139d1
minor tweak of website syntax highlighter
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1033 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 15:27:08 +00:00
twanvl
6f8c1d1484
changed function name (exportCard -> includeCard), because it better describes what the function does.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1032 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-02 15:25:37 +00:00
coppro
b49966dc03
Updates, including improvement to atomic code to ensure portability.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1031 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-01 20:58:09 +00:00
pichoro
4e55f0a208
Corrected some errors in Simplified Chinese translation. Still only up to date as of 0.3.6b.
...
Added German translation. Also only up to date as of 0.3.6b.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1030 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-24 23:52:06 +00:00
twanvl
c476de0fa2
Fixed: containsPoint for color and image value viewers. They used the wrong Rotation.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1029 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-23 12:39:07 +00:00
twanvl
13a37f4734
Simplified compilation of 'assert' pseudo function;
...
Added remove_duplicates flag to sort_list function;
Fixed documentation of <size:> tag
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1028 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-22 22:46:04 +00:00
pichoro
4a8c4ba14b
Fixed an error in Vs-Standard-New.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1027 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-20 22:45:24 +00:00
pichoro
a70d9370a3
Fixed an error in Vanguard style when printing or doing print preview.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1026 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-20 22:42:04 +00:00
pichoro
2d91d4dc18
Colored lands for Magic-New-Flip.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1025 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-15 23:27:08 +00:00
twanvl
4bab20d67c
Fixed: Incorrect comparison operator for AColor caused Scriptable<AColor>s to not be updated when only the alpha changed.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1024 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 18:01:36 +00:00
twanvl
3c4aa8346b
Correctly merge backspace actions
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1023 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:37:39 +00:00
twanvl
c733a1fae4
delete commented out code
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1022 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:08:21 +00:00
twanvl
8881eef42d
Changed Pack structures
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1021 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 17:07:51 +00:00
twanvl
f235eeb100
Non-integer numeric values are sorted correctly in graphs
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1020 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-11 16:38:14 +00:00
twanvl
684de303e0
Fixed crash caused by exception in SetWindow ctor
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1019 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 23:03:29 +00:00
twanvl
a0e0ab7149
controls to select packs on the RandomPackPanel
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1018 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 22:32:16 +00:00
twanvl
10fdcc422b
documented precedence of ^ operator
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1017 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 21:55:52 +00:00
twanvl
53808346a4
Allow "or else" construct to be used for error recovery
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1016 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 17:14:49 +00:00
twanvl
9073764a62
documented new script functions
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1015 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 16:28:46 +00:00
twanvl
bde65525ad
some fixes to ^ operator
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1014 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 16:03:13 +00:00
twanvl
7cb2292d36
Added ^ power operator,
...
Added abs, random_int, random_real, random_shuffle, random_select script functions.
Made == comparison of doubles use a small epsilon, so things like 3/2 == 1.5 are actually true.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1013 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-07-09 15:51:07 +00:00
pichoro
69fed99633
New saturated multicolor and dark artifacts for magic-new-flip, magic-new-split, magic-new-promo, and magic-extended-art styles.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1012 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-30 20:07:59 +00:00
twanvl
64b7912835
Incremented version number to 0.3.7
...
When saving files an older version number is used if that version of MSE would be able to open the set
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1011 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 16:31:40 +00:00
twanvl
c0669fb658
Fixed length function to work correctly for ScriptObjects, in particular for TextValues.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1010 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 15:13:04 +00:00
twanvl
737dc6f15e
docuemntation: + also concatenates lists
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1009 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 15:03:27 +00:00
twanvl
c0d114c4a2
Fancier error messages for assert(X == Y)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1008 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 14:51:20 +00:00
twanvl
dfae1b2729
Added count_chosen function;
...
Added I_DUP instruction
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1007 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-06-28 14:41:38 +00:00