twanvl
a2af3211a4
Moved mask to Style and mask related drawing to ValueViewer.
...
Used the same mask also for TextStyles.
To keep the text selectable (since the mask is now also used for containsPoint), the future sight cost masks needed to be updated.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1183 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 23:49:12 +00:00
twanvl
a183ecc9a6
New class CachedScriptableMask: like CachedScriptableImage, only containing an AlphaMask instead of an Image/Bitmap.
...
Use CachedScriptableMask for all masks.
TODO: This introduces some duplicate code in ValueViewers that could be fixed by moving mask to the Style base class.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1182 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 21:51:38 +00:00
twanvl
acb3493b59
Merged behaviour from ContourMask into AlphaMask.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1181 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 17:15:22 +00:00
twanvl
db09cdb5bc
minor fix after change in scripting language parser
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1180 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 16:52:53 +00:00
twanvl
6e19511d48
minor fixes for building with vs2008.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1179 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-30 13:14:30 +00:00
twanvl
ce906e83f8
Cleaned up the calculation of bounds of symbols, this fixes bounds calculation with symmetries.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1178 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 23:46:31 +00:00
twanvl
4b2a36bba8
Added (partial) support for making cards in French style
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1177 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 18:56:55 +00:00
twanvl
3d1fbef2f6
minor fix after change in scripting language parser
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1176 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 18:53:54 +00:00
twanvl
dc9405e441
Added some more classes for ScriptErrors;
...
Added split_text function, which is the 'opposite' of break_text;
Script code "f\n(stuff)" now parses as "f;stuff" instead of a function call, "f(stuff)";
Fixed bug in cursor movement, which caused the closing > of a tag at end of input to be overwritten.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1175 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 18:44:59 +00:00
twanvl
9abfdd171c
added "for each k:v in .. do .." statement
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1174 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 13:06:24 +00:00
twanvl
f510a35647
typo in documentation
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1173 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 11:58:29 +00:00
twanvl
b07e4a7886
Setting for opening sets in the same window (pre 0.3.6 behaviour)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1172 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 11:58:14 +00:00
pichoro
2a44831149
New styling choice for p/t font on old style Magic templates.
...
Removing some vestigial "hpt.jpg" files.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1171 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-26 05:40:12 +00:00
twanvl
2eb40f9503
documentation: write_set_file is new in 0.3.8
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1170 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:49:56 +00:00
twanvl
42d40dbd1e
Added Package::saveCopy, which is used to implement the write_set_file script function.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:48:51 +00:00
twanvl
2a4a896540
fixed printing of rotated cards
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1168 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:27:54 +00:00
twanvl
0b24e1ab20
fixed crash in cursor movement code when adding keyword parameter
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1167 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:27:11 +00:00
twanvl
b28ae56b25
close scopes in exception handler
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1166 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:26:31 +00:00
twanvl
9f4d666eed
There is no need for the +0 in "cmc(param) + 0"
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1165 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:42:52 +00:00
twanvl
644268a72d
cmc now works correctly with keyword parameters
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1164 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:41:21 +00:00
twanvl
167cde312b
include subdirs of {vs,vanguard}.mse-game in the installer (stats icons)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1163 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:29:03 +00:00
twanvl
c81049a7f5
cmc("0") == 0
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1162 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:23:01 +00:00
twanvl
c8fb341e1a
Fixed random_int and random_real functions; added random_boolean.
...
Split random_select into random_select and random_select_many.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1161 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:08:13 +00:00
pichoro
6d45dc8a26
Updated German translation by Nitro.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1160 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-22 17:28:25 +00:00
coppro
373672810b
Tweaks to color-defining CDA abilities - no longer detect colors in card names.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1159 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-22 03:55:12 +00:00
coppro
ec63e3b18b
More workingness, now accepts locally-stored resources!
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1158 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 04:06:50 +00:00
coppro
d13b721b41
Updates to make Linux work... still lost of issues.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1157 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 02:41:30 +00:00
pichoro
30afb08930
Fully translated French locale.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1156 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 01:16:33 +00:00
pichoro
6246ce533a
Fixing a stupid error I made.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1155 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-20 17:53:50 +00:00
pichoro
25bd608784
Refining Magic subtype lists (mostly according to Comp Rules)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1154 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-20 03:15:32 +00:00
artfreakwiu
c08fac5376
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1153 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-12 07:00:27 +00:00
artfreakwiu
75ae5619b6
small error fixed in ygo game
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1152 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 23:09:30 +00:00
artfreakwiu
efb6a5a614
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1151 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 22:43:27 +00:00
artfreakwiu
db7fd02d9f
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1150 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 22:40:17 +00:00
twanvl
fe5878e3d8
Documented add cards scripts and the new_card function
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1149 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 21:10:59 +00:00
twanvl
99b07668ec
Added some 'add cards script's to the game file
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1148 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:54:24 +00:00
twanvl
f1fe40b4ef
Added new_card function;
...
Added parameter to ScriptValue::next to recieve the key of the item.
Finished Add Multiple Cards behaviour.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1147 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:52:33 +00:00
twanvl
ca63496ade
Inheriting CardViewer from wxPanel was causing problems with the focus
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1146 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:48:47 +00:00
twanvl
3d6a6d31e7
0.3.7 updates message
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1144 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 18:16:17 +00:00
twanvl
431cb43bae
0.3.7 installer
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1143 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 18:10:53 +00:00
twanvl
a8e4425dcc
Tweaked symbol fonts after change of how spacing is handled
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1142 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 16:57:51 +00:00
twanvl
7fb1d68125
Automatic locale fixes for 0.3.7: en -> it, en -> cht
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1141 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 15:56:12 +00:00
twanvl
25a301b070
Partial support for add multiple cards scripts, not visible to users yet
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1140 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 15:48:20 +00:00
twanvl
1691efd6d5
card viewers/editors inherit from wxPanel;
...
GallertList doesn't call select() from onSize
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1139 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 14:04:00 +00:00
twanvl
520b472483
Resize list of stylesheets to fit available space
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1138 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 13:23:29 +00:00
twanvl
5fddaa3715
Multicolumn support (major level) for gallery list
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1137 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 12:21:38 +00:00
twanvl
62d86bf8c3
use margin instead of vspace at the bottom of NativeLookEditor
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1136 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:57:53 +00:00
twanvl
76c3950c89
Use locale to translate pack names things
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1135 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:57:18 +00:00
twanvl
351d5b7613
renamed GalleryList member column -> subcolumn, so we can have proper columns later on as well.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1134 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:56:35 +00:00
pichoro
36db4512c5
Re-added ability to get single cards to random pack generator of Yu-Gi-Oh.
...
Version bumped Yu-Gi-Oh files that were edited.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1133 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 00:30:14 +00:00