2025-08-30 08:00 CEST

spring: develop 60889b68 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2008-07-16 00:42:48 develop 9c16d9ae
Changeset - lua scripts now get first crack at all mouse events
  (ex: the MMB used to be sent to the minimap UI element first)

- lua scripts now get mouse events while Spring.IsGUIHidden() is true

- added the GL evaluator functions to the lua GL interface
  (note the gl.EvalEnable() and gl.EvalDisable() can only be
   called in a gl.Eval(func) block). I've only tested the calls
  required to get the gl.EvalMesh2() functionality working.

- changed Spring.AddHeightMap() to return the final height
  (makes it more like Spring.SetHeightMap(), and it might be useful)

- added Spring.IsAboveMiniMap(x, y) -> boolean (convenience function)

- started adding isbool(), isstring(), istable(), etc...



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6182 37977431-3df6-0310-b722-df95706aa16b
mod - game/LuaUI/Widgets/camera_smooth_move.lua Diff ] File ]
mod - installer/builddata/springcontent/gamedata/unitdefs.lua Diff ] File ]
mod - rts/ExternalAI/Group.cpp Diff ] File ]
mod - rts/Game/SelectedUnits.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.cpp Diff ] File ]
mod - rts/Lua/LuaOpenGL.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedRead.h Diff ] File ]
mod - rts/Lua/LuaUtils.cpp Diff ] File ]
mod - rts/Lua/LuaUtils.h Diff ] File ]
mod - rts/Rendering/InMapDraw.cpp Diff ] File ]
mod - rts/System/EventHandler.cpp Diff ] File ]
mod - rts/System/EventHandler.h Diff ] File ]
mod - rts/System/FileSystem/ArchiveScanner.cpp Diff ] File ]