mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
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
This commit is contained in:
@@ -70,6 +70,10 @@ class Keyword {
|
||||
wxRegEx matchRe;
|
||||
bool fixed; ///< Is this keyword uneditable? (true for game keywods, false for set keywords)
|
||||
|
||||
/// Find the index of the mode in a list of possibilities.
|
||||
/** Returns the default if not found and 0 if there is no default */
|
||||
size_t findMode(const vector<KeywordModeP>& modes) const;
|
||||
|
||||
/// Prepare the expansion: (re)generate matchRe and the list of parameters.
|
||||
/** Throws when there is an error in the input
|
||||
* @param param_types A list of all parameter types.
|
||||
|
||||
Reference in New Issue
Block a user