Skyline Lua API  Version 1.0
Lua Script Reference for Skyline Game Engine.
LUA_API_Enum.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2018 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2018
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
28 class enum
29 {
30 public:
31 
52  void GS_GameMain();
53 
68  void GS_GamePaused();
69 
84  void GS_GameStart();
85 
99  void GS_GameOver();
100 
101 
115  void GS_GameWin();
116 
117  void GS_User1();
118  void GS_User2();
119  void GS_User3();
120  void GS_User4();
121  void GS_User5();
122  void GS_User6();
123  void GS_User7();
124  void GS_User8();
125  void GS_User9();
126  void GS_User10();
127 
128 
146  void rotateDegree();
147 
165  void rotateRadian();
166 
167 
185 
186 
204 
222 
241 
260 
279 
280 
303  void body_Cube();
304 
305 
328  void body_Sphere();
329 
330 
354  void body_Cylinder();
355 
356 
380  void body_Capsule();
381 
382 
406  void body_PlayerCapsule();
407 
408 
432  void body_ConvexHull();
433 
434 
458  void body_MeshHull();
459 
460 
461 
462 
463 
488  void vehicleSound_TickOver();
489 
490 
516  void vehicleSound_EngineLow();
517 
518 
545 
546 
572  void vehicleSound_Exhaust();
573 
599  void vehicleSound_Turbo();
600 
627 
653  void vehicleSound_TireSlip();
654 
680  void vehicleSound_Handbrake();
681 
682 
683 
684 
706 
729 
752 
774  void vehicleDrive_SixWheels();
775 
798 
799 
800 
801 
802 };
void body_Cube()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
vector3 direction_Negative_Unit_Z()
This function returns the x,y,z fixed direction.
void GS_User4()
void rotateRadian()
Call this Function inside a Rotation function to let the system know to use radians instead of degree...
void body_Capsule()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
void GS_User1()
void GS_User9()
void vehicleSound_TireSlip()
Use this enum to specify a section of sound when using vehicles.
vector3 direction_Negative_Unit_Y()
This function returns the x,y,z fixed direction.
void GS_GamePaused()
call thi function when you need to pass a Game state ID
void GS_User7()
vector3 direction_Unit_Y()
This function returns the x,y,z fixed direction.
void GS_User10()
void GS_User5()
void GS_GameMain()
call thi function when you need to pass a Game state ID
y
Definition: LUA_API_Enum.h:278
void GS_User6()
void body_PlayerCapsule()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
void GS_User3()
void vehicleSound_EngineHigh()
Use this enum to specify a section of sound when using vehicles.
void GS_User2()
void body_ConvexHull()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
void vehicleSound_EngineLow()
Use this enum to specify a section of sound when using vehicles.
void body_Cylinder()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
vector3 direction_Unit_X()
This function returns the x,y,z fixed direction.
void vehicleSound_Turbo()
Use this enum to specify a section of sound when using vehicles.
void vehicleDrive_FourWheels()
Use this enum when calling vehicle.setDriveAxles(id, enum);.
void vehicleDrive_FrontWheels()
Use this enum when calling vehicle.setDriveAxles(id, enum);.
void vehicleSound_TickOver()
Use this enum to specify a section of sound when using vehicles.
x
This function returns the x,y,z fixed direction.
Definition: LUA_API_Enum.h:278
void vehicleDrive_SixWheels()
Use this enum when calling vehicle.setDriveAxles(id, enum);.
void body_Sphere()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
void body_MeshHull()
Use this enum when calling the physics.addBody(entityID, enum.body_Type, active). ...
void GS_GameStart()
call thi function when you need to pass a Game state ID
void rotateDegree()
Call this Function inside a Rotation function to let the system know to use degrees instead of Radian...
void GS_GameOver()
call thi function when you need to pass a Game state ID
void GS_GameWin()
call thi function when you need to pass a Game state ID
void vehicleDrive_EightWheels()
Use this enum when calling vehicle.setDriveAxles(id, enum);.
Definition: LUA_API_Vector3.h:37
void vehicleSound_GearChange()
Use this enum to specify a section of sound when using vehicles.
void vehicleSound_Exhaust()
Use this enum to specify a section of sound when using vehicles.
vector3 direction_Negative_Unit_X()
This function returns the x,y,z fixed direction.
Definition: LUA_API_Enum.h:28
void vehicleSound_Handbrake()
Use this enum to specify a section of sound when using vehicles.
void GS_User8()
void vehicleDrive_RearWheels()
Use this enum when calling vehicle.setDriveAxles(id, enum);.