twanvl
463c3d9a81
(minor) use getAngle() instead of trAngle(0)
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1470 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:53:30 +00:00
twanvl
37da5e1141
init sockets in main function, otherwise the installer window doesn't work if updates were not checked first
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1469 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:51:24 +00:00
twanvl
2bc67b964f
multiple choice checklists also work in non-native look
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1468 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 14:50:30 +00:00
twanvl
17c766c8fc
documented "to_image"
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1467 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 13:48:02 +00:00
twanvl
ff26cb0a4b
fix some tables and links
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1466 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:52:10 +00:00
twanvl
34929bc4e5
"scale down to" works for single line text boxes, fixes #53
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1465 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-03 01:21:58 +00:00
twanvl
69ea39c64f
slightly better error messages when reading an enum value fails: also report the default used
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1464 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 23:05:05 +00:00
twanvl
0fc52a7952
alignment for choice fields rendered as text ( #16 )
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1463 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 21:42:55 +00:00
twanvl
e1d9437320
always draw checkerboard behind default image
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1462 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-08-02 20:53:09 +00:00
twanvl
0625cd0aff
Short-circuiting "and" and "or" operators
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1461 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 23:52:34 +00:00
twanvl
603442e75b
comment
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1460 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-23 14:40:28 +00:00
twanvl
44b3d15a68
warn about invalid conversion to int/double/bool in Reader
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1459 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-22 13:36:05 +00:00
twanvl
66bf7c8521
Fix #10 : Use of saturate function almost always causes a crash.
...
saturate: fix possible division by 0
SaturateImage: fix: had two 'image' members, one inherited, one nullptr, which caused a crash
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1458 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-22 00:29:35 +00:00
twanvl
55599011b4
keep close tags together with keyword parameters, fixes #51
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1457 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 23:33:58 +00:00
twanvl
f7ae4b5a7b
in_tag function now looks for a positive number of tag occurrences.
...
In particular: in "<tag><tag></tag>x</tag>" the x is now in_tag.
This fixes the rest of #20 .
Also added is_in_tag function that returns a bool instead of the tag position.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1456 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 22:42:46 +00:00
twanvl
4c3acef3fa
don't crash when an action=nullptr (partial fix for #20 )
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1455 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:24:51 +00:00
twanvl
c5d92f7d13
don't close window on error
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1454 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:56 +00:00
twanvl
8ed09c48bf
Fixed #24 : nullptr error in graph code
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1453 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:19 +00:00
twanvl
4a31b77d2c
Use a HandleEvent wrapper instead of OnExceptionInMainLoop.
...
This way we don't rely on rethrowing exceptions. This method has proven to work well in other projects.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1452 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:52:40 +00:00
twanvl
864cabb590
fixed nullptr exception when opening a stylesheet without a game twice, the solution is to re-load when loading/validating fails the first time
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1451 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:49:12 +00:00
twanvl
854998f204
Fix #25 : Program throws exception when clicking on the 'stylesheet' list if there are no stylesheets.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1450 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:37:47 +00:00
twanvl
f88d92acab
curly_quotes now considers EM_DASH to be a space, so it uses an open quote after it.
...
Fixes #33
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1449 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:23:57 +00:00
twanvl
f8c7961c03
trim filenames, apparently writing a file "some card " is not possible on windows, it drops the trailing space.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1448 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:06:54 +00:00
twanvl
07d4e8619b
gif export is not supported by wxWidgets
...
This 'fixes' #18 by just removing the option to export .gif files
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:35:59 +00:00
twanvl
70fb9d612b
Fix #19 : Colon in Name Prevents Opening Save Dialog
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1446 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:12:49 +00:00
twanvl
4bdd0d5c01
perhaps "orelse" is better syntax then "or else"?
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1445 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:50:39 +00:00
twanvl
a6198ddf1b
correct scope handling for closures, this was broken after the change to not make calls open a scope.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1444 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:35:23 +00:00
twanvl
51dfed69b4
Instead of the new_intrusive<T>() functions, use intrusive(new T)
...
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00
twanvl
8800500d86
minor code formating things
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1442 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 13:29:20 +00:00
twanvl
35f5de2800
compatibility with older wxWidgets versions
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1441 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 13:20:24 +00:00
coppro
80f815b9ce
Make to_title work correctly; patch thanks to Shiv2503.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1440 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-04-14 22:33:43 +00:00
coppro
85854b1bd2
Fix warnings
...
Semi-fix bug #6 (does not work if the zipfile was loaded from a directory)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1439 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-04 01:46:04 +00:00
coppro
cf91f9c43b
Update copryright date to 2010.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro
f3ec82706e
Wrong quotes lead to issues.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1437 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 22:44:35 +00:00
coppro
4c1c750f05
Set svn:eol-style on all style files that were missing it
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1436 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-01-20 03:32:21 +00:00
coppro
81c6fb87cd
More updates to build system
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1435 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-01-20 03:19:57 +00:00
coppro
c0ce05a341
Fixed some major build system flaws
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1434 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-11 03:44:20 +00:00
coppro
47aa7ce923
Rename 'cannocial_name_form' to 'canonical_name_form'
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1433 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-04 06:04:57 +00:00
coppro
46111fcbad
Build system improvements
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1432 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-04 06:02:06 +00:00
coppro
b561e22476
Fix crash when dragging card list past end.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1431 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:30:07 +00:00
coppro
20c231e31d
Fix debugging typo
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1430 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:03:30 +00:00
coppro
16951810f9
Fixed count on dictionary file.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1429 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-23 08:18:47 +00:00
coppro
5a8f8e8d70
Following a fine MSE tradition of forgetting to svn add new files.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1428 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-28 23:02:54 +00:00
coppro
f2d6714da9
(sorry for making this all one commit)
...
Fiddled with the backbone for scripts some more.
VCS are now suppported in sets but configuration/non-svn-systems missing
Linux build now uses precompiled headers (build time--)
A couple warning fixes too.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1427 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-16 23:40:44 +00:00
coppro
9343e48280
Configure now allows selection of debugging.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1426 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-07 01:20:20 +00:00
pichoro
8d33f63d87
Fixing a little boo-boo in planes. Forgot to define inverted common symbol variation.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1425 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-12 04:00:59 +00:00
pichoro
0858e1a41c
Adding planechase game file, for plane type cards.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1424 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:12:16 +00:00
pichoro
bbc536fe26
Adding chaos symbols to Vanguard.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1423 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:10:31 +00:00
pichoro
d59f4c4305
Adding chaos symbol to mana fonts - set to "C".
...
Magic-mana-future updates by Shiv2503.
Also, changing how curly quotes are handled until curly_quotes is better.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1422 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:09:22 +00:00
pichoro
534faeebcb
Adding magic-new-textless-land template.
...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1421 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:06:06 +00:00