mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-30 14:42:00 -08:00
removed some useless game events in favor of event context classes; added some preliminary icons
This commit is contained in:
@@ -66,6 +66,13 @@ while (<file>) {
|
||||
$parentConstructorCall = "$baseClass(\"$name1\", _channel)";
|
||||
$constructorParamsH = "const QString &_channel = QString()";
|
||||
$constructorParamsCpp = "const QString &_channel";
|
||||
} elsif ($type == 6) {
|
||||
$type = 'game_event_context';
|
||||
$namePrefix = 'Context';
|
||||
$baseClass = 'GameEventContext';
|
||||
$parentConstructorCall = "$baseClass(\"$name1\")";
|
||||
$constructorParamsH = "";
|
||||
$constructorParamsCpp = "";
|
||||
}
|
||||
$className = $namePrefix . '_' . $name2;
|
||||
$itemEnum .= "ItemId_$className = " . ++$itemId . ",\n";
|
||||
|
||||
Reference in New Issue
Block a user