diff --git a/.gitignore b/.gitignore index 010a591..2bf0031 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ .mypy_cache __pycache__ .tox -.vscode \ No newline at end of file +.vscode + +# Mob / Umbrella +mob.log +vsbuild diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..580602c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.16) + +project(basic_games LANGUAGES NONE) +set(project_type python_module_plugin) +set(enable_warnings OFF) + +if(DEFINED DEPENDENCIES_DIR) + include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/project.cmake) + include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake) +else() + include(../cmake_common/project.cmake) + include(../../cmake_common/src.cmake) +endif() diff --git a/README.md b/README.md index 57aa08d..3af394a 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic ## How to add a new game? -You can create a plugin by providing a python classin the `games` folder. +You can create a plugin by providing a python class in the `games` folder. **Note:** If your game plugin does not load properly, you should set the log level to debug and look at the `mo_interface.log` file. @@ -121,8 +121,6 @@ class Witcher3Game(BasicGame): ### List of valid keys -If the column `Ini` is empty, it means it only accepts a basic string. - | Name | Description | `IPluginGame` method | Python | |------|-------------|----------------------|--------| | Name | Name of the plugin | `name` | `str` |