Revert "Implemented frontend inputs."

This commit is contained in:
aap 2019-07-02 22:05:11 +02:00 committed by GitHub
parent 743668c5c4
commit e8215cf560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 126 additions and 1488 deletions

View file

@ -341,11 +341,7 @@ 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
@ -361,7 +357,6 @@ Render2dStuff(void)
CSprite2d::DrawRect(CRect(SCREENW / 2 + SCREEN_SCALE_X(210), 0.0f, SCREENW, SCREENH), black);
}
MusicManager.DisplayRadioStationName();
// TheConsole.Display();
/*
@ -787,7 +782,7 @@ AppEventHandler(RsEvent event, void *param)
{
CameraSize(Scene.camera, (RwRect *)param,
DEFAULT_VIEWWINDOW, SCREEN_ASPECT_RATIO);
DEFAULT_VIEWWINDOW, DEFAULT_ASPECTRATIO);
return rsEVENTPROCESSED;
}