Delikatne zmiany w strukturze PAK. signed char zamiast short
This commit is contained in:
parent
b4f6d3a85a
commit
a84a69cbd6
12 changed files with 330 additions and 73 deletions
|
|
@ -47,7 +47,7 @@
|
|||
struct PathConf
|
||||
{
|
||||
std::string path;
|
||||
int16_t parameter;
|
||||
int8_t parameter;
|
||||
};
|
||||
|
||||
class CreateCargo {
|
||||
|
|
@ -56,12 +56,12 @@ public:
|
|||
virtual ~CreateCargo();
|
||||
|
||||
// Punk wejœcia do tworzenia archivum
|
||||
bool Create(const std::string&, const int16_t&);
|
||||
bool Create(const std::string&, const short&);
|
||||
|
||||
private:
|
||||
const std::string signature;
|
||||
const std::string extension;
|
||||
const short version;
|
||||
const signed char version;
|
||||
|
||||
short methodFlags;
|
||||
|
||||
|
|
@ -87,10 +87,6 @@ private:
|
|||
std::ofstream cargo;
|
||||
uint64_t offset;
|
||||
|
||||
// Progress
|
||||
std::atomic<uint64_t> progress;
|
||||
|
||||
|
||||
|
||||
// Tworzenie listy plików do spakowania
|
||||
bool GetFileList(const std::string&);
|
||||
|
|
@ -114,7 +110,7 @@ private:
|
|||
void GetFilters(const std::string&);
|
||||
|
||||
// Sprawdza czy plik znajduje siê na liœcie
|
||||
void computingBytes(const int16_t&, std::vector<char>&, std::vector<char>&);
|
||||
void computingBytes(const int8_t&, std::vector<char>&, std::vector<char>&);
|
||||
|
||||
// Sprawdzanie rozsze¿eñ plików
|
||||
bool CheckFileExtension(const std::string&, const std::vector<std::string>&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue