Commit Graph

272 Commits

Author SHA1 Message Date
twanvl d463b277c3 Added try/catch so script errors during rendering don't result in crashes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@312 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-30 14:15:09 +00:00
twanvl ae68e99378 Text viewer is reset on script change
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@310 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-30 00:38:12 +00:00
twanvl 60cc0c6a16 Fixed: card box not resized when rotating cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@309 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-29 23:00:20 +00:00
twanvl 610016b0f0 fixed: viewer update on stylesheet change
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@307 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-28 22:55:16 +00:00
twanvl e38cc6e2c9 Fixed dependencies for 'styling';
Fixed: specific character prefered over .* for keywords

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@306 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-28 21:58:29 +00:00
coppro 7c40df0624 Updated a few GCC issues, and case-sensitivity of filenames.
I had to rename the export function in Apprentice.cpp since "export" is a reserved word according to the C++ standard. I don't know whether GCC supports it yet, but it certainly complains.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@302 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-25 00:16:29 +00:00
twanvl e1c067a9a1 Forgot to add find_replace.hpp
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@301 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-24 20:53:19 +00:00
twanvl c8f5b8c4a2 find/replace working better (but not done yet)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@300 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-23 23:02:38 +00:00
twanvl 89ce208198 find/replace kind of working
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@299 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-23 22:25:14 +00:00
twanvl 15cab8cfa7 "Reload data" option
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@295 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-23 00:35:02 +00:00
twanvl 87d751747d fixed infinite loop in parser
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@293 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-22 23:18:10 +00:00
twanvl 19c5250edb Copy&paste for keywords panel;
Fixed: initialization of 'direction' for TextStyle

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@292 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-22 23:04:49 +00:00
twanvl e4500ce490 Font name can now be scripted
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@291 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-22 22:37:20 +00:00
twanvl fe0f6838b8 fixes to non-unicode build
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@280 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 21:09:17 +00:00
twanvl 61550b9e44 implemented justification;
fixed initialization bug in item_list;
commented out statistics fields for debugging and added 'match' for all keywords in magic.mse-game

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@279 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 20:41:44 +00:00
twanvl c1471e2e39 type_over for combined_editor;
keyword compatability disabled for new file versions

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@278 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 19:07:12 +00:00
twanvl 454605bb5d don't add invalid keywords (empty match) to database.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@277 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 17:46:47 +00:00
twanvl 91ddd35064 dropping the "not quite"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@276 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 17:32:14 +00:00
twanvl a2e709d86b It is 2007 by now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@275 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 17:06:29 +00:00
twanvl 208caa7c78 version++
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@273 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 16:00:38 +00:00
twanvl 4ac5ef8481 Implemented printing (finally)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@272 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 15:59:39 +00:00
twanvl 5327520646 "insert parameter" and "user parameter" buttons now work.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@271 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-21 01:10:32 +00:00
twanvl fef99c78e3 Added list for refering to keyword parameters; keyword database updated when keywords change
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@270 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-20 16:10:54 +00:00
twanvl 0d3ab74d32 implemented "direction:vertical" support, also for symbols
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@269 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-19 23:54:39 +00:00
twanvl b23040989e fixed handling of duplicate filenames for images export
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@268 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-19 21:03:16 +00:00
twanvl 0d328b750e implemented apprentice export
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@267 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-19 16:30:51 +00:00
twanvl f530cd7244 added toggle reminder text action;
updated SymbolsInFont when creating 'insert symbol' menu

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@266 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-19 14:04:50 +00:00
twanvl 9f24da8d02 dependency handling for keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@265 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-18 22:59:03 +00:00
twanvl 99f44292d6 enlgish language stuff for keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@264 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-18 21:33:32 +00:00
twanvl c8fc427da3 Added ChangeKeywordModeAction;
Hopefully fixed the 'Invalid multibyte character' build error on linux (I was using left/right-angle-brackets in string constants);
Fixed 'cost' keywords;


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@263 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-18 18:02:09 +00:00
twanvl 37fe4c84ae added guild mana support for all magic styles;
uses correct script context for cards using a stylesheet other then the default one.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@262 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-17 20:59:17 +00:00
twanvl 8e3049d0ee improved error reporting for the keyword editor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@260 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-16 23:45:01 +00:00
twanvl e685b56830 Working on the keywords panel;
Correct styling data now shown on style panel

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@259 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-16 22:27:05 +00:00
coppro 106d570206 Updated for compatibility.
Problem: In src/gui/control/keyword_list.cpp and src/render/text/element.cpp, there are two characters that I cannot identify. I can't make it work, I just get the error "Invalid multibyte character.

Bug: Keywords do not register when they're in lowercase (flying vs Flying, for instance)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@256 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-14 19:47:17 +00:00
twanvl 7b45f6f69e Editing of keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@255 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-13 23:59:42 +00:00
twanvl 1be1304c94 Added actions for adding/removing keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@254 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-13 17:21:35 +00:00
twanvl f915a491a8 fixed: "Double click to select image" text now always shown when editing;
Correct control used for clipboard actions in CardsPanel

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@253 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 19:39:08 +00:00
twanvl 3dd0521c40 MultipleChoiceValueEditor: implemented drop down list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@252 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 19:18:17 +00:00
twanvl 958da421d9 Implemented ContourMask (mask for text fields)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@251 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 18:11:41 +00:00
twanvl 42ab8c84c0 Fixed TextCtrl to work for keyword properties;
Added wrapping of <> around parameters to TextElement;
Added colors for keyword parameters;
Added menu & toolbar for keyword panel;
Fixed bug in package, save/save-as was the wrong way around;
Added third quality setting to RotatedDC: using SetUserScale, this gets you more precise positioning.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@250 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-04-12 17:35:00 +00:00
twanvl 44d23356ef fixed warning 'unexpected key ""' at end of file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@248 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 19:26:56 +00:00
twanvl e55e5ae806 fixed default value for tr()
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@245 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:43:10 +00:00
twanvl f025630b8b Fixed mask for image fields, added mask support to slice window
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@243 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:27:05 +00:00
twanvl cb1c0a9afb nicer error messags when aliases don't but should apply
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@242 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 18:23:09 +00:00
twanvl 30b38d6fab Implemented sharpening for image slicer
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@241 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-29 14:45:59 +00:00
twanvl 0f48513684 symmetric selection handling
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@240 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 01:38:09 +00:00
twanvl 3d98bbb870 correct cursor position for formating actions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@239 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 00:31:41 +00:00
twanvl d37adbbb94 cursor handling now correct in the precense of <sep> and <atom> (finally)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@238 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-25 00:22:44 +00:00
twanvl 114c03b6e1 improved cursor motion for up/down/home/end; text editor now remembers cursor positions (instead of indices) when applying scripts.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@237 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 23:42:33 +00:00
twanvl 135941fb43 non-optional keyword parameters
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@236 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-03-24 22:17:48 +00:00