Changesets: spring
|
develop d5b7db0e
Timestamp: 2006-11-12 01:55:05 Author: trepan [ Details ] [ Diff ] |
* Fix the rest of the 'hideInterface' problem git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2585 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/UI/GuiHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MouseHandler.cpp | [ Diff ] [ File ] | ||
|
develop fc81bbe0
Timestamp: 2006-11-12 01:38:46 Author: trepan [ Details ] [ Diff ] |
* Fix mantis bug 0000321: GUI still clickable when hidden git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2584 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/UI/GuiHandler.cpp | [ Diff ] [ File ] | ||
|
develop 5f184660
Timestamp: 2006-11-12 01:20:16 Author: trepan [ Details ] [ Diff ] |
* Indenting, again git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2583 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/SelectedUnitsAI.cpp | [ Diff ] [ File ] | ||
|
develop 8f473038
Timestamp: 2006-11-12 01:15:59 Author: trepan [ Details ] [ Diff ] |
* Fixed Minimap geometry config * Re-indented SelectedUnitsAI.cpp git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2582 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/SelectedUnitsAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
|
develop e54c6d81
Timestamp: 2006-11-12 00:54:29 Author: trepan [ Details ] [ Diff ] |
* Renamed "xorSelect" to "invColorSelect" in ctrlpanel.txt * Added "attackRect" to ctrlpanel.txt (default to true) * Changed the LUA DrawList calls to use OpenGL style id's (0 = bad) * Changed the LUA GetTeamResources() call to use a resource name * Added [MinimapGeometry="2 2 200 200"] config param git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2581 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - game/ctrlpanel.txt | [ Diff ] [ File ] | ||
| mod - rts/Game/SelectedUnitsAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/SelectedUnitsAI.h | [ 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/KeyBindings.h | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
|
develop 94cc9e27
Timestamp: 2006-11-11 22:11:39 Author: trepan [ Details ] [ Diff ] |
* Setup the minimap circle LODs * Added LUA GetMouseState() callout * Added LUA DrawListDelete() callout git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2580 37977431-3df6-0310-b722-df95706aa16b |
||
| 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/LuaState.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.h | [ Diff ] [ File ] | ||
|
develop a8790d02
Timestamp: 2006-11-11 05:43:56 Author: trepan [ Details ] [ Diff ] |
* add the missing 'icon->size' git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2579 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
|
develop 7b0e78cd
Timestamp: 2006-11-11 01:50:09 Author: trepan [ Details ] [ Diff ] |
* Added GetUnitStockpile() LUA callout git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2578 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/UI/IconLayoutHandler.cpp | [ Diff ] [ File ] | ||
|
develop 06179f66
Timestamp: 2006-11-11 01:19:02 Author: trepan [ Details ] [ Diff ] |
* Use CommandDescription::mouseicon if available * Allow LUA custom commands to specify id and type * Added UnitReady() LUA callin * Added UnitCreated() LUA callin * Added UnitDestroyed() LUA callin * Added GetSelectedGroup() LUA callout * Added GetUnitDefID() LUA callout * Added GetUnitTeam() LUA callout * Added GetUnitAllyTeam() LUA callout * Added GetUnitHeading() LUA callout * Added GetUnitBuildFacing() LUA callout * Allow GetSelectedUnits(), GetGroupUnits(), GetMyTeamUnits(), and GetAlliedUnits() to use a "raw" option to change the format of their returned data (unsorted, ungrouped) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2577 37977431-3df6-0310-b722-df95706aa16b |
||
| 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/Sim/Units/Unit.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/UnitTypes/Builder.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/UnitTypes/Factory.cpp | [ Diff ] [ File ] | ||
|
develop 5932df0d
Timestamp: 2006-11-10 22:48:30 Author: tvo [ Details ] [ Diff ] |
* Some minor fixes ('.desync' works now even if SYNCDEBUG was not defined while compiling; starting while minimised with gameSetup (startscript) now actually works.) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2576 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/Game.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/GameServer.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/GameSetup.cpp | [ Diff ] [ File ] | ||
|
develop 38c108d6
Timestamp: 2006-11-10 12:48:46 Author: trepan [ Details ] [ Diff ] |
* oops git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2575 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
|
develop 50181578
Timestamp: 2006-11-10 11:15:08 Author: submarine [ Details ] [ Diff ] |
- updated vc7 project file (added all new files so it should now compile without any linker errors) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2574 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/build/vstudio7/rts.vcproj | [ Diff ] [ File ] | ||
|
develop f0fadfdd
Timestamp: 2006-11-10 10:15:37 Author: tvo [ Details ] [ Diff ] |
* Fix bug of game not starting when minimised (for e.g. auto hosts). The code to calculate whether everyone is ready had been placed in Draw() functions, it's now decoupled: drawing in Draw(), calculation in Update(). git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2573 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/Game.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/GameSetup.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/GameSetup.h | [ Diff ] [ File ] | ||
|
develop bfca444e
Timestamp: 2006-11-10 06:39:18 Author: trepan [ Details ] [ Diff ] |
* Modified Sound::GetWaveId() to require a full path (still need graceful failures for the LUA PlaySoundFile()) * Merged the CCommandAI and FactoryCAI command cancelling code * Remove trailing SET_MAX_WANTED_SPEED and WAIT commands when cancelling a command (with wait notifications for WaitCommandsAI) * Improved DeathWait queue rendering to show both waiters and targets * Changed NewAttackMode to default to true * Changed XorSelect to default to true * Removed the minimap buttons in dualScreen mode * LUA - Changed DrawScreenItems() to use an actual GL transform for the proper screen scale (also fixed the text justification) - Added PlaySoundFile("filename") - Added DrawState(table[]) - Added DrawTranslate(x, y, z) - Added DrawScale(x, y, z) - Added DrawRotate(r, x, y, z) - Added DrawPushMatrix() - Added DrawPopMatrix() - Added DrawListCreate(func, arg0, arg1, etc...) -> listID - Added DrawListRun(listID) - Renamed DrawMapIcon() to AddMapIcon() - Renamed DrawMapText() to AddMapText() - Renamed DrawMapUnit() to AddMapUnit() *** Note: DrawState() still needs some protection git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2572 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - game/ctrlpanel.txt | [ Diff ] [ File ] | ||
| mod - rts/Game/Game.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/GuiHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/IconLayoutHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MouseHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/WaitCommandsAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/WaitCommandsAI.h | [ Diff ] [ File ] | ||
| mod - rts/Rendering/InMapDraw.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/COB/CobFile.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/CommandAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/CommandAI.h | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/FactoryCAI.h | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/UnitDefHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/UnitLoader.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Weapons/WeaponDefHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/System/Platform/Linux/OpenALSound.cpp | [ Diff ] [ File ] | ||
| mod - rts/System/Platform/Linux/OpenALSound.h | [ Diff ] [ File ] | ||
| mod - rts/System/Platform/Win/DxSound.cpp | [ Diff ] [ File ] | ||
|
develop 8ac1987a
Timestamp: 2006-11-09 20:29:51 Author: betalord [ Details ] [ Diff ] |
fixed RENAMEACCOUNT command to not shift account position git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2571 37977431-3df6-0310-b722-df95706aa16b |
||
|
develop 8a2037bc
Timestamp: 2006-11-08 21:45:09 Author: tvo [ Details ] [ Diff ] |
* Fix build system (oops) * Remove -frename-registers, it's in section of potentially broken options in gcc infodocs. * Fixed a few no newline at end of file warnings git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2570 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Sim/Projectiles/ExpGenSpawner.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Projectiles/ExpGenSpawner.h | [ Diff ] [ File ] | ||
| mod - rts/build/scons/rts.py | [ Diff ] [ File ] | ||
| mod - rts/lib/streflop/Makefile.common | [ Diff ] [ File ] | ||
|
develop e3b72fec
Timestamp: 2006-11-08 20:56:06 Author: trepan [ Details ] [ Diff ] |
* Added all config params into Windows registry (as is done for the linux config file setup) * Default to stencil buffer enabled * Default to MiniMapFullProxy enabled * Added ResizeEvent call to GameController * Stopped immobile builders from locking on to repair targets outside of their range * Put a 10ms delay into the PreGame loop to avoid 100% cpu * Allow named loading for "cmdcolors.txt" and "ctrlpanel.txt" * Added "resbar [0|1]" action to enable/disable the resource bar * Added "tooltip [0|1]" action to enable/disable the tooltip window * Added "InfoConsoleGeometry" config param for initial console placement (x, y, w, h) * Added "TooltipGeometry" config param for initial tooltip placement (x, y, w, h) * Added "TooltipOutlineFont" config param to enable outline fonts for the tooltips * Only produce cursor error messages when a command can not be bound to a cursor, and not when a specific cursor file is missing * Minimap - Tightened up the header file - Moved the inside buttons to the outside, and allow their size and texture to be specified "bitmaps/minimapbuttons.png" -- texture name MiniMapButtonSize=16 -- config param - Added "MiniMapDrawCommands" config param - Added "MiniMapUnitSize" config param - Added "MiniMapUnitExp" config param (exponent for growth) - Tied the minimap to the upper left corner when resizing - Switched to a GL transform based rendering style - Started using GL display lists for circles (need to finish it) - Using harmonic mean for unit size calcs * LUA -- changed the config file name to "gui.lua" - Added callout LoadTextVFS("filename") -> string - Added callout DrawShape(GLprimType, "textureName", elementArray[]) - Added callout DrawText("text", x, y [,size] [,optionsString]) - Added callout SetShareLevel("type", level) - Added callins MouseMove(), MousePress(), MouseRelease() (these calls can be used to override the normal GuiHandler mouse handling) - Added callins DrawMapItems() & DrawScreenItems() git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2569 37977431-3df6-0310-b722-df95706aa16b |
||
| add - installer/builddata/springcontent/bitmaps/minimapbuttons.png | [ Diff ] [ File ] | ||
| mod - rts/Game/CameraController.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/Game.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/Game.h | [ Diff ] [ File ] | ||
| mod - rts/Game/GameController.h | [ Diff ] [ File ] | ||
| mod - rts/Game/PreGame.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/SelectedUnits.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/SelectedUnits.h | [ 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/LuaState.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/MiniMap.h | [ 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/ResourceBar.h | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/TooltipConsole.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/TooltipConsole.h | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/LineDrawer.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/LineDrawer.h | [ Diff ] [ File ] | ||
| mod - rts/System/Main.cpp | [ Diff ] [ File ] | ||
| mod - rts/System/Platform/Win/RegHandler.cpp | [ Diff ] [ File ] | ||
|
develop 4fa88b8c
Timestamp: 2006-11-08 20:45:17 Author: tvo [ Details ] [ Diff ] |
* Minor cleanup and fixed a small bug in build system ('scons configure' after a 'CC=gcc-3.4 CXX=g++-3.4 scons configure' accidentally remembered the CC and CXX variables) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2568 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/GameServer.cpp | [ Diff ] [ File ] | ||
| mod - rts/System/Net.cpp | [ Diff ] [ File ] | ||
| mod - rts/build/scons/rts.py | [ Diff ] [ File ] | ||
|
develop ae774388
Timestamp: 2006-11-08 16:13:08 Author: betalord [ Details ] [ Diff ] |
fixed mantis #317 (special characters crashing the server). Server now also correctly encodes outgoing data using arbitrary charset. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2567 37977431-3df6-0310-b722-df95706aa16b |
||
|
develop d27c610e
Timestamp: 2006-11-08 11:19:22 Author: tvo [ Details ] [ Diff ] |
* fix streflop compilation git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2566 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/lib/streflop/Makefile | [ Diff ] [ File ] | ||
|
develop 84af9303
Timestamp: 2006-11-08 10:59:48 Author: tvo [ Details ] [ Diff ] |
* Right, why does this suddenly break? git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2565 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/lib/streflop/Makefile | [ Diff ] [ File ] | ||
|
develop ffcc6639
Timestamp: 2006-11-08 10:55:57 Author: tvo [ Details ] [ Diff ] |
* oops, forgot some (shouldn't replace before updating...) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2564 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - AI/Group/EconomyAI/BoHandler.cpp | [ Diff ] [ File ] | ||
| mod - AI/Group/EconomyAI/BoHandler.h | [ Diff ] [ File ] | ||
| mod - rts/Game/UI/LuaState.cpp | [ Diff ] [ File ] | ||
|
develop 1e4f5f32
Timestamp: 2006-11-08 10:38:13 Author: tvo [ Details ] [ Diff ] |
* Fix bug in streflop makefile causing compilation with e.g. gcc-3.4 to break. * Fix typo: edgeEffectivness->edgeEffectiveness, so this weapon tag should actually work now. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2563 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Game/GameHelper.cpp | [ Diff ] [ File ] | ||
| mod - rts/Game/GameHelper.h | [ Diff ] [ File ] | ||
| mod - rts/Sim/Projectiles/WeaponProjectile.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/COB/CobInstance.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/Unit.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Weapons/BeamLaser.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Weapons/LightingCannon.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Weapons/WeaponDefHandler.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Weapons/WeaponDefHandler.h | [ Diff ] [ File ] | ||
| mod - rts/lib/streflop/Makefile | [ Diff ] [ File ] | ||
|
develop 175edfa3
Timestamp: 2006-11-08 08:46:39 Author: yeha [ Details ] [ Diff ] |
Fixed error in 2561, unit->maxSpeed did not allways get set. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2562 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Sim/Units/UnitLoader.cpp | [ Diff ] [ File ] | ||
|
develop e8361dbd
Timestamp: 2006-11-08 00:53:22 Author: yeha [ Details ] [ Diff ] |
Fix for set MAX_SPEED. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@2561 37977431-3df6-0310-b722-df95706aa16b |
||
| mod - rts/Sim/Units/COB/CobInstance.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/CommandAI/MobileCAI.cpp | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/Unit.h | [ Diff ] [ File ] | ||
| mod - rts/Sim/Units/UnitLoader.cpp | [ Diff ] [ File ] | ||
