mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Comments spelling fixes
This commit is contained in:
parent
1218a16de5
commit
a11a64fbf4
6 changed files with 7 additions and 7 deletions
|
@ -42,7 +42,7 @@
|
||||||
// recursion. So: float value; int value; etc.
|
// recursion. So: float value; int value; etc.
|
||||||
//
|
//
|
||||||
// This works by splitting up the parameter pack for each step in the recursion minus the first.
|
// This works by splitting up the parameter pack for each step in the recursion minus the first.
|
||||||
// so the the first step creates the "T value" from the first template parameter.
|
// so the first step creates the "T value" from the first template parameter.
|
||||||
// any further template arguments end up in "Rest", which we then use to instantiate a new
|
// any further template arguments end up in "Rest", which we then use to instantiate a new
|
||||||
// tuple, but now minus the first argument. To write this all out:
|
// tuple, but now minus the first argument. To write this all out:
|
||||||
//
|
//
|
||||||
|
|
|
@ -402,7 +402,7 @@ Error SkinTool::_determine_skeletons(
|
||||||
for (GLTFSkinIndex skin_i = 0; skin_i < skins.size(); ++skin_i) {
|
for (GLTFSkinIndex skin_i = 0; skin_i < skins.size(); ++skin_i) {
|
||||||
Ref<GLTFSkin> skin = skins.write[skin_i];
|
Ref<GLTFSkin> skin = skins.write[skin_i];
|
||||||
|
|
||||||
// If any of the the skeletons nodes exist in a skin, that skin now maps to the skeleton
|
// If any of the skeletons nodes exist in a skin, that skin now maps to the skeleton
|
||||||
for (int i = 0; i < skeleton_nodes.size(); ++i) {
|
for (int i = 0; i < skeleton_nodes.size(); ++i) {
|
||||||
SkinNodeIndex skel_node_i = skeleton_nodes[i];
|
SkinNodeIndex skel_node_i = skeleton_nodes[i];
|
||||||
if (skin->joints.has(skel_node_i) || skin->non_joints.has(skel_node_i)) {
|
if (skin->joints.has(skel_node_i) || skin->non_joints.has(skel_node_i)) {
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
Start a file with the fastest Deflate compression level ([code]1[/code]). This is fast to compress, but results in larger file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
|
Start a file with the fastest Deflate compression level ([code]1[/code]). This is fast to compress, but results in larger file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="COMPRESSION_BEST" value="9" enum="CompressionLevel">
|
<constant name="COMPRESSION_BEST" value="9" enum="CompressionLevel">
|
||||||
Start a file with the the best Deflate compression level ([code]9[/code]). This is slow to compress, but results in smaller file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
|
Start a file with the best Deflate compression level ([code]9[/code]). This is slow to compress, but results in smaller file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
|
|
@ -42,7 +42,7 @@ struct DisplayServerEmbeddedState {
|
||||||
/// Default to a scale of 2.0, which is the most common.
|
/// Default to a scale of 2.0, which is the most common.
|
||||||
float screen_max_scale = 2.0f;
|
float screen_max_scale = 2.0f;
|
||||||
float screen_dpi = 96.0f;
|
float screen_dpi = 96.0f;
|
||||||
/// The display ID of the window which is displaying the the embedded process content.
|
/// The display ID of the window which is displaying the embedded process content.
|
||||||
uint32_t display_id = -1;
|
uint32_t display_id = -1;
|
||||||
|
|
||||||
void serialize(PackedByteArray &r_data);
|
void serialize(PackedByteArray &r_data);
|
||||||
|
|
|
@ -4658,7 +4658,7 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||||
// Process window messages.
|
// Process window messages.
|
||||||
switch (uMsg) {
|
switch (uMsg) {
|
||||||
case WM_GETOBJECT: {
|
case WM_GETOBJECT: {
|
||||||
get_object_recieved = true;
|
get_object_received = true;
|
||||||
} break;
|
} break;
|
||||||
case WM_MENUCOMMAND: {
|
case WM_MENUCOMMAND: {
|
||||||
native_menu->_menu_activate(HMENU(lParam), (int)wParam);
|
native_menu->_menu_activate(HMENU(lParam), (int)wParam);
|
||||||
|
@ -7177,7 +7177,7 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t delta = OS::get_singleton()->get_ticks_msec() - time_wait;
|
uint64_t delta = OS::get_singleton()->get_ticks_msec() - time_wait;
|
||||||
if (delta > 500 || get_object_recieved) {
|
if (delta > 500 || get_object_received) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,7 +278,7 @@ class DisplayServerWindows : public DisplayServer {
|
||||||
String rendering_driver;
|
String rendering_driver;
|
||||||
bool app_focused = false;
|
bool app_focused = false;
|
||||||
bool keep_screen_on = false;
|
bool keep_screen_on = false;
|
||||||
bool get_object_recieved = false;
|
bool get_object_received = false;
|
||||||
HANDLE power_request;
|
HANDLE power_request;
|
||||||
|
|
||||||
TTS_Windows *tts = nullptr;
|
TTS_Windows *tts = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue