summaryrefslogtreecommitdiff
path: root/src/client/cl_rest.h
blob: afde7d2028a329599d1f7303f42628a30a5c0b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 <string>

//bool is_good(std::string filename, int permissions = (R_OK|W_OK));
bool MakeDir(std::string destdir, std::string basegame);

#endif