proper init of preset loader at projectm top level

took out all milkdrop specific stuff from projectM.cpp (including headers)


git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1152 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2008-09-13 04:20:49 +00:00
parent 0d320f20b5
commit d8794e12c9
5 changed files with 23 additions and 36 deletions

View File

@ -35,8 +35,9 @@ extern "C"
#include "Common.hpp"
PresetLoader::PresetLoader ( std::string dirname = std::string() ) :_dirname ( dirname ), _dir ( 0 ), _ratingsSum ( 0 )
PresetLoader::PresetLoader (int gx, int gy, std::string dirname = std::string()) :_dirname ( dirname ), _dir ( 0 ), _ratingsSum ( 0 )
{
_presetFactoryManager.initialize(gx,gy);
// Do one scan
if ( _dirname != std::string() )
rescan();