Make REINCARNATION unconditional.
There is a lot of code affected by this, and Pat Rankin correctly observes that it would be better to store roguelike as a level flag rather than just using Is_rogue_level. A note for the future.
This commit is contained in:
@@ -1171,14 +1171,9 @@ vga_DrawCursor()
|
||||
unsigned char first,second;
|
||||
/* char on[2] = {0xFF,0xFF}; */
|
||||
/* char off[2] = {0x00,0x00}; */
|
||||
#ifdef REINCARNATION
|
||||
boolean isrogue = Is_rogue_level(&u.uz);
|
||||
boolean singlebyte = (isrogue || iflags.over_view
|
||||
|| iflags.traditional_view || !inmap);
|
||||
#else
|
||||
boolean singlebyte = (iflags.over_view
|
||||
|| iflags.traditional_view || !inmap);
|
||||
#endif
|
||||
int curtyp;
|
||||
|
||||
if (!cursor_type && inmap) return; /* CURSOR_INVIS - nothing to do */
|
||||
@@ -1376,14 +1371,9 @@ vga_HideCursor()
|
||||
int i,pixx,pixy,x,y;
|
||||
char __far *tmp1;
|
||||
char __far *tmp2;
|
||||
#ifdef REINCARNATION
|
||||
boolean isrogue = Is_rogue_level(&u.uz);
|
||||
boolean singlebyte = (isrogue || iflags.over_view
|
||||
|| iflags.traditional_view || !inmap);
|
||||
#else
|
||||
boolean singlebyte = (iflags.over_view
|
||||
|| iflags.traditional_view || !inmap);
|
||||
#endif
|
||||
int curtyp;
|
||||
|
||||
if (inmap && !cursor_type) return; /* CURSOR_INVIS - nothing to do */
|
||||
|
||||
Reference in New Issue
Block a user