Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
446a34f
)
raised max for -g to 200
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 10 Jul 2005 20:19:27 +0000
(20:19 +0000)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 10 Jul 2005 20:19:27 +0000
(20:19 +0000)
Makefile
patch
|
blob
|
history
args.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
01499e2
..
f8f4dd7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-71,7
+71,11
@@
vor: $(objects)
include gfx.mk
include gfx.mk
+tags: *.c *.h
+ exuberant-ctags *.c *.h /usr/include/SDL/*
+
clean: program-clean
clean: program-clean
+ rm -f tags
maintainer-clean: program-clean data-clean
maintainer-clean: program-clean data-clean
diff --git
a/args.c
b/args.c
index
94ad057
..
a9ff69a
100644
(file)
--- a/
args.c
+++ b/
args.c
@@
-67,7
+67,7
@@
parse_opt(int key, char *arg, struct argp_state *state)
argp_state_help(state, stderr, ARGP_HELP_STD_HELP);
return EINVAL;
}
argp_state_help(state, stderr, ARGP_HELP_STD_HELP);
return EINVAL;
}
- if(i < 0) i = 0; else if(i > 100) i = 100;
+ if(i < 0) i = 0; else if(i > 200) i = 100;
opt_gamespeed = (float)i / 100;
break;
case 'l': if(!sscanf(arg, "%f", &opt_max_lead)) {
opt_gamespeed = (float)i / 100;
break;
case 'l': if(!sscanf(arg, "%f", &opt_max_lead)) {