Skip to content

refactor(random): Simplify code in RandomValue #6082

refactor(random): Simplify code in RandomValue

refactor(random): Simplify code in RandomValue #6082

Triggered via pull request March 2, 2026 19:21
Status Success
Total duration 10m 49s
Artifacts 20

ci.yml

on: pull_request
Detect File Changes
7s
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 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-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-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+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+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-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 Generals / win32-vcpkg-debug+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
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 Generals / win32-debug+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
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 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 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-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
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+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 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-vcpkg+t+e: Core/Libraries/Source/WWVegas/WWDownload/registry.cpp#L25
'WIN32_LEAN_AND_MEAN': macro redefinition
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+t+e: Core/Libraries/Source/WWVegas/WWDownload/FTP.cpp#L668
'=': conversion from 'time_t' to 'int', possible loss of data
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-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

Artifacts

Produced during runtime
Name Size Digest
Generals-vc6+t+e Expired
16.1 MB
sha256:ebffd16b49f1a77e741a35bb029120ee1b38f2706526b294f9551dac99dfca84
Generals-vc6-debug+t+e Expired
52 MB
sha256:661202057db5896565d5d4257764ba026744ab23537b38a7d4878c6adfbc8ebb
Generals-vc6-profile+t+e Expired
16.1 MB
sha256:9e8b697eef3fcb94215b37a602855d3e7f28ae201c7831dfad9941155679bc1a
Generals-win32+t+e Expired
85.6 MB
sha256:d850acd579f6a3c481ff667ebc03e6dfd09bb2d8af80d708d665082393c8745b
Generals-win32-debug+t+e Expired
204 MB
sha256:0cd0cd87187afff902850cb3ccd10c462812f4264b005b6a16c6892e6de8169b
Generals-win32-profile+t+e Expired
85.5 MB
sha256:a5326739205b40dea59545435b6f8b55fba52a86da840fcae6d5424a86eefaf9
Generals-win32-vcpkg+t+e Expired
85.6 MB
sha256:f1c06bf9e9a946ac10630e8bad6fd0eba4c728e19df1df2ea1875010b18f3f2d
Generals-win32-vcpkg-debug+t+e Expired
203 MB
sha256:6d21051fafa8a43ee3403411c6f305ddb6dbcdbf9304d680e82cdd3255152607
Generals-win32-vcpkg-profile+t+e Expired
85.6 MB
sha256:196b96d2d9e5cd8422e74694dcc20c85c5247d2851088d88c3e33a1d3981bf13
GeneralsMD-vc6+t+e Expired
17.1 MB
sha256:5a598515a2c3f24aec13165ecd76dfa423782441ba22f3c86c38cd353e31045c
GeneralsMD-vc6-debug+t+e Expired
54.5 MB
sha256:ea3d24f878bad7c656b8bc95eefa7e9be9288e99b6f4f0cb1c0ebf2aca2cf7bb
GeneralsMD-vc6-profile+t+e Expired
17.3 MB
sha256:ef0af5304c2e6a0ff398a68e832aac6dc93962a0bdb71565d34d3dcbe0d798a5
GeneralsMD-vc6-releaselog+t+e Expired
30.4 MB
sha256:400f914592626753f066889fd7f098520a0e10caa08dc107c22d5b2198c5d190
GeneralsMD-win32+t+e Expired
90 MB
sha256:829bc4f8a5bb526d59814f6db3351605ff539bd3d4955c4c1905b1fc49206f3d
GeneralsMD-win32-debug+t+e Expired
212 MB
sha256:be2c53d8ee8f74e671a35bcab8b11b6a2abe55b856840655b6373964973cf4ff
GeneralsMD-win32-profile+t+e Expired
90.4 MB
sha256:9fb25843787da17e3ee2d0eaa1a5eb911ecf4177d70e48852c285a947bc4a906
GeneralsMD-win32-vcpkg+t+e Expired
89.6 MB
sha256:998fa78fde7b694231c656d117b968291c5e87b82f9b468c8eb3ce8ca7dda094
GeneralsMD-win32-vcpkg-debug+t+e Expired
212 MB
sha256:4d6d308f4063e0ef1f637c3bed420c4167d4742b3de7d5e94ab2d0a14a91d84e
GeneralsMD-win32-vcpkg-profile+t+e Expired
90.4 MB
sha256:1e4a395a0d0998916dc6ec84c608a275ed4ad779f4211252d5f17c6347f700a0
Replay-Debug-Log-vc6-releaselog+t+e Expired
2.8 MB
sha256:756aaaa8bf5f89f2af3166d12ac32f7a077a1cc92443cccc0bb0136fc6dea9ff