-
Notifications
You must be signed in to change notification settings - Fork 4
Physgun #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Physgun #13
Conversation
|
you forgot to add the #ifdef OPENMOD's |
|
no wait |
ThePixelMoon
left a comment
There was a problem hiding this 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
Alright, I'll be working on it. |
| $Folder "OpenMod" | ||
| { | ||
|
|
||
| $File "..\shared\openmod\weapon_physgun.cpp" |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if defined is ifdef.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#else.......
Description
Physics Manipulation Device implmentation