My first post here and since there is already a bunch of threads regarding bugs, I'll just post some of my findings in this one:
Fast weapon switching isn't working (invnext;+attack;wait;-attack) and I guess anything that includes wait command. Sometimes it works if there's a lot of NPCs on the screen. Or if you run Prime95 in the background.
If you exit the Hazard Course by activating the trigger at the end of the tunnel and try to start some map after that, triggers don't work anymore, the game becomes unplayable and must be restarted.
When the map changes and you're holding 2 buttons at the time (eg. when strafing), engine forgets that you're still holding the first one.
Dynamic lights (flashlight) don't have effect on chrome textures. Also, if you try to light up some NPC from about 90 degrees from above with flashlight, the light beam disappears.
After Resonance Cascade, (transition from map c1a0e -> c1a0c) music track should start playing, but it doesn't. However, if you change map after that transition to any map that doesn't trigger some music track, then the one that's supposed to play after Resonance Cascade will start.
When player loads a savegame, current cd track should probably stop because if savegame doesn't say that any track should be playing and some track is already playing at the time the save is loaded, it will continue even though it should be stopped.
Wrong ambient sounds are being played at certain locations (eg. in that area where used to be the tram that Gordon Freeman arrived with on map c1a1f), some sounds aren't being played at all (eg. geiger counter sound).
Some other small sound anomalies, which I don't know how to describe, but go and play Anomalous Materials chapter with the latest version of Xash3D build 2463 and pay attention to door sounds, now repeat the same with Xash3D 0.85 build 1540 or just plain Steam version of HL.
Also, in the first chapter of OP4, listen to the sound VOX makes when you try to open the door using a retinal scanner, in which the security guard and G-man are currently.
Some sounds cancel out other sounds. When you come inside that big teleporter room from where you go to XEN, scientist says to practice with your long jump module. Well, while his speech plays and if the sound of computer beeping triggers during his speech, his speech and talking animation will stop.
When you get out of the lab after Resonance Cascade and continue down the hallway, you see that machine explode and fall on the dead scientist, which should gib him, but it doesn't.
Intro scene in Opposing Force - when you see friendly chopper being destroyed, the guy on your left should start yelling about mission objectives, but he stays silent.
That would be it about most annoying issues. I hope I explained most of them well enough. I'm also attaching some modified code files for the engine fixing some really small issues like cvarlist, cmdlist,... commands not working if typed with parameters (if you want to search for cvar using wildcard pattern for example), cvars, cmds, aliases are now ordered alphabetically and some other small under-the-hood fixes not affecting gameplay. BTW, not sure if they're 100% perfect. I'd love to fix some more stuff, but well, it requires some time and a little more than just a rookie coder. But obviously I'll post back if I ever find anything else.
Other than that I have to say that this is really amazing project. Open-sourced engine that can run Half-Life, just unbelievable!
pglTexImage2D inside the list compilation block.
And mysterious pglTranslatef right after.
GL_Bind outside the list block - holy cow, why?!
The whole snippet looks like crap (sorry, no offence).
Does GL_Bind maintain some internal state? Im pretty sure it does.
Then you need to call glBindTexture directly otherwise in some situations texture binding won't get compiled into a display list.