Commit Graph

136167 Commits

Author SHA1 Message Date
grisenti
729522a764
HPL1: fix file name comment in shader code 2022-12-23 14:03:50 +01:00
grisenti
0d8ac87aca
HPL1: fix wrong conditional 2022-12-23 14:03:50 +01:00
grisenti
e5a768fa5a
HPL1: fix shader 2022-12-23 14:03:50 +01:00
grisenti
3666b1b73d
HPL1: replace const_cast 2022-12-23 14:03:50 +01:00
grisenti
a16a4aa8f7
HPL1: implement material class for medium graphics 2022-12-23 14:03:50 +01:00
grisenti
00cfff4496
HPL1: fix and add fallback01 shaders 2022-12-23 14:03:50 +01:00
grisenti
6fc11767ad
HPL1: add error message in unimplemented class 2022-12-23 14:03:50 +01:00
Eugene Sandulenko
02285e0198
HPL1: Fix warning 2022-12-23 14:03:50 +01:00
Paweł Kołodziejski
df5cbb7cf1
HPL1: Fixed previous warning fix. Based on few lines above parethness suppose to be different. 2022-12-23 14:03:49 +01:00
grisenti
18e46c2d6e
HPL1: remove separate shader usage 2022-12-23 14:03:49 +01:00
Paweł Kołodziejski
a726df6451
HPL1: Put assert on unhandled case in iMaterial_BaseLight::getGpuProgram() 2022-12-23 14:03:49 +01:00
Paweł Kołodziejski
0ee8e7e915
HPL1: Fixed unused or shadow variables compiler warnings 2022-12-23 14:03:49 +01:00
grisenti
4384e71d43
HPL1: improve formatting in opengl error messages 2022-12-23 14:03:49 +01:00
grisenti
24eca8b7a1
HPL1: fix opengl errors and improve formatting 2022-12-23 14:03:49 +01:00
grisenti
b9a3a6bc19
HPL1: fix opengl errors in texture class 2022-12-23 14:03:49 +01:00
grisenti
775f18cfc1
HPL1: fix fog shaders
the engine used GL_LUMINANCE and GL_LUMINANCE_ALPHA
this has been changed to GL_R and GL_RG
2022-12-23 14:03:48 +01:00
grisenti
6765ad7b76
HPL1: fix color output in vertex shader
The out variables that were specified as COLOR were implicitly clamped.
2022-12-23 14:03:48 +01:00
grisenti
c7301270e5
HPL1: fix shader getter in material additive 2022-12-23 14:03:48 +01:00
grisenti
22186b423b
HPL1: cleanup shader code 2022-12-23 14:03:48 +01:00
grisenti
d62a0bfc39
HPL1: fix setMatrixf method in shader class 2022-12-23 14:03:48 +01:00
grisenti
1b75f03005
HPL1: correct types in fragment shaders
This matches what is used in the game's shaders
2022-12-23 14:03:48 +01:00
Eugene Sandulenko
4ce0626efb
HPL1: Fix more warnings 2022-12-23 14:03:48 +01:00
Eugene Sandulenko
28746360b6
HPL1: Fix warnings 2022-12-23 14:03:48 +01:00
Paweł Kołodziejski
5c90f1612f
HPL1: Remove trailing semicolons 2022-12-23 14:03:47 +01:00
grisenti
89d73841ad
HPL1: fix memory leak in shader class 2022-12-23 14:03:47 +01:00
grisenti
fe7ca96161
HPL1: fix TBN matrix in shaders
The CG matrix constructor used vectors as rows while opengl uses them as columns
2022-12-23 14:03:47 +01:00
grisenti
c4f8cc612c
HPL1: fix audio pause to better reflect the original 2022-12-23 14:03:47 +01:00
grisenti
d6281dfbb3
HPL1: fix audio looping forever 2022-12-23 14:03:47 +01:00
grisenti
3364154c65
HPL1: enable sound channel setters 2022-12-23 14:03:47 +01:00
grisenti
cb27b2a5d9
HPL1: fix sound not looping 2022-12-23 14:03:47 +01:00
grisenti
0a4d20e13e
HPL1: fix bug in sound channel class 2022-12-23 14:03:47 +01:00
grisenti
29b490a6d9
HPL1: change function implementation in physics library
this soves a bug that prevents interaction with objects in certain situations.
The code is from version 2.31 of the newton-dynamics library.
2022-12-23 14:03:46 +01:00
Paweł Kołodziejski
75ffdcddde
HPL1: Fixed uninitilized variables reported by valgrind 2022-12-23 14:03:46 +01:00
Eugene Sandulenko
96768dcde7
JANITORIAL: Fix line endings 2022-12-23 14:03:46 +01:00
Paweł Kołodziejski
267f577501
HPL1: Fixed uninitialaized variable reported by valgrind 2022-12-23 14:03:46 +01:00
grisenti
0bd8a3dac4
HPL1: remove unused code from engine skeleton 2022-12-23 14:03:46 +01:00
grisenti
9931ba9458
HPL1: fix deletion of invalid shader 2022-12-23 14:03:46 +01:00
grisenti
1562494f38
HPL1: fix incorrect delete 2022-12-23 14:03:46 +01:00
grisenti
3a7f09fa34
HPL1: fix possible use of uninitialised variables 2022-12-23 14:03:46 +01:00
grisenti
26493e4738
HPL1: fix incorrect file handeling code 2022-12-23 14:03:45 +01:00
grisenti
4c723d5938
HPL1: fix memory leak and warning in bitmap2D 2022-12-23 14:03:45 +01:00
grisenti
0a33c0ba44
HPL1: fix physics library for windows build 2022-12-23 14:03:45 +01:00
grisenti
c051f506fc
HPL1: remove unneeded pragma 2022-12-23 14:03:45 +01:00
grisenti
2b089fb89f
HPL1: rename engine's matrix header
On windows this caused conflicts with ScummVM's matrix header.
2022-12-23 14:03:45 +01:00
grisenti
2080b8b502
HPL1: fix possible use of uninitialised variable 2022-12-23 14:03:45 +01:00
grisenti
53c28a1686
HPL1: cleanup sound channel class 2022-12-23 14:03:45 +01:00
grisenti
66c4f7dbdf
HPL1: cleanup low level sound class 2022-12-23 14:03:45 +01:00
grisenti
0b8b6289c0
HPL1: add unimplemented macro 2022-12-23 14:03:44 +01:00
grisenti
ac049c0e30
HPL1: implement disabled SoundChannel methods 2022-12-23 14:03:44 +01:00
grisenti
a1562f0a29
HPL1: enable functionality in LowLevelSound 2022-12-23 14:03:44 +01:00