Сборка порта 3D ретро-игры ROTT




Здравствуйте, уважаемые читатели! Не DOOMом единым - сегодня мы соберём порт "думоподобной" 3D-игры Rise of the Triad также на микрокомпьютере MB77.07! В своё время игра ROTT была попыткой пересмотреть DOOM, как жанр компьютерных игр.

Порт ROTT ведёт своё начало с 2002 года, когда были опубликованы исходные коды игровой программы. К 2012 году игра была портирована под ряд компьютеров и операционных систем. Собирать программы будем также из исходных кодов.

Набор инструментов мы будем использовать из предыдущей статьи. Архив исходников также нужно будет скопировать в любой удобный каталог, например, в /root и распаковать:

tar -xzf rott-1.1.2.tar.gz

Сам архив после распаковки можно без сожаления удалить:

rm chocolate-doom-1.7.0.tar.gz

затем перейти в каталог распакованных исходных файлов:

cd rott-1.1.2

и наконец, перейти в рабочий каталог:

cd rott

В отличии от порта Chocolate Doom, редактировать исходные коды программы не требуется. Для наибольшей оптимизации кода нужно отредактировать конфигурационные файлы Makefile и audiolib/Makefile заменив строки CFLAGS ?= -g -O2 на CFLAGS ?= -g -Ofast -mcpu=arm1176jzf-s. Это улучшит производительность игры как за счёт агрессивной оптимизации, так и тонкой настройке под имеющееся в в составе СБИС К1879ХБ1Я процессорное ядро ARM1176. Теперь можно приступить сборке:

make

Процесс этот весьма неспешный, можно спокойно чайку попить:

root@shade:~/rott-1.1.2/rott# make
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_actr.o cin_actr.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_efct.o cin_efct.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_evnt.o cin_evnt.c
cin_evnt.c: In function ‘ParseBack’:
cin_evnt.c:338:23: warning: ‘width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       event->effect = SpawnCinematicBack ( name, duration, width, startx, endx, yoffset);
                       ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_glob.o cin_glob.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_main.o cin_main.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o cin_util.o cin_util.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o dosutil.o dosutil.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o engine.o engine.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o isr.o isr.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o modexlib.o modexlib.c
modexlib.c: In function ‘VL_SetVGAPlaneMode’:
modexlib.c:536:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  iG_buf_center = bufferofs + (screensize/2);//(iG_Y_center*iGLOBAL_SCREENWIDTH);//+iG_X_center;
                ^
modexlib.c:538:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  bufofsTopLimit =  bufferofs + screensize - iGLOBAL_SCREENWIDTH;
                 ^
modexlib.c:539:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  bufofsBottomLimit = bufferofs + iGLOBAL_SCREENWIDTH;
                    ^
modexlib.c: In function ‘DrawCenterAim’:
modexlib.c:805:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
      iG_buf_center = bufferofs + ((iG_Y_center-iG_playerTilt)*iGLOBAL_SCREENWIDTH);//+iG_X_center;
                    ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_actor.o rt_actor.c
In file included from rt_actor.c:38:0:
rt_actor.c: In function ‘BloodDrip’:
rt_actor.h:123:22: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   ob->tiley = (ob->y >> TILESHIFT);                \
                      ^
rt_actor.c:3945:14: note: ‘y’ was declared here
 {int dx,dy,x,y,scale;
              ^
In file included from rt_actor.c:38:0:
rt_actor.h:122:22: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   ob->tilex = (ob->x >> TILESHIFT);                \
                      ^
rt_actor.c:3945:12: note: ‘x’ was declared here
 {int dx,dy,x,y,scale;
            ^
rt_actor.c: In function ‘ActorMovement’:
rt_actor.c:7497:19: warning: ‘friction’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   ob->momentumy = FixedMul (ob->momentumy, friction);
                   ^
rt_actor.c:7467:9: warning: ‘tryz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         ActorTryMove(ob,ob->x+ride->momentumx,ob->y+ride->momentumy,tryz)
         ^
rt_actor.c: In function ‘T_Projectile’:
rt_actor.c:4910:29: warning: ‘pstate’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        (!pstate->buttonstate[bt_attack])
                             ^
rt_actor.c: In function ‘A_MissileWeapon’:
rt_actor.c:11931:2: warning: ‘nstate’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  SpawnMissile(ob,nobclass,nspeed,AngleBetween(ob,PLAYER[0]),nstate,noffset);
  ^
rt_actor.c:11931:2: warning: ‘nobclass’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_battl.o rt_battl.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_build.o rt_build.c
rt_build.c: In function ‘DrawPlanePosts’:
rt_build.c:252:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
       buf=(byte *)(bufferofs);
          ^
rt_build.c:271:53: warning: pointer targets in passing argument 3 of ‘DrawRotPost’ differ in signedness [-Wpointer-sign]
          DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset);
                                                     ^
rt_build.c:89:6: note: expected ‘byte *’ but argument is of type ‘char *’
 void DrawRotPost ( int height, byte * src, byte * buf, int origheight)
      ^
rt_build.c:271:10: warning: ‘shape’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          DrawRotPost (height,shape+posts[i].texture,buf,posts[i].offset);
          ^
rt_build.c: In function ‘PositionMenuBuf.constprop’:
rt_build.c:403:27: warning: ‘closest’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       closest->viewheight = 0;
                           ^
rt_build.c:385:15: note: ‘closest’ was declared here
    visobj_t * closest;
               ^
rt_build.c: In function ‘DrawTransformedPlanes’:
rt_build.c:403:27: warning: ‘closest’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       closest->viewheight = 0;
                           ^
rt_build.c: In function ‘PositionMenuBuf’:
rt_build.c:403:27: warning: ‘closest’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rt_build.c:385:15: note: ‘closest’ was declared here
    visobj_t * closest;
               ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_cfg.o rt_cfg.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_crc.o rt_crc.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_com.o rt_com.c
rt_com.c: In function ‘ReadPacket’:
rt_com.c:241:25: warning: pointer targets in passing argument 1 of ‘CalculateCRC’ differ in signedness [-Wpointer-sign]
       crc=CalculateCRC (&rottcom->data[0], rottcom->datalength-sizeof(word));
                         ^
In file included from rt_com.c:39:0:
rt_crc.h:23:6: note: expected ‘byte *’ but argument is of type ‘char *’
 word CalculateCRC (byte *source, unsigned size);
      ^
rt_com.c:244:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       sentcrc=*((word *)(&rottcom->data[rottcom->datalength-sizeof(word)]));
       ^
rt_com.c: In function ‘WritePacket’:
rt_com.c:310:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((word *)&rottcom->data[len])=crc;
    ^
rt_com.c: In function ‘ValidSyncPacket’:
rt_com.c:356:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       if (((syncpackettype *)&(ROTTpacket[0]))->type==COM_SYNC)
       ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_debug.o rt_debug.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_dmand.o rt_dmand.c
rt_dmand.c: In function ‘SD_UpdatePlaybackSound’:
rt_dmand.c:89:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    *ptr=&PlaybackBuffer[PlayingPointer];
        ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_door.o rt_door.c
rt_door.c: In function ‘SpawnPushWall’:
rt_door.c:3355:8: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
    if (!texture&0x1000)
        ^
rt_door.c: In function ‘SpawnMaskedWall’:
rt_door.c:2560:30: warning: ‘bottom’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    lastmaskobj->bottomtexture=bottom;
                              ^
rt_door.c:2558:27: warning: ‘middle’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    lastmaskobj->midtexture=middle;
                           ^
rt_door.c:2559:27: warning: ‘above’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    lastmaskobj->toptexture=above;
                           ^
rt_door.c:2564:27: warning: ‘side’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       lastmaskobj->sidepic=side;
                           ^
rt_door.c:2534:13: warning: ‘metal’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          if (metal==true)
             ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_draw.o rt_draw.c
rt_draw.c: In function ‘DrawWalls’:
rt_draw.c:1949:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
          buf=(byte *)(bufferofs);
             ^
rt_draw.c:1957:31: warning: pointer targets in passing argument 2 of ‘DrawWallPost’ differ in signedness [-Wpointer-sign]
             DrawWallPost(post,buf);
                               ^
rt_draw.c:1818:6: note: expected ‘byte *’ but argument is of type ‘char *’
 void DrawWallPost ( wallcast_t * post, byte * buf)
      ^
rt_draw.c:1959:31: warning: pointer targets in passing argument 2 of ‘DrawWallPost’ differ in signedness [-Wpointer-sign]
             DrawWallPost(post,buf+1);
                               ^
rt_draw.c:1818:6: note: expected ‘byte *’ but argument is of type ‘char *’
 void DrawWallPost ( wallcast_t * post, byte * buf)
      ^
rt_draw.c:1973:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
          buf=(byte *)(bufferofs);
             ^
rt_draw.c:1981:31: warning: pointer targets in passing argument 2 of ‘DrawWallPost’ differ in signedness [-Wpointer-sign]
             DrawWallPost(post,buf);
                               ^
rt_draw.c:1818:6: note: expected ‘byte *’ but argument is of type ‘char *’
 void DrawWallPost ( wallcast_t * post, byte * buf)
      ^
rt_draw.c: In function ‘SetWallLightLevel’:
rt_draw.c:1803:21: warning: ‘la’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       if (i<minshade+la) i=minshade+la;
                     ^
rt_draw.c: In function ‘DrawWallPost’:
rt_draw.c:1920:17: warning: ‘src’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    dc_source=src+((post->texture>>4)&0xfc0);
                 ^
rt_draw.c: In function ‘DrawWalls’:
rt_draw.c:1920:17: warning: ‘src’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rt_draw.c:1823:11: note: ‘src’ was declared here
    byte * src;
           ^
rt_draw.c:1803:21: warning: ‘la’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       if (i<minshade+la) i=minshade+la;
                     ^
rt_draw.c:1737:8: note: ‘la’ was declared here
    int la;
        ^
rt_draw.c: In function ‘WallRefresh’:
rt_draw.c:1803:21: warning: ‘la’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       if (i<minshade+la) i=minshade+la;
                     ^
rt_draw.c:1737:8: note: ‘la’ was declared here
    int la;
        ^
rt_draw.c: In function ‘InterpolateMaskedWall’:
rt_draw.c:2667:50: warning: ‘p3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf);
                                                  ^
rt_draw.c:2667:19: warning: ‘shape3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   ScaleMaskedPost (p3->collumnofs[texture]+shape3,buf);
                   ^
rt_draw.c:2648:50: warning: ‘topoffset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             dc_texturemid=((pheight-nominalheight+topoffset)<<SFRACBITS)+(SFRACUNIT>>1);
                                                  ^
rt_draw.c:2660:50: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf);
                                                  ^
rt_draw.c:2660:19: warning: ‘shape2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   ScaleMaskedPost (p2->collumnofs[texture]+shape2,buf);
                   ^
rt_draw.c: In function ‘DrawRotatedScreen’:
rt_draw.c:3337:18: warning: ‘xct’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          mr_yfrac=xct;
                  ^
rt_draw.c:3338:18: warning: ‘xst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          mr_xfrac=xst;
                  ^
rt_draw.c: In function ‘DrawRotatedScreen.constprop’:
rt_draw.c:3337:18: warning: ‘xct’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          mr_yfrac=xct;
                  ^
rt_draw.c:3338:18: warning: ‘xst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          mr_xfrac=xst;
                  ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_floor.o rt_floor.c
rt_floor.c: In function ‘SetPlaneViewSize’:
rt_floor.c:493:10: warning: ‘skybottom’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          W_CacheLumpNum(skybottom,PU_CACHE, CvtNull, 1);
          ^
rt_floor.c:492:10: warning: ‘skytop’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          W_CacheLumpNum(skytop,PU_CACHE, CvtNull, 1);
          ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_game.o rt_game.c
rt_game.c: In function ‘BattleLevelCompleted’:
rt_game.c:4258:24: warning: comparison between ‘Direction’ and ‘enum <anonymous>’ [-Wenum-compare]
          while( ci.dir == (dirtype)key );
                        ^
rt_game.c: In function ‘DrawPlayScreen.constprop’:
rt_game.c:635:13: warning: ‘shapenum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 );
             ^
rt_game.c: In function ‘DrawNumber’:
rt_game.c:1137:11: warning: ‘str’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    char  *str;
           ^
rt_game.c:1182:10: warning: ‘length’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    while (c < length)
          ^
rt_game.c: In function ‘GM_UpdateBonus’:
rt_game.c:2624:16: warning: ‘shapenum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 );
                ^
rt_game.c: In function ‘GM_DrawBonus’:
rt_game.c:2624:16: warning: ‘shapenum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rt_game.c:2513:11: note: ‘shapenum’ was declared here
    int    shapenum;
           ^
rt_game.c: In function ‘DrawPlayScreen’:
rt_game.c:635:13: warning: ‘shapenum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       shape = ( pic_t * )W_CacheLumpNum( shapenum, PU_CACHE, Cvt_pic_t, 1 );
             ^
rt_game.c: In function ‘LevelCompleted’:
rt_game.c:3731:31: warning: ‘dobonus’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       else if ( ( kr == 100 ) && ( dobonus ) )
                               ^
rt_game.c:3656:38: warning: ‘sr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       if ( ( gamestate.secrettotal ) && ( sr != 100 ) )
                                      ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_in.o rt_in.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_main.o rt_main.c
rt_main.c: In function ‘DrawRottTitle’:
rt_main.c:482:20: warning: pointer targets in passing argument 1 of ‘UL_printf’ differ in signedness [-Wpointer-sign]
          UL_printf(title);
                    ^
In file included from rt_main.c:56:0:
rt_util.h:89:7: note: expected ‘byte *’ but argument is of type ‘char *’
 void  UL_printf (byte *str);
       ^
rt_main.c:506:20: warning: pointer targets in passing argument 1 of ‘UL_printf’ differ in signedness [-Wpointer-sign]
          UL_printf(title);
                    ^
In file included from rt_main.c:56:0:
rt_util.h:89:7: note: expected ‘byte *’ but argument is of type ‘char *’
 void  UL_printf (byte *str);
       ^
rt_main.c: In function ‘GameLoop’:
rt_main.c:1176:30: warning: pointer targets in passing argument 1 of ‘SetPalette’ differ in signedness [-Wpointer-sign]
                   SetPalette(&dimpal[0]);
                              ^
In file included from rt_main.c:56:0:
rt_util.h:81:7: note: expected ‘char *’ but argument is of type ‘byte *’
 void  SetPalette ( char * pal );
       ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_map.o rt_map.c
rt_map.c: In function ‘DoMap’:
rt_map.c:1063:19: warning: ‘quitkey’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    while (Keyboard[quitkey])
                   ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_menu.o rt_menu.c
In file included from rt_menu.c:48:0:
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "?","?","1","2","3","4","5","6","7","8","9","0","-","+","?","?",
    ^
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[0]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[1]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[2]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[3]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[4]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[5]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[6]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[7]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[8]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[9]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[10]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[11]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[12]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[13]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[14]’) [-Wpointer-sign]
_rt_menu.h:199:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:199:4: warning: (near initialization for ‘ScanNames[15]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "Q","W","E","R","T","Y","U","I","O","P","[","]","|","?","A","S",
    ^
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[16]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[17]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[18]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[19]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[20]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[21]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[22]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[23]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[24]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[25]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[26]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[27]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[28]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[29]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[30]’) [-Wpointer-sign]
_rt_menu.h:200:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:200:4: warning: (near initialization for ‘ScanNames[31]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "D","F","G","H","J","K","L",";","\"","?","?","?","Z","X","C","V",
    ^
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[32]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[33]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[34]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[35]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[36]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[37]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[38]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[39]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[40]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[41]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[42]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[43]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[44]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[45]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[46]’) [-Wpointer-sign]
_rt_menu.h:201:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:201:4: warning: (near initialization for ‘ScanNames[47]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "B","N","M",",",".","/","?","?","?","?","?","?","?","?","?","?",
    ^
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[48]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[49]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[50]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[51]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[52]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[53]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[54]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[55]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[56]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[57]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[58]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[59]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[60]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[61]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[62]’) [-Wpointer-sign]
_rt_menu.h:202:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:202:4: warning: (near initialization for ‘ScanNames[63]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "?","?","?","?","?","?","?","?","\xf","?","-","\x15","5","\x11","+","?",
    ^
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[64]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[65]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[66]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[67]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[68]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[69]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[70]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[71]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[72]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[73]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[74]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[75]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[76]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[77]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[78]’) [-Wpointer-sign]
_rt_menu.h:203:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:203:4: warning: (near initialization for ‘ScanNames[79]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "\x13","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?",
    ^
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[80]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[81]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[82]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[83]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[84]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[85]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[86]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[87]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[88]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[89]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[90]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[91]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[92]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[93]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[94]’) [-Wpointer-sign]
_rt_menu.h:204:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:204:4: warning: (near initialization for ‘ScanNames[95]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?",
    ^
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[96]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[97]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[98]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[99]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[100]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[101]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[102]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[103]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[104]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[105]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[106]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[107]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[108]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[109]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[110]’) [-Wpointer-sign]
_rt_menu.h:205:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:205:4: warning: (near initialization for ‘ScanNames[111]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?"
    ^
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[112]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[113]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[114]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[115]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[116]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[117]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[118]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[119]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[120]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[121]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[122]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[123]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[124]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[125]’) [-Wpointer-sign]
_rt_menu.h:206:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:206:4: warning: (near initialization for ‘ScanNames[126]’) [-Wpointer-sign]
_rt_menu.h:207:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
 };
 ^
_rt_menu.h:207:1: warning: (near initialization for ‘ScanNames[127]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "Esc","BkSp","Tab","Ctrl","Space","CapLk","F1","F2","F3","F4",
    ^
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[0]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[1]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[2]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[3]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[4]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[5]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[6]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[7]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[8]’) [-Wpointer-sign]
_rt_menu.h:220:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:220:4: warning: (near initialization for ‘ExtScanNames[9]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "F5","F6","F7","F8","F9","F10","F11","F12","SclLk","Enter","Shift",
    ^
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[10]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[11]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[12]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[13]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[14]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[15]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[16]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[17]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[18]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[19]’) [-Wpointer-sign]
_rt_menu.h:221:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:221:4: warning: (near initialization for ‘ExtScanNames[20]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "PrtSc","Alt","Home","PgUp","End","PgDn","Ins","Del","NumLk","Up",
    ^
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[21]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[22]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[23]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[24]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[25]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[26]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[27]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[28]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[29]’) [-Wpointer-sign]
_rt_menu.h:222:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:222:4: warning: (near initialization for ‘ExtScanNames[30]’) [-Wpointer-sign]
_rt_menu.h:223:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
    "Down","Left","Right",""
    ^
_rt_menu.h:223:4: warning: (near initialization for ‘ExtScanNames[31]’) [-Wpointer-sign]
_rt_menu.h:223:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:223:4: warning: (near initialization for ‘ExtScanNames[32]’) [-Wpointer-sign]
_rt_menu.h:223:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
_rt_menu.h:223:4: warning: (near initialization for ‘ExtScanNames[33]’) [-Wpointer-sign]
_rt_menu.h:224:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
 };
 ^
_rt_menu.h:224:1: warning: (near initialization for ‘ExtScanNames[34]’) [-Wpointer-sign]
rt_menu.c: In function ‘DefineKey’:
rt_menu.c:3883:13: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
             IN_GetScanName( key ) );
             ^
In file included from rt_menu.c:32:0:
/usr/include/string.h:129:14: note: expected ‘const char * __restrict__’ but argument is of type ‘byte *’
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^
rt_menu.c: In function ‘DrawCustomKeyboard’:
rt_menu.c:5087:10: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
          IN_GetScanName( buttonscan[ (unsigned int)order[ i ] ] ) );
          ^
In file included from rt_menu.c:32:0:
/usr/include/string.h:129:14: note: expected ‘const char * __restrict__’ but argument is of type ‘byte *’
 extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
              ^
rt_menu.c: In function ‘DrawNewGameDiff’:
rt_menu.c:4288:53: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    DrawMenuBufPropString( 25, 149, DifficultyStrings[ x ] );
                                                     ^
rt_menu.c: In function ‘DrawNewGame’:
rt_menu.c:4288:53: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rt_menu.c:4260:8: note: ‘x’ was declared here
    int x;
        ^
rt_menu.c: In function ‘CP_DisplayMsg’:
rt_menu.c:2926:10: warning: ‘tri’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          DrawMenuBufPic( Q_X + 12, Q_Y + 11, tri );
          ^
rt_menu.c: In function ‘CP_MainMenu’:
rt_menu.c:1883:4: warning: ‘which’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    return( which );
    ^
rt_menu.c: In function ‘CP_NewGame’:
rt_menu.c:4288:53: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    DrawMenuBufPropString( 25, 149, DifficultyStrings[ x ] );
                                                     ^
rt_menu.c:4260:8: note: ‘x’ was declared here
    int x;
        ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_msg.o rt_msg.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_net.o rt_net.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_playr.o rt_playr.c
rt_playr.c: In function ‘GunAttack’:
rt_playr.c:1469:4: warning: ‘damage’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    RayShoot (ob, damage, (characters[pstate->player].accuracy+gamestate.difficulty)<<3);
    ^
rt_playr.c: In function ‘T_Attack’:
rt_playr.c:1469:4: warning: ‘damage’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rt_playr.c:1444:11: note: ‘damage’ was declared here
  int      damage;
           ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_rand.o rt_rand.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_scale.o rt_scale.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_sound.o rt_sound.c
rt_sound.c: In function ‘SD_PlayIt’:
rt_sound.c:400:29: warning: pointer targets in passing argument 1 of ‘FX_PlayVOC3D’ differ in signedness [-Wpointer-sign]
       voice = FX_PlayVOC3D( snd, pitch, angle, distance,
                             ^
In file included from rt_sound.c:23:0:
fx_man.h:104:5: note: expected ‘char *’ but argument is of type ‘byte *’
 int FX_PlayVOC3D( char *ptr, int pitchoffset, int angle, int distance,
     ^
rt_sound.c:405:29: warning: pointer targets in passing argument 1 of ‘FX_PlayWAV3D’ differ in signedness [-Wpointer-sign]
       voice = FX_PlayWAV3D( snd, pitch, angle, distance,
                             ^
In file included from rt_sound.c:23:0:
fx_man.h:106:5: note: expected ‘char *’ but argument is of type ‘byte *’
 int FX_PlayWAV3D( char *ptr, int pitchoffset, int angle, int distance,
     ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_spbal.o rt_spbal.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_sqrt.o rt_sqrt.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_stat.o rt_stat.c
rt_stat.c: In function ‘CheckCriticalStatics’:
rt_stat.c:1816:5: warning: ‘stype’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     SpawnStatic(stilex,stiley,stype,-1);
     ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_state.o rt_state.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_str.o rt_str.c
rt_str.c: In function ‘GetColor’:
rt_str.c:1599:4: warning: ‘returnval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    return (returnval);
    ^
rt_str.c: In function ‘DrawIString’:
rt_str.c:1676:32: warning: ‘returnval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   fontcolor    = GetColor (temp);
                                ^
rt_str.c:1644:32: warning: ‘returnval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   fontcolor    = GetColor (temp);
                                ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_swift.o rt_swift.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_ted.o rt_ted.c
rt_ted.c: In function ‘CheckRTLVersion’:
rt_ted.c:1409:18: warning: pointer targets in passing argument 1 of ‘SwapIntelLong’ differ in signedness [-Wpointer-sign]
    SwapIntelLong(&RTLVersion);
                  ^
In file included from rt_ted.c:43:0:
rt_util.h:72:7: note: expected ‘int *’ but argument is of type ‘unsigned int *’
 void  SwapIntelLong (int *l);
       ^
rt_ted.c: In function ‘PreCacheActor’:
rt_ted.c:304:4: warning: ‘end’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    for (j=start;j<=end;j++)
    ^
rt_ted.c:403:6: note: ‘end’ was declared here
  int end;
      ^
rt_ted.c:315:13: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          if (cachelist[i].lump==j)
             ^
rt_ted.c:402:6: note: ‘start’ was declared here
  int start;
      ^
rt_ted.c: In function ‘SetupTeams’:
rt_ted.c:2377:7: warning: ‘spawnindex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  newy = SPAWNLOC[spawnlocindex].y;                        \
       ^
rt_ted.c:2455:24: note: ‘spawnindex’ was declared here
       maxdist,currdist,spawnindex,cnt;
                        ^
rt_ted.c:2395:6: warning: ‘dir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      SpawnPlayerobj(ntilex,ntiley,dir,j);                 \
      ^
rt_ted.c:2454:36: note: ‘dir’ was declared here
   int i,j,rand,sx,sy,ntilex,ntiley,dir,
                                    ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_util.o rt_util.c
rt_util.c: In function ‘Error’:
rt_util.c:396:18: warning: pointer targets in passing argument 1 of ‘UL_printf’ differ in signedness [-Wpointer-sign]
       UL_printf (token);
                  ^
In file included from rt_util.c:44:0:
rt_util.h:89:7: note: expected ‘byte *’ but argument is of type ‘char *’
 void  UL_printf (byte *str);
       ^
rt_util.c: In function ‘SetPalette’:
rt_util.c:1321:19: warning: pointer targets in passing argument 1 of ‘VL_SetPalette’ differ in signedness [-Wpointer-sign]
    VL_SetPalette (pal);
                   ^
In file included from rt_util.c:44:0:
rt_util.h:87:7: note: expected ‘byte *’ but argument is of type ‘char *’
 void  VL_SetPalette (byte *palette);
       ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_view.o rt_view.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_vid.o rt_vid.c
rt_vid.c: In function ‘SwitchPalette’:
rt_vid.c:1003:40: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
          delta = palette[j]-palette1[0][j];
                                        ^
rt_vid.c:1001:7: note: containing loop
       for (j=start;j<=end;j++)
       ^
rt_vid.c: In function ‘VL_DecompressLBM’:
rt_vid.c:1003:40: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
          delta = palette[j]-palette1[0][j];
                                        ^
rt_vid.c:1001:7: note: containing loop
       for (j=start;j<=end;j++)
       ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o rt_err.o rt_err.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o scriplib.o scriplib.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o w_wad.o w_wad.c
w_wad.c: In function ‘W_CheckNumForName’:
w_wad.c:321:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         v1 = *(int *)name8;
         ^
w_wad.c:322:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         v2 = *(int *)&name8[4];
         ^
w_wad.c:332:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
            if ( *(int *)lump_p->name == v1 && *(int *)&lump_p->name[4] == v2)
            ^
w_wad.c:332:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o watcom.o watcom.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o z_zone.o z_zone.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o byteordr.o byteordr.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o dukemusc.o dukemusc.c
dukemusc.c: In function ‘MUSIC_Continue’:
dukemusc.c:278:24: warning: pointer targets in passing argument 1 of ‘MUSIC_PlaySong’ differ in signedness [-Wpointer-sign]
         MUSIC_PlaySong(music_songdata, MUSIC_PlayOnce);
                        ^
In file included from dukemusc.c:43:0:
music.h:78:7: note: expected ‘unsigned char *’ but argument is of type ‘char *’
 int   MUSIC_PlaySong( unsigned char *song, int loopflag );
       ^
dukemusc.c: In function ‘MUSIC_PlaySong’:
dukemusc.c:315:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     music_songdata = song;
                    ^
dukemusc.c: In function ‘MUSIC_PlaySongROTT’:
dukemusc.c:418:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     music_songdata = song;
                    ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DSHAREWARE=1 -DSUPERROTT=0 -DSITELICENSE=0 -DUSE_SDL=1 -DPLATFORM_UNIX=1   -c -o winrott.o winrott.c
make -C audiolib
make[1]: вход в каталог «/root/rott-1.1.2/rott/audiolib»
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o fx_man.o fx_man.c
fx_man.c: In function ‘FX_SetVolume’:
fx_man.c:544:8: warning: unused variable ‘status’ [-Wunused-variable]
    int status;
        ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o dsl.o dsl.c
dsl.c: In function ‘DSL_BeginBufferedPlayback’:
dsl.c:136:9: warning: unused variable ‘tmp’ [-Wunused-variable]
  Uint8 *tmp;
         ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o ll_man.o ll_man.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o multivoc.o multivoc.c
multivoc.c: In function ‘MV_ServiceVoc’:
multivoc.c:507:31: warning: pointer targets in passing argument 1 of ‘MV_8BitReverb’ differ in signedness [-Wpointer-sign]
                MV_8BitReverb( source, dest, (const VOLUME16 *)MV_ReverbTable, count );
                               ^
In file included from multivoc.c:62:0:
_multivc.h:273:6: note: expected ‘const signed char *’ but argument is of type ‘char *’
 void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count );
      ^
multivoc.c:507:39: warning: pointer targets in passing argument 2 of ‘MV_8BitReverb’ differ in signedness [-Wpointer-sign]
                MV_8BitReverb( source, dest, (const VOLUME16 *)MV_ReverbTable, count );
                                       ^
In file included from multivoc.c:62:0:
_multivc.h:273:6: note: expected ‘signed char *’ but argument is of type ‘char *’
 void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count );
      ^
multivoc.c:510:34: warning: pointer targets in passing argument 1 of ‘MV_8BitReverb’ differ in signedness [-Wpointer-sign]
                   MV_8BitReverb( source + MV_RightChannelOffset,
                                  ^
In file included from multivoc.c:62:0:
_multivc.h:273:6: note: expected ‘const signed char *’ but argument is of type ‘char *’
 void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count );
      ^
multivoc.c:511:22: warning: pointer targets in passing argument 2 of ‘MV_8BitReverb’ differ in signedness [-Wpointer-sign]
                      dest + MV_RightChannelOffset, (const VOLUME16 *)MV_ReverbTable, count );
                      ^
In file included from multivoc.c:62:0:
_multivc.h:273:6: note: expected ‘signed char *’ but argument is of type ‘char *’
 void MV_8BitReverb( const signed char *src, signed char *dest, const VOLUME16 *volume, int count );
      ^
multivoc.c:516:35: warning: pointer targets in passing argument 1 of ‘MV_8BitReverbFast’ differ in signedness [-Wpointer-sign]
                MV_8BitReverbFast( source, dest, count, MV_ReverbLevel );
                                   ^
In file included from multivoc.c:62:0:
_multivc.h:277:6: note: expected ‘const signed char *’ but argument is of type ‘char *’
 void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift );
      ^
multivoc.c:516:43: warning: pointer targets in passing argument 2 of ‘MV_8BitReverbFast’ differ in signedness [-Wpointer-sign]
                MV_8BitReverbFast( source, dest, count, MV_ReverbLevel );
                                           ^
In file included from multivoc.c:62:0:
_multivc.h:277:6: note: expected ‘signed char *’ but argument is of type ‘char *’
 void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift );
      ^
multivoc.c:519:38: warning: pointer targets in passing argument 1 of ‘MV_8BitReverbFast’ differ in signedness [-Wpointer-sign]
                   MV_8BitReverbFast( source + MV_RightChannelOffset,
                                      ^
In file included from multivoc.c:62:0:
_multivc.h:277:6: note: expected ‘const signed char *’ but argument is of type ‘char *’
 void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift );
      ^
multivoc.c:520:22: warning: pointer targets in passing argument 2 of ‘MV_8BitReverbFast’ differ in signedness [-Wpointer-sign]
                      dest + MV_RightChannelOffset, count, MV_ReverbLevel );
                      ^
In file included from multivoc.c:62:0:
_multivc.h:277:6: note: expected ‘signed char *’ but argument is of type ‘char *’
 void MV_8BitReverbFast( const signed char *src, signed char *dest, int count, int shift );
      ^
multivoc.c:421:15: warning: unused variable ‘buffer’ [-Wunused-variable]
    char      *buffer;
               ^
multivoc.c: In function ‘MV_GetNextVOCBlock’:
multivoc.c:759:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                voice->LoopStart = ptr + blocklength;
                                 ^
multivoc.c:775:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                   ptr = voice->LoopStart;
                       ^
multivoc.c:838:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
       voice->NextBlock    = ptr + blocklength;
                           ^
multivoc.c:839:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
       voice->sound        = ptr;
                           ^
In file included from /usr/include/string.h:635:0,
                 from multivoc.c:34:
multivoc.c: In function ‘MV_PlayLoopedWAV’:
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
In file included from multivoc.c:34:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
 extern size_t strlen (const char *__s)
               ^
In file included from /usr/include/string.h:635:0,
                 from multivoc.c:34:
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
multivoc.c:2554:18: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
multivoc.c:2554:18: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]
    if ( strncmp( data->DATA, "data", 4 ) != 0 )
                  ^
In file included from multivoc.c:34:0:
/usr/include/string.h:147:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^
multivoc.c: At top level:
multivoc.c:1013:13: warning: ‘MV_ServiceRecord’ defined but not used [-Wunused-function]
 static void MV_ServiceRecord
             ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o mv_mix.o mv_mix.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o mvreverb.o mvreverb.c
In file included from mvreverb.c:2:0:
_multivc.h:200:13: warning: ‘MV_Mix’ declared ‘static’ but never defined [-Wunused-function]
 static void MV_Mix( VoiceNode *voice, int buffer );
             ^
_multivc.h:201:13: warning: ‘MV_PlayVoice’ declared ‘static’ but never defined [-Wunused-function]
 static void MV_PlayVoice( VoiceNode *voice );
             ^
_multivc.h:202:13: warning: ‘MV_StopVoice’ declared ‘static’ but never defined [-Wunused-function]
 static void MV_StopVoice( VoiceNode *voice );
             ^
_multivc.h:203:13: warning: ‘MV_ServiceVoc’ declared ‘static’ but never defined [-Wunused-function]
 static void MV_ServiceVoc( void );
             ^
_multivc.h:205:23: warning: ‘MV_GetNextVOCBlock’ declared ‘static’ but never defined [-Wunused-function]
 static playbackstatus MV_GetNextVOCBlock( VoiceNode *voice );
                       ^
_multivc.h:206:23: warning: ‘MV_GetNextDemandFeedBlock’ declared ‘static’ but never defined [-Wunused-function]
 static playbackstatus MV_GetNextDemandFeedBlock( VoiceNode *voice );
                       ^
_multivc.h:207:23: warning: ‘MV_GetNextRawBlock’ declared ‘static’ but never defined [-Wunused-function]
 static playbackstatus MV_GetNextRawBlock( VoiceNode *voice );
                       ^
_multivc.h:208:23: warning: ‘MV_GetNextWAVBlock’ declared ‘static’ but never defined [-Wunused-function]
 static playbackstatus MV_GetNextWAVBlock( VoiceNode *voice );
                       ^
_multivc.h:210:19: warning: ‘MV_ServiceRecord’ declared ‘static’ but never defined [-Wunused-function]
 static void       MV_ServiceRecord( void );
                   ^
_multivc.h:211:19: warning: ‘MV_GetVoice’ declared ‘static’ but never defined [-Wunused-function]
 static VoiceNode *MV_GetVoice( int handle );
                   ^
_multivc.h:212:19: warning: ‘MV_AllocVoice’ declared ‘static’ but never defined [-Wunused-function]
 static VoiceNode *MV_AllocVoice( int priority );
                   ^
_multivc.h:214:19: warning: ‘MV_GetVolumeTable’ declared ‘static’ but never defined [-Wunused-function]
 static short     *MV_GetVolumeTable( int vol );
                   ^
_multivc.h:216:19: warning: ‘MV_SetVoiceMixMode’ declared ‘static’ but never defined [-Wunused-function]
 static void       MV_SetVoiceMixMode( VoiceNode *voice );
                   ^
_multivc.h:218:19: warning: ‘MV_SetVoicePitch’ declared ‘static’ but never defined [-Wunused-function]
 static void       MV_SetVoicePitch( VoiceNode *voice, unsigned long rate, int pitchoffset );
                   ^
_multivc.h:219:19: warning: ‘MV_CalcVolume’ declared ‘static’ but never defined [-Wunused-function]
 static void       MV_CalcVolume( int MaxLevel );
                   ^
_multivc.h:220:19: warning: ‘MV_CalcPanTable’ declared ‘static’ but never defined [-Wunused-function]
 static void       MV_CalcPanTable( void );
                   ^
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o nodpmi.o nodpmi.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o pitch.o pitch.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o user.o user.c
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -c -o usrhooks.o usrhooks.c
rm -f audiolib.a
ar rv audiolib.a fx_man.o dsl.o ll_man.o multivoc.o mv_mix.o mvreverb.o nodpmi.o pitch.o user.o usrhooks.o
ar: создаётся audiolib.a
a - fx_man.o
a - dsl.o
a - ll_man.o
a - multivoc.o
a - mv_mix.o
a - mvreverb.o
a - nodpmi.o
a - pitch.o
a - user.o
a - usrhooks.o
ranlib audiolib.a
make[1]: выход из каталога «/root/rott-1.1.2/rott/audiolib»
cc -g -Ofast -mcpu=arm1176jzf-s -Wall -Wno-unused -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   cin_actr.o cin_efct.o cin_evnt.o cin_glob.o cin_main.o cin_util.o dosutil.o engine.o isr.o modexlib.o rt_actor.o rt_battl.o rt_build.o rt_cfg.o rt_crc.o rt_com.o rt_debug.o rt_dmand.o rt_door.o rt_draw.o rt_floor.o rt_game.o rt_in.o rt_main.o rt_map.o rt_menu.o rt_msg.o rt_net.o rt_playr.o rt_rand.o rt_scale.o rt_sound.o rt_spbal.o rt_sqrt.o rt_stat.o rt_state.o rt_str.o rt_swift.o rt_ted.o rt_util.o rt_view.o rt_vid.o rt_err.o scriplib.o w_wad.o watcom.o z_zone.o byteordr.o dukemusc.o winrott.o audiolib/audiolib.a -L/usr/lib/arm-linux-gnueabihf -lSDL -lSDL_mixer  -o rott

Свернуть

В результате в каталоге /root/rott-1.1.2/rott появится исполняемый файл rott, который можно скопировать в любой удобный каталог, например, /root/rott. Для запуска игры в игровой каталог потребуются распаковать файлы из архива. Уже готовый собранный порт упакован в архив и его можно загрузить прямо здесь! Для его нормального запуска нужно будет обязательно установить пакеты libsdl-mixer1.2 libsdl-mixer1.2-dev

Микрокомпьютер по умолчанию работает на разрешении 1280х720, но перед запуском игры лучше переключить в минимальный видеорежим 720х480!

fbset -xres 720 -yres 480

Предварительно нужно перейти в каталог игры

cd /rott

и запустить порт

./rott

После окончания игры надо будет веруть штатный видеорежим 1280х720:

fbset -xres 1280 -yres 720

./chocolate-doom

Для упрощения запуска порта можно (и нужно) создать скрипт и разместить его в каталоге /root, не забыв дать файлу права на выполнение:

#!/bin/bash
fbset -xres 720 -yres 480
cd /rott
./rott
cd
fbset -xres 1280 -yres 720

Скрипт перед запуском порта переключает разрешение экрана на 720х480, а после выхода из порта возвращает работающий по умолчанию видеорежим 1280х720.



Готово! На отечественном микрокомпьютере MB77.07 можно запускать не только DOOM, но и другие 3D ретро-игры!



Благодарю за внимание, доброго здоровья!



Сайт работает на микрокомпьютере