CRYO: Fix PC cursor rotation and drawing

This commit is contained in:
Retro-Junk 2016-11-06 16:49:12 +03:00 committed by Eugene Sandulenko
parent 4aa4460bc1
commit 4cbea86922
2 changed files with 9 additions and 11 deletions

View File

@ -9,12 +9,10 @@
8. Screen doubling feature probably doesn't work (not really needed, can be replaced with built-in SCUMMVM scaler)
9. Tons of debug messages spam when hover mouse over party icons or menu buttons
A. King's bread drawn over inventory bar
B. One side of PC cursor has flipped texture
C. PC cursor clipped too agressively
D. PC logos and credits videos won't play because encoded in old HNM format
E. Eye blinking works incorrectly?
F. Bogus hitbox in upper right corner of mirror screen (under mini-map)
G. Wrong frescoes cursor on PC
H. No Eloi comment after getting flute on PC?
I. Junk on a valley entrance screen on PC
J. Move right cursor on PC rotates in wrong direction
B. PC cursor clipped too agressively
C. PC logos and credits videos won't play because encoded in old HNM format
D. Eye blinking works incorrectly?
E. Bogus hitbox in upper right corner of mirror screen (under mini-map)
F. Wrong frescoes cursor on PC
G. Junk on a valley entrance screen on PC
H. On PC, no sound during first Mungo's dialogue, memory corruption after that

View File

@ -8851,7 +8851,7 @@ void EdenGame::affiche_ligne_mapping(int16 r3, int16 r4, byte *target, byte *tex
cubeCursor pc_cursors[9] = {
{ { 0, 0, 0, 0, 0, 0 }, 3, 2 },
{ { 1, 1, 0, 1, 1, 0 }, 1, -2 },
{ { 1, 1, 0, 1, 1, 0 }, 2, -2 },
{ { 2, 2, 2, 2, 2, 2 }, 1, 2 },
{ { 3, 3, 3, 3, 3, 3 }, 1, -2 },
{ { 4, 4, 4, 4, 4, 4 }, 2, 2 },
@ -9009,7 +9009,7 @@ void EdenGame::PaintFace5(XYZ *point) {
for (y = -15; y < 15; y++)
for (x = -15; x < 15; x++) {
point->x = x;
point->z = -y;
point->z = y;
RotatePoint(point, &rpoint);
PaintPixel(&rpoint, face[5][tab1[x + 15] + tab2[y + 15]]);
}