OpenTTD Source: src/script/squirrel.hpp File Reference

OpenTTD Source 15.0-RC2

Data Structures | Enumerations | Variables
squirrel.hpp File Reference

defines the Squirrel class More...

`#include <squirrel.h>`
`#include "../core/convertible_through_base.hpp"`

Go to the source code of this file.

## Data Structures
class | Squirrel
class | ScriptAllocatorScope

## Enumerations
enum class | ScriptType : uint8_t { AI , GS }
| The type of script we're working with, i.e. More...

## Variables
ScriptAllocator * | _squirrel_allocator

## Detailed Description

defines the Squirrel class

Definition in file squirrel.hpp.

## Enumeration Type Documentation

## ◆ ScriptType

enum class ScriptType : uint8_t
| strong

The type of script we're working with, i.e.

for who is it?

Enumerator
AI | The script is for AI scripts.
GS | The script is for Game scripts.

Definition at line 17 of file squirrel.hpp.

## Variable Documentation

## ◆ _squirrel_allocator

ScriptAllocator* _squirrel_allocator
| extern

Definition at line 169 of file squirrel.cpp.