mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-10 09:25:18 +00:00
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:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user