You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user