ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


using_acsutils

This is an old revision of the document!


You must upgrade your ACS compiler to use ACSUtils because the official ACC 1.55 release can't compile files with more than 256 functions.

Upgrade to one of the following compilers:

Using ACSUtils

  1. Add acsutils.acs to your project.
  2. Use the code below to include ACSUtils into your project:
#library "project"

// ACSUtils settings:
#define ACSUTILS_HUDLIB_SAVEDSTATES 16
#define TIDALLOCSTART 15000

// Includes:
#include "zcommon.acs"
#include "acsutils.acs"

// Your project's error handler (you can put it anywhere you want, in a different file, even):
function void ACSUtilsErrorHandler(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.

using_acsutils.1499599194.txt.gz · Last modified: 2017/07/09 14:19 by korshun