This is an old revision of the document!
Добро пожаловать в ACSUtils Wiki!
ACSUtils это ACS-библиотека, добавляющая:
ACSUtils полностью совместим с последними версиями Zandronum и (G)ZDoom. Некоторые эксклюзивные ZDoom функции также реализованы для Zandronum.
Download the latest release, unpack the files to your acs sources folder and use this project template:
#library "myproject"
// Your project's scripts:
#define myproject_errorhandler 701
// ACSUtils settings:
#define TIDALLOCSTART 15000
#define ACSUTILS_ERROR_HANDLER myproject_errorhandler
// Includes:
#include "zcommon.acs"
#include "acsutils.acs"
// Your project's error handler:
script myproject_errorhandler (int type, int message)
{
Log(s:"error: ", s:message);
printbold(s:"error: ", s:message);
}
// Your project's code follows.
If you are making a mod for Zandronum, don't forget that you can name your scripts too.
Вы можете делать с кодом что угодно, но вы обязательно должны упомянуть авторов этой библиотеки:
https://github.com/Korshun/acsutils – помощь приветствуется.