mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-14 00:57:00 -05:00
This new code is responsible for packing the following archives: - `pl_personal` -> basic information for each species: stats, types, etc. - `evo` -> evolution lines for each species - `wotbl` -> by-level learnsets for each species - `ppark` -> catching show data for each species - `height` -> y-offsets for front and back sprites for each species - `pl_poke_data` -> sprite-rendering data for each species: animation ID, frame data, shadow size and offsets, etc. Additionally, the following headers are generated: - `res/pokemon/tutorable_moves.h` -> A listing of moves taught by each tutor and how much each move costs to be tutored - `res/pokemon/species_learnsets_by_tutor.h` -> An array of bitmasks for each species designating which moves can be tutored to that species
23 lines
877 B
Diff
23 lines
877 B
Diff
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h
|
|
index e3e20dfb..19f5a6a5 100644
|
|
--- a/include/rapidjson/document.h
|
|
+++ b/include/rapidjson/document.h
|
|
@@ -316,8 +316,6 @@ struct GenericStringRef {
|
|
|
|
GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
|
|
|
|
- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
|
|
-
|
|
//! implicit conversion to plain CharType pointer
|
|
operator const Ch *() const { return s; }
|
|
|
|
@@ -328,6 +326,8 @@ private:
|
|
//! Disallow construction from non-const array
|
|
template<SizeType N>
|
|
GenericStringRef(CharType (&str)[N]) /* = delete */;
|
|
+ //! Copy assignment operator not permitted - immutable type
|
|
+ GenericStringRef& operator=(const GenericStringRef& rhs) /* = delete */;
|
|
};
|
|
|
|
//! Mark a character pointer as constant string
|