Commit Graph
131 Commits
Author SHA1 Message Date
Walter Agazzi d61273277b WATCHMAKER: Add detection entry for italian version
Reported in TRAC #14677
2023-10-23 22:13:05 +02:00
Eugene Sandulenko 7523b108c5 WATCHMAKER: Fix warnings 2023-09-19 15:10:15 +02:00
Eugene Sandulenko 5ddbf58e32 WATCHMAKER: Fix warning 2023-08-13 01:37:45 +02:00
Eugene Sandulenko fae2a7f93d WATCHMAKER: Eliminate sprintf() and strcpy() 2023-08-13 00:53:41 +02:00
Eugene Sandulenko 3271c8af71 WATCHMAKER: Add missing override keywords 2023-08-13 00:43:17 +02:00
Eugene Sandulenko 8bff50d668 WATCHMAKER: sprintf -> snprintf in some places 2023-08-13 00:38:24 +02:00
D G Turner c2529c1945 WATCHMAKER: Fix Remaining GCC Compiler Warnings 2023-07-12 00:20:23 +01:00
D G Turner 95ef0f2765 WATCHMAKER: Fix More GCC Compiler Warnings
These were due to the ocCurPlayer and ocBoth defines having identical
values causing warnings of redundant checks.
2023-07-09 14:35:59 +01:00
D G Turner 1396df5b2a WATCHMAKER: Further Fixes For GCC Compiler Warnings 2023-07-09 11:20:43 +01:00
D G Turner 3a1205df71 WATCHMAKER: Further Fixes for GCC Compiler Warnings 2023-07-09 03:41:07 +01:00
elasota 205d3c4c41 WATCHMAKER: Fix signed/unsigned conversion warning 2023-07-08 22:02:00 +03:00
elasota c56086f6d5 WATCHMAKER: Fix switch with no cases warning 2023-07-08 22:02:00 +03:00
D G Turner 1be536ae2f WATCHMAKER: Fix Memset of Non Trivial Structure GCC Compiler Warning 2023-06-25 22:04:44 +01:00
D G Turner 501f5418ee WATCHMAKER: Further GCC Compiler Warning Fixes 2023-05-28 01:06:31 +01:00
D G Turner c32aa4e4c6 WATCHMAKER: Fix Redundant Null Pointer Test GCC Compiler Warnings 2023-05-27 23:24:28 +01:00
D G Turner e092ea2a69 WATCHMAKER: Add FIXME Comment Regarding Sequence Point Issue
No functional change.
2023-05-22 23:02:04 +01:00
D G Turner 5300cc6d0a WATCHMAKER: Fix Sequence Point GCC Compiler Warning
This should be checked for the correct logic, as I am unsure if this
code sequence is the intended one. However, this is better than code
with sequence point ambiguity.
2023-05-22 22:56:43 +01:00
D G Turner 89b0580181 WATCHMAKER: Minor Refactor To Reduce GCC Compiler Warnings 2023-05-21 22:15:44 +01:00
Filippos Karapetis 40fb0c793c WATCHMAKER: Improve error handling and fix some compiler warnings
asserts aren't enabled in release builds, so solely relying on them for
error handling is not recommended
2023-05-21 20:37:31 +03:00
Einar Johan Trøan Sømåen ba21401dd7 WATCHMAKER: Avoid going OOB in LoadedFiles (PVS) 2023-05-12 09:55:51 +02:00
Einar Johan Trøan Sømåen f9dd430566 WATCHMAKER: Remove surplus _compression field in DDSTextureData (PVS) 2023-05-12 09:55:51 +02:00
Einar Johan Trøan Sømåen 52b7b09adf WATCHMAKER: Fix some unintended auto-related copying (Coverity)
CID: 1509143
CID: 1509190
CID: 1509197
CID: 1509205
2023-05-09 02:36:44 +02:00
Einar Johan Trøan Sømåen 4b6f57d002 WATCHMAKER: Initialize gMovie::_startTime (Coverity)
CID: 1509146
2023-05-09 02:36:44 +02:00
Einar Johan Trøan Sømåen 5d846bd921 WATCHMAKER: Implement destructor for gMovie (Coverity)
CID: 1509141
CID: 1509142
CID: 1509154
2023-05-09 02:36:44 +02:00
Einar Johan Trøan Sømåen d35b01de23 WATCHMAKER: Fix resource leak in Game (Coverity)
CID: 1509172
2023-05-09 02:36:39 +02:00
Einar Johan Trøan Sømåen 15a23a4e5c WATCHMAKER: Initialize variable (Coverity)
CID: 1509194
2023-05-09 02:36:39 +02:00
Einar Johan Trøan Sømåen 860408c488 WATCHMAKER: Fix resource-leak in FastFile (Coverity)
CID: 1509203
2023-05-09 02:36:38 +02:00
Einar Johan Trøan Sømåen 641950ced7 WATCHMAKER: Fix missing destructor logic in t3dMesh (Coverity)
While at it, also fix mismatched free/delete

CID: 1509187
CID: 1509188
CID: 1509201
CID: 1509208
2023-05-09 02:36:33 +02:00
Einar Johan Trøan Sømåen 5747d6fa2a WATCHMAKER: Fix potential OOB write (Coverity)
CID: 1509212
2023-05-09 02:36:28 +02:00
Einar Johan Trøan Sømåen 5ac3ab29c9 WATCHMAKER: Fix uninitialized variable (Coverity)
CID: 1509217
2023-05-09 02:36:27 +02:00
Einar Johan Trøan Sømåen 6aee529e33 WATCHMAKER: Fix accidental copy due to auto. (Coverity)
CID: 1509210
2023-05-09 02:36:22 +02:00
Einar Johan Trøan Sømåen 11387039f1 WATCHMAKER: Fix resource leak (Coverity)
CID: 1509207
2023-05-09 02:36:10 +02:00
Einar Johan Trøan Sømåen e6417cf0b6 WATCHMAKER: Fix resource leak (Coverity)
CID: 1509225
2023-05-09 02:35:59 +02:00
D G Turner c4371efcb1 WATCHMAKER: Further Fixes for GCC Compiler Warnings 2023-05-07 02:20:25 +01:00
D G Turner 2629bfa0ee WATCHMAKER: Fix for Memset on Non-Trivial Structure GCC Warning 2023-05-06 00:26:42 +01:00
D G Turner 201b636f13 WATCHMAKER: Further Fixes for GCC Compiler Warnings 2023-05-05 21:27:52 +01:00
D G Turner 21e69746d9 WATCHMAKER: Further Fixes for GCC Compiler Warnings 2023-05-04 01:27:58 +01:00
D G Turner 4ba6db3429 WATCHMAKER: Fix Another Likely Incorrect Code Causing GCC Compiler Warning
The previous commit errorneously included all my pending minor GCC warning
fixes, but these are not problematic as they don't really change behaviour.

However, as the previous commit message was referring to, this commit and
the previous change in ll_mesh.cpp do change the previous behaviour and
should be reviewed for correctness.
2023-05-02 21:43:18 +01:00
D G Turner 2f677c2529 WATCHMAKER: Fix Likely Incorrect Code Causing GCC Compiler Warnings
This will need to be checked for correct operation, but the original
code looks like an oversight.
2023-05-02 21:31:56 +01:00
D G Turner c55be5936c WATCHMAKER: Fix Warnings from Likely Incorrect Fallthrough in Switch
This should be checked, but the original code looks wrong.
2023-05-02 21:28:15 +01:00
elasota 10fda7b7f7 WATCHMAKER: Fix MSVC linker failure caused by using C-style local prototypes, which are prototyped into the global scope instead of the Watchmaker namespace 2023-05-02 08:55:36 +01:00
D G Turner 3f7927d324 WATCHMAKER: Further Fixes For GCC Compiler Warnings 2023-05-01 20:49:12 +01:00
D G Turner 19e6798303 WATCHMAKER: Further Fixes For GCC Compiler Warnings 2023-04-30 11:18:15 +01:00
D G Turner 66ab5bc779 WATCHMAKER: Fix Compilation on Some Platforms 2023-04-29 23:51:57 +01:00
Eugene Sandulenko e63fed1916 WATCHMAKER: Fix warning 2023-04-30 00:09:16 +02:00
Eugene Sandulenko b2b06a0e1f WATCHMAKER: Remove strcpy and sprintf usage 2023-04-30 00:09:16 +02:00
Einar Johan Trøan Sømåen 4e11622195 WATCHMAKER: Fix mismatched delete/delete[] call 2023-04-29 23:38:33 +02:00
Einar Johan Trøan Sømåen 876ef461f3 WATCHMAKER: Clear some warnings 2023-04-29 23:38:32 +02:00
Einar Johan Trøan Sømåen cbb0a52281 WATCHMAKER: Resolve Windows build errors 2023-04-29 23:31:56 +02:00
Eugene Sandulenko 7c5c22c0ac WATCHMAKER: Remove duplicate object file 2023-04-29 22:58:35 +02:00