Commit Graph

136463 Commits

Author SHA1 Message Date
D G Turner
fc5bda73fa
HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
grisenti
78a528792b
HPL1: remove unused code for managing directories 2022-12-23 14:04:09 +01:00
grisenti
ab03db95f7
HPL1: fix wrong variable use in newton code 2022-12-23 14:04:09 +01:00
D G Turner
0e3c23fc9d
HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
D G Turner
7f6929771b
HPL1: Further Fixes For GCC Compiler Shadowing Warnings in Newton Physics 2022-12-23 14:04:09 +01:00
D G Turner
2860ff2c1c
HPL1: Further GCC Compiler Shadowing Warning Fixes for Newton Physics 2022-12-23 14:04:08 +01:00
grisenti
4cd3902fb0
HPL1: replace std::list with Common::List 2022-12-23 14:04:08 +01:00
D G Turner
d60d57f86e
HPL1: Further Fixes for GCC Shadowing Warnings in Newton Physics Library
These are emitted if -Wshadow is passed to GCC.
2022-12-23 14:04:08 +01:00
grisenti
af0dea70c0
HPL1: fix range in random number generator 2022-12-23 14:04:08 +01:00
grisenti
2df5054417
HPL1: remove rand usage 2022-12-23 14:04:08 +01:00
D G Turner
fb96678f50
HPL1: Further Fixes for GCC Shadowing Compiler Warnings in Newton Library 2022-12-23 14:04:08 +01:00
D G Turner
d0e388671d
HPL1: Further GCC Compiler Shadowing Warning Fixes 2022-12-23 14:04:08 +01:00
D G Turner
74cc0517a1
HPL1: Fix Type Limits GCC Compiler Warnings in Angelscript String Interface
These functions accept the start parameter as an unsigned value and thus
the value can never be less than zero, thus this check is redundant.

There is a later function which does accept a signed value for the start
in the Angelscript interface and this is left intact.
2022-12-23 14:04:08 +01:00
grisenti
2c2509bcb6
HPL1: disable texture wrap options in tgl texture 2022-12-23 14:04:07 +01:00
D G Turner
060031ebff
HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2022-12-23 14:04:07 +01:00
D G Turner
3049bb1e01
HPL1: Fix Duplicated Branch GCC Compiler Warning in Player Helper Code 2022-12-23 14:04:07 +01:00
grisenti
1ff72fbb06
HPL1: use texture debug channel in texture classes 2022-12-23 14:04:07 +01:00
grisenti
43d27c121f
HPL1: add logging in texture wrap setters 2022-12-23 14:04:07 +01:00
grisenti
4d140170ea
HPL1: add debug channel for textures 2022-12-23 14:04:07 +01:00
D G Turner
605756f515
HPL1: Fix Enumerated vs. Non-Enumerated Conditional GCC Compiler Warning 2022-12-23 14:04:07 +01:00
D G Turner
19d952f3b0
HPL1: Further Shadowing Compiler Warning Fixes in Newton Polyhedra Code 2022-12-23 14:04:07 +01:00
D G Turner
97b0b966dc
HPL1: Fix Some Shadowing Compiler Warnings in Newton Polyhedra Code 2022-12-23 14:04:06 +01:00
grisenti
152009b18f
HPL1: enable software renderer usage 2022-12-23 14:04:06 +01:00
grisenti
2237da1cbf
HPL1: partial cleanup of TGLTexture 2022-12-23 14:04:06 +01:00
D G Turner
2c9264070f
HPL1: Fix Shadowing Compiler Warnings in Newton Library Polygon Soup Builder 2022-12-23 14:04:06 +01:00
D G Turner
354464ea97
HPL1: Fix Cut and Paste Error in Engine Material Manager Code
This was generating a Enum used in Boolean Context GCC compiler warning.
2022-12-23 14:04:06 +01:00
D G Turner
c91737c5f5
HPL1: Change Image Entity Handle From Unsigned to Signed Vector Type
This should be signed as comparison with -1 is used to check for validity.

This fixes various signed vs. unsigned comparison warnings emitted by
GCC at compilation.
2022-12-23 14:04:06 +01:00
D G Turner
1334e8f901
HPL1: Fix Incorrect STL Vector Resize Method Call in GUI Code
The resize() method parameter can not be NULL / nullptr when the value
type is not a pointer type i.e. std::vector<cGuiSkinFont *> mvFonts
is OK, but std::vector<cVector3f> mvAttributes is not.

This generates a GCC Compiler warning.
2022-12-23 14:04:06 +01:00
grisenti
66e6614db6
HPL1: remove commented code 2022-12-23 14:04:05 +01:00
grisenti
feeec55a7c
HPL1: implement occlusion query tgl stub 2022-12-23 14:04:05 +01:00
D G Turner
16a30f8278
HPL1: Fix GCC Compiler Warnings in Low Level Graphics TGL Code 2022-12-23 14:04:05 +01:00
D G Turner
5578b91a10
HPL1: Fix GCC Shadowing Warnings in Newton Core Code 2022-12-23 14:04:05 +01:00
D G Turner
158ea72be6
HPL1: Fix GCC Compiler Undefined Symbol Warnings in Angelscript String Code
These are emitted if -Wundef is passed to GCC.
2022-12-23 14:04:05 +01:00
grisenti
60331b024f
HPL1: improve null pointer safety in Light3D 2022-12-23 14:04:05 +01:00
grisenti
d6f8a61503
HPL1: improve null pointer safety in TextureManager 2022-12-23 14:04:05 +01:00
D G Turner
ea7588227d
HPL1: Fix Space vs. Tab Indentation Inconsistency in Newton Memory Code
This code and several other parts of the codebase have inconsistency
between two space vs. tab indentation which makes it hard to follow
the code scope.

For now, changing this to the two space indentation which is as per
the majority of code in this file, but the entire engine code should
be changed to the nominal ScummVM standard of tab indentation in future.
2022-12-23 14:04:05 +01:00
D G Turner
be4e90fa2b
HPL1: Fix Shadowing GCC Compiler Warnings in Newton Core Matrix Code
This also has some minor fixes to remove trailing whitespace.
2022-12-23 14:04:04 +01:00
D G Turner
c32a471c0c
HPL1: Fixes for Shadowing Warnings in Newton Convex Hull 4D Code 2022-12-23 14:04:04 +01:00
D G Turner
5d4819583d
HPL1: Fixes for Shadowing Warnings in Newton Convex Hull 3D Code
This also has several formatting fixes for the code to avoid misleading
indentation which gives a confusing sense of scope.
2022-12-23 14:04:04 +01:00
D G Turner
6612ec03a7
HPL1: Fix Some GCC Shadowing Warnings in Newton Physics Library Core Code
These are emitted when -Wshadow is passed to GCC.
2022-12-23 14:04:04 +01:00
Paweł Kołodziejski
0bcf354fdc
HPL1: Silence warning 2022-12-23 14:04:04 +01:00
Paweł Kołodziejski
cdbaf97461
HPL1: Silence compiler warning 2022-12-23 14:04:04 +01:00
grisenti
5b2f89bd0d
HPL1: fix buffer drawing for software renderer 2022-12-23 14:04:04 +01:00
grisenti
63aa82a6b2
HPL1: cleanup software low level gfx class 2022-12-23 14:04:04 +01:00
grisenti
6474ec9c6c
HPL1: remove hardcoded screen size values 2022-12-23 14:04:03 +01:00
grisenti
304a2df165
HPL1: add basic tinygl impl classes 2022-12-23 14:04:03 +01:00
D G Turner
029fcb96bf
HPL1: Fix GCC Set But Unused Variable Warnings in Newton Physics Code 2022-12-23 14:04:03 +01:00
D G Turner
43c7f23891
HPL1: Fix Unused Variable GCC Compiler Warning in Penumbra Player Interact 2022-12-23 14:04:03 +01:00
D G Turner
cbf5acb057
HPL1: Fix Unused Variable GCC Compiler Warning in Engine Sound Handler 2022-12-23 14:04:03 +01:00
D G Turner
0f4923309c
HPL1: Fix Remaining Unused Variable GCC Compiler Warnings
These were emitted when -Wunused-variable is passed to GCC.
2022-12-23 14:04:03 +01:00