2025-12-04 14:40 CET

Changesets: spring

Search ] Browse ] Back to Index ]
develop e5ff5742
Timestamp: 2011-05-14 15:33:47
Author: hoijui
Details ] Diff ]
cleanup *TreeDrawer
* add spaces
* add brackets
* const-ify
* make some params const&
* replace #define's with typed stuff
* convert unused return int -> void
* convert some static functions in the cpp to class scoped ones (some static)
* correctly camel-case some vars
* misc formatting

This should also make it easier to auto-detect duplicated code
in these classes.
mod - rts/Rendering/Env/AdvTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvTreeDrawer.h Diff ] File ]
mod - rts/Rendering/Env/BasicTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/BasicTreeDrawer.h Diff ] File ]
mod - rts/Rendering/Env/ITreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/ITreeDrawer.h Diff ] File ]
develop 210ea4a3
Timestamp: 2011-05-14 11:51:30
Author: hoijui
Details ] Diff ]
ExplosionEvent: only remove listener if creator still exists [fix]
mod - rts/Rendering/Env/BaseWater.cpp Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
develop 7d8792a7
Timestamp: 2011-05-14 10:35:41
Author: hoijui
Details ] Diff ]
rename: BaseTreeDrawer -> ITreeDrawer
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/UnsyncedGameCommands.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Map/BaseGroundDrawer.cpp Diff ] File ]
mod - rts/Map/BasicMapDamage.cpp Diff ] File ]
mod - rts/Rendering/CMakeLists.txt Diff ] File ]
mod - rts/Rendering/Env/AdvTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvTreeDrawer.h Diff ] File ]
mod - rts/Rendering/Env/BasicTreeDrawer.cpp Diff ] File ]
mod - rts/Rendering/Env/BasicTreeDrawer.h Diff ] File ]
mod - rts/Rendering/FeatureDrawer.cpp Diff ] File ]
mod - rts/Rendering/ShadowHandler.cpp Diff ] File ]
mod - rts/Sim/Features/Feature.cpp Diff ] File ]
mod - rts/build/vstudio8/rts.vcproj Diff ] File ]
mod - rts/build/vstudio9/rts.vcproj Diff ] File ]
develop c448ad14
Timestamp: 2011-05-12 17:51:22
Author: hoijui
Details ] Diff ]
remove two Rendering dependencies from GameHelper
A new CExplosionEvent (plus related stuff) is introduced.
This is more light-weight, easier to extend, does not rely on a single,
heavy distribution center, and in general allows to separate stuff better
then EventHandler.
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Game/GameHelper.h Diff ] File ]
mod - rts/Rendering/Env/BaseWater.cpp Diff ] File ]
mod - rts/Rendering/Env/BaseWater.h Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.h Diff ] File ]
mod - rts/Sim/CMakeLists.txt Diff ] File ]
add - rts/Sim/Projectiles/ExplosionListener.cpp Diff ] File ]
add - rts/Sim/Projectiles/ExplosionListener.h Diff ] File ]
develop 58bd7c25
Timestamp: 2011-05-12 17:39:56
Author: hoijui
Details ] Diff ]
cleanup & add a TODO (no logic changes)
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Game/GameHelper.h Diff ] File ]
mod - rts/Game/InMapDraw.cpp Diff ] File ]
mod - rts/Rendering/Env/BaseWater.cpp Diff ] File ]
mod - rts/Rendering/Env/BaseWater.h Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
develop 5d2362d3
Timestamp: 2011-05-12 11:49:27
Author: hoijui
Details ] Diff ]
unuse AUX_SOURCE_DIRECTORY, following CMake doc recommendation [CMake]
http://cmake.org/cmake/help/cmake-2-8-docs.html#command:aux_source_directory
Most other noteworthy software i have seen that uses CMake is
doing it this way too (without AUX_SOURCE_DIRECTORY).

Effects for devs:
* Each added/removed/moved native source file requires you to edit some
CMakeLists.txt file.

Effects for everyone compiling spring:
* When a source-file gets added/removed/moved by someone else,
you do not have to touch CMakeLists.txt anymore, to force re-scanning
of source files.
This primarily applies when continuously updating sources through git.

This would (in theory) now also allow to do minor changes to the buildbot
script, so it would not force re-scanning of source files after every
commit. This in turn could save quite some time, especially with minor
commits, as they would not trigger recompiling of huge parts of the AI
subsystem anymore.
mod - AI/CMakeLists.txt Diff ] File ]
mod - AI/Interfaces/C/CMakeLists.txt Diff ] File ]
mod - AI/Wrappers/LegacyCpp/CMakeLists.txt Diff ] File ]
mod - rts/CMakeLists.txt Diff ] File ]
add - rts/ExternalAI/CMakeLists.txt Diff ] File ]
add - rts/Game/CMakeLists.txt Diff ] File ]
add - rts/Lua/CMakeLists.txt Diff ] File ]
add - rts/Map/CMakeLists.txt Diff ] File ]
add - rts/Menu/CMakeLists.txt Diff ] File ]
add - rts/Rendering/CMakeLists.txt Diff ] File ]
add - rts/Sim/CMakeLists.txt Diff ] File ]
add - rts/System/CMakeLists.txt Diff ] File ]
add - rts/aGui/CMakeLists.txt Diff ] File ]
mod - rts/builds/DS/CMakeLists.txt Diff ] File ]
mod - tools/unitsync/CMakeLists.txt Diff ] File ]
develop 81864f62
Timestamp: 2011-05-12 10:24:52
Author: hoijui
Details ] Diff ]
InMapDraw: separate M and C of MVC

Creg stuff is now only in Model.
View depends on Model.
Control depends on Model.
Model does not depend on either of the two.
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/InMapDraw.cpp Diff ] File ]
mod - rts/Game/InMapDraw.h Diff ] File ]
add - rts/Game/InMapDrawModel.cpp Diff ] File ]
add - rts/Game/InMapDrawModel.h Diff ] File ]
mod - rts/Game/NetCommands.cpp Diff ] File ]
mod - rts/Game/UnsyncedGameCommands.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.cpp Diff ] File ]
mod - rts/Rendering/InMapDrawView.cpp Diff ] File ]
mod - rts/Rendering/InMapDrawView.h Diff ] File ]
mod - rts/System/LoadSave/CregLoadSaveHandler.cpp Diff ] File ]
mod - rts/build/vstudio8/rts.vcproj Diff ] File ]
mod - rts/build/vstudio9/rts.vcproj Diff ] File ]
develop 0b381e61
Timestamp: 2011-05-11 21:46:29
Author: hoijui
Details ] Diff ]
unuse default arguments that are undefined at compile-time (credits to jk and abma) [fix]
This fixes "GuiHandler: cleanup parameters" == 7233679600f5a306c8ca31f6ea5eae8fcb603402 and other, yet untrigered bugs.
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop 7686d41e
Timestamp: 2011-05-11 21:08:45
Author: hoijui
Details ] Diff ]
InMapDraw: encapsulate some members
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/InMapDraw.cpp Diff ] File ]
mod - rts/Game/InMapDraw.h Diff ] File ]
mod - rts/Game/SyncedGameCommands.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UnsyncedGameCommands.cpp Diff ] File ]
mod - rts/Rendering/InMapDrawView.cpp Diff ] File ]
develop 0eb8c925
Timestamp: 2011-05-11 19:46:48
Author: hoijui
Details ] Diff ]
InMapDrawView: more functions and more clear var names
mod - rts/Rendering/InMapDrawView.cpp Diff ] File ]
develop 5bf80617
Timestamp: 2011-05-11 19:01:29
Author: hoijui
Details ] Diff ]
InMapDraw: split of rendering and move the rest to Game/ & other minor internal adjustments
Creg wise, it is most likely a bit broken now but... too much trouble there for nothing!
Lines and Points now store different data:
Instead of allyTeam & color, it is now team & TeamController (Player or AI).

This is still not perfect, but with further changes, will allow to fix
part of the drawing bugs with AI.
mod - rts/ExternalAI/AICallback.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/NetCommands.cpp Diff ] File ]
mod - rts/Game/SyncedGameCommands.cpp Diff ] File ]
mod - rts/Game/UI/LuaUI.cpp Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UI/StartPosSelecter.cpp Diff ] File ]
mod - rts/Game/UnsyncedGameCommands.cpp Diff ] File ]
mod - rts/Lua/LuaHandle.cpp Diff ] File ]
mod - rts/Lua/LuaUnsyncedCtrl.cpp Diff ] File ]
add - rts/Rendering/InMapDrawView.cpp Diff ] File ]
add - rts/Rendering/InMapDrawView.h Diff ] File ]
mod - rts/System/LoadSave/CregLoadSaveHandler.cpp Diff ] File ]
mod - rts/build/vstudio8/rts.vcproj Diff ] File ]
mod - rts/build/vstudio9/rts.vcproj Diff ] File ]
develop d9aa5b2b
Timestamp: 2011-05-11 10:22:39
Author: hoijui
Details ] Diff ]
cleanup InMapDraw (no logic changes)
mod - rts/Rendering/InMapDraw.cpp Diff ] File ]
mod - rts/Rendering/InMapDraw.h Diff ] File ]
develop be7865c5
Timestamp: 2011-05-11 08:53:39
Author: hoijui
Details ] Diff ]
GuiHandler: make functions 1 line only & minimal doc changes
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop 143da96c
Timestamp: 2011-05-11 08:48:38
Author: hoijui
Details ] Diff ]
GuiHanlder: const-ify some parameter references
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop 72336796
Timestamp: 2011-05-11 08:40:58
Author: hoijui
Details ] Diff ]
GuiHandler: cleanup parameters
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop b3b02f33
Timestamp: 2011-05-11 08:33:48
Author: hoijui
Details ] Diff ]
GuiHandler: correct camel-casing
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop 850a20f5
Timestamp: 2011-05-11 08:24:37
Author: hoijui
Details ] Diff ]
GuiHandler: convert int used as bool to bool
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Game/UI/GuiHandler.h Diff ] File ]
develop 759bcfc9
Timestamp: 2011-05-10 23:01:03
Author: hoijui
Details ] Diff ]
un-use deprecated Command.SetID() in CUnit & FactoryCAI
mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
develop 13ae50ed
Timestamp: 2011-05-10 22:48:46
Author: hoijui
Details ] Diff ]
fix comments (MemPool & LosHandler) and add a TODO [minor]
As Tobi pointed out, iff == "if and only if".
mod - rts/Sim/Misc/LosHandler.h Diff ] File ]
mod - rts/Sim/Units/CommandAI/Command.h Diff ] File ]
mod - rts/System/MemPool.h Diff ] File ]
develop 6731e511
Timestamp: 2011-05-10 19:19:41
Author: -jk-
Details ] Diff ]
fix a logic change in the previous commit
mod - rts/Rendering/Env/SkyLight.cpp Diff ] File ]
develop e184012f
Timestamp: 2011-05-10 19:16:43
Author: -jk-
Details ] Diff ]
DynSun: fastmath::coords2angle -> myMath.cpp::GetRadFromXY & code rearrangment
no real logic changes
mod - rts/Rendering/Env/AdvSky.cpp Diff ] File ]
mod - rts/Rendering/Env/BasicSky.cpp Diff ] File ]
mod - rts/Rendering/Env/CubeMapHandler.cpp Diff ] File ]
mod - rts/Rendering/Env/SkyLight.cpp Diff ] File ]
mod - rts/Rendering/Env/SkyLight.h Diff ] File ]
mod - rts/System/FastMath.h Diff ] File ]
mod - rts/System/myMath.h Diff ] File ]
mod - rts/System/myMath.inl Diff ] File ]
develop 4e6dc350
Timestamp: 2011-05-10 19:01:47
Author: -jk-
Details ] Diff ]
remove code redunance
adding BITMAP_NO_OPENGL def twice in unitsync & redundant BITMAP_NO_OPENGL check in Bitmap.cpp
mod - rts/Rendering/Textures/Bitmap.cpp Diff ] File ]
mod - tools/unitsync/CMakeLists.txt Diff ] File ]
develop 7bf0f900
Timestamp: 2011-05-10 18:59:17
Author: -jk-
Details ] Diff ]
improve OpenMP integration
mod - CMakeLists.txt Diff ] File ]
mod - rts/Map/SMF/SmfReadMap.cpp Diff ] File ]
mod - rts/Rendering/Textures/Bitmap.cpp Diff ] File ]
develop 71b2967d
Timestamp: 2011-05-10 12:55:20
Author: hoijui
Details ] Diff ]
out-factor deprecated use of Command.SetID() in BuildInfo
mod - rts/Game/UI/GuiHandler.cpp Diff ] File ]
mod - rts/Sim/Units/BuildInfo.cpp Diff ] File ]
mod - rts/Sim/Units/BuildInfo.h Diff ] File ]
develop a4c15876
Timestamp: 2011-05-10 12:43:29
Author: hoijui
Details ] Diff ]
adjust some comments [minor]
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/FactoryCAI.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
First  Prev  1 2 3 ... 110 ... 220 ... 330 ... 440 ... 524 525 526 527 528 529 530 ... 550 ... 660 ... 770 ... 880 ... 990 ... 1057 1058 1059  Next  Last