artfreakwiu
bc03fd183b
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1209 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-08 03:12:01 +00:00
artfreakwiu
004c713ea5
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1208 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-08 03:11:19 +00:00
artfreakwiu
5d47e0f4d0
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1207 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-08 03:10:58 +00:00
coppro
692d5b6286
Updates to make things work.
...
Some trivial things that are required to make it work on Linux.
Also updated build scripts to use Boost. You have to use
./configure --with-boost-regex=<libname, suitable for -l>
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1206 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-07 17:21:25 +00:00
pichoro
4304750f3c
Adding planeshifted and futureshifted splits to source.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1205 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-05 03:18:00 +00:00
pichoro
0d30434667
Adding Magic-old-promo and Magic-old-textless to source.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1204 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-05 03:14:40 +00:00
pichoro
cc27a19248
Adding FPM Planeswalker style to source.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1203 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-05 03:12:29 +00:00
twanvl
3ce35e8b00
Reduced flicker in card list
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1202 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-04 11:45:23 +00:00
twanvl
f405b82ce2
Split script profiler into a separate file
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1201 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 20:55:48 +00:00
pichoro
d0e83dd277
First Shards of Alara keywords for Vanguard.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1200 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:57:35 +00:00
twanvl
9d1a23ad53
Use Regex instead of wxRegEx everywhere
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1199 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:55:59 +00:00
pichoro
de003f6e8f
First Shards of Alara keywords for Magic.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1198 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:55:50 +00:00
twanvl
5d9c5fbf46
Don't show message boxes for assertion failures, since this can lead to crashes when in OnPaint
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1197 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 17:53:15 +00:00
twanvl
7c83ff01f4
Made a Regex class that wraps either boost::regex or wxRegEx (split from ScriptRegex).
...
Use Regex for keywords.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1196 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 14:43:11 +00:00
twanvl
9c9a2aec61
Added note that in_context is slow
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1195 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-03 14:39:00 +00:00
twanvl
7e3f9cccdc
Some tweaks of the regular expressions to improve performance (in_context is slow!)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1194 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 20:53:56 +00:00
twanvl
f1f4c30e44
Simplify regex code by moving things to the Results class, and by using iterators instead of positions
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1193 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 18:56:39 +00:00
twanvl
aab910dc38
(optionally) use boost::regex instead of wxRegex, because it is faster
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1192 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 16:29:05 +00:00
twanvl
9709364ee7
Script profiler for finding slow scripts
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1191 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 16:27:47 +00:00
twanvl
4ad8c9f813
Fixed msvc 7.1 internal compiler error with new boost version
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1190 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-02 15:46:05 +00:00
twanvl
dc9053baef
Delay the construction of controls is SetWindowPanels until the panel is actually shown (initUI). This makes the program start slightly faster.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1189 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-01 17:21:17 +00:00
pichoro
371795d740
Updated Italian translation by Eriol.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1188 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 21:59:37 +00:00
twanvl
56463a8806
Added empty_name to PackageChoiceField;
...
Package choice fields now reflect in scripts as "/:NO-WARN-DEP:packagename". This suppresses warnings when loading files in that package or using the package as a symbol font.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1187 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 19:42:30 +00:00
twanvl
20b40585f6
Some changes to the package manager:
...
- use a single button for install/upgrade
- show versions of installed package and installer
Named actions in enum PACKAGE_ACT_* to avoid confusion with the status enum.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1186 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 18:57:55 +00:00
twanvl
7e60aab603
Allow cards to be pasted when another control is selected.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1185 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 00:15:22 +00:00
twanvl
dc0fee0369
Fixed: CardViewers fighting over styles when multiple windows are open
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1184 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-31 00:07:30 +00:00
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