From 8024273aca97771e975e1ee617137115582afd50 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 26 Dec 2014 18:05:41 +0000 Subject: [PATCH] Prettify viewscreen turned to STATIC in breakable cameras mode. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4845 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 84848bc82..a4ed87d25 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -7433,8 +7433,8 @@ void G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t oura, int32_t smoo { t->picnum = STATIC; t->cstat |= (rand()&12); - t->xrepeat += 8; - t->yrepeat += 8; + t->xrepeat += 10; + t->yrepeat += 9; } else if (g_curViewscreen == i && display_mirror != 3 && waloff[TILE_VIEWSCR] && walock[TILE_VIEWSCR] > 200) { @@ -12828,23 +12828,22 @@ void G_BonusScreen(int32_t bonusonly) static void G_DrawCameraText(int16_t i) { - char flipbits; - int32_t x , y; - if (!T1) { rotatesprite_win(24<<16,33<<16,65536L,0,CAMCORNER,0,0,2); rotatesprite_win((320-26)<<16,34<<16,65536L,0,CAMCORNER+1,0,0,2); rotatesprite_win(22<<16,163<<16,65536L,512,CAMCORNER+1,0,0,2+4); rotatesprite_win((310-10)<<16,163<<16,65536L,512,CAMCORNER+1,0,0,2); + if (totalclock&16) rotatesprite_win(46<<16,32<<16,65536L,0,CAMLIGHT,0,0,2); } else { - flipbits = (totalclock<<1)&48; - for (x=0; x<394; x+=64) - for (y=0; y<200; y+=64) + int32_t flipbits = (totalclock<<1)&48; + + for (int32_t x=-64; x<394; x+=64) + for (int32_t y=0; y<200; y+=64) rotatesprite_win(x<<16,y<<16,65536L,0,STATIC,0,0,2+flipbits); } }