Skip to content

Conversation

@min1maalist
Copy link

@min1maalist min1maalist commented Jul 8, 2025

Description

Physics Manipulation Device implmentation

@ThePixelMoon
Copy link
Owner

you forgot to add the #ifdef OPENMOD's

@ThePixelMoon
Copy link
Owner

no wait

Copy link
Owner

@ThePixelMoon ThePixelMoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot to add the #ifdef OPENMOD's

@min1maalist
Copy link
Author

you forgot to add the #ifdef OPENMOD's

Alright, I'll be working on it.

$Folder "OpenMod"
{

$File "..\shared\openmod\weapon_physgun.cpp"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$SRCDIR\game\shared\openmod\weapon_physgun.cpp.....

{
$AdditionalIncludeDirectories "$BASE;hl2mp\ui,.\hl2mp,$SRCDIR\game\shared\hl2mp,.\hl2,.\hl2\elements,$SRCDIR\game\shared\hl2,.\openmod,$SRCDIR\game\shared\openmod"
$PreprocessorDefinitions "$BASE;HL2MP;HL2_CLIENT_DLL;NEXT_BOT;OPENMOD"
$PreprocessorDefinitions "$BASE;HL2MP;HL2_CLIENT_DLL;NEXT_BOT;OPENMOD;OMOD"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what.


RecvPropFloat (RECVINFO(m_flMaxspeed)),
RecvPropInt (RECVINFO(m_fFlags)),
#if defined OPENMOD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the fuck is that syntax

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if defined is ifdef.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you even try to compile it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it compiles


CUserCmd *m_pCurrentCommand;

#if defined OPENMOD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and you did it again

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, if defined is ifdef.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, did you even try to compile it?

#include "iviewrender_beams.h" // flashlight beam
#include "r_efx.h"
#include "dlight.h"
#include "iclientmode.h"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless


// Store out the new viewangles.
engine->SetViewAngles( viewangles );
#if defined(OPENMOD)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#else.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants