projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved loading menu graphics config settings (more generic solution)
[rocksndiamonds.git]
/
build-scripts
/
create_element_defs.pl
diff --git
a/build-scripts/create_element_defs.pl
b/build-scripts/create_element_defs.pl
index 896d672f4a859924f2f1c74dac8558e6d0457060..91ea130d0d17936001cca82b5fe0c7ac4332d59b 100755
(executable)
--- a/
build-scripts/create_element_defs.pl
+++ b/
build-scripts/create_element_defs.pl
@@
-1074,7
+1074,7
@@
sub get_known_action_definitions
chomp; # cut trailing newline
# process line with action definition
chomp; # cut trailing newline
# process line with action definition
- if (/^
\#define ACTION_([A-Z0-9_]+)\s
/)
+ if (/^
ACTION_([A-Z0-9_]+)[, ]
/)
{
$known_action{$1} = 1;
{
$known_action{$1} = 1;
@@
-1101,7
+1101,7
@@
sub get_known_special_arg_definitions
chomp; # cut trailing newline
# process line with special arg definition
chomp; # cut trailing newline
# process line with special arg definition
- if (/^
\#define GFX_SPECIAL_ARG_([A-Z0-9_]+)\s
/)
+ if (/^
GFX_SPECIAL_ARG_([A-Z0-9_]+)[, ]
/)
{
if ($1 eq 'CRUMBLED')
{
{
if ($1 eq 'CRUMBLED')
{
@@
-1160,7
+1160,7
@@
sub get_known_font_definitions
chomp; # cut trailing newline
# process line with font definition
chomp; # cut trailing newline
# process line with font definition
- if (/^
\#define (FONT_[A-Z0-9_]+)\s
/)
+ if (/^
(FONT_[A-Z0-9_]+)[, ]
/)
{
$known_font{$1} = 1;
{
$known_font{$1} = 1;