User contributions for Sedonya
7 June 2023
- 23:0423:04, 7 June 2023 diff hist +518 N Translations:Movement/11/ru Created page with "Трение игнорируется при удерживании нажатой клавиши. Таким образом, при высоких скоростях нажатие ни на что не замедлит тии быстрее, чем движение в противоположном направлении, поскольку трение будет иметь экспоненциальное замедление по сравнению с линейны..." current
- 23:0323:03, 7 June 2023 diff hist +1,249 N Translations:Movement/10/ru Created page with "* Ничего не нажимать: ** Земля: Каждый тик <syntaxhighlight lang="c++" inline="">velocity.x = velocity.x * 0.5</syntaxhighlight>. ** Воздух: Каждый тик <syntaxhighlight lang="c++" inline="">velocity.x = velocity.x * 0.95</syntaxhighlight>. * Нажатие клавиши в противоположном направлении: ** Земля: Каждый такт горизонтальная скорость уменьшае..." current
- 23:0323:03, 7 June 2023 diff hist +51 N Translations:Movement/9/ru Created page with "== Горизонтальное движение ==" current
- 23:0323:03, 7 June 2023 diff hist +314 N Translations:Movement/8/ru Created page with "Прыжок "устанавливает" скорость y, отменяя любую предыдущую скорость вверх или вниз. Это очень полезно в сценариях, где необходимо остановить большой вертикальный импульс." current
- 23:0223:02, 7 June 2023 diff hist +179 N Translations:Movement/7/ru Created page with "Прыжок в воздух (двойной прыжок) устанавливает скорость y тройника на -12.0, увеличенную на значение." current
- 23:0223:02, 7 June 2023 diff hist +139 N Translations:Movement/6/ru Created page with "Прыжки на землю устанавливают скорость y тии на -13.2, увеличенную на значение." current
- 23:0223:02, 7 June 2023 diff hist +20 N Translations:Movement/5/ru Created page with "=== Прыжки ===" current
- 23:0123:01, 7 June 2023 diff hist +142 N Translations:Movement/4/ru Created page with "Каждый тик к скорости y (вниз) добавляется ускорение 0,5, вызванное гравитацией." current
- 23:0123:01, 7 June 2023 diff hist +28 N Translations:Movement/3/ru Created page with "=== Гравитация ===" current
- 23:0123:01, 7 June 2023 diff hist +18 N Translations:Movement/2/ru Created page with "== Основы ==" current
- 23:0123:01, 7 June 2023 diff hist +139 Development/ru Created page with "Теперь, когда вы можете создать DDNet, вы можете приступить к его редактированию."
- 23:0123:01, 7 June 2023 diff hist +87 N Translations:Movement/1/ru Created page with "Движение - один из основных аспектов Teeworlds и DDrace." current
- 23:0123:01, 7 June 2023 diff hist +16 N Translations:Movement/Page display title/ru Created page with "Движение" current
- 23:0123:01, 7 June 2023 diff hist +1,018 N Translations:Development/70/ru Created page with "* [https://edgarluque.com/blog/intro-to-ddnet/ Знакомство с исходным кодом игры DDraceNetwork] от Ryozuki * [https://edgarluque.com/blog/code-conventions-in-ddnet/ Соглашения о коде в DDraceNetwork] от Ryozuki * [https://edgarluque.com/blog/chat-command-ddracenetwork/ Реализация команды чата в DDraceNetwork] от Special:MyLan..."
- 23:0023:00, 7 June 2023 diff hist −43 Development/ru Created page with "==== Серверная сторона ===="
- 22:5822:58, 7 June 2023 diff hist +35 N Translations:Development/69/ru Created page with "== Внешние ресурсы ==" current
- 22:5822:58, 7 June 2023 diff hist +116 N Translations:Development/68/ru Created page with "<syntaxhighlight lang="cpp"> int i = 2; dbg_msg("wikiprint", "Hello from the ddnet wiki: %d", i); </syntaxhighlight>" current
- 22:5822:58, 7 June 2023 diff hist +41 N Translations:Development/67/ru Created page with "=== Отладочная печать ===" current
- 22:5822:58, 7 June 2023 diff hist +141 N Translations:Development/66/ru Created page with "<syntaxhighlight lang="cpp"> Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "wikiprint", "Hello from the ddnet wiki!"); </syntaxhighlight>" current
- 22:5822:58, 7 June 2023 diff hist +55 N Translations:Development/65/ru Created page with "=== Печать на игровой консоли ===" current
- 22:5822:58, 7 June 2023 diff hist +160 N Translations:Development/64/ru Created page with "<syntaxhighlight lang="cpp"> for(int i = 0; i < MAX_CLIENTS; i++) { // Server-side CPlayer *pPlayer = GameServer()->m_apPlayers[i]; } </syntaxhighlight>" current
- 22:5822:58, 7 June 2023 diff hist +53 N Translations:Development/63/ru Created page with "=== Итерация по всем игрокам ==="
- 22:5822:58, 7 June 2023 diff hist +112 N Translations:Development/62/ru Created page with "<syntaxhighlight lang="cpp"> char aBuf[128]; str_format(aBuf, sizeof(aBuf), "number: %d", 2); </syntaxhighlight>" current
- 22:5822:58, 7 June 2023 diff hist +49 N Translations:Development/61/ru Created page with "=== Форматирование текста ===" current
- 22:5822:58, 7 June 2023 diff hist +120 N Translations:Development/60/ru Created page with "Вот список кода, который вы можете часто встретить в кодовой базе:" current
- 22:5722:57, 7 June 2023 diff hist +35 N Translations:Development/59/ru Created page with "== Общие фрагменты ==" current
- 22:5722:57, 7 June 2023 diff hist +454 N Translations:Development/58/ru Created page with "* <code>p</code> для указателей: <code>pMyPointer</code>, <code>m_pCharacter</code>, <code>ppMyPointerToPointer</code>. * <code>a</code> для массивов: <code>aMyArray</code>, <code>aBuf</code>. * <code>v</code> для <code>std::vector</code>s: <code>vMyVector</code>, <code>vpvMyVectorOfPointersToVectors</code>. * <code>fn</code> для функций: <code>pfnMyCallback</code>, <code>m_papfnMyPointerToArrayOfCallbacks</code>." current
- 22:5722:57, 7 June 2023 diff hist +26 N Translations:Development/57/ru Created page with "==== Префиксы ====" current
- 22:5722:57, 7 June 2023 diff hist +360 N Translations:Development/56/ru Created page with "* <code>m</code> для переменных-членов: <code>m_MyVariable</code>. * <code>s</code> для статических переменных: <code>s_MyStaticVariable</code>, <code>ms_MyStaticMemberVariable</code>. * <code>g</code> для глобальных переменных с внешней связью: <code>gs_MyGlobalStaticVar</code>." current
- 22:5622:56, 7 June 2023 diff hist +36 N Translations:Development/55/ru Created page with "==== Квалификаторы ===="
- 22:5622:56, 7 June 2023 diff hist +107 N Translations:Development/54/ru Created page with "Они расположены следующим образом: <code>[qualifiers]_[prefixes][Name]</code>" current
- 22:5622:56, 7 June 2023 diff hist +596 N Translations:Development/53/ru Created page with "* Имена переменных содержат 3 части: классификатор, префикс и имя. * Имена переменных должны начинаться с прописной буквы, если только они не имеют длину в 1 символ без какого-либо префикса или определителя, например: <code>i</code>, <code>x</code>, <code>y</code>. * Переменные могут..." current
- 22:5522:55, 7 June 2023 diff hist −132 Development/ru Created page with "В настоящее время применяется следующее:"
- 22:5522:55, 7 June 2023 diff hist +49 N Translations:Development/52/ru Created page with "=== Именование переменных ===" current
- 22:5522:55, 7 June 2023 diff hist +215 N Translations:Development/51/ru Created page with "<syntaxhighlight lang="cpp"> enum { FAKETUNE_FREEZE = 1, FAKETUNE_SOLO = 2, FAKETUNE_NOJUMP = 4, FAKETUNE_NOCOLL = 8, FAKETUNE_NOHOOK = 16, FAKETUNE_JETPACK = 32, FAKETUNE_NOHAMMER = 64, }; </syntaxhighlight>" current
- 22:5522:55, 7 June 2023 diff hist +86 N Translations:Development/50/ru Created page with "Должен быть screaming snake case, например: <code>MAX_PLAYERS</code>"
- 22:5422:54, 7 June 2023 diff hist +54 N Translations:Development/49/ru Created page with "=== Перечисления и константы ===" current
- 22:5422:54, 7 June 2023 diff hist +96 N Translations:Development/48/ru Created page with "<syntaxhighlight lang="cpp"> class CCharacter : public CEntity { // ... } </syntaxhighlight>" current
- 22:5422:54, 7 June 2023 diff hist +13 N Translations:Development/47/ru Created page with "Пример:" current
- 22:5422:54, 7 June 2023 diff hist +396 N Translations:Development/46/ru Created page with "Должен иметь префикс <code>C</code> (по устаревшим причинам это игнорируется для структур в некоторых местах, например, в графическом коде) или <code>I</code> для интерфейсов. Новая структура <code></code>s должна иметь префикс <code>S</code>."
- 22:5322:53, 7 June 2023 diff hist +42 N Translations:Development/45/ru Created page with "=== Классы и структуры ===" current
- 22:5322:53, 7 June 2023 diff hist +32 N Translations:Development/44/ru Created page with "Finalthing(); </syntaxhighlight>"
- 22:5322:53, 7 June 2023 diff hist +84 N Translations:Development/43/ru Created page with "<syntaxhighlight lang="cpp"> while(x == y) { Something(); SomethingElse(); }" current
- 22:5322:53, 7 June 2023 diff hist +391 N Translations:Development/42/ru Created page with "<blockquote> Этот стиль помещает скобку, связанную с управляющим оператором, на следующую строку с отступом на том же уровне, что и управляющий оператор. Утверждения внутри скобок отступают на следующий уровень. </blockquote>" current
- 22:5322:53, 7 June 2023 diff hist +101 N Translations:Development/41/ru Created page with "[https://en.wikipedia.org/wiki/Indentation_style#Allman_style Allman style] используется." current
- 22:5322:53, 7 June 2023 diff hist +30 N Translations:Development/40/ru Created page with "=== Indentation стиль ===" current
- 22:5322:53, 7 June 2023 diff hist +75 N Translations:Development/39/ru Created page with "В настоящее время применяется следующее:" current
- 22:5322:53, 7 June 2023 diff hist +176 N Translations:Development/38/ru Created page with "Продолжающаяся дискуссия о кодовых соглашениях находится здесь: [https://github.com/ddnet/ddnet/issues/2945 ddnet#2945]." current
- 22:5222:52, 7 June 2023 diff hist +49 Development/ru Created page with "==== Клиентская сторона ===="
- 22:5222:52, 7 June 2023 diff hist +39 N Translations:Development/37/ru Created page with "== Кодовые конвенции ==" current