Skip to content

Commit

Permalink
Merge pull request #13 from taysta/killfeed
Browse files Browse the repository at this point in the history
Killfeed
  • Loading branch information
taysta authored Oct 5, 2023
2 parents 814cf8f + 645f9db commit 0c734b5
Show file tree
Hide file tree
Showing 48 changed files with 814 additions and 296 deletions.
Binary file added assets/japro/hud/mod/DEMP2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/DEMP2_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/bowcaster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/concussion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/concussion_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/crushed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/detpack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/disruptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/disruptor_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/fall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/flachette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/flachette_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/force.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/generic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/lava.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/melee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/merrsonn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/merrsonn_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/merrsonn_splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/mine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/mine_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/ooze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/pistol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/pistol_alt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/portable_turret.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/japro/hud/mod/repeater.png
Binary file added assets/japro/hud/mod/repeater_alt.png
Binary file added assets/japro/hud/mod/rifle.png
Binary file added assets/japro/hud/mod/rifle_alt.png
Binary file added assets/japro/hud/mod/saber.png
Binary file added assets/japro/hud/mod/stun.png
Binary file added assets/japro/hud/mod/swoop.png
Binary file added assets/japro/hud/mod/telefrag.png
Binary file added assets/japro/hud/mod/thermal.png
Binary file added assets/japro/hud/mod/thermal_alt.png
Binary file added assets/japro/hud/mod/turret.png
Binary file added assets/japro/hud/mod/water.png
4 changes: 4 additions & 0 deletions codemp/cgame/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ set(MPCGameCgameFiles
"${MPDir}/cgame/cg_effects.c"
"${MPDir}/cgame/cg_ents.c"
"${MPDir}/cgame/cg_event.c"
"${MPDir}/cgame/cg_hud.c"
"${MPDir}/cgame/cg_info.c"
"${MPDir}/cgame/cg_light.c"
"${MPDir}/cgame/cg_localents.c"
Expand Down Expand Up @@ -91,11 +92,14 @@ set(MPCGameCgameFiles
"${MPDir}/cgame/fx_force.c"
"${MPDir}/cgame/fx_heavyrepeater.c"
"${MPDir}/cgame/fx_rocketlauncher.c"
"${MPDir}/cgame/hud_obituary.c"
"${MPDir}/cgame/hud_shared.c"
"${MPDir}/cgame/animtable.h"
"${MPDir}/cgame/cg_local.h"
"${MPDir}/cgame/cg_public.h"
"${MPDir}/cgame/cg_xcvar.h"
"${MPDir}/cgame/fx_local.h"
"${MPDir}/cgame/hud_local.h"
)
source_group("cgame" FILES ${MPCGameCgameFiles})
set(MPCGameFiles ${MPCGameFiles} ${MPCGameCgameFiles})
Expand Down
4 changes: 3 additions & 1 deletion codemp/cgame/cg_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -7057,7 +7057,6 @@ void CG_AddSpeed(void)
#define SPEEDOMETER_MIN_RANGE 900
#define SPEED_MED 1000.f
#define SPEED_FAST 1600.f
#define Vector4Copy( a, b ) ((b)[0]=(a)[0],(b)[1]=(a)[1],(b)[2]=(a)[2],(b)[3]=(a)[3])
#define VectorLerp( f, s, e, r ) ((r)[0]=(s)[0]+(f)*((e)[0]-(s)[0]),\
(r)[1]=(s)[1]+(f)*((e)[1]-(s)[1]),\
(r)[2]=(s)[2]+(f)*((e)[2]-(s)[2]))
Expand Down Expand Up @@ -11280,6 +11279,9 @@ static void CG_Draw2D( void ) {
return;
}

if(cg_killfeed.integer)
CG_Draw2DNew( );

CG_Draw2DScreenTints();

if (cg.snap->ps.rocketLockIndex != ENTITYNUM_NONE && (cg.time - cg.snap->ps.rocketLockTime) > 0)
Expand Down
Loading

0 comments on commit 0c734b5

Please sign in to comment.