Skip to content

Commit

Permalink
fixed non-utf8 symbols in comments and added BOM markers where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
NicSavichev committed Mar 12, 2024
1 parent 9354d7d commit 95462ba
Show file tree
Hide file tree
Showing 48 changed files with 147 additions and 158 deletions.
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/adl_sdk/AmdDxExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @file amddxext.h
// @brief AMD D3D Exension API include file.
//
// Copyright © AMD Corporation. All rights reserved.
// Copyright © AMD Corporation. All rights reserved.
//--------------------------------------------------------------------------------------

#ifndef _AMDDXEXT_H_
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/adl_sdk/AmdDxExtApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @file amddxextapi.h
// @brief AMD D3D Exension API include file. This is the main include file for apps using extensions.
//
// Copyright © AMD Corporation. All rights reserved.
// Copyright © AMD Corporation. All rights reserved.
//--------------------------------------------------------------------------------------
#ifndef _AMDDXEXTAPI_H_
#define _AMDDXEXTAPI_H_
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/adl_sdk/AmdDxExtDepthBounds.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @file amddxextdepthbounds.h
// @brief AMD D3D Depth Bounds Extension API include file.
//
// Copyright © AMD Corporation. All rights reserved.
// Copyright © AMD Corporation. All rights reserved.
//--------------------------------------------------------------------------------------

#ifndef _AMDDXEXTDEPTHBOUNDS_H_
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/adl_sdk/AmdDxExtDepthBoundsApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// AMD D3D Depth Bounds Extension API include file.
// This is the main include file for apps using the Depth Bounds extension.
//
// Copyright © AMD Corporation. All rights reserved.
// Copyright © AMD Corporation. All rights reserved.
//--------------------------------------------------------------------------------------

#ifndef _AMDDXEXTDEPTHBOUNDSAPI_H_
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/adl_sdk/AmdDxExtIface.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// AMD D3D Exension API include file. This is a helper include file for extensions. It
// provides a common base class for all extension interfaces
//
// Copyright © AMD Corporation. All rights reserved.
// Copyright © AMD Corporation. All rights reserved.
//--------------------------------------------------------------------------------------

#ifndef _AMDDXEXTIFACE_H_
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/ags_sdk/include/amd_ags.h
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetMaxAsyncCompileThreadCount(

///
/// This method can be used to determine the total number of asynchronous shader compile jobs that are either
/// queued for waiting for compilation or being compiled by the driver’s asynchronous compilation threads.
/// queued for waiting for compilation or being compiled by the drivers asynchronous compilation threads.
/// This method can be called at any during the lifetime of the driver.
///
/// \param [in] context Pointer to a context.
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/convert/nvtt-2.0.7/nvmath/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ inline Matrix mul(Matrix::Arg a, Matrix::Arg b)
v1.Normalize();

Matrix R = Matrix::Identity;
R[0, 0] = v3.X; // Not sure this is in the correct order...
R[0, 0] = v3.X; // Not sure this is in the correct order...
R[1, 0] = v3.Y;
R[2, 0] = v3.Z;
R[0, 1] = v1.X;
Expand Down
4 changes: 2 additions & 2 deletions prog/3rdPartyLibs/convert/nvtt-2.0.7/nvmath/triBox.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/********************************************************/
/********************************************************/
/* AABB-triangle overlap test code */
/* by Tomas Akenine-Möller */
/* by Tomas Akenine-Möller */
/* Function: int triBoxOverlap(float boxcenter[3], */
/* float boxhalfsize[3],float triverts[3][3]); */
/* History: */
Expand Down
4 changes: 2 additions & 2 deletions prog/3rdPartyLibs/convert/nvtt-2.0.7/nvmath/triangle.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// This code is in the public domain -- Ignacio Castaño <[email protected]>
// This code is in the public domain -- Ignacio Castaño <[email protected]>

#include <nvmath/triangle.h>

using namespace nv;


/// Tomas Möller, barycentric ray-triangle test.
/// Tomas Möller, barycentric ray-triangle test.
bool rayTest_Moller(const Triangle & t, Vector3::Arg orig, Vector3::Arg dir, float * out_t, float * out_u, float * out_v)
{
// find vectors for two edges sharing vert0
Expand Down
4 changes: 2 additions & 2 deletions prog/3rdPartyLibs/convert/nvtt-2.0.7/nvmath/triangle.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This code is in the public domain -- Ignacio Castaño <[email protected]>
// This code is in the public domain -- Ignacio Castaño <[email protected]>

#ifndef NV_MATH_TRIANGLE_H
#define NV_MATH_TRIANGLE_H
Expand Down Expand Up @@ -44,7 +44,7 @@ namespace nv
};


// Tomas Akenine-Möller box-triangle test.
// Tomas Akenine-Möller box-triangle test.
NVMATH_API bool triBoxOverlap(Vector3::Arg boxcenter, Vector3::Arg boxhalfsize, const Triangle & triangle);
NVMATH_API bool triBoxOverlapNoBounds(Vector3::Arg boxcenter, Vector3::Arg boxhalfsize, const Triangle & triangle);

Expand Down
4 changes: 2 additions & 2 deletions prog/3rdPartyLibs/fast_float/fast_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ namespace fast_float {
*/

/**
* The smallest non-zero float (binary64) is 2^1074.
* The smallest non-zero float (binary64) is 2^-1074.
* We take as input numbers of the form w x 10^q where w < 2^64.
* We have that w * 10^-343 < 2^(64-344) 5^-343 < 2^-1076.
* However, we have that
* (2^64-1) * 10^-342 = (2^64-1) * 2^-342 * 5^-342 > 2^1074.
* (2^64-1) * 10^-342 = (2^64-1) * 2^-342 * 5^-342 > 2^-1074.
* Thus it is possible for a number of the form w * 10^-342 where
* w is a 64-bit value to be a non-zero floating-point number.
*********
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* This file has been generated by the Perl script `afblue.pl', */
/* This file has been generated by the Perl script `afblue.pl', */
/* using data from file `afblue.dat'. */

/***************************************************************************/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/***************************************************************************/
/***************************************************************************/
/* */
/* afscript.h */
/* */
Expand Down
6 changes: 3 additions & 3 deletions prog/3rdPartyLibs/image/psdRead/psd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
// Copyright (C) 2001 M. Scott Heiman
// All Rights Reserved
//
// You may use the software for any purpose you see fit.  You may modify
// You may use the software for any purpose you see fit. You may modify
// it, incorporate it in a commercial application, use it for school,
// even turn it in as homework.  You must keep the Copyright in the
// even turn it in as homework. You must keep the Copyright in the
// header and source files.
// This software is not in the "Public Domain".
// You may use this software at your own risk.  I have made a reasonable
// You may use this software at your own risk. I have made a reasonable
// effort to verify that this software works in the manner I expect it to;
// however,...
//
Expand Down
2 changes: 1 addition & 1 deletion prog/3rdPartyLibs/math/poly2tri/sweep/sweep.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Zalik, B.(2008)'Sweep-line algorithm for constrained Delaunay triangulation',
* International Journal of Geographical Information Science
*
* "FlipScan" Constrained Edge Algorithm invented by Thomas Åhlén, [email protected]
* "FlipScan" Constrained Edge Algorithm invented by Thomas Åhlén, [email protected]
*/

#ifndef SWEEP_H
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! \file btGImpactShape.h
\author Francisco Len Nßjera
\author Francisco Len Nßjera
*/
/*
This source file is part of GIMPACT Library.
Expand Down
1 change: 0 additions & 1 deletion prog/engine/sceneRay/deserializedSceneRay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <debug/dag_debug.h>
#include <debug/dag_log.h>

// ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ//
template <typename FI>
DeserializedStaticSceneRayTracerT<FI>::DeserializedStaticSceneRayTracerT() : StaticSceneRayTracerT<FI>(), loadedDump(NULL)
{}
Expand Down
2 changes: 1 addition & 1 deletion prog/engine/sceneRay/tri_box_overlap.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/********************************************************/
/* AABB-triangle overlap test code */
/* by Tomas Akenine-Möller */
/* by Tomas Akenine-Möller */
/* Function: int triBoxOverlap(float boxcenter[3], */
/* float boxhalfsize[3],float triverts[3][3]); */
/* History: */
Expand Down
124 changes: 62 additions & 62 deletions prog/gameLibs/devices/IUberwoorf.h
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
#ifndef __IUBERURF_INTERFACE_DEFINED__
#ifndef __IUBERURF_INTERFACE_DEFINED__
#define __IUBERURF_INTERFACE_DEFINED__

#include "unknwn.h"


#define UW_STATUS_IN_USE 0 // Èñïîëüçóåòñÿ
#define UW_STATUS_READY 1 // Ïîäêëþ÷åíà
#define UW_STATUS_NOT_CONNECTED 2 // Íå ïîäêëþ÷åíà
#define UW_STATUS_TIMER_ERROR 3 // Îøèáêà ñîçäàíèÿ òàéìåðà
#define UW_STATUS_UNSUPPORTED_PROTOCOL 4 // Îøèáêà: óñòðîéñòâî çàïðàøèâàåò äëèíó ïðîòîêîëà áîëüøå ïðåäóñìîòðåííîé

#define UW_SIT_LEFT 0x200 // Ñèäåíüåñëåâà
#define UW_SIT_RIGHT 0x002 // Ñèäåíüåñïðàâà
#define UW_BACK_LOW_LEFT 0x400 // Íèç ñïèíûñëåâà
#define UW_BACK_LOW_RIGHT 0x004 // Íèç ñïèíûñïðàâà
#define UW_BACK_MID_LEFT 0x800 // Ñåðåäèíà ñïèíûñëåâà
#define UW_BACK_MID_RIGHT 0x008 // Ñåðåäèíà ñïèíûñïðàâà
#define UW_LEFT 0xE00 // Ëåâàÿ ñòîðîíà íàêèäêè
#define UW_RIGHT 0x00E // Ïðàâàÿ ñòîðîíà íàêèäêè
#define UW_SIT 0x202 // Ñèäåíüå
#define UW_BACK_LOW 0x404 // Íèç ñïèíû
#define UW_BACK_MID 0x808 // Ñåðåäèíà ñïèíû
#define UW_ALL_ZONES 0xE0E // Âñå çîíû
#define UW_STATUS_IN_USE 0 // Используется
#define UW_STATUS_READY 1 // Подключена
#define UW_STATUS_NOT_CONNECTED 2 // Не подключена
#define UW_STATUS_TIMER_ERROR 3 // Ошибка создания таймера
#define UW_STATUS_UNSUPPORTED_PROTOCOL 4 // Ошибка: устройство запрашивает длину протокола больше предусмотренной

#define UW_SIT_LEFT 0x200 // Сиденьеслева
#define UW_SIT_RIGHT 0x002 // Сиденьесправа
#define UW_BACK_LOW_LEFT 0x400 // Низ спиныслева
#define UW_BACK_LOW_RIGHT 0x004 // Низ спинысправа
#define UW_BACK_MID_LEFT 0x800 // Середина спиныслева
#define UW_BACK_MID_RIGHT 0x008 // Середина спинысправа
#define UW_LEFT 0xE00 // Левая сторона накидки
#define UW_RIGHT 0x00E // Правая сторона накидки
#define UW_SIT 0x202 // Сиденье
#define UW_BACK_LOW 0x404 // Низ спины
#define UW_BACK_MID 0x808 // Середина спины
#define UW_ALL_ZONES 0xE0E // Все зоны

// FLE - FILE LOAD ERROR
#define UW_FLE_NO_ERROR 0 // Íåò îøèáêè çàãðóçêè ýôôåêòà èç ôàéëà XML
#define UW_FLE_XML 1 // Îøèáêà ïðè çàãðóçêå ýôôåêòà èç ôàéëà XML
#define UW_FLE_FILE_OPEN 2 // Íå óäàëîñü îòêðûòü ôàéë
#define UW_FLE_XML_PARSE 3 // Îøèáêà ðàçáîðà XML
#define UW_FLE_XML_ELEMENT_NAME 4 // Îøèáêà ñ èìåíåì ýëåìåíòà XML
#define UW_FLE_XML_ELEMENT_VALUE 5 // Îøèáêà ñî çíà÷åíèåì ýëåìåíòà XML
#define UW_FLE_XML_ATTRIBUTE 6 // Îøèáêà ñ àòðèáóòîì XML
#define UW_FLE_XML_EMPTY_TAG 7 // Ïóñòîé òåã
#define UW_FLE_XML_CLOSING_TAG 8 // Íå íàéäåí çàêðûâàþùèé òåã
#define UW_FLE_XML_TAG_DEFINITION 9 // Îøèáêà ñ îôîðìëåíèåì òåãà
#define UW_FLE_XML_COMMENT 10 // Îøèáêà ñ êîììåíòàðèåì
#define UW_FLE_XML_DECLARATION 11 // Îøèáêà ñ çàãîëîâêîì XML-äîêóìåíòà
#define UW_FLE_XML_EMPTY_DOCUMENT 12 // Ïóñòîé XML äîêóìåíò
#define UW_FLE_XML_EOF_OR_NULL 13 // Îøèáêà êîíöà ôàéëà èëè íóëåâîãî ñèìâîëà
#define UW_FLE_XML_CDATA 14 // Îøèáêà ñåêöèè CDATA

#define UW_FLE_PATH_CHAR_CONVERSION 50 // Îøèáêà ïðåîáðàçîâàíèÿ çàäàííîãî ïóòè ê îäíîáàéòîâîé ñòðîêå
#define UW_FLE_ROOT 51 // Íåâåðíûé êîðíåâîé ýëåìåíò (íå 'uberwoorf_vibro_effect')
#define UW_FLE_ZONES_MISSING 52 // Àòðèáóò âèáðîçîí íå íàéäåí
#define UW_FLE_ZONES_INCORRECT 53 // Çíà÷åíèå àòðèáóòà âèáðîçîí íå ðàñïîçíàíî
#define UW_FLE_VPOINT_INCORRECT 54 // Ýëåìåíò òî÷êè âèáðàöèè íå ðàñïîçíàí
#define UW_FLE_VPOINT_NOT_UNIQUE 55 // Ýëåìåíò òî÷êè âèáðàöèè íå óíèêàëåí
#define UW_FLE_AMPL_TIME_MISSING 56 // Àòðèáóò àìïëèòóäû è/èëè âðåìåíè íå íàéäåí
#define UW_FLE_AMPL_TIME_INCORRECT 57 // Çíà÷åíèå àòðèáóòà àìïëèòóäû è/èëè âðåìåíè íå ðàñïîçíàíî
#define UW_FLE_VPOINT_UNKNOWN_TAG 58 // Íåèçâåñòíûé òåã â îïèñàíèè òî÷êè âèáðàöèè
#define UW_FLE_VPOINT_MISSING 59 // Ýëåìåíò îäíîé èç òî÷åê âèáðàöèè íå íàéäåí
#define UW_FLE_VIBRATION_UNKNOWN_TAG 60 // Íåèçâåñòíûé òåã â îïèñàíèè âèáðàöèè
#define UW_FLE_NO_VIBRATIONS 61 // Ýôôåêò íå ñîäåðæèò âèáðàöèé
#define UW_FLE_EFFECT_NOT_FOUND 62 // Ýôôåêò ñ òàêèì äåñêðèïòîðîì íå íàéäåí
#define UW_FLE_EFFECT_ZERO_LENGTH 63 // Ýôôåêò èìååò íóëåâóþ äëèòåëüíîñòü

#define UW_VALIDATION_NO_ERROR 0 // Íåò îøèáêè ïðîâåðêè âèáðàöèè
#define UW_VALIDATION_FAILURE 80 // Îøèáêà (exception) â ïðîöåññå ïðîâåðêè âèáðàöèè
#define UW_VALIDATION_NO_ZONES 81 // Äëÿ âèáðàöèè íå óêàçàíî íè îäíîé âèáðîçîíû
#define UW_VALIDATION_ZERO_LENGTH 82 // Íóëåâàÿ äëèòåëüíîñòü âèáðàöèè
#define UW_VALIDATION_LESS_THAN_2_POINTS_OR_1_INFINITE 83 // Äîëæíî áûòü ìèíèìóì 2 òî÷êè âèáðàöèè, èëè 1 ñî âðåìåíåì áåñêîíå÷íîñòü
#define UW_VALIDATION_INFINITY_NOT_LAST_OR_SINGLE 84 // Áåñêîíå÷íîñòü ìîæåò áûòü ïîñëåäíåé èëè åäèíñòâåííîé çàñå÷êîé âðåìåíè
#define UW_FLE_NO_ERROR 0 // Нет ошибки загрузки эффекта из файла XML
#define UW_FLE_XML 1 // Ошибка при загрузке эффекта из файла XML
#define UW_FLE_FILE_OPEN 2 // Не удалось открыть файл
#define UW_FLE_XML_PARSE 3 // Ошибка разбора XML
#define UW_FLE_XML_ELEMENT_NAME 4 // Ошибка с именем элемента XML
#define UW_FLE_XML_ELEMENT_VALUE 5 // Ошибка со значением элемента XML
#define UW_FLE_XML_ATTRIBUTE 6 // Ошибка с атрибутом XML
#define UW_FLE_XML_EMPTY_TAG 7 // Пустой тег
#define UW_FLE_XML_CLOSING_TAG 8 // Не найден закрывающий тег
#define UW_FLE_XML_TAG_DEFINITION 9 // Ошибка с оформлением тега
#define UW_FLE_XML_COMMENT 10 // Ошибка с комментарием
#define UW_FLE_XML_DECLARATION 11 // Ошибка с заголовком XML-документа
#define UW_FLE_XML_EMPTY_DOCUMENT 12 // Пустой XML документ
#define UW_FLE_XML_EOF_OR_NULL 13 // Ошибка конца файла или нулевого символа
#define UW_FLE_XML_CDATA 14 // Ошибка секции CDATA

#define UW_FLE_PATH_CHAR_CONVERSION 50 // Ошибка преобразования заданного пути к однобайтовой строке
#define UW_FLE_ROOT 51 // Неверный корневой элемент (не 'uberwoorf_vibro_effect')
#define UW_FLE_ZONES_MISSING 52 // Атрибут виброзон не найден
#define UW_FLE_ZONES_INCORRECT 53 // Значение атрибута виброзон не распознано
#define UW_FLE_VPOINT_INCORRECT 54 // Элемент точки вибрации не распознан
#define UW_FLE_VPOINT_NOT_UNIQUE 55 // Элемент точки вибрации не уникален
#define UW_FLE_AMPL_TIME_MISSING 56 // Атрибут амплитуды и/или времени не найден
#define UW_FLE_AMPL_TIME_INCORRECT 57 // Значение атрибута амплитуды и/или времени не распознано
#define UW_FLE_VPOINT_UNKNOWN_TAG 58 // Неизвестный тег в описании точки вибрации
#define UW_FLE_VPOINT_MISSING 59 // Элемент одной из точек вибрации не найден
#define UW_FLE_VIBRATION_UNKNOWN_TAG 60 // Неизвестный тег в описании вибрации
#define UW_FLE_NO_VIBRATIONS 61 // Эффект не содержит вибраций
#define UW_FLE_EFFECT_NOT_FOUND 62 // Эффект с таким дескриптором не найден
#define UW_FLE_EFFECT_ZERO_LENGTH 63 // Эффект имеет нулевую длительность

#define UW_VALIDATION_NO_ERROR 0 // Нет ошибки проверки вибрации
#define UW_VALIDATION_FAILURE 80 // Ошибка (exception) в процессе проверки вибрации
#define UW_VALIDATION_NO_ZONES 81 // Для вибрации не указано ни одной виброзоны
#define UW_VALIDATION_ZERO_LENGTH 82 // Нулевая длительность вибрации
#define UW_VALIDATION_LESS_THAN_2_POINTS_OR_1_INFINITE 83 // Должно быть минимум 2 точки вибрации, или 1 со временем бесконечность
#define UW_VALIDATION_INFINITY_NOT_LAST_OR_SINGLE 84 // Бесконечность может быть последней или единственной засечкой времени
#define UW_VALIDATION_INFINITY_AMPLITUDE_NOT_AS_PREVIOUS \
85 // Åñëè áåñêîíå÷íîñòü åñòü, òî àìïëèòóäà äîëæíà áûòü òàêîé æå, êàê íà ïðåäûäóùåé çàñå÷êå
#define UW_VALIDATION_INFINITY_AMPLITUDE_ZERO 86 // Àìïëèòóäà ó áåñêîíå÷íîé âèáðàöèè íóëåâàÿ
#define UW_VALIDATION_NEXT_TIME_NOT_EQUAL_OR_MORE 87 // Ïîñëåäóþùàÿ çàñå÷êà äîëæíà áûòü ðàâíîé ïðåäûäóùåé èëè áîëüøå åå
#define UW_VALIDATION_THREE_OR_MORE_EQUAL_TIMES 88 // Íå äîïóñêàåòñÿ ïîäðÿä òðè è áîëåå îäèíàêîâûõ çàñå÷åê âðåìåíè
#define UW_VALIDATION_TIME_OUT_OF_RANGE 89 // Âðåìÿ âíå äèàïàçîíà (0... 1 000 000 ìñ)
85 // Если бесконечность есть, то амплитуда должна быть такой же, как на предыдущей засечке
#define UW_VALIDATION_INFINITY_AMPLITUDE_ZERO 86 // Амплитуда у бесконечной вибрации нулевая
#define UW_VALIDATION_NEXT_TIME_NOT_EQUAL_OR_MORE 87 // Последующая засечка должна быть равной предыдущей или больше ее
#define UW_VALIDATION_THREE_OR_MORE_EQUAL_TIMES 88 // Не допускается подряд три и более одинаковых засечек времени
#define UW_VALIDATION_TIME_OUT_OF_RANGE 89 // Время вне диапазона (0... 1 000 000 мс)

#define UW_LANG_RUSSIAN 0x0419 // Êîä ðóññêîãî ÿçûêà
#define UW_LANG_RUSSIAN 0x0419 // Код русского языка


struct IUberwoorf : public IUnknown
Expand Down
4 changes: 2 additions & 2 deletions prog/gameLibs/iso8601Time/tests/testsImpl.inc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ TEST_CASE(parse_iso8601_timestamps)
TEST_CHECK(iso8601_parse("2023-08-01T11:22:33Z") == iso8601_parse("20230801T112233"));
// YYYY-MM-DDThh:mm:ss
TEST_CHECK(iso8601_parse("2023-08-01T11:22:33Z") == iso8601_parse("2023-08-01T11:22:33"));
// YYYYMMDDThhmmss±hh
// YYYYMMDDThhmmss±hh
TEST_CHECK(iso8601_parse("2023-08-01T11:22:33Z") == iso8601_parse("20230801T152233+04"));
// YYYYMMDDThhmmss±hhmm
// YYYYMMDDThhmmss±hhmm
TEST_CHECK(iso8601_parse("2023-08-01T11:22:33Z") == iso8601_parse("20230801T154233+0420"));
// YYYY-MM-DDThh:mm:ss[.SSS]
TEST_CHECK(iso8601_parse("2023-08-01T11:22:33.123Z") == iso8601_parse("2023-08-01T11:22:33.123"));
Expand Down
8 changes: 4 additions & 4 deletions prog/gameLibs/publicInclude/vehiclePhys/physCarParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ struct PhysCarSuspensionParams
float springK; //< Spring stiffness [N/m]
float springKdUp, springKdDown; //< Spring damping [N*sec/m]
float arbK; //< Antirollbar stiffness [N/m]
// óæå ïðèâåäåííîå çíà÷åíèå æåñòêîñòè àíòèðîëëáàðà íà ìåòð ðàçíèöû òåêóùèõ ïîëîæåíèé
// ïðóæèí êîëåñ, ñâÿçàííûõ ýòèì ñòàáèëèçàòîðîì.
// âîîáùå îíî çàâèñèò îò óãëîâ, íî åñëè áðàòü ïëå÷è ñòàáèëèçàòîðà 30 ñì,
// òî ïðè íàøèõ õîäàõ ïîäâåñêè sin a ~= a
// the given value of the anti-rollbar stiffness per meter of the difference in the current positions of the wheel
// springs connected by this stabilizer;
// in general, it depends on the angles, but if we take the shoulders of the stabilizer as 30 cm, then with our
// suspension moves we have sin a ~= a
float wRad, wMass;
int flags;

Expand Down
2 changes: 1 addition & 1 deletion prog/tools/converters/bsp/optimize.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
Expand Down
Loading

0 comments on commit 95462ba

Please sign in to comment.