Simutrans-Squirrel-API
Functions
api_include.cc File Reference

Go to the source code of this file.

Functions

void include (string filename)
 

Detailed Description

exports include.

Definition in file api_include.cc.

Function Documentation

◆ include()

void include ( string  filename)

Includes the given file. The file will be included in global scope. Inclusion happens when the include-command gets executed. No compile time inclusion!

Parameters
filenamename of file to be included (relative to scenario directory, without .nut extension)