DEADSOFTWARE

fully move highter level rendering code in separate file
[flatwaifu.git] / src / main.c
index 50387ff9569990323880d872d55ffb8298652315..ceba8877cee66ffcd752e83428c160f18dc918d5 100644 (file)
 
 #include "glob.h"
 #include <stdio.h>
-///#include <process.h>
 #include <stdarg.h>
-///#include <conio.h>
-//#include <time.h>
-///#include <dos.h>
 #include <stdlib.h>
 #include <string.h>
 #include "error.h"
@@ -39,7 +35,6 @@
 #include "view.h"
 #include "menu.h"
 #include "player.h"
-#include "misc.h"
 #include "my.h"
 
 #include <SDL.h>
@@ -133,6 +128,7 @@ int main(int argc, char *argv[]) {
   F_loadres(F_getresid("MIXMAP"),mixmap,0,0x10000);
   F_loadres(F_getresid("COLORMAP"),clrmap,0,256*12);
   G_init();
+  R_alloc();
   K_init();
   logo("S_init: настройка звука\n");
   S_init();