Commit Graph

136079 Commits

Author SHA1 Message Date
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
Paweł Kołodziejski
b3804858e1
HPL1: Fixed typo in shader vLightDir vs vLighDir 2022-12-23 14:03:42 +01:00
grisenti
7488c38644
HPL1: fix texture coordinate inputs in shaders 2022-12-23 14:03:41 +01:00
grisenti
7df36793ca
HPL1: fix SetMatrixf method in shader class 2022-12-23 14:03:41 +01:00
grisenti
ff521fce43
HPL1: fix shader code 2022-12-23 14:03:41 +01:00
grisenti
001a8c7879
HPL1: remove separate shader usage 2022-12-23 14:03:41 +01:00
grisenti
520817276e
HPL1: fix uniform setter for vec4f in shader class 2022-12-23 14:03:41 +01:00
grisenti
1111f30594
HPL1: fix bug with shader name concatenation 2022-12-23 14:03:41 +01:00
grisenti
cdfd9643d6
HPL1: move and fix game shaders 2022-12-23 14:03:41 +01:00
Paweł Kołodziejski
73bb027ee1
HPL1: Ported fix from HPL1R project. Don't scale refs.
This fixes a game breaking bug where scaled references would create
completely broken colliders and either disappear
or otherwise create… impossible geometry
2022-12-23 14:03:40 +01:00
grisenti
a8b8b5263f
OPENGL: add hpl1 shaders directory in shader class 2022-12-23 14:03:40 +01:00
grisenti
30fe64422e
HPL1: replace shader implementation and use 2022-12-23 14:03:40 +01:00
grisenti
5619712707
HPL1: add renderer debug channel 2022-12-23 14:03:40 +01:00
grisenti
6ae37f24c7
HPL1: fix null pointer dereference 2022-12-23 14:03:40 +01:00
grisenti
f47dd3ed85
HPL1: add shader files 2022-12-23 14:03:40 +01:00
grisenti
c3fa0236d1
HPL1: specify source for collision fix 2022-12-23 14:03:40 +01:00
grisenti
422283601c
HPL1: fix memory fault in mesh loader 2022-12-23 14:03:40 +01:00
grisenti
9fc769c68c
HPL1: fix return value in script macros 2022-12-23 14:03:39 +01:00
grisenti
6c6cb16bd1
HPL1: remove unused scripting calling conventions 2022-12-23 14:03:39 +01:00
grisenti
a659b5900d
HPL1: fix uninitialized variables 2022-12-23 14:03:39 +01:00