INNER CODE UNIT · C

step

acoto87/war1 · src/war_actions.c:1116

        step = actionDef->steps.items[action->stepIndex];
    }

    action->lastActionStep = WAR_ACTION_STEP_NONE;
    action->lastSoundStep = WAR_ACTION_STEP_NONE;

    while (step.type != WAR_ACTION_STEP_WAIT)
    {
        switch (step.type)
        {
            case WAR_ACTION_STEP_FRAME:
            {
                s32 frameIndex = step.param;

                if (actionDef->directional)
                {
                    // super complicated math here:
                    //

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…