mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03: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:
@@ -74,7 +74,7 @@ RES ResourceFormatPVR::load(const String &p_path, const String &p_original_path,
|
||||
uint32_t mipmaps = f->get_32();
|
||||
uint32_t flags = f->get_32();
|
||||
uint32_t surfsize = f->get_32();
|
||||
f->seek(f->get_pos() + 20); // bpp, rmask, gmask, bmask, amask
|
||||
f->seek(f->get_position() + 20); // bpp, rmask, gmask, bmask, amask
|
||||
uint8_t pvrid[5] = { 0, 0, 0, 0, 0 };
|
||||
f->get_buffer(pvrid, 4);
|
||||
ERR_FAIL_COND_V(String((char *)pvrid) != "PVR!", RES());
|
||||
|
||||
Reference in New Issue
Block a user