Skip to content

Commit

Permalink
Compatibilidad
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeperezz16 committed Dec 24, 2023
1 parent 2a5152b commit bf61398
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
publish
**/appversion.h
**/reapi_version.inc

msvc/.idea/.idea.reapi/.idea/
8 changes: 8 additions & 0 deletions reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4810,6 +4810,14 @@ enum CCSPlayer_Members
*/
m_bPlantC4Anywhere,

/*
* Description: -
* Member type: int
* Get params: get_member(index, member);
* Set params: set_member(index, member, bool:value);
*/
m_iAliveNameChanges,

/*
* Description: -
* Member type: bool
Expand Down
2 changes: 2 additions & 0 deletions reapi/include/cssdk/dlls/API/CSPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class CCSPlayer: public CCSMonster
m_bAutoBunnyHopping(false),
m_bMegaBunnyJumping(false),
m_bPlantC4Anywhere(false),
m_iAliveNameChanges(0),
m_bSpawnProtectionEffects(false),
m_flJumpHeight(0),
m_flLongJumpHeight(0),
Expand Down Expand Up @@ -145,6 +146,7 @@ class CCSPlayer: public CCSMonster
bool m_bAutoBunnyHopping;
bool m_bMegaBunnyJumping;
bool m_bPlantC4Anywhere;
int m_iAliveNameChanges;
bool m_bSpawnProtectionEffects;
double m_flJumpHeight;
double m_flLongJumpHeight;
Expand Down
1 change: 1 addition & 0 deletions reapi/src/member_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ member_t memberlist_csplayer[] = {
CSPL_MEMBERS(m_bAutoBunnyHopping),
CSPL_MEMBERS(m_bMegaBunnyJumping),
CSPL_MEMBERS(m_bPlantC4Anywhere),
CSPL_MEMBERS(m_iAliveNameChanges),
CSPL_MEMBERS(m_bSpawnProtectionEffects),
CSPL_MEMBERS(m_flJumpHeight),
CSPL_MEMBERS(m_flLongJumpHeight),
Expand Down
1 change: 1 addition & 0 deletions reapi/src/member_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ enum CSPlayer_Members
m_bAutoBunnyHopping,
m_bMegaBunnyJumping,
m_bPlantC4Anywhere,
m_iAliveNameChanges,
m_bSpawnProtectionEffects,
m_flJumpHeight,
m_flLongJumpHeight,
Expand Down
3 changes: 1 addition & 2 deletions reapi/version/msvc/version.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<NMakeBuildCommandLine>ECHO Setup version from Git revision
IF EXIST "$(ProjectDir)..\..\version\appversion.bat" (CALL "$(ProjectDir)..\..\version\appversion.bat" "$(ProjectDir)..\..\version\" "$(SolutionDir)..\" "reapi_version.inc")</NMakeBuildCommandLine>
<NMakeOutput>
</NMakeOutput>
<NMakeOutput />
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
<NMakeCleanCommandLine>echo ON

Expand Down

0 comments on commit bf61398

Please sign in to comment.