Commit Graph

773 Commits

Author SHA1 Message Date
twanvl b006faaabd updated documentation of the 'style' data type
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@785 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-26 17:42:06 +00:00
twanvl dcfac836fa Optimization: removed the conversion via wxImage for downsample_to_alpha (profiling indicated it was a bottleneck)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@784 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 03:34:41 +00:00
twanvl 547a48b98d - Optimization: common parameters to built in functions are no longer looked up as a string at each call, instead their integer ids are global constants
- Optimization: some other minor tweaks.
 - Nicer --help message

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@783 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-24 02:04:45 +00:00
twanvl b79f52db84 New rotation system (see forum thread).
Major changes:
  - when rotating, the top left corner of the rectangle stays in place.
  - ValueViewers get a dc that is pre-rotated/translated for them, i.e. (0,0) is the top-left of the viewer (with ValueViewer::getRotation).
  - moved 'angle' from individual Styles to the Style base class.
  - any rotation angle is now possible. angle is still an int for now.

This warrants a version bump

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@782 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:58:58 +00:00
twanvl 94e4a1ce9e Category selection in statistics panel now goes using a separate list for each dimension.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@781 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-23 21:49:48 +00:00
twanvl 5b62c3f9b7 Added convex hull function to ContourMask for drawing nicer borders around masked fields
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@780 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-22 19:22:32 +00:00
twanvl 07de34640e Improved scrolling behavior of GalleryList
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@779 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-22 18:18:18 +00:00
twanvl e7c30305b0 fixed the documentation on 'right' and 'bottom'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@778 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-21 19:07:33 +00:00
twanvl 1cb5700a00 Added compact syntax for package dependencies:
"depends on: package version"

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@777 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-21 18:14:51 +00:00
twanvl 1ee9eeb578 next time, save before you commit...
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@776 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-21 18:10:58 +00:00
twanvl 9d1a105712 Added a 'tree list' control, which will be used for the package/updates window to be able to group packages
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@775 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-21 18:09:57 +00:00
twanvl f52c288aeb stylesheet and export template have a dependency on the game
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@774 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-20 20:03:55 +00:00
twanvl 25457f8512 Added --export command line flag
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@773 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-20 20:03:26 +00:00
twanvl 125dbe53af AlphaMask combines alphas instead of overwriting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@772 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-20 19:40:35 +00:00
twanvl 306b996ee0 fixed sorting of locale combo box
made update_checker compile in vc

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@771 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-12-12 16:21:35 +00:00
coppro a20746422e More fixes for Mac.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@770 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-11-08 04:26:48 +00:00
coppro d1ce2232cb Apparently GCC considers #elseif a substitute for #elif.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@769 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-20 02:57:13 +00:00
coppro fc28cf099a Fixed TLS
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@768 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-19 00:16:14 +00:00
coppro a7efdf89c2 Added some stuff for platforms without TLS
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@767 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-18 23:55:24 +00:00
coppro d0506a59f4 Fixed some minor compile/install bugs.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@766 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-17 04:27:08 +00:00
pichoro cca633aa38 Fixed some problems with magic-extended-art.
Added infinity mana symbol.
Added insert symbol menus to all symbol fonts that were lacking them.
Updated font color choice for fpm promo to improve readability.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@765 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-13 06:18:39 +00:00
pichoro 998cb95889 Fixed dependancies for Vanguard, VS, and Yu-Gi-Oh.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@764 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-06 04:04:38 +00:00
pichoro 6da4e9b3d0 Made a change to casting costs in all new Magic styles. They're still not perfect, but closer.
Corrected a mistake in extended image styling for magic-new and magic-planeshifted.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@763 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-10-06 03:37:37 +00:00
coppro dd656ba1bd Fixed "regex escape" function, and updated a script that needed it.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@762 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-30 14:37:18 +00:00
pichoro 01dbd8cb7b Updated reminder texts for Changeling and Clash.
Adjusted fields for magic-planeshifts and alignment in magic-new-promo.
Added transparent mana symbol watermarks.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@761 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-29 05:43:06 +00:00
coppro ca13be9fb7 Updated for The Grand Creature Type Update
NOTE: I removed the default list of creature types. I don't want it 
gone, I just found the update easier to make without a simple list. If 
someone else feels like making one themself, I don't object.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@760 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-28 03:22:09 +00:00
coppro 2fcf2f359d Finished update window (YAY!)
Updates now work, and have been tested.
Made a few other updates.
To work on: aesthetics?


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@759 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-26 22:13:39 +00:00
coppro f580d8a48f Moved futursight symbols to lowercase filenames - required for proper use of installers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@758 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-26 02:07:24 +00:00
coppro 30e18663f6 Added some new update code (YET TO BE TESTED) and some fixes to the VS
templates.
Still looking to find one source of a reference to 
"futsymbol_artifact.png" (case-sensitive)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@757 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-25 23:28:12 +00:00
coppro 3ea0a4abd7 Made it so that update window and set window can't be open simultaneously (don't explode the set by deleting the style, say).
Made update window enforce dependencies
Added update button to welcome window (need icon still)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@756 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-25 02:02:53 +00:00
twanvl a57c20aa4f Fixed export template grouping yet again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@755 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 22:19:11 +00:00
twanvl 4c40394ba5 Now also requires a dependency for symbol fonts;
Fixed all the dependency warnings for the magic templates

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@754 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 21:54:52 +00:00
twanvl 36a36356c5 The 'Big Whine' patch:
Any use of a file from another package without a declared dependency will give a warning;

Also added some more _LOCALE_123_ macros so we need less format_string calls

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@753 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-24 20:24:22 +00:00
coppro efcccb79c4 I'm retarted
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@752 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 22:19:54 +00:00
coppro ba7010ecec Fixed some problems with the last commit (like I had to rewrite my
entire perl script, which was somehow deleted).


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@751 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 22:17:41 +00:00
coppro 1f59376b54 Added perl script to generate updates page.
Added/fixed versioning in data.
Added more framework to update checker.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@750 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 21:49:10 +00:00
pichoro d17fe83474 Upgraded font colors for future-textless.
Added "trim" step to separate_word script for Magic.
Changed card.full_name field to recognize "shifted splits" as splits.
Corrected an error in split sorting.  U // 1U was sorting as multicolor split.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@749 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 19:33:05 +00:00
twanvl 9fe5148292 Argument to set_alpha is 'input', not 'image'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@748 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-23 00:55:11 +00:00
coppro 51aa9ae9fd Fixed all the capital-letter images. In the future, all should be lowercase, for consistency
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@747 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 23:30:40 +00:00
coppro 6a0dbc81d3 Removed unused code from linux installer script
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@745 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 14:24:24 +00:00
coppro 1b8f4b1276 Added Makefile.in - more autoconf goodies
Fixed a couple of minor things.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@744 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 14:14:19 +00:00
twanvl 1580b8deaf Fixed bug in smart_less, strings ending in numbers were compared incorrectly;
Text viewer now doesn't scale when there is a line break inside a word;
Fixed: extra newline was inserted when there was a line break inside a word if there was padding.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@743 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 13:10:51 +00:00
twanvl b9cd3a433b Fixed sorting of cards whos names start with a number
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@742 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-22 11:07:08 +00:00
pichoro 147c787eb3 Typeline adjustment in magic-new.
Fixed hybrid sorting.
Fixed part of hybrid futureshift p/t colors.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@741 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 23:35:29 +00:00
twanvl 69140171be Size of rarity symbol on fpm templates
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@740 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 19:18:05 +00:00
twanvl 6e020daf92 Also added XYZ images to magic-mana-beveled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@739 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 19:02:46 +00:00
twanvl 9c62b74517 X,Y,Z mana symbols are now separate images
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@738 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:57:44 +00:00
twanvl a46559ea01 Fixed: padding_top was added to the bottom instead of the top
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@737 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:13:25 +00:00
twanvl a71fe794bb Width of image box
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@736 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:07:22 +00:00
twanvl 257e8792f9 No longer incorrectly showing caret
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@735 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-09-21 18:01:31 +00:00