Skip to content

Commit

Permalink
Format C files with astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dlowe-net committed Aug 28, 2014
1 parent bd99006 commit 62fa9f0
Show file tree
Hide file tree
Showing 24 changed files with 8,104 additions and 8,064 deletions.
840 changes: 420 additions & 420 deletions curses.c

Large diffs are not rendered by default.

622 changes: 313 additions & 309 deletions hit.c

Large diffs are not rendered by default.

408 changes: 204 additions & 204 deletions init.c

Large diffs are not rendered by default.

1,265 changes: 634 additions & 631 deletions inventory.c

Large diffs are not rendered by default.

1,388 changes: 694 additions & 694 deletions level.c

Large diffs are not rendered by default.

288 changes: 145 additions & 143 deletions machdep.c

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

Expand Down Expand Up @@ -64,22 +64,22 @@ main(argc, argv)
int argc;
char *argv[];
{
if (init(argc, argv)) { /* restored game */
goto PL;
}
if (init(argc, argv)) { /* restored game */
goto PL;
}

for (;;) {
clear_level();
make_level();
put_objects();
put_stairs();
add_traps();
put_mons();
put_player(party_room);
print_stats(STAT_ALL);
PL:
play_level();
free_stuff(&level_objects);
free_stuff(&level_monsters);
}
for (;;) {
clear_level();
make_level();
put_objects();
put_stairs();
add_traps();
put_mons();
put_player(party_room);
print_stats(STAT_ALL);
PL:
play_level();
free_stuff(&level_objects);
free_stuff(&level_monsters);
}
}
Loading

0 comments on commit 62fa9f0

Please sign in to comment.