diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 603f925dc..475b48918 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -57,8 +57,6 @@ char *Help2d[]= { " '4 = MIN FRAMERATE", #endif " '7 = Swap tags", - " '9 = Double size map", - " '0 = Shrink map to half size", " X = Flip sector x", " Y = Flip sector y", " F5 = Item count", @@ -5385,7 +5383,11 @@ void FuncMenuOpts(void) printext16(8,ydim-STATUS2DSIZ+88,11,-1,snotbuf,0); Bsprintf(snotbuf,"Scale map down"); printext16(8,ydim-STATUS2DSIZ+96,11,-1,snotbuf,0); + Bsprintf(snotbuf,"Global shade divide"); + printext16(8,ydim-STATUS2DSIZ+104,11,-1,snotbuf,0); + Bsprintf(snotbuf,"Global vis divide"); + printext16(200,ydim-STATUS2DSIZ+48,11,-1,snotbuf,0); /* Bsprintf(snotbuf," (0x%x), (0x%x)",sprite[spritenum].hitag,sprite[spritenum].lotag); printext16(8,ydim-STATUS2DSIZ+104,11,-1,snotbuf,0); @@ -5423,7 +5425,7 @@ void FuncMenuOpts(void) void FuncMenu(void) { char disptext[80]; - char col=0, row=0, rowmax=6, dispwidth = 24; + char col=0, row=0, rowmax=7, dispwidth = 24; long xpos = 8, ypos = ydim-STATUS2DSIZ+48; int i = -1, j; char editval = 0; @@ -5457,56 +5459,54 @@ void FuncMenu(void) } keystatus[0xc8] = 0; } - /* - if (keystatus[0xcb] > 0) - { - if (col == 2) - { - printext16(xpos,ypos+row*8,11,0,disptext,0); - col = 1; - xpos = 200; - rowmax = 6; - dispwidth = 24; - disptext[dispwidth] = 0; - if (row > rowmax) row = rowmax; - } - else if (col == 1) - { - printext16(xpos,ypos+row*8,11,0,disptext,0); - col = 0; - xpos = 8; - rowmax = 6; - dispwidth = 23; - disptext[dispwidth] = 0; - if (row > rowmax) row = rowmax; - } - keystatus[0xcb] = 0; - } - if (keystatus[0xcd] > 0) - { - if (col == 0) - { - printext16(xpos,ypos+row*8,11,0,disptext,0); - col = 1; - xpos = 200; - rowmax = 6; - dispwidth = 24; - disptext[dispwidth] = 0; - if (row > rowmax) row = rowmax; - } - else if (col == 1) - { - printext16(xpos,ypos+row*8,11,0,disptext,0); - col = 2; - xpos = 400; - rowmax = 6; - dispwidth = 26; - disptext[dispwidth] = 0; - if (row > rowmax) row = rowmax; - } - keystatus[0xcd] = 0; - } - */ + if (keystatus[0xcb] > 0) + { +/* if (col == 2) + { + printext16(xpos,ypos+row*8,11,0,disptext,0); + col = 1; + xpos = 200; + rowmax = 6; + dispwidth = 24; + disptext[dispwidth] = 0; + if (row > rowmax) row = rowmax; + } + else */ if (col == 1) + { + printext16(xpos,ypos+row*8,11,0,disptext,0); + col = 0; + xpos = 8; + rowmax = 7; + dispwidth = 23; + disptext[dispwidth] = 0; + if (row > rowmax) row = rowmax; + } + keystatus[0xcb] = 0; + } + if (keystatus[0xcd] > 0) + { + if (col == 0) + { + printext16(xpos,ypos+row*8,11,0,disptext,0); + col = 1; + xpos = 200; + rowmax = 0; + dispwidth = 24; + disptext[dispwidth] = 0; + if (row > rowmax) row = rowmax; + } +/* else if (col == 1) + { + printext16(xpos,ypos+row*8,11,0,disptext,0); + col = 2; + xpos = 400; + rowmax = 6; + dispwidth = 26; + disptext[dispwidth] = 0; + if (row > rowmax) row = rowmax; + } */ + keystatus[0xcd] = 0; + } if (keystatus[0x1c] > 0) { keystatus[0x1c] = 0; @@ -5608,9 +5608,7 @@ void FuncMenu(void) sector[i].floorz += scale; } for(i=0;i 3 || (ud.multimode > 1 && !(gametype_flags[ud.coop] & GAMETYPE_FLAG_PLAYERSFRIENDLY))) - Bsprintf(tempbuf,"Kills: %ld",ud.multimode>1?ps[i].frag-ps[i].fraggedself:ps[myconnectindex].actors_killed); + Bsprintf(tempbuf,"Kills: %ld",(ud.multimode>1 &&!(gametype_flags[ud.coop]&GAMETYPE_FLAG_PLAYERSFRIENDLY))?ps[i].frag-ps[i].fraggedself:ps[myconnectindex].actors_killed); else Bsprintf(tempbuf,"Kills: %ld/%ld",ps[myconnectindex].actors_killed, ps[myconnectindex].max_actors_killed>ps[myconnectindex].actors_killed?