ptitSeb / Serious-Engine

A port to the OpenPandora (and working fine on plain Linux) of the open source version of a game engine developed by Croteam for the classic Serious Sam games. Status: Working (for both FE and SE).
https://pyra-handheld.com/boards/threads/serious-sam-first-encounter.77225/
GNU General Public License v2.0
75 stars 22 forks source link

Ammo count and oxygen are not rendered #7

Open ghost opened 5 years ago

ghost commented 5 years ago

Single color HUD elements such as ammo count bars and oxygen bars are not rendered.

OS: Debian Testing amd64 GPU: Radeon RX 590 Driver: Mesa 18

ptitSeb commented 5 years ago

Oh strange. Can you upload a screenshot? I'm pretty sure I have seen ammo count working at some point.

Also, is it on First or Second encounter?

ghost commented 5 years ago

Screenshot at 2019-03-11 03-03-15

ptitSeb commented 5 years ago

preview3 You mean, the little bar in the shell (and other type ammo) icon on the bottom right of the screen, like with SeriousSam First Encounter?

ghost commented 5 years ago

Yes.

ptitSeb commented 5 years ago

So, I think the Oxygen drawing, for Second Encounter, is done line 1074-1087 of Sources/EntitiesMP/HUD.cpp. And for the ammos, probably a bit above. I'll try to debug the code, to see why it's not always drawn (I have some old screenshot with some ammos drawn, but not all of them).

parkerlreed commented 5 years ago

Not seeing an oxygen counter image

parkerlreed commented 5 years ago

Oh I just wasnt there long enough :D image

ptitSeb commented 5 years ago

Yep, you need to be underwater for some time before the counter appears. Serious Sam has some serious lungs !