]> git.sesse.net Git - nageru/blobdiff - nageru/theme.h
Make number of cards flexible at runtime.
[nageru] / nageru / theme.h
index 507dc01828cafb3fe2524f8187b9f56a9f279e5e..ce232fcfa913acb8d9eaef44c5889b4d42f62c79 100644 (file)
@@ -85,7 +85,7 @@ struct InputStateInfo {
 
 class Theme {
 public:
-       Theme(const std::string &filename, const std::vector<std::string> &search_dirs, movit::ResourcePool *resource_pool, unsigned num_cards);
+       Theme(const std::string &filename, const std::vector<std::string> &search_dirs, movit::ResourcePool *resource_pool);
        ~Theme();
 
        struct Chain {
@@ -206,7 +206,6 @@ private:
        const InputState *input_state = nullptr;  // Protected by <m>. Only set temporarily, during chain setup.
        movit::ResourcePool *resource_pool;
        int num_channels = -1;
-       unsigned num_cards;
        bool startup_finished = false;
 
        std::mutex map_m;