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:
39ff0db
)
code formatting: indentation, arg name
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 24 May 2014 07:03:07 +0000
(
03:03
-0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 24 May 2014 07:04:23 +0000
(
03:04
-0400)
file.c
patch
|
blob
|
history
todo
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index
5ce183f
..
efd08e5
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-98,10
+98,10
@@
is_dir(char *dirname)
}
static bool
}
static bool
-is_file(char *dirname)
+is_file(char *filename)
{
struct stat buf;
{
struct stat buf;
- if(stat(dirname, &buf)) {
+ if(stat(filename, &buf)) {
return false;
}
return S_ISREG(buf.st_mode);
return false;
}
return S_ISREG(buf.st_mode);
diff --git
a/todo
b/todo
index
b43d2cd
..
fe260aa
100644
(file)
--- a/
todo
+++ b/
todo
@@
-1,11
+1,11
@@
*** Move game logic into a script so we can have "variations".
* Then an in-game menu to choose which game:
*** Move game logic into a script so we can have "variations".
* Then an in-game menu to choose which game:
- Rock Dodger
- Free-form/Practice
- Crazy Taxi
+ Rock Dodger
+ Free-form/Practice
+ Crazy Taxi
* Add networking for multiplayer games:
* Add networking for multiplayer games:
- Tag
- Deathmatch
+ Tag
+ Deathmatch
** Switch all ray-traced graphics (only big green messages left)
* Then we can run at the native screen size
** Switch all ray-traced graphics (only big green messages left)
* Then we can run at the native screen size