mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 03:40:49 +00:00
Merge branch 'teal_update' into 'master'
Update Teal and Cyan version used in CI See merge request OpenMW/openmw!4417
This commit is contained in:
commit
462e118e0d
@ -196,8 +196,9 @@ Teal:
|
|||||||
script:
|
script:
|
||||||
- CI/teal_ci.sh
|
- CI/teal_ci.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- teal_declarations.zip
|
- teal_declarations
|
||||||
|
|
||||||
Ubuntu_GCC_Debug:
|
Ubuntu_GCC_Debug:
|
||||||
extends: .Ubuntu
|
extends: .Ubuntu
|
||||||
|
@ -7,10 +7,9 @@ pushd .
|
|||||||
echo "Install Teal Cyan"
|
echo "Install Teal Cyan"
|
||||||
git clone https://github.com/teal-language/cyan.git
|
git clone https://github.com/teal-language/cyan.git
|
||||||
cd cyan
|
cd cyan
|
||||||
git checkout 51649e4a814c05deaf5dde929ba82803f5170bbc
|
git checkout v0.4.0
|
||||||
sed -i 's/"tl"/"tl ~> 0.15"/' cyan-dev-1.rockspec
|
luarocks make cyan-0.4.0-1.rockspec
|
||||||
luarocks make cyan-dev-1.rockspec
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
cyan version
|
||||||
scripts/generate_teal_declarations.sh ./teal_declarations
|
scripts/generate_teal_declarations.sh ./teal_declarations
|
||||||
zip teal_declarations.zip -r teal_declarations
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
-- `openmw.self` provides full access to the object the script is attached to.
|
-- `openmw.self` provides full access to the object the script is attached to.
|
||||||
-- Can be used only from local scripts. All fields and function of `GameObject` are also available for `openmw.self`.
|
-- Can be used only from local scripts. All fields and function of `GameObject` are also available for `openmw.self`.
|
||||||
-- @module self
|
-- @module Self
|
||||||
-- @extends openmw.core#GameObject
|
-- @extends openmw.core#GameObject
|
||||||
-- @usage local self = require('openmw.self')
|
-- @usage local self = require('openmw.self')
|
||||||
-- local types = require('openmw.types')
|
-- local types = require('openmw.types')
|
||||||
@ -14,18 +14,26 @@
|
|||||||
---
|
---
|
||||||
-- Returns true if the script isActive (the object it is attached to is in an active cell).
|
-- Returns true if the script isActive (the object it is attached to is in an active cell).
|
||||||
-- If it is not active, then `openmw.nearby` can not be used.
|
-- If it is not active, then `openmw.nearby` can not be used.
|
||||||
-- @function [parent=#self] isActive
|
-- @function [parent=#Self] isActive
|
||||||
-- @param self
|
-- @param Self
|
||||||
-- @return #boolean
|
-- @return #boolean
|
||||||
|
|
||||||
---
|
---
|
||||||
-- The object the script is attached to (readonly)
|
-- The object the script is attached to (readonly)
|
||||||
-- @field [parent=#self] openmw.core#GameObject object
|
-- @field [parent=#Self] openmw.core#GameObject object
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Movement controls (only for actors)
|
-- Movement controls (only for actors)
|
||||||
-- @field [parent=#self] #ActorControls controls
|
-- @field [parent=#Self] #ActorControls controls
|
||||||
|
|
||||||
|
---
|
||||||
|
-- @type ATTACK_TYPE
|
||||||
|
-- @field #number NoAttack
|
||||||
|
-- @field #number Any
|
||||||
|
-- @field #number Chop
|
||||||
|
-- @field #number Slash
|
||||||
|
-- @field #number Thrust
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Allows to view and/or modify controls of an actor. All fields are mutable.
|
-- Allows to view and/or modify controls of an actor. All fields are mutable.
|
||||||
@ -37,20 +45,12 @@
|
|||||||
-- @field [parent=#ActorControls] #boolean run true - run, false - walk
|
-- @field [parent=#ActorControls] #boolean run true - run, false - walk
|
||||||
-- @field [parent=#ActorControls] #boolean sneak If true - sneak
|
-- @field [parent=#ActorControls] #boolean sneak If true - sneak
|
||||||
-- @field [parent=#ActorControls] #boolean jump If true - initiate a jump
|
-- @field [parent=#ActorControls] #boolean jump If true - initiate a jump
|
||||||
-- @field [parent=#ActorControls] #ATTACK_TYPE use Activates the readied weapon/spell according to a provided value. For weapons, keeping this value modified will charge the attack until set to @{#ATTACK_TYPE.NoAttack}. If an @{#ATTACK_TYPE} not appropriate for a currently equipped weapon provided - an appropriate @{#ATTACK_TYPE} will be used instead.
|
-- @field [parent=#ActorControls] #ATTACK_TYPE use Activates the readied weapon/spell according to a provided value. For weapons, keeping this value modified will charge the attack until set to @{#ATTACK_TYPE.NoAttack}. If an @#ATTACK_TYPE} not appropriate for a currently equipped weapon provided - an appropriate @{#ATTACK_TYPE} will be used instead.
|
||||||
|
|
||||||
---
|
|
||||||
-- @type ATTACK_TYPE
|
|
||||||
-- @field #number NoAttack
|
|
||||||
-- @field #number Any
|
|
||||||
-- @field #number Chop
|
|
||||||
-- @field #number Slash
|
|
||||||
-- @field #number Thrust
|
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Enables or disables standard AI (enabled by default).
|
-- Enables or disables standard AI (enabled by default).
|
||||||
-- @function [parent=#self] enableAI
|
-- @function [parent=#Self] enableAI
|
||||||
-- @param self
|
-- @param Self
|
||||||
-- @param #boolean v
|
-- @param #boolean v
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user