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;
}
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))
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++) {
// 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)
// 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();
}
// WriteConf();
- InitScreens(); //setup screen
+ InitScreens(); //setup screen
if (game == GT_classicTwo) {
spied = 1;
InitiateConnection(hostStr, port);