Simutrans-Squirrel-API
Classes | Functions
api_simple.cc File Reference

Go to the source code of this file.

Classes

class  coord
 
class  coord3d
 
class  dir
 
class  ingame_object
 
class  slope
 
class  time_ticks_x
 
class  time_x
 

Functions

dir coord_to_dir (coord dir)
 

Detailed Description

exports simple data types.

Definition in file api_simple.cc.

Function Documentation

◆ coord_to_dir()

dir coord_to_dir ( coord  dir)

Helper function to convert direction vector to dir type.

Parameters
dir