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.

boxengine.h 298B

123456789101112131415161718
  1. SDL_Window* window;
  2. SDL_Renderer* renderer;
  3. SDL_Event event;
  4. int screenwidth;
  5. int screenheight;
  6. typedef enum rendermethod{
  7. RENDER2D,
  8. RENDER3D,
  9. HARDWARE,
  10. SOFTWARE,
  11. FULLSCREEN,
  12. WINDOWED
  13. };
  14. int setup(char *title, int width, int height, int dimension, int method, int framing);
  15. int destroy();