Commit Graph
137148 Commits
Author SHA1 Message Date
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
grisenti 96fbd51dee HPL1: add wav as a supported format 2022-12-23 14:03:44 +01:00
grisenti 6a97b0bd24 HPL1: fix missing return value 2022-12-23 14:03:44 +01:00
grisenti cf0bb2ad12 HPL1: fix audio bug 2022-12-23 14:03:44 +01:00
grisenti e0253d2db1 HPL1: add newline in log messages 2022-12-23 14:03:44 +01:00
grisenti 5525f8e59d HPL1: fix audio classes 2022-12-23 14:03:44 +01:00
grisenti 60828f7bbb HPL1: enable sound loading and add error logging 2022-12-23 14:03:43 +01:00
grisenti a0fb2759a7 HPL1: implement minimal sound channel class 2022-12-23 14:03:43 +01:00
grisenti 1f96617cf2 HPL1: implement sound data class 2022-12-23 14:03:43 +01:00
grisenti fffb115212 HPL1: cleanup automatically added headers 2022-12-23 14:03:43 +01:00
grisenti 8a229f29b3 HPL1: add audio debug channel and update flag list 2022-12-23 14:03:43 +01:00
grisenti e79425c75e HPL1: fix shader destruction in Material_Alpha 2022-12-23 14:03:43 +01:00
grisenti 1a8d5f167f HPL1: fix bug in physics library's r-b tree
fixes an earlier commit to prevent ubsan from crashing the program.
The program previously relied on a call to member function from a null pointer.
2022-12-23 14:03:43 +01:00
grisenti c5bd9a9586 HPL1: cleanup shader SetMatrixf 2022-12-23 14:03:42 +01:00
grisenti cdd329a915 HPL1: fix shader 2022-12-23 14:03:42 +01:00
grisenti d3cb9949bf HPL1: fix textures in shaders 2022-12-23 14:03:42 +01:00
grisenti f30a1e139c HPL1: replace std::sort usage 2022-12-23 14:03:42 +01:00
grisenti b63ed0b537 HPL1: fix replacement for tex2Dproj 2022-12-23 14:03:42 +01:00
grisenti c7c923d21e HPL1: fix wrong texture units 2022-12-23 14:03:42 +01:00
grisenti bf97e541c7 HPL1: fix diffuse light shader 2022-12-23 14:03:42 +01:00