Open rileyw opened 11 years ago
No it shouldn't be like that and it's a bug. I'd consider the player name text an element of the scene. GUI elements like the sidebar should be rendered last.
Looks like CDrawing.cpp draws:
Players and Tanks both call drawPlayerName() which may explain why player names are displaying above the panel due to the arrangement in this method. I am going to rearrange the call order and test.
Changing the draw order to the following:
resolves this issue. I may create a pull request depending on how fast we move with refactoring the project to adopt a new technology, #47
This drawing issue will be tackled in the refactoring.
Should the player label appear above the GUI when moving the map as shown in the attached screenshot?