INNER CODE UNIT · C

context

acoto87/war1 · src/war1.c:140

    WarContext* context = (WarContext*)wm_alloc(sizeof(WarContext));
    if (!context)
    {
        logError("Failed to allocate WarContext!");
        wm_allocFree();
        SDL_Quit();
        return -1;
    }

    if (!wg_parseCommandLine(context, argc, argv))
    {
        wm_allocFree();
        SDL_Quit();
        return -1;
    }

    if (!wg_initGame(context))
    {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…