From: Jason Woofenden Date: Sat, 24 May 2014 07:03:07 +0000 (-0400) Subject: code formatting: indentation, arg name X-Git-Tag: 0.5.6~1 X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=commitdiff_plain;h=b173d788b35fb4cfcffdf657e39281988630861c;ds=sidebyside code formatting: indentation, arg name --- diff --git a/file.c b/file.c index 5ce183f..efd08e5 100644 --- a/file.c +++ b/file.c @@ -98,10 +98,10 @@ is_dir(char *dirname) } static bool -is_file(char *dirname) +is_file(char *filename) { struct stat buf; - if(stat(dirname, &buf)) { + if(stat(filename, &buf)) { return false; } return S_ISREG(buf.st_mode); diff --git a/todo b/todo index b43d2cd..fe260aa 100644 --- 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: - Rock Dodger - Free-form/Practice - Crazy Taxi + Rock Dodger + Free-form/Practice + Crazy Taxi * 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