First game engine I made
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

render.h 377B

1234567891011121314151617
  1. SDL_Window* window;
  2. SDL_Renderer* renderer;
  3. SDL_Surface* loadingsurface;
  4. SDL_Texture* loadingtexture;
  5. void setuprender(SDL_Window* win, SDL_Renderer* ren);
  6. void destroyrender();
  7. //void drawsprite(int xpos, int ypos, int width, int height, float rotation, int midpointx, int midpointy);
  8. void drawbackground();
  9. void drawdebug();
  10. void drawopeningscene();
  11. void pushscreen();