equal
deleted
inserted
replaced
666 isPaused:= not isPaused; |
666 isPaused:= not isPaused; |
667 SDL_ShowCursor(ord(isPaused)) |
667 SDL_ShowCursor(ord(isPaused)) |
668 end; |
668 end; |
669 |
669 |
670 procedure chRotateMask(var s: shortstring); |
670 procedure chRotateMask(var s: shortstring); |
671 const map: array[0..7] of byte = (7,4,0,1,2,3,0,5); |
|
672 begin |
671 begin |
673 inc(cTagsMaskIndex); |
672 inc(cTagsMaskIndex); |
674 if cTagsMaskIndex > High(cTagsMasks) then cTagsMaskIndex:= Low(cTagsMasks); |
673 if cTagsMaskIndex > High(cTagsMasks) then cTagsMaskIndex:= Low(cTagsMasks); |
675 |
674 |
676 // HACK: skip "health only" if all hogs are invulnerable |
675 // HACK: skip "health only" if all hogs are invulnerable |