mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- place weapon sprites in a separate render list.
They need to be drawn in a different pass than the 2D overlay HUD so the backend must have them separately.
This commit is contained in:
parent
7ea053bd90
commit
ad24a1ce31
24 changed files with 204 additions and 163 deletions
|
@ -34,6 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "gamecvars.h"
|
||||
#include "menu/menu.h"
|
||||
#include "mapinfo.h"
|
||||
#include "v_2ddrawer.h"
|
||||
|
||||
BEGIN_RR_NS
|
||||
|
||||
|
@ -854,6 +855,7 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
G_DrawCameraText(pp->newowner);
|
||||
else
|
||||
{
|
||||
PspTwoDSetter set;
|
||||
P_DisplayWeapon();
|
||||
#ifdef SPLITSCREEN_MOD_HACKS
|
||||
if (pp2) // HACK
|
||||
|
@ -876,7 +878,7 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
screenpeek = oscreenpeek;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if (!RR)
|
||||
G_MoveClouds();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue