CUGL Bug Patches
CUGL is continually a work in progress. Every time we work on a lecture we either find some issue, or some way in which the engine can be improved. While we try to feature lock the engine at the start of the semester, that is not always possible.
Below are several patches for CUGL classes. For each file you should simple copy it
to the correct directory. Source code files replace the appropriate file in
cugl/lib
. Header files replace the appropriate file in cugl/include/cugl
.
Patch 2.1.1 (February 23, 2022)
- cugl/math/polygon/CUSplinePather.cpp: Fixed a bug for flattening closed splines.
- cugl/render/CUGradient.cpp: Fixed a bug that affected default radial gradients.
- cugl/render/CUFont.cpp: Fixed a bug in the debugging methods.
- cugl/render/CUTextLayout.cpp: Added debugging methods (similar to
CUFont.cpp
) - cugl/include/cugl/render/CUTextLayout.h: Added new methods to header file
Patch 2.1.2 (February 28, 2022)
- cugl/scene2/graph/CUWireNode.cpp: Fixed a bug that affected debug mode in demos.
- cugl/include/cugl/assets/CUScene2Loader.h: Added support for ordered, canvas nodes
- cugl/assets/CUScene2Loader.cpp: Added support for ordered, canvas nodes
Patch 2.1.3 (March 15, 2022)
This patch fixes two bugs that effected games with large network payloads. This included games that needed to split up packets, or needed packets larger than 255 bytes.
- cugl/net/CUNetworkConnection.cpp: Fixed packet size bug and packet ordering
- cugl/include/cugl/net/CUNetworkConnection.h: Added packet reliability as a setting
Patch 2.1.4 (April 17, 2022)
This patch fixes two bugs that were discovered by groups during Alpha release.
- cugl/render/CUCamera.cpp: Fixed bug that affected 3d perspectives
- cugl/include/cugl/render/CUCamera.h: Fixed bug that affected 3d perspectives
- cugl/audio/graph/CUAudioOutput.cpp: Fixed audio engine bug that affects some Windows users
Patch 2.1.5 (April 29, 2022)
This patch fixes some network bugs that could cause NAT punch through to fail. The problem was an error message that was not correctly categorized (preventing the recovery code from executing). This fix is courtesy of Jude Javillo.
- cugl/net/CUNetworkConnection.cpp: Fixed NAT punchthrough failure error
- cugl/include/cugl/net/CUNetworkConnection.h: Fixed NAT punchthrough failure error