X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=ad4cad8b19f267e4453df40b9ce6f37387506bdd;hb=667288cc3f60989bfc84ac50bb69dae0c7bb5b22;hp=25cc7e043c72b7d9ad00635cf2c8241b61485e38;hpb=34efaa3925a28cb95ecb05bf2c693c16f6edfe2f;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 25cc7e04..ad4cad8b 100644 --- a/src/init.c +++ b/src/init.c @@ -17,10 +17,12 @@ #include "misc.h" #include "sound.h" #include "screens.h" +#include "editor.h" #include "tools.h" #include "files.h" #include "joystick.h" #include "image.h" +#include "pcx.h" #include "network.h" #include "netserv.h" @@ -65,6 +67,7 @@ void OpenAll(int argc, char *argv[]) InitSoundServer(); InitJoysticks(); InitRND(NEW_RANDOMIZE); + InitLevelEditorGadgets(); signal(SIGINT, CloseAllAndExit); signal(SIGTERM, CloseAllAndExit); @@ -159,20 +162,21 @@ void InitSound() */ #endif -#else +#else /* MSDOS */ sound_loops_allowed = TRUE; /* setup.sound_loops_on = TRUE; */ -#endif +#endif /* MSDOS */ for(i=0; i