Move stuff from /share to /

This commit is contained in:
Perttu Ahola 2014-09-19 10:40:10 +03:00
parent 1e1170313d
commit fc03490d78
15 changed files with 6 additions and 5 deletions

View File

@ -52,8 +52,9 @@ Directory structure
├── 3rdparty << Bundled 3rd-party libraries ├── 3rdparty << Bundled 3rd-party libraries
├── build << Build files; always mkdir build; cmake .. to keep things clean ├── build << Build files; always mkdir build; cmake .. to keep things clean
├── cache << Runtime directory used by Buildat ├── cache << Runtime directory used by Buildat
├── share << Static files; installable in /usr/share/buildat ├── builtin << Built-in modules
│   └── builtin << Built-in modules ├── client << Built-in client files
├── extensions << Built-in client extensions
├── src ├── src
│   ├── client << Client-specific code │   ├── client << Client-specific code
│   ├── core << Core code (must be kept minimal but sufficient) │   ├── core << Core code (must be kept minimal but sufficient)

View File

@ -195,7 +195,7 @@ struct CApp: public Polycode::EventHandler, public App
core = new POLYCODE_CORE(view, 640, 480, false, false, 0, 0, 90, 1, true); core = new POLYCODE_CORE(view, 640, 480, false, false, 0, 0, 90, 1, true);
Polycode::CoreServices::getInstance()->getResourceManager()->addArchive( Polycode::CoreServices::getInstance()->getResourceManager()->addArchive(
g_client_config.share_path+"/default.pak"); g_client_config.share_path+"/client/default.pak");
Polycode::CoreServices::getInstance()->getResourceManager()->addDirResource("default", Polycode::CoreServices::getInstance()->getResourceManager()->addDirResource("default",
false); false);

View File

@ -7,7 +7,7 @@ namespace client
{ {
ss_ server_address; ss_ server_address;
ss_ polycode_path = "/home/celeron55/softat/polycode/"; ss_ polycode_path = "/home/celeron55/softat/polycode/";
ss_ share_path = "../share"; ss_ share_path = "..";
ss_ cache_path = "../cache"; ss_ cache_path = "../cache";
}; };
} }

View File

@ -7,7 +7,7 @@ namespace server
{ {
ss_ rccpp_build_path = "../cache/rccpp_build"; ss_ rccpp_build_path = "../cache/rccpp_build";
ss_ interface_path = "../src/interface"; ss_ interface_path = "../src/interface";
ss_ share_path = "../share"; ss_ share_path = "..";
}; };
} }