Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
#ifdef->#if
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Jun 7, 2021
1 parent 27ebf40 commit 0dd9084
Show file tree
Hide file tree
Showing 49 changed files with 183 additions and 183 deletions.
6 changes: 3 additions & 3 deletions cl_dll/cdll_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ int *HUD_GetRect( void )
return extent;
}

#ifdef USE_VGUI_FOR_GOLDSOURCE_SUPPORT
#if USE_VGUI_FOR_GOLDSOURCE_SUPPORT
class TeamFortressViewport : public vgui::Panel
{
public:
Expand Down Expand Up @@ -238,7 +238,7 @@ so the HUD can reinitialize itself.
int DLLEXPORT HUD_VidInit( void )
{
gHUD.VidInit();
#ifdef USE_VGUI_FOR_GOLDSOURCE_SUPPORT
#if USE_VGUI_FOR_GOLDSOURCE_SUPPORT
vgui::Panel* root=(vgui::Panel*)gEngfuncs.VGui_GetPanel();
if (root) {
gEngfuncs.Con_Printf( "Root VGUI panel exists\n" );
Expand Down Expand Up @@ -337,7 +337,7 @@ Called by engine every frame that client .dll is loaded

void DLLEXPORT HUD_Frame( double time )
{
#ifdef USE_VGUI_FOR_GOLDSOURCE_SUPPORT
#if USE_VGUI_FOR_GOLDSOURCE_SUPPORT
if (!gViewPort)
gEngfuncs.VGui_ViewportPaintBackground(HUD_GetRect());
#else
Expand Down
2 changes: 1 addition & 1 deletion cl_dll/ev_hldm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ enum crowbar_e
CROWBAR_ATTACK2MISS,
CROWBAR_ATTACK2HIT,
CROWBAR_ATTACK3MISS,
#ifndef CROWBAR_IDLE_ANIM
#if !CROWBAR_IDLE_ANIM
CROWBAR_ATTACK3HIT
#else
CROWBAR_ATTACK3HIT,
Expand Down
8 changes: 4 additions & 4 deletions cl_dll/in_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void DLLEXPORT CAM_Think( void )
float dist;
vec3_t camAngles;
float flSensitivity;
#ifdef LATER
#if LATER
int i;
#endif
vec3_t viewangles;
Expand All @@ -168,7 +168,7 @@ void DLLEXPORT CAM_Think( void )

if( !cam_thirdperson )
return;
#ifdef LATER
#if LATER
if( cam_contain->value )
{
gEngfuncs.GetClientOrigin( origin );
Expand Down Expand Up @@ -315,7 +315,7 @@ void DLLEXPORT CAM_Think( void )
cam_old_mouse_y = cam_mouse.y * gHUD.GetSensitivity();
SetCursorPos( gEngfuncs.GetWindowCenterX(), gEngfuncs.GetWindowCenterY() );
}
#ifdef LATER
#if LATER
if( cam_contain->value )
{
// check new ideal
Expand Down Expand Up @@ -368,7 +368,7 @@ void DLLEXPORT CAM_Think( void )
else
camAngles[2] += ( cam_idealdist->value - camAngles[2] ) * 0.25f;
}
#ifdef LATER
#if LATER
if( cam_contain->value )
{
// Test new position
Expand Down
2 changes: 1 addition & 1 deletion cl_dll/in_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// fall over
#define ROLL 2

#ifdef _WIN32
#if _WIN32
#define HSPRITE HSPRITE_win32
#include <windows.h>
#undef HSPRITE
Expand Down
Loading

0 comments on commit 0dd9084

Please sign in to comment.