mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor
This commit is contained in:
parent
f2f9343737
commit
3b03464d27
35 changed files with 472 additions and 279 deletions
12
src/files/settings_io.h
Normal file
12
src/files/settings_io.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef FILES_SETTINGS_IO_H_
|
||||
#define FILES_SETTINGS_IO_H_
|
||||
|
||||
#include <string>
|
||||
#include "../coders/toml.h"
|
||||
#include "../settings.h"
|
||||
|
||||
extern std::string write_controls();
|
||||
extern toml::Wrapper create_wrapper(EngineSettings& settings);
|
||||
extern void load_controls(std::string filename, std::string source);
|
||||
|
||||
#endif // FILES_SETTINGS_IO_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue