image.c 499 Bytes
#include <SDL2/SDL_image.h>
#include <assert.h>
#include <state.h>
#include <stdio.h>
#include <stdlib.h>

#include "sdl_wrapper.h"

const vector_t MIN = {0, 0};
const vector_t MAX = {1000, 500};

const vector_t IMG_POSITION = {250, 0};
const vector_t IMG_SIZE = {500, 500};

const char *IMAGE_PATH = "assets/cs3_logo.png";

struct state {
  // TODO
};

state_t *emscripten_init() {
  // TODO
}

void emscripten_main(state_t *state) {
  // TODO
}

void emscripten_free(state_t *state) {
  // TODO
}