2025-08-29 17:48 CEST

spring: develop 3fd63ed3 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
kloot kloot develop 2008-07-11 01:29:02 develop 5ff46233
Changeset give LuaRules rudimentary control over synced (WEAPON-only) projectiles

* new call-ins:
    ProjectileCreated(projectileID, projectileOwnerID) (arg #2 is -1 if no owner)
    ProjectileDestroyed(projectileID)
* new call-outs:
    GetProjectilePosition(projectileID) --> px, py, pz
    GetProjectileVelocity(projectileID) --> vx, vy, vz
    SetProjectilePosition(projectileID, px, py, pz) --> nil
    SetProjectileVelocity(projectileID, vx, vy, vz) --> nil


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6131 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/springcontent/LuaGadgets/callins.lua Diff ] File ]
mod - installer/builddata/springcontent/LuaGadgets/gadgets.lua Diff ] File ]
mod - rts/Lua/LuaCallInHandler.cpp Diff ] File ]
mod - rts/Lua/LuaCallInHandler.h Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.h Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.h Diff ] File ]
mod - rts/Sim/Features/Feature.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ExplosionGenerator.cpp Diff ] File ]
mod - rts/Sim/Projectiles/Projectile.cpp Diff ] File ]
mod - rts/Sim/Projectiles/Projectile.h Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.h Diff ] File ]
mod - rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.cpp Diff ] File ]
mod - rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.h Diff ] File ]