Skip to content

refactor(random): Simplify code in RandomValue #6060

refactor(random): Simplify code in RandomValue

refactor(random): Simplify code in RandomValue #6060

Triggered via pull request March 1, 2026 13:52
Status Success
Total duration 24m 29s
Artifacts 20

ci.yml

on: pull_request
Detect File Changes
9s
Detect File Changes
Matrix: build-generalsmd-vc6
Matrix: build-generals
Matrix: build-generalsmd-win32
Matrix: replaycheck-generalsmd
Fit to window
Zoom out
Zoom in

Annotations

190 warnings
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build Generals / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L114
'this' : used in base member initializer list
Build GeneralsMD / vc6-debug+t+e: Core/Libraries/Source/WWVegas/WWLib/refcount.h#L99
'this' : used in base member initializer list
Build Generals / vc6+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN' : macro redefinition
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN' : macro redefinition
Build Generals / vc6-profile+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN' : macro redefinition
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-profile+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1117
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L1041
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / vc6-releaselog+t+e: Core/Tools/Autorun/GameText.cpp#L817
'int' : forcing value to bool 'true' or 'false' (performance warning)
Build GeneralsMD / win32-debug+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32-debug+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32-debug+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-debug+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN': macro redefinition
Build Generals / win32-debug+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32-debug+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-profile+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build Generals / win32-profile+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32-profile+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN': macro redefinition
Build Generals / win32+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32+t+e: Core/Libraries/Source/WWVegas/WWLib/thread.cpp#L19
'_WIN32_WINNT': macro redefinition
Build GeneralsMD / win32+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN': macro redefinition
Build GeneralsMD / win32+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32+t+e: Core/Libraries/Source/WWVegas/WWLib/thread.cpp#L19
'_WIN32_WINNT': macro redefinition
Build GeneralsMD / win32-profile+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32-profile+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32-profile+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-debug+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32-vcpkg-debug+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32-vcpkg-debug+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-debug+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32-vcpkg-debug+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-debug+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-profile+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32-vcpkg-profile+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32-vcpkg-profile+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build Generals / win32-vcpkg+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32-vcpkg+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build GeneralsMD / win32-vcpkg+t+e: GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L164
operator '/': deprecated between enumerations and floating-point types
Build GeneralsMD / win32-vcpkg+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build GeneralsMD / win32-vcpkg+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-profile+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
Build Generals / win32-vcpkg-profile+t+e: Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp#L163
operator '/': deprecated between enumerations and floating-point types
Build Generals / win32-vcpkg-profile+t+e
operands are different enum types 'SBServerListState' and 'SBState'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning
Build Generals / win32-vcpkg-profile+t+e
operands are different enum types '_GPIBool' and '_GPEnum'; use an explicit cast to silence this warning

Artifacts

Produced during runtime
Name Size Digest
Generals-vc6+t+e Expired
16.1 MB
sha256:4724fe37ea47673200c6488358614b168a45384e3182edd5b9384c585bbcf188
Generals-vc6-debug+t+e Expired
52 MB
sha256:1f2372cfdf98f223e66eea150af4ebb65a2bebab333a8c5f62b329a3c6060e79
Generals-vc6-profile+t+e Expired
16.1 MB
sha256:62bea4ccb72ec00ca520592c7abfe441771b40ece83d501c3760bdf5a30519a6
Generals-win32+t+e Expired
85.6 MB
sha256:4449d2f33637854e6ff25ba609a48faaf423aef320afedab65fdc5e4613c87c6
Generals-win32-debug+t+e Expired
204 MB
sha256:6cd055cb5c4d194ac34f08c9e75d1fa2c10ce075333ed55e0273203a5634a337
Generals-win32-profile+t+e Expired
85.4 MB
sha256:a4b43d011407c1528f18ffc1248ee88ae33d6a8dcbed298628b1f8994146c1ca
Generals-win32-vcpkg+t+e Expired
85.4 MB
sha256:4cc5ef06fc3e85578ddbbbb9f2fb45ddb7a45d0c7c25e63f8eace5af30e4d7ec
Generals-win32-vcpkg-debug+t+e Expired
203 MB
sha256:711326e6c19e8d7fece1fbab671191c42bf6d4fc865eff89f54df0676742f49b
Generals-win32-vcpkg-profile+t+e Expired
85.5 MB
sha256:9ffcdeffd99fdee18165d8bb0f5fddae760d09e8ae179396eea5d16fc0e16332
GeneralsMD-vc6+t+e Expired
17.1 MB
sha256:c1456d49412e46c96a138b0f4cca63071d133c49a9089f3cf7a5ae7ae8ee100a
GeneralsMD-vc6-debug+t+e Expired
54.5 MB
sha256:d1dfff7dd6dc1bbe67cc48996e4b80029cff33124cfbef20a394cadb871cf4a9
GeneralsMD-vc6-profile+t+e Expired
17.3 MB
sha256:c5a8995bfe4a2720d29c222835d1fbdb9a567b3da887f4d7e21c6cb78efbd322
GeneralsMD-vc6-releaselog+t+e Expired
30.4 MB
sha256:e5aaa73f39b8e5c858027566d736b049d228efa7348086997de1477097eca4eb
GeneralsMD-win32+t+e Expired
90.1 MB
sha256:b39e323324a4ea62b1b7c83a7dbdd93934c83e528e3960b0bc90c76fd67d6463
GeneralsMD-win32-debug+t+e Expired
212 MB
sha256:a7d3c74f050be6677754fab4957e844299bd237cc9c2d90bd913f769bcd73f6b
GeneralsMD-win32-profile+t+e Expired
90.5 MB
sha256:709d61b4792d8ac5161101172f87414f51fe7693e4f0931325d13e4bb10294eb
GeneralsMD-win32-vcpkg+t+e Expired
89.8 MB
sha256:af4226cefa6dd3ffceb69eb7e5666cacae6763d89b6a00efbc9a10ea638f3600
GeneralsMD-win32-vcpkg-debug+t+e Expired
212 MB
sha256:f44398f505e66ced779a5786a9f77d7425bfe15b620d8841116e3e1642049d03
GeneralsMD-win32-vcpkg-profile+t+e Expired
90.4 MB
sha256:8bea029bea132e6ea530880aab3592ff03ed5186e3e16732665b0c9fe327e37c
Replay-Debug-Log-vc6-releaselog+t+e Expired
2.8 MB
sha256:00026c65654800fe6bd03fc8dfc9fc7268df9a95e25fb77042dbe5d0709978a7