INNER CODE UNIT · C

ball

GalaxyShad/Zuma-Deluxe-HD · src/zuma/BallChain.c:200

    Ball* ball = (Ball*)nextBall;

    if (ball == NULL) return NULL;
    
    Ball* newBall = Ball_Create__(ball->chain, color);

    newBall->pos = pos;

    newBall->prev = ball->prev;
    newBall->next = ball;

    if (ball->prev != NULL) {
        ball->prev->next = newBall;
    } else {
        ball->chain->start = newBall;
    }

    ball->isGluedToBack = true;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…