Subversion Repositories Kolibri OS

Rev

Rev 300 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 300 Rev 333
Line 223... Line 223...
223
	||x+SHORT(patch->width) >SCREENWIDTH
223
        ||x+SHORT(patch->width) >SCREENWIDTH
224
	|| y<0
224
        || y<0
225
	|| y+SHORT(patch->height)>SCREENHEIGHT 
225
        || y+SHORT(patch->height)>SCREENHEIGHT 
226
	|| (unsigned)scrn>4)
226
        || (unsigned)scrn>4)
227
    {
227
    {
228
      printf("Patch at %d,%d exceeds LFB\n", x,y );
228
      //printf("Patch at %d,%d exceeds LFB\n", x,y );
229
      // No I_Error abort - what is up with TNT.WAD?
229
      // No I_Error abort - what is up with TNT.WAD?
230
      printf("V_DrawPatch: bad patch (ignored)\n");
230
      //printf("V_DrawPatch: bad patch (ignored)\n");
231
      return;
231
      return;
232
    }
232
    }
233
#endif 
233
#endif 
Line 234... Line 234...
234
 
234
 
Line 290... Line 290...
290
	||x+SHORT(patch->width) >SCREENWIDTH
290
        ||x+SHORT(patch->width) >SCREENWIDTH
291
	|| y<0
291
        || y<0
292
	|| y+SHORT(patch->height)>SCREENHEIGHT 
292
        || y+SHORT(patch->height)>SCREENHEIGHT 
293
	|| (unsigned)scrn>4)
293
        || (unsigned)scrn>4)
294
    {
294
    {
295
      printf("Patch origin %d,%d exceeds LFB\n", x,y );
295
      //printf("Patch origin %d,%d exceeds LFB\n", x,y );
296
      I_Error ("Bad V_DrawPatch in V_DrawPatchFlipped");
296
      I_Error ("Bad V_DrawPatch in V_DrawPatchFlipped");
297
    }
297
    }
298
#endif 
298
#endif 
Line 299... Line 299...
299
 
299