2025-08-29 04:24 CEST

spring: develop 4610875a Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2007-07-10 23:56:54 develop 826610b7
Changeset NOTE:
  The LuaMaterial code is not yet finished. The following
  additions are necessary to make it truely useful:
  - global custom uniforms
  - automatic global uniforms (wind, gameFrame, clientTimer, sun, etc...)
  - per-unit custom uniforms
  - per-unit automatic uniforms (vel, leftPhase/rightPhase, health, unitID, etc...)

* Reverted the CameraControllor default height changes

* Added AllowUnitDirectControl()

* Added gl.Feature(featureID) -- partial, no materials
* Added gl.FeatureShape(featureDefID) -- partial, no materials

* Added 'resources_map.tdf' for gaia unit projectile textures
  (if set to 0, mod widgets will never be automatically enabled)

* Added the '[LuaAutoModWidgets = 1]' config param in widgets.lua

* Changed the relevant LocalS3DOModel calls to 'const'.

* Added the CubeTexSizeSpecular and CubeTexSizeReflection config params
  (both default to 128)

* Blocked enemy AI access to AIVAL_STOCKPILED and AIVAL_STOCKPILED_QUED

* Renamed unitDefHandler->numUnits to unitDefHandler->numUnitDefs

* Removed the unit count from the drawdebug info

* Wrapped Load3DO in UnitDef::GetModel() and FeatureDef::LoadModel()
  to make consistent usage easier (possibly a source of desyncs?)

* Added 'fakemeta space' to the default bindings

* Renamed GuiSound to GuiSoundSet, merged the arrays, adjusted cpp/lua

* Blocked SlowUpdate() when orders are given to a stunned unit

* Fixed the position extrapolation for units being transported

* Modified FreeCam to use its 'goForward' parameter while tracking
* Modified FreeCam for more sensible SetPos() / GetPos() routines

* Added the featureDef TDF 'noSelect' parameter

* Renamed LuaBoolOps to LuaBitOps, and changed the call
  names from math.bool_xxx to math.bit_xxx

* Added the Synced Explosion(power, posx, posy, posz, areaOfEffect, weaponID) call-in
* Added the LuaUI ShockFront(power, dirx, diry, dirz) call-in
* Added the LuaUI SetShockFrontFactors(minArea, minPower, distAdj) call-out
* Added the LuaUI SetCameraOffset(posx, posy, posz, tiltx, tilty) call-out

* Adedd the LuaUI MouseWheel(boolean up, number scale) call-in

* Modified gl.Unit(number unitID[, boolean rawDraw]) to allow raw drawing

* Added the gl.BillboardMatrix() call-out

* Added the gl.TexEnv() call-out
* Added the gl.TexGen() call-out
* Added the gl.MultiTexEnv() call-out
* Added the gl.MultiTexGen() call-out

* Added the gl.GetNumber() call-out for state queries
* Added the gl.PushPopMatrix(matrix_enum, function) call-out
* Added the gl.GetWorldMatrix() call-out
* Added the gl.GetWorldMatrixInvertse() call-out

* Added the gl.PushAttrib() call-out
* Added the gl.PopAttrib() call-out

* Added the Spring.GetFeatureNoSelect(featureID) call-out
* Added the Spring.SetFeatureNoSelect(featureID, boolean) call-out

* Added the Spring.GetGroupUnitsCount() call-out
* Added the Spring.GetSelectedUnitsCount() call-out

* Added LuaMaterials

* Added the AllowFeatureBuildStep() call-in for LuaRules

* Added the following unsynced LuaRules call-outs
    SetUnitOpaqueMaterial()
    SetUnitOpaqueUniform()
    SetUnitCloakMaterial()
    SetUnitCloakUniform()
    SetUnitShadowMaterial()
    SetUnitShadowUniform()
    SetModelDisplayList()
    ResetModelDisplayList()
    GetModelPartList()
    GetModelPartInfo()
    CallModelDisplayList()

* Modified the selector.lua widget to use mouse wheel scrolling

* Modified the gui_highlight.lua widget to use GL.EYE_LINEAR texture generation



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3887 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/camera_ctrl.lua Diff ] File ]
mod - game/LuaUI/Widgets/gui_eyes.lua Diff ] File ]
mod - game/LuaUI/Widgets/gui_hilight_unit.lua Diff ] File ]
mod - game/LuaUI/Widgets/gui_selbuttons.lua Diff ] File ]
mod - game/LuaUI/callins.lua Diff ] File ]
mod - game/LuaUI/main.lua Diff ] File ]
mod - game/LuaUI/savetable.lua Diff ] File ]
mod - game/LuaUI/selector.lua Diff ] File ]
mod - game/LuaUI/widgets.lua Diff ] File ]
mod - game/uikeys.txt Diff ] File ]
mod - installer/sections/luaui.nsh Diff ] File ]
mod - lua/lua/include/LuaInclude.h Diff ] File ]
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/ExternalAI/GlobalAIHandler.cpp Diff ] File ]
mod - rts/ExternalAI/GroupHandler.cpp Diff ] File ]
mod - rts/Game/Camera.cpp Diff ] File ]
mod - rts/Game/Camera.h Diff ] File ]
mod - rts/Game/CameraController.cpp Diff ] File ]
mod - rts/Game/CameraController.h Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/Game.h Diff ] File ]
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Game/GameSetup.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/KeyBindings.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.h Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.h Diff ] File ]
mod - rts/Game/WordCompletion.cpp Diff ] File ]
mod - rts/Lua/LuaCallInHandler.cpp Diff ] File ]
mod - rts/Lua/LuaCallInHandler.h Diff ] File ]
mod - rts/Lua/LuaCob.cpp Diff ] File ]
mod - rts/Lua/LuaConstGL.cpp Diff ] File ]
mod - rts/Lua/LuaDisplayLists.h Diff ] File ]
mod - rts/Lua/LuaFeatureDefs.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 ]
add - rts/Lua/LuaMaterial.cpp Diff ] File ]
add - rts/Lua/LuaMaterial.h Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]
mod - rts/Lua/LuaRules.cpp Diff ] File ]
mod - rts/Lua/LuaRules.h Diff ] File ]
mod - rts/Lua/LuaShaders.cpp Diff ] File ]
mod - rts/Lua/LuaShaders.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.h Diff ] File ]
mod - rts/Lua/LuaSyncedMoveCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedMoveCtrl.h Diff ] File ]
mod - rts/Lua/LuaSyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedRead.h Diff ] File ]
mod - rts/Lua/LuaTODO.txt Diff ] File ]
mod - rts/Lua/LuaTextures.cpp Diff ] File ]
mod - rts/Lua/LuaTextures.h Diff ] File ]
add - rts/Lua/LuaUniqueBin.h Diff ] File ]
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
add - rts/Lua/LuaUnitMaterial.h Diff ] File ]
add - rts/Lua/LuaUnitRendering.cpp Diff ] File ]
add - rts/Lua/LuaUnitRendering.h Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.h Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.h Diff ] File ]
mod - rts/Lua/LuaVFS.cpp Diff ] File ]
mod - rts/Lua/LuaVFS.h Diff ] File ]
mod - rts/Lua/LuaWeaponDefs.cpp Diff ] File ]
mod - rts/Map/BaseGroundDrawer.cpp Diff ] File ]
mod - rts/Map/BaseGroundDrawer.h Diff ] File ]
mod - rts/Map/BasicMapDamage.cpp Diff ] File ]
mod - rts/Map/SMF/BFGroundDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvSky.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvWater.h Diff ] File ]
mod - rts/Rendering/Env/BaseWater.h Diff ] File ]
mod - rts/Rendering/Env/BasicSky.cpp Diff ] File ]
mod - rts/Rendering/Env/BasicWater.h Diff ] File ]
mod - rts/Rendering/Env/DynWater.h Diff ] File ]
mod - rts/Rendering/Env/RefractWater.h Diff ] File ]
mod - rts/Rendering/Textures/NamedTextures.cpp Diff ] File ]
mod - rts/Rendering/Textures/TextureHandler.cpp Diff ] File ]
mod - rts/Rendering/Textures/TextureHandler.h Diff ] File ]
mod - rts/Rendering/UnitModels/3DModelParser.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/3DModelParser.h Diff ] File ]
mod - rts/Rendering/UnitModels/3DOParser.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.h Diff ] File ]
mod - rts/Rendering/UnitModels/s3oParser.cpp Diff ] File ]
mod - rts/Sim/Misc/Feature.cpp Diff ] File ]
mod - rts/Sim/Misc/Feature.h Diff ] File ]
mod - rts/Sim/Misc/FeatureDef.h Diff ] File ]
mod - rts/Sim/Misc/FeatureHandler.cpp Diff ] File ]
mod - rts/Sim/Misc/LosHandler.cpp Diff ] File ]
mod - rts/Sim/Misc/RadarHandler.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/ScriptMoveType.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/ScriptMoveType.h Diff ] File ]
mod - rts/Sim/MoveTypes/groundmovetype.cpp Diff ] File ]
mod - rts/Sim/Path/PathManager.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.h Diff ] File ]
mod - rts/Sim/Units/COB/CobEngine.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobInstance.cpp Diff ] File ]
mod - rts/Sim/Units/COB/CobThread.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/CommandAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.h Diff ] File ]
mod - rts/Sim/Units/UnitDef.h Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitDefHandler.h Diff ] File ]
mod - rts/Sim/Units/UnitHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.h Diff ] File ]
mod - rts/Sim/Units/UnitTracker.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTypes/Builder.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/WeaponDefHandler.cpp Diff ] File ]
mod - rts/Sim/Weapons/WeaponDefHandler.h Diff ] File ]
mod - rts/System/Matrix44f.cpp Diff ] File ]
mod - rts/System/Matrix44f.h Diff ] File ]
mod - rts/System/MouseInput.cpp Diff ] File ]
mod - rts/System/MouseInput.h Diff ] File ]
mod - rts/System/Platform/Linux/OpenALSound.cpp Diff ] File ]
mod - rts/System/Script/LuaFunctions.cpp Diff ] File ]
mod - rts/System/TimeProfiler.cpp Diff ] File ]
mod - rts/System/TimeProfiler.h Diff ] File ]