X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Ffile.c;h=40ffacb35738d5bef3479c718614c97cd74de874;hb=20a30378bfde4264628619380057730df6887972;hp=0d09e22e37b098e07c5d67ac8750c7d0167ec062;hpb=29ea60b3d59414875c3bbc59e64f62d2e236ef2a;p=rocksndiamonds.git diff --git a/src/game_sp/file.c b/src/game_sp/file.c index 0d09e22e..40ffacb3 100644 --- a/src/game_sp/file.c +++ b/src/game_sp/file.c @@ -69,9 +69,19 @@ void copyInternalEngineVars_SP() PlayField8 = REDIM_1D(sizeof(byte), 0, FileMax + 1 - 1); DisPlayField = REDIM_1D(sizeof(byte), 0, FieldMax + 1 - 1); +#if 0 PlayField16 = REDIM_1D(sizeof(int), -FieldWidth, FieldMax); +#else + PlayField16 = REDIM_1D(sizeof(int), -FieldWidth * 2, FieldMax); +#endif + +#if 1 #if 1 + /* fill preceding playfield buffer zone with (indestructible) "hardware" */ + for (i = -FieldWidth * 2; i < -FieldWidth; i++) + PlayField16[i] = 0x20; +#endif #if 0 /* fill preceding playfield buffer zone with (indestructible) "hardware" */