D825 is the pretty big patch to commit it at once. So I moved terrain changes to the separate diff, added tests, comments and a bit refactored it.
Original code by Clockwork-Muse.
Differential D2724
Splits Terrain changes from D825 and adds tests for offsets vladislavbelov on May 6 2020, 1:30 AM. Authored by
Details
D825 is the pretty big patch to commit it at once. So I moved terrain changes to the separate diff, added tests, comments and a bit refactored it. Original code by Clockwork-Muse.
Diff Detail
Event TimelineComment Actions Build failure - The Moirai have given mortals hearts that can endure. Link to build: https://jenkins.wildfiregames.com/job/macos-differential/662/display/redirect Comment Actions Successful build - Chance fights ever on the side of the prudent. Linter detected issues: Executing section Source... source/graphics/Terrain.h | 51| class·CTerrain | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classCTerrain{' is invalid C code. Use --std or --language to configure the language. source/graphics/tests/test_Terrain.h | 30| class·TestTerrain·:·public·CxxTest::TestSuite | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classTestTerrain:' is invalid C code. Use --std or --language to configure the language. source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp | 1| /*·Copyright·(C)·2019·Wildfire·Games. | | [NORMAL] LicenseYearBear: | | License should have "2020" year instead of "2019" source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp | 211| » CMapWriter·writer; | | [MAJOR] CPPCheckBear (syntaxError): | | Unmatched '}'. Configuration: 'MESSAGESSETUP_NOTFIRST'. Executing section JS... Executing section cli... Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2077/display/redirect Comment Actions This patch breaks the placement of entities when resizing. It still works for terrain though. Comment Actions Build failure - The Moirai have given mortals hearts that can endure. Link to build: https://jenkins.wildfiregames.com/job/macos-differential/663/display/redirect Comment Actions Successful build - Chance fights ever on the side of the prudent. Linter detected issues: Executing section Source... source/graphics/Terrain.h | 51| class·CTerrain | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classCTerrain{' is invalid C code. Use --std or --language to configure the language. source/graphics/tests/test_Terrain.h | 30| class·TestTerrain·:·public·CxxTest::TestSuite | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classTestTerrain:' is invalid C code. Use --std or --language to configure the language. source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp | 211| MESSAGEHANDLER(SaveMap) | | [MAJOR] CPPCheckBear (syntaxError): | | Unmatched '}'. Configuration: 'MESSAGESSETUP_NOTFIRST'. Executing section JS... Executing section cli... Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2078/display/redirect Comment Actions Build failure - The Moirai have given mortals hearts that can endure. Link to build: https://jenkins.wildfiregames.com/job/macos-differential/665/display/redirect Comment Actions Successful build - Chance fights ever on the side of the prudent. Linter detected issues: Executing section Source... source/graphics/tests/test_Terrain.h | 30| class·TestTerrain·:·public·CxxTest::TestSuite | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classTestTerrain:' is invalid C code. Use --std or --language to configure the language. source/graphics/Terrain.h | 51| class·CTerrain | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classCTerrain{' is invalid C code. Use --std or --language to configure the language. source/tools/atlas/GameInterface/Handlers/MapHandlers.cpp | 211| MESSAGEHANDLER(SaveMap) | | [MAJOR] CPPCheckBear (syntaxError): | | Unmatched '}'. Configuration: 'MESSAGESSETUP_NOTFIRST'. Executing section JS... Executing section cli... Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2080/display/redirect |