Added actions for adding/removing keywords

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@254 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-04-13 17:21:35 +00:00
parent f915a491a8
commit 1be1304c94
9 changed files with 233 additions and 5 deletions
+3
View File
@@ -39,6 +39,7 @@ class KeywordParam {
/// Information on when and how to use a keyword
class KeywordMode {
public:
String name; ///< Name of the mode
String description; ///< Description of the type
bool is_default; ///< This is the default mode for new keywords
@@ -51,6 +52,8 @@ class KeywordMode {
/// A keyword for a set or a game
class Keyword {
public:
Keyword() : fixed(false) {}
String keyword; ///< The keyword, only for human use
String rules; ///< Rules/explanation
String match; ///< String to match, <param> tags are used for parameters