2025-09-06 20:30 CEST

spring: develop baba2128 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Tobi Vollebregt Tobi Vollebregt develop 2011-08-06 17:37:02 develop b06794f0
Changeset cleanup System/Sync

- ASSERT_SYNCED instead of ASSERT_SYNCED_PRIMITIVE & ASSERT_SYNCED_FLOAT3
- removed never used 64 bit int support from Upcast and SyncedPrimitive
- removed all binary operator overloads from SyncedPrimitive (implicit
    conversions seem to work fine without, added test for this)
- removed custom std::min and std::max (may result in undefined behavior
    according to the standard, e.g. 17.6.4.2.1 in C++0x draft)
- less friends, more public functions
- missing break in HsiehHash
- constify some pointers
mod - rts/Game/NetCommands.cpp Diff ] File ]
mod - rts/Game/SyncedGameCommands.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedMoveCtrl.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/GroundMoveType.cpp Diff ] File ]
mod - rts/Sim/Units/Unit.cpp Diff ] File ]
mod - rts/System/Sync/HsiehHash.h Diff ] File ]
mod - rts/System/Sync/SyncChecker.h Diff ] File ]
mod - rts/System/Sync/SyncDebugger.cpp Diff ] File ]
mod - rts/System/Sync/SyncDebugger.h Diff ] File ]
mod - rts/System/Sync/SyncedFloat3.h Diff ] File ]
mod - rts/System/Sync/SyncedPrimitive.h Diff ] File ]
mod - rts/System/Sync/SyncedPrimitiveBase.h Diff ] File ]
mod - rts/System/Sync/Upcast.h Diff ] File ]
mod - test/CMakeLists.txt Diff ] File ]
add - test/engine/System/Sync/TestSyncedPrimitive.cpp Diff ] File ]