OVR: Render all walls, even behind observer
authorAndreas Eversberg <jolly@eversberg.eu>
Sat, 14 Apr 2018 13:04:27 +0000 (15:04 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Sun, 22 Apr 2018 10:02:44 +0000 (12:02 +0200)
src/mercenary/mercenary2.c
src/mercenary/mercenary3.c

index bfba01e..6bbbbb7 100644 (file)
@@ -67,7 +67,7 @@ const struct cpu_stop mercenary_stop_at[] = {
        { 0x5AFF4,      STOP_AT_POLY_BUILDING_INTERIOR5 },      /* part above window/door will be rendered */
        { 0x5AF8A,      STOP_AT_POLY_BUILDING_INTERIOR6 },      /* part below window will be rendered */
        { 0x5B0BE,      STOP_AT_POLY_BUILDING_INTERIOR5to6 },   /* part below/above window/door of building is rendered */
-       { 0x5B36C,      STOP_AT_WALL_BUILDING },                /* a wall (between floor and ceiling/window/door) is rendered) */
+       { 0x5B332,      STOP_AT_WALL_BUILDING },                /* a wall (between floor and ceiling/window/door) is rendered) */
        { 0x4F462,      STOP_AT_COORD_COMET },                  /* comet's coordinates are ready */
        { 0x4F496,      STOP_AT_MATRIX_COMET },                 /* what rotation matrix to use */
        { 0x4F4B8,      STOP_AT_POLY_COMET },                   /* comet's horizontal polygon (without culling no need to render 0x4F4BC) */
index 7fe20c2..0dd7f8d 100644 (file)
@@ -74,7 +74,7 @@ const struct cpu_stop mercenary_stop_at[] = {
        { 0x5BDFA,      STOP_AT_POLY_BUILDING_INTERIOR5 },      /* part above window/door will be rendered */
        { 0x5BD90,      STOP_AT_POLY_BUILDING_INTERIOR6 },      /* part below window will be rendered */
        { 0x5BEC4,      STOP_AT_POLY_BUILDING_INTERIOR5to6 },   /* part below/above window/door of building is rendered */
-       { 0x5C172,      STOP_AT_WALL_BUILDING },                /* a wall (between floor and ceiling/window/door) is rendered) */
+       { 0x5C138,      STOP_AT_WALL_BUILDING },                /* a wall (between floor and ceiling/window/door) is rendered) */
        { 0x4FB08,      STOP_AT_COORD_COMET },                  /* comet's coordinates are ready */
        { 0x4FB3C,      STOP_AT_MATRIX_COMET },                 /* what rotation matrix to use */
        { 0x4FB5E,      STOP_AT_POLY_COMET },                   /* comet's horizontal polygon (without culling no need to render 0x4FB62) */