From 425decdf7e9284d15aa726e3ae96b9942fb0e3ea Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 16 Feb 2020 03:40:06 +0000 Subject: create tremded branch --- src/client/cl_rest.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/client/cl_rest.h (limited to 'src/client/cl_rest.h') diff --git a/src/client/cl_rest.h b/src/client/cl_rest.h new file mode 100644 index 0000000..afde7d2 --- /dev/null +++ b/src/client/cl_rest.h @@ -0,0 +1,18 @@ +#ifndef _CL_REST_H_ +#define _CL_REST_H_ + +bool GetPermissions(const char*execpath); + +// Download a fresh copy of the "required" base game files to the top-most fs_basegame. +// +// Returns true(1) on success +// Return false(0) on error +// +bool GetTremulousPk3s(const char* destdir, const char* basegame); + +#include + +//bool is_good(std::string filename, int permissions = (R_OK|W_OK)); +bool MakeDir(std::string destdir, std::string basegame); + +#endif -- cgit