ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


using_acsutils

This is an old revision of the document!


Upgrading the compiler

You must upgrade your ACS compiler to use ACSUtils as the official ACC 1.55 release can't compile files with more than 256 functions (ACSUtils has 400). Use one of the following:

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.1498330703.txt.gz · Last modified: 2017/06/24 21:58 by korshun