clean up example warnings

This commit is contained in:
Patrick Surry
2024-12-30 11:26:26 -05:00
parent ce59a1c6bb
commit 3e4bbb11dd
16 changed files with 60 additions and 86 deletions

View File

@@ -113,7 +113,7 @@ void VideoInit()
int main()
{
int i, j, off;
int i, j;
int a, b;
// copy images
@@ -150,7 +150,7 @@ int main()
{
// membranes update (by sound offset)
int off = (SNDLEN - SoundCnt) % BEATINT;
off = (off < BEATON) ? MEMBOFF : 0;
off = (off < (int)BEATON) ? MEMBOFF : 0;
LayerSetX(MEMB1LAYER, REPRO1X+MEMB1X+off);
LayerSetY(MEMB1LAYER, MEMBY+off);
LayerSetX(MEMB2LAYER, REPRO2X+MEMB2X+off);