2025-08-04 20:10 CEST

spring: develop 1adc88cd Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
rt rt develop 2018-02-05 19:29:51 develop dae8a032
Changeset fix 0005716
add Weapon::{avoid,collision}Flags to Spring.{Get,Set}UnitWeaponState
these are bitfields, refer to the table below when setting new values

    NOENEMIES = 1 << 0
    NOFRIENDLIES = 1 << 1
    NOFEATURES = 1 << 2
    NONEUTRALS = 1 << 3
    NOFIREBASES = 1 << 4
    NOGROUND = 1 << 5
    NOCLOAKED = 1 << 6
    NOUNITS = NOENEMIES | NOFRIENDLIES | NONEUTRALS
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]