2025-08-11 16:58 CEST

spring: develop fe4039dc Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
trepan trepan develop 2006-11-13 04:02:50 develop ca3a2688
Changeset * Renamed a few GlobalStuff variables:
    screenx -> viewSizeX
    screeny -> viewSizeY
    screenxPos -> viewPosX

* Added a few GlobalStuff variable:
    screenSizeX
    screenSizeY
    windowSizeX
    windowPosX
    windowPosY
    viewPosY (set, but not used)

* Blind-coded the WIN32 Main::GetDisplayGeometry() call

* Changed the LUA GUI viewport transformation to one
  related to the physical properties of the display
  (need to make the width and distance adjustable)

* Added some GL state protection are DramMapItems() and DrawScreenItems()

* Added the DrawColor() LUA callout
* Added the DrawUnitDef() LUA callout
* Added the Pos2BuildPos() LUA callout
* Added the GetTextWidth() LUA callout

* Added the IsAbove() LUA callin
* Added the GetTooltip() LUA callin
* Added the AddConsoleLine() LUA callin

* Fixed the LUA mouse coordinates in dualScreen/right mode

* Changed the LUA MouseRelease() to allow returning a command index

* Initialized 'guihandler' and 'minimap' to NULL



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2594 37977431-3df6-0310-b722-df95706aa16b
mod - game/shaders/terrainFragmentShader.glsl Diff ] File ]
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/Game/Camera.cpp Diff ] File ]
mod - rts/Game/CameraController.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/PreGame.cpp Diff ] File ]
mod - rts/Game/UI/CursorIcons.cpp Diff ] File ]
mod - rts/Game/UI/GameInfo.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
mod - rts/Game/UI/IconLayoutHandler.cpp Diff ] File ]
mod - rts/Game/UI/IconLayoutHandler.h Diff ] File ]
mod - rts/Game/UI/InfoConsole.cpp Diff ] File ]
mod - rts/Game/UI/InputReceiver.h Diff ] File ]
mod - rts/Game/UI/MiniMap.cpp Diff ] File ]
mod - rts/Game/UI/MouseCursor.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UI/OutlineFont.cpp Diff ] File ]
mod - rts/Game/UI/ResourceBar.cpp Diff ] File ]
mod - rts/Game/UI/StartPosSelecter.cpp Diff ] File ]
mod - rts/Game/UI/TooltipConsole.cpp Diff ] File ]
mod - rts/Map/SM3/Sm3GroundDrawer.cpp Diff ] File ]
mod - rts/Map/SM3/terrain/TerrainTextureGLSL.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvSky.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvTreeGenerator.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvWater.cpp Diff ] File ]
mod - rts/Rendering/Env/DynWater.cpp Diff ] File ]
mod - rts/Rendering/Env/GrassDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/RefractWater.cpp Diff ] File ]
mod - rts/Rendering/Env/SkyBox.cpp Diff ] File ]
mod - rts/Rendering/FartextureHandler.cpp Diff ] File ]
mod - rts/Rendering/GL/glTextBox.cpp Diff ] File ]
mod - rts/Rendering/GL/myGL.cpp Diff ] File ]
mod - rts/Rendering/ShadowHandler.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/Unit3DLoader.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.h Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/System/GlobalStuff.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]
mod - rts/System/Main.cpp Diff ] File ]