Skip to content

Commit 0e906ba

Browse files
committed
translate russian comments, addition rename sound.h to Sound.h
1 parent 1e5a470 commit 0e906ba

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

src/xrEngine/IGame_Level.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "IInputReceiver.h"
66
#include "xr_object_list.h"
77
#include "xrCDB/xr_area.h"
8-
#include "xrSound/sound.h"
8+
#include "xrSound/Sound.h"
99
#include "xrCore/FixedVector.h"
1010
#include "EngineAPI.h"
1111
#include "EventAPI.h"

src/xrPhysics/PHCollideValidator.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ void CPHCollideValidator::SetRagDollClassNotCollide(CPHObject& obj)
6161
obj.collide_class_bits().set(cbNCClassRagDoll, TRUE);
6262
}
6363

64-
//Относит физический объект к классу анимированных объектов
64+
//Relates a physical object to the class of animated objects
6565
void CPHCollideValidator::SetAnimatedClass(CPHObject& obj) { obj.collide_class_bits().set(cbClassAnimated, TRUE); }
66-
//Задаёт игнорирование коллизий данного физического
67-
//объекта с анимированными телами
66+
//Sets ignoring collision of the physical object with animated objects (bodies)
6867
void CPHCollideValidator::SetAnimatedClassNotCollide(CPHObject& obj)
6968
{
7069
obj.collide_class_bits().set(cbNCClassAnimated, TRUE);

src/xrPhysics/PHCollideValidator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class CPHCollideValidator
1919
cbNCClassSmall = 1 << 7,
2020
cbClassRagDoll = 1 << 8,
2121
cbNCClassRagDoll = 1 << 9,
22-
cbClassAnimated = 1 << 10, //класс анимированного физического объекта
23-
cbNCClassAnimated = 1 << 11, //свойство игнорирования класса анимированного физического объекта
22+
cbClassAnimated = 1 << 10, //animated physical object class
23+
cbNCClassAnimated = 1 << 11, //ignore property of animated physical object class
2424
cbNone = 1 << 12
2525

2626
};

src/xrPhysics/PHSimpleCharacter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ void CPHSimpleCharacter::InitContact(dContact* c, bool& do_collide, u16 material
15191519
bool object = (dGeomGetBody(g1) && dGeomGetBody(g2));
15201520
b_on_object = b_on_object || object;
15211521

1522-
////////////////////////нужно сместить колижен!!
1522+
////////////////////////it is necessary to shift the collision!!
15231523
//////////////
15241524
FootProcess(c, do_collide, bo1);
15251525
if (!do_collide)

src/xrPhysics/PHWorld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void CPHWorld::OnFrame()
239239
{
240240
stats.FrameStart();
241241
// Msg ("------------- physics: %d / %d",u32(Device.dwFrame),u32(m_steps_num));
242-
//просчитать полет пуль
242+
//calculate the flight of bullets
243243
/*
244244
Device.Statistic->TEST0.Begin ();
245245
Level().BulletManager().Update ();

0 commit comments

Comments
 (0)