Add CGameOptions

Former-commit-id: fb422bead3
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-31 18:19:28 +02:00
parent 5565c43daf
commit a516acdf8f
16 changed files with 417 additions and 57 deletions

View File

@@ -77,7 +77,7 @@ public:
++x4_count;
}
vector& operator=(const vector& other) {
vector& operator=(const vector& other); /* {
if (this == &other)
return *this;
clear();
@@ -92,7 +92,7 @@ public:
x4_count = other.x4_count;
}
return *this;
}
}*/
void clear() {
destroy(begin(), end());
@@ -115,7 +115,7 @@ public:
protected:
template < typename In >
void insert_into(iterator at, int n, In in); /* {
void insert_into(iterator at, int n, In in) {
int insertAt = xc_items + n;
if (x8_capacity < insertAt) {
int newCapacity = x8_capacity != 0 ? x8_capacity * 2 : 4;
@@ -123,7 +123,7 @@ protected:
x0_allocator.allocate(newData, newCapacity);
}
}*/
}
};
template < typename T, typename Alloc >