2025-08-27 15:27 CEST

spring: develop 339113ae Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-09-09 02:29:01 develop bca978c9
Changeset * Draw the direct control unit during the reflection pass

* Converted MOVEINFO.TDF to a lua file (movedefs.lua)
* Renamed armor.lua to armordefs.lua for consistency
* Rolled armordefs.lua and movedefs.lua into defs.lua

* Added a team parameter to .give:
    .give [amount] <unitName> [team] @x,y,z
* Rewrote the .give parsing to use SimpleParser::Tokenize() (easier to read)

* Added .godmode [0|1] -- allows all players (even specs) to control all units

* Added a per-soundfile volume control format for unitdefs
  sounds = {
    ok = 'oksound',
    cancel = {
      'cancel1',
      'cancel2',
    },
    select = {
      { name = 'selsound1', volume = 2.0 },
      { name = 'selsound2', volume = 2.5 },
      etc...
    },
  }

* Created FeatureDefNames and WeaponDefNames for LuaUI
  (now that FeatureDefNames is possible because of the preloading of defs)

* Added Spring.SetUnitNeutral(unitID, bool) and Spring.GetUnitNeutral(unitID)
  - neutral units (mainly for gaia and fake features), will not be attacked
    automatic when the attacker to be has its fireState set to "Fire At Will"
  - added a hidden fourth fireState level (3) that will shoot at neutrals
* Setup the LuaCob, LuaGaia, and LuaRules to use the separated VFS modes
  when loading their initial source code (SPRING_VFS_MOD and SPRING_VFS_MAP)
* Fixed the CobCallback lua stack usage
* Converted UnitDef[#].modCategories to lower case


git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4334 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/unit_immobile_buider.lua Diff ] File ]
mod - game/LuaUI/unitdefs.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/defs.lua Diff ] File ]
add - installer/builddata/springcontent/gamedata/movedefs.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/unitdefs.lua Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Lua/LuaCob.cpp Diff ] File ]
mod - rts/Lua/LuaConstGame.cpp Diff ] File ]
mod - rts/Lua/LuaFeatureDefs.cpp Diff ] File ]
mod - rts/Lua/LuaGaia.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.h Diff ] File ]
mod - rts/Lua/LuaHandleSynced.cpp Diff ] File ]
mod - rts/Lua/LuaHandleSynced.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp 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/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Lua/LuaWeaponDefs.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Sim/Misc/DamageArrayHandler.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveInfo.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/AirCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/MobileCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.h Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.h Diff ] File ]
mod - rts/System/GlobalStuff.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]