mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetic: remove dead code
This commit is contained in:
parent
b4c5f62dcf
commit
f64c03e37f
@ -1901,21 +1901,6 @@ bool CEvent::DrawButtons ()
|
|||||||
RECT rect;
|
RECT rect;
|
||||||
bool bEnable;
|
bool bEnable;
|
||||||
|
|
||||||
//?
|
|
||||||
#if 0
|
|
||||||
pos.x = 1;
|
|
||||||
pos.y = 1;
|
|
||||||
rect.left = pos.x;
|
|
||||||
rect.right = pos.x + 50;
|
|
||||||
rect.top = pos.y;
|
|
||||||
rect.bottom = pos.y + DIMLITTLEY;
|
|
||||||
m_pPixmap->DrawPart (-1, CHBACK, pos, rect, 1); // dessine le fond
|
|
||||||
time = m_pDecor->GetTotalTime();
|
|
||||||
sprintf (text, "time=%d", time);
|
|
||||||
DrawText (m_pPixmap, pos, text, FONTLITTLE);
|
|
||||||
#endif
|
|
||||||
//?
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(m_phase == EV_PHASE_PLAY && m_bChangeCheat) ||
|
(m_phase == EV_PHASE_PLAY && m_bChangeCheat) ||
|
||||||
(m_phase != EV_PHASE_PLAY && m_phase != EV_PHASE_INSERT &&
|
(m_phase != EV_PHASE_PLAY && m_phase != EV_PHASE_INSERT &&
|
||||||
|
@ -179,12 +179,10 @@ void CDecor::CheminFillTerrain (Sint32 rank)
|
|||||||
m_cheminWork[pos + i * next] = step + cout - ampli + i;
|
m_cheminWork[pos + i * next] = step + cout - ampli + i;
|
||||||
|
|
||||||
m_cheminWork[last] = step + cout;
|
m_cheminWork[last] = step + cout;
|
||||||
//? char buffer[50];
|
|
||||||
//? sprintf(buffer, "word = %d;%d %d\n", last%200,
|
|
||||||
// last/200, step+cout); ? OutputDebug(buffer);
|
|
||||||
dx = m_blupi[rank].goalCel.x - last % MAXCELX;
|
dx = m_blupi[rank].goalCel.x - last % MAXCELX;
|
||||||
dy = m_blupi[rank].goalCel.y - last / MAXCELX;
|
dy = m_blupi[rank].goalCel.y - last / MAXCELX;
|
||||||
//? dist = dy*dy + dx*dx;
|
|
||||||
dist = (Sint32) (dy * dy) + (Sint32) (dx * dx);
|
dist = (Sint32) (dy * dy) + (Sint32) (dx * dx);
|
||||||
fifo.put (last, dist);
|
fifo.put (last, dist);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user