mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 12:46:39 +03:00
parent
b2d1433392
commit
6c693e3bbf
25 changed files with 1387 additions and 126 deletions
|
@ -341,7 +341,11 @@ Render2dStuff(void)
|
|||
firstPersonWeapon = true;
|
||||
|
||||
// Draw black border for sniper and rocket launcher
|
||||
#ifndef NO_ROCKET_BORDERS
|
||||
if((weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_ROCKETLAUNCHER) && firstPersonWeapon){
|
||||
#else
|
||||
if (weaponType == WEAPONTYPE_SNIPERRIFLE && firstPersonWeapon) {
|
||||
#endif
|
||||
CRGBA black(0, 0, 0, 255);
|
||||
|
||||
// top and bottom strips
|
||||
|
@ -357,6 +361,7 @@ Render2dStuff(void)
|
|||
CSprite2d::DrawRect(CRect(SCREENW / 2 + SCREEN_SCALE_X(210), 0.0f, SCREENW, SCREENH), black);
|
||||
}
|
||||
|
||||
|
||||
MusicManager.DisplayRadioStationName();
|
||||
// TheConsole.Display();
|
||||
/*
|
||||
|
@ -782,7 +787,7 @@ AppEventHandler(RsEvent event, void *param)
|
|||
{
|
||||
|
||||
CameraSize(Scene.camera, (RwRect *)param,
|
||||
DEFAULT_VIEWWINDOW, DEFAULT_ASPECTRATIO);
|
||||
DEFAULT_VIEWWINDOW, SCREEN_ASPECT_RATIO);
|
||||
|
||||
return rsEVENTPROCESSED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue