Commit Graph
137148 Commits
Author SHA1 Message Date
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
grisenti 5e300864a3 HPL1: remove unused vColor shader input/output 2022-12-23 14:04:03 +01:00
grisenti 18d97d1053 HPL1: remove commented out code in shader 2022-12-23 14:04:03 +01:00
grisenti 95791efb81 HPL1: rename shaders 2022-12-23 14:04:02 +01:00
grisenti e60398f271 HPL1: add compile time opengl checks 2022-12-23 14:04:02 +01:00
grisenti 33bd657cbc HPL1: fix shader check 2022-12-23 14:04:02 +01:00
grisenti 0791019e23 HPL1: remove header for temporary types 2022-12-23 14:04:02 +01:00
grisenti 8bee6d1219 HPL1: selectively disable shader settings
removes all material settings above very low if shaders are not available.
2022-12-23 14:04:02 +01:00
grisenti 4adc41c2fa HPL1: add check for shaders in low level graphics 2022-12-23 14:04:02 +01:00
grisenti 84a35b37ee HPL1: implement check for shaders 2022-12-23 14:04:02 +01:00
grisenti 28bbd7124b HPL1: stop sound if out of range and fading 2022-12-23 14:04:01 +01:00
grisenti 47ffd3f418 HPL1: save sound fading speed
this prevents the sound from playing on loop when loading from a save done after fading has started but before it has ended
2022-12-23 14:04:01 +01:00
D G Turner 4b6eca0024 HPL1: Avoid Unused Variable GCC Warnings From Savegame Header Macros
This works assuming that none of the data pointers will be nullptr
which should be reasonable and replaces an earlier solution for this.
2022-12-23 14:04:01 +01:00
D G Turner 638edcb723 HPL1: Fix Problematic Memset Usage to Clear Class in Newton Physics Code
This generates GCC compiler warnings since using memset to clear non-trivial
classes / structures can be problematic.
2022-12-23 14:04:01 +01:00
D G Turner af2a0395b4 HPL1: Fix Unused Variables Compiler Warnings in Physics World Code 2022-12-23 14:04:01 +01:00
D G Turner b3e6c36c28 HPL1: Fix Unused Variable Compiler Warnings in Penumbra Overturn Player Code 2022-12-23 14:04:01 +01:00