mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
foo
This commit is contained in:
parent
1c2aa15b22
commit
6923c98dc2
12 changed files with 107 additions and 45 deletions
|
|
@ -47,6 +47,13 @@ while (<file>) {
|
|||
$parentConstructorCall = "$baseClass(\"$name1\", _gameId, _playerId)";
|
||||
$constructorParamsH = "int _gameId = -1, int _playerId = -1";
|
||||
$constructorParamsCpp = "int _gameId, int _playerId";
|
||||
} elsif ($type == 4) {
|
||||
$type = 'generic_event';
|
||||
$namePrefix = 'Event';
|
||||
$baseClass = 'GenericEvent';
|
||||
$parentConstructorCall = "$baseClass(\"$name1\")";
|
||||
$constructorParamsH = "";
|
||||
$constructorParamsCpp = "";
|
||||
}
|
||||
$className = $namePrefix . '_' . $name2;
|
||||
print headerfile "class $className : public $baseClass {\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue