Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
This commit is contained in:
parent
ecd226c6a7
commit
5ad9be4c24
247 changed files with 823 additions and 832 deletions
|
|
@ -471,7 +471,7 @@ void AppxPackager::add_file(String p_file_name, const uint8_t *p_buffer, size_t
|
|||
meta.uncompressed_size = p_len;
|
||||
meta.compressed_size = p_len;
|
||||
meta.compressed = p_compress;
|
||||
meta.zip_offset = package->get_pos();
|
||||
meta.zip_offset = package->get_position();
|
||||
|
||||
Vector<uint8_t> file_buffer;
|
||||
|
||||
|
|
@ -619,11 +619,11 @@ void AppxPackager::finish() {
|
|||
|
||||
// Write central directory
|
||||
EditorNode::progress_task_step("export", "Finishing package...", 6);
|
||||
central_dir_offset = package->get_pos();
|
||||
central_dir_offset = package->get_position();
|
||||
package->store_buffer(central_dir_data.ptr(), central_dir_data.size());
|
||||
|
||||
// End record
|
||||
end_of_central_dir_offset = package->get_pos();
|
||||
end_of_central_dir_offset = package->get_position();
|
||||
Vector<uint8_t> end_record = make_end_of_central_record();
|
||||
package->store_buffer(end_record.ptr(), end_record.size());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue