ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


ru:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ru:start [2016/05/07 22:31] djskaarjru:start [2016/08/09 21:29] (current) djskaarj
Line 1: Line 1:
-Добро пожаловать в ACSUtils Wiki! ([[id=start|English version]])+Добро пожаловать в ACSUtils Wiki! ([[..start|English version]])
  
-ACSUtils is an ACS library that adds:+ACSUtils это ACS-библиотека, добавляющая:
  
-  * [[.functions:zdoom|A lot of functions missing from ZDoom]] +  * [[.functions:zdoom|Множество функций, отсутствующих в Zdoom]] 
-  * **[[.functions:hudlib|A replacement for HudMessage with scaling and 3D messages]]** +  * **[[.functions:hudlib|Замена HudMessage() с масштабированием, а так же трехмерное рисование сообщений]]** 
-  * [[.functions:math|A lot of math functionsincluding those not yet in Zandronum]] +  * [[.functions:math|Множество математических функций, включая текоторые еще не добавлены в Zandronum]] 
-  * [[.functions:str|Advanced string functions coming from other programming languages]] +  * [[.functions:str|Улучшенные строковые функции из современных языков программирования]] 
-  * [[.functions:input|Easier to use input functions]] +  * [[.functions:input|Простые для использования функции ввода данных]] 
-  * [[.functions:units|Unit conversion functions]] +  * [[.functions:units|Конвертирование единиц измерения]] 
-  * [[.functions:ctype|Character classification and case conversion functions]] +  * [[.functions:ctype|Типы символов и функции смены регистра]] 
-  * [[.functions:parse|Number parsing functions]] +  * [[.functions:parse|Функции разбора чисел]] 
-  * [[.functions:pack|Functions to pack multiple values into one variable and retrieve them]] +  * [[.functions:pack|Функции для упаковки нескольких значений в одну переменную и для извлечения их же.]] 
-  * [[.functions:error|A simple error handling mechanism]] +  * [[.functions:error|Простой обработчик ошибок]] 
-  * [[.functions:tid|A safe replacement for UniqueTid]]+  * [[.functions:tid|Безопасная замена UniqueTid (аллокатор TID-ов)]]
  
-ACSUtils is **fully compatible with latest Zandronum and (G)ZDoom**. Several ZDoom-only functions are even [[.functions:zanfuncs|implemented for Zandronum]].+ACSUtils **полностью совместим с последними версиями Zandronum и (G)ZDoom**. Некоторые эксклюзивные ZDoom функции также [[.functions:zanfuncs|реализованы для Zandronum]].
  
-====== Getting started ======+====== Начало работы ======
  
-Download [[https://github.com/Korshun/acsutils/releases|the latest release]], unpack the files to your acs sources folder and use this project template:+Скачайте [[https://github.com/Korshun/acsutils/releases|последний релиз библиотеки]], распакуйте файлы в папку с исходниками ACS файлов вашего мода и используйте этот шаблон:
  
 <code> <code>
 #library "myproject" #library "myproject"
  
-// Your project's scripts: +// Настройки ACSUtils
-#define myproject_errorhandler 701 +
- +
-// ACSUtils settings:+
 #define TIDALLOCSTART 15000 #define TIDALLOCSTART 15000
-#define ACSUTILS_ERROR_HANDLER myproject_errorhandler 
  
-// Includes:+// Включаемые файлы:
 #include "zcommon.acs" #include "zcommon.acs"
 #include "acsutils.acs" #include "acsutils.acs"
  
-// Your project's error handler+// Обработчик ошибок вашего мода
-script myproject_errorhandler (int type, int message)+function void ACSUtilsErrorHandler(int type, int message)
 { {
  Log(s:"error: ", s:message);  Log(s:"error: ", s:message);
Line 42: Line 38:
 } }
  
-// Your project's code follows.+// Дальше следует код вашего проекта
 </code> </code>
  
-If you are making a mod for Zandronum, don't forget that you can [[.namedscripts|name your scripts too]].+Если вы делайте мод для Zandronum, не забывайте, что вы можете также [[.namedscripts|использовать именованные скрипты]].
  
 ====== Авторы ====== ====== Авторы ======
  
-Вы можете делать с кодом что угодно, но вы обязательно должны упомянуть авторов этой библиотеки:+Вы можете изменять код, но вы обязательно должны указать авторов этой библиотеки:
  
   * Korshun   * Korshun
ru/start.1462649501.txt.gz · Last modified: 2016/05/07 22:31 by djskaarj