Quirks.h 486 B

1234567891011121314151617181920212223
  1. #ifndef INCLUDE_QUIRKS_H
  2. #define INCLUDE_QUIRKS_H
  3. #include <memory>
  4. #include <TINYSTL/string.h>
  5. #include "platform.h"
  6. namespace WalrusRPG
  7. {
  8. namespace Quirks
  9. {
  10. void init(const char *argv_0);
  11. void deinit();
  12. // Relative path to absolute path resolving.
  13. // Exists because at this time Ndless doesn't support relative paths.
  14. std::unique_ptr<char> solve_absolute_path(const char *path);
  15. bool get_key(keycode_t key);
  16. }
  17. }
  18. #endif