11.0u and the fix to ocean/rrv

This commit is contained in:
Zeno Rogue 2019-05-11 08:19:02 +02:00
parent a4fdaac4ab
commit eb822f195b
3 changed files with 10 additions and 6 deletions

View File

@ -3157,3 +3157,7 @@ RogueViz:
- seeps visible through walls, no junk in Jelly Kingdom
- a setting which prevents the walls from appearing out of nothing
- fixed sphere in native perspective
2019-05-10 11:51 Version 11.0u:
- fixed Ocean/Red Rock

View File

@ -4479,10 +4479,10 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
const transmatrix *Vdp =
WDIM == 3 ? &V:
!wmspatial ? &V :
sl ? &(Vd0= mscale(V, geom3::SLEV[sl] - geom3::FLOOR)) :
sl ? &(Vd0= mscale(V, DIM == 3 ? geom3::SLEV[sl] - geom3::FLOOR : geom3::SLEV[sl])) :
(highwall(c) && GDIM == 2) ? &(Vd0= mscale(V, (1+geom3::WALL)/2)) :
#if CAP_SHAPES
(chasmg==1) ? &(Vd0 = mscale(V, geom3::LAKE - geom3::FLOOR)) :
(chasmg==1) ? &(Vd0 = mscale(V, DIM == 3 ? geom3::LAKE - geom3::FLOOR : geom3::LAKE)) :
#endif
&V;
@ -5542,7 +5542,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
error |= drawMonster(V, ctype, c, moncol);
#if CAP_SHAPES
if(Vboat != &V && Vboat != &Vboat0 && q != isize(ptds)) {
if(WDIM == 2)
if(WDIM == 2 && GDIM == 3)
pushdown(c, q, V, geom3::SLEV[sl] - geom3::FLOOR, false, false);
else pushdown(c, q, V, -geom3::factor_to_lev(zlevel(tC0((*Vboat)))),
!isMultitile(c->monst), false);

View File

@ -2,9 +2,9 @@
// It is quite chaotic.
// version numbers
#define VER "11.0t"
#define VERNUM 11020
#define VERNUM_HEX 0xA614
#define VER "11.0u"
#define VERNUM 11021
#define VERNUM_HEX 0xA615
#include <stdarg.h>
#include "hyper_function.h"