QTfrontend/net/hwmap.cpp
branchflibqtfrontend
changeset 8094 6c5b4e69f03d
parent 8092 08960209db8c
child 8097 59a8feebec2c
equal deleted inserted replaced
8092:08960209db8c 8094:6c5b4e69f03d
    46     switch(mapgen)
    46     switch(mapgen)
    47     {
    47     {
    48         case MAPGEN_REGULAR: m_map =
    48         case MAPGEN_REGULAR: m_map =
    49                 flib_map_create_regular(
    49                 flib_map_create_regular(
    50                     seed.toUtf8().constData()
    50                     seed.toUtf8().constData()
    51                     , "" // theme? here?
    51                     , ""
    52                     , filter);
    52                     , filter);
    53                 break;
    53                 break;
    54         case MAPGEN_MAZE: m_map =
    54         case MAPGEN_MAZE: m_map =
    55                 flib_map_create_maze(
    55                 flib_map_create_maze(
    56                     seed.toUtf8().constData()
    56                     seed.toUtf8().constData()
    66                     );
    66                     );
    67                 break;
    67                 break;
    68         default:
    68         default:
    69             Q_ASSERT_X(false, "HWMap::getImage", "Unknown generator");
    69             Q_ASSERT_X(false, "HWMap::getImage", "Unknown generator");
    70     }
    70     }
    71 
    71     qDebug(m_map->seed);
    72     start(true);
    72     start(true);
    73 }
    73 }
    74 
    74 
    75 QStringList HWMap::getArguments()
    75 QStringList HWMap::getArguments()
    76 {
    76 {