code indenting/alignment fixes
[netris.git] / game.c
diff --git a/game.c b/game.c
index 79520aa47c9d7fa0e9172412e58ee2bc05e6a8ac..430bd0ec4db12bf5995b0a5d5512c059df59d4d6 100644 (file)
--- a/game.c
+++ b/game.c
@@ -96,7 +96,7 @@ void MapKeys(char *newKeys)
                                fprintf(stderr, "Duplicate key mappings:\n");
                        errs++;
                        fprintf(stderr, "  %s mapped to both %s and %s\n",
-                                       scratch, keyNames[used[ch]-1], keyNames[k]);
+                               scratch, keyNames[used[ch]-1], keyNames[k]);
                }
                used[ch] = k + 1;
        }
@@ -216,7 +216,7 @@ int StartNewPiece(int scr, char shape)
        Players[scr].curY = Players[scr].boardVisible + 4;
        Players[scr].curX = Players[scr].boardWidth / 2 - 2;
        while (!ShapeVisible(Players[scr].curShape, scr,
-                       Players[scr].curY, Players[scr].curX))
+                            Players[scr].curY, Players[scr].curX))
                Players[scr].curY--;
        if (!ShapeFits(Players[scr].curShape, scr,
                        Players[scr].curY, Players[scr].curX))
@@ -247,7 +247,7 @@ void StartGame(void)
                Game.speed /= SPEEDINC;
        if (Game.speed < SPEEDMINIMUM)
                Game.speed = SPEEDMINIMUM;
-       ResetBaseTime();                        //reset timer
+       ResetBaseTime();  //reset timer
        SetITimer(Game.speed, Game.speed);
        Players[me].nextShape = ChooseOption(stdOptions);
        for (i = 1; i <= maxPlayer; i++) {
@@ -266,7 +266,7 @@ void CheckClears(int scr)
 //     int linevaluesq[] = { 25, 50, 100, 200, 500, 720, 980, 1280, 1620, 2000,
 //                           2420, 2880, 3380, 3920, 4500, 5120, 5780, 6480 };
        int linevaluesq[] = { 20, 50, 100, 200, 500, 750, 1000, 1250, 1500, 2000,
-                                               2500, 3000, 3500, 4000, 4500, 5000, 6000, 7500 };
+                             2500, 3000, 3500, 4000, 4500, 5000, 6000, 7500 };
 
        if ((linesCleared = ClearFullLines(scr)) > 0) {
                if (game == GT_onePlayer)
@@ -728,8 +728,9 @@ int main(int argc, char **argv)
 //             ReadConf(optarg);
 //     else
        ReadConf(CONFIG_FILE);
-       while ((ch = getopt_long(argc, argv,
-                       "hHRk:c:n:odDSCap:i:l:t:", options, NULL)) != -1)
+       while ((ch = getopt_long(
+               argc, argv, "hHRk:c:n:odDSCap:i:l:t:", options, NULL
+       )) != -1)
                HandleOption(ch, optarg);
        if (optind < argc) {
                Usage();
@@ -737,7 +738,7 @@ int main(int argc, char **argv)
        }
 //     WriteConf();
 
-       InitScreens();                          //setup screen
+       InitScreens();  //setup screen
        if (game == GT_classicTwo) {
                spied = 1;
                InitiateConnection(hostStr, port);