2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-28 07:35:31 +03:00
Commit Graph

331 Commits

Author SHA1 Message Date
Nord1cWarr1or
1aee3c7a12
Add player zoom constants (#190)
* Add player zoom constants

* small fix

func_converyor -> func_converyor

* fix naming

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 21:24:03 +03:00
FEDERICOMB
1aaddea738
Added new native: rg_fire_buckshots (#204)
* Added new native: `rg_fire_buckshots`

* Fix typo

* Update CSEntity.h

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 20:57:09 +03:00
Sergey Shorokhov
e966296b5f typo fix in desc 2021-09-02 19:05:07 +03:00
FEDERICOMB
d6af4d2939
Add a new natives rg_spawn_head_gib and rg_spawn_random_gibs (#200)
* Add a new natives rg_spawn_head_gib and rg_spawn_random_gibs

Add a new natives rg_spawn_head_gib and rg_spawn_random_gibs.
rg_spawn_head_gib when called it will spawn a head gib.
rg_spawn_random_gibs when called it will spawn random gibs.

* Minor fix

* remove CAmxArgs

* newline fix in reapi_gamedll.inc

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 18:55:40 +03:00
Franco Romaniello
5fbe531bc7
Implement RG_CBasePlayer_Observer_FindNextPlayer hook (#210)
* Implement Observer_FindNextPlayer Hook

* Update regamedll_api.h

* fix order for Vfuncs

* Add description in reapi_gamedll_const.inc

* add macro for suppress warning: 200 on amxmodx 1.8.2

* Add return type for hook description

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 18:53:04 +03:00
Lopol2010
2c415638ce
Implement RG_CBasePlayer_Observer_SetMode hook (#208)
* Implement RG_CBasePlayer_Observer_SetMode hook

* fixes

Co-authored-by: Lopol2010 <evgeniy7@gmail.com>
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 17:35:58 +03:00
fl0werD
6063144a31
Implement player Pain, DeathSound and JoiningThink hooks (#209)
* Implement player Pain, DeathSound and JoiningThink hooks

* fix descriptions

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 17:09:10 +03:00
Vaqtincha
cfeb51fff6
fix conflict interfaces vgui.dll & swds.dll (fix listenserver crash) (#206) 2021-08-10 12:26:16 +07:00
FEDERICOMB
97aea0f397
Implement CBaseEntity::Fire<Bullets[3]|Buckshots> hooks. (#202)
* Implement "CBaseEntity::Fire<Bullets[3]|Buckshots>" hooks.
* Added new hook table "GamedllFunc_CBaseEntity".
* Added new hookchain argument type "ATYPE_VECTOR"
* Added ATYPE_VECTOR case in Get|Set<HookChainReturn> natives
* Added ATYPE_VECTOR in SetHookChainArg native
2021-08-01 15:44:46 +07:00
Sergey Shorokhov
5b4fc4f132
Merge pull request #201 from francoromaniello/rg_round_end
FIX `rg_round_end` WINSTATUS_NONE code
2021-06-26 17:41:02 +03:00
Franco Romaniello
3db74f943d Fix rg_round_end winstatus none
winstatus 0 is a valid status
2021-06-20 21:19:43 -03:00
FEDERICOMB
10332fecbb
Add defines for CBasePlayer members (#195)
* Added defines for CBasePlayer members
Added defines for CBasePlayer::m_iWeaponVolume and CBasePlayer::m_iWeaponFlash from
https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/dlls/weapons.h#L50
2021-06-19 04:15:50 +07:00
Vaqtincha
1156a49c7a
Minor fixes (#193)
* fix rg_remove_items_by_slot c4 slot
* fix rg_remove_items_by_slot weapon hud
* add RG_SpawnRandomGibs victim arg
2021-06-19 04:12:40 +07:00
Franco Romaniello
23cf192477
Fix rg_plant_bomb (#196) 2021-06-19 04:10:21 +07:00
Juice
e4e42109af
rg_round_end fix return type (#194) 2021-06-12 21:38:28 +07:00
Franco Romaniello
6d3d77a434
arg_amount not used in rg_get_user_ammo (#192) 2021-05-21 18:16:43 +07:00
s1lentq
8908572dc9 Add .gitattributes 2021-04-24 00:25:25 +07:00
s1lentq
68196d694d hook_list.cpp: Reworked argument parser
reapi_gamedll_const.inc: fix AMXX compiler warning
2021-04-24 00:25:25 +07:00
s1lentq
31eae943bd Add workflows/build.yml (Migrate to Github CI)
Add CMakeLists.txt build system
Update README.md
Fixed compiler warnings
2021-04-24 00:25:20 +07:00
s1lentq
9f5b521f5e Remove gradle build system 2021-04-18 17:55:43 +07:00
s1lentq
e808d72075 Removed unnecessary filters
set_rebuy fix tag mismatch
2021-01-15 21:46:21 +07:00
s1lentq
8257f3a31f Bump minor 2021-01-04 23:32:26 +07:00
s1lentq
5fe5cf0f5c Update README.md 2021-01-04 23:29:35 +07:00
Franco Romaniello
552e198512
Add a new native "rg_plant_bomb" (#178)
Add a new native called "rg_plant_bomb", when called it will spawn a C4 with defined parameters and also we will be able to pass a player index or not.
2021-01-04 23:18:29 +07:00
s1lentq
7b4d68ae27 Fixed get_ucmd, get_pmtrace natives. Closes #182 2021-01-01 20:15:20 +07:00
s1lentq
8a944d2d74 added todo for some playermove struct fields 2021-01-01 20:10:56 +07:00
s1lentq
97bc56390a set/get_member_s: fix missing check for members CCSPlayer/CCSPlayerWeapon 2020-12-18 04:09:26 +07:00
s1lentq
5ab787460d CSSDK: Implemented DECLARE_CLASS_TYPES for all game classes 2020-12-18 04:07:52 +07:00
s1lentq
defe8588d4 API Interfaces: make virtual functions pure to explicitly define tables of RTTI. GCC can't resolve them. 2020-12-17 17:12:49 +07:00
s1lentq
14c7411b39 Enable RTTI
Adjust version script
2020-12-16 19:37:01 +07:00
s1lentq
2491fb9865 Implemented g/set_member safe version 2020-12-16 18:36:51 +07:00
fl0werD
9e16f2769a
Add API check if is player can respawn (#174) 2020-11-30 15:37:03 +07:00
shel
623a4f2236
Implement native to get the current hookchain handle in amxx callback (#173) 2020-10-25 21:14:46 +07:00
shel
fb5ec01319
Implemented IsReapiHookOriginalWasCalled which determine whether original function was called or not (#172) 2020-10-02 21:43:07 +07:00
shel
8647cd083d
push (#168)
Co-authored-by: shel <2@shelru.ru>
2020-06-11 02:24:17 +07:00
Vaqtincha
6d40db5c0f
compile warn fix (#167) 2020-06-03 15:49:18 +07:00
fl0werD
2e200bbd2e
Implement CGib (#164)
* Implement CGib
* back compatibility + new line fix
2020-05-27 08:54:09 +07:00
s1lentq
46e1f0b5c6 Fix typo 2020-05-14 15:53:37 +07:00
fl0werD
b79c822fef
Add m_bCanShootOverride offset + update SDK (#160)
* Add m_bCanShootOverride offset + update SDK
2020-05-14 15:51:33 +07:00
fant1kua
1ef3c5a753 Add API to set if player can hear another player (#158)
* Add API to set if player can hear another player
2019-12-14 17:24:52 +07:00
fl0werD
1ea1ff04a1 added missed offsets (#156) 2019-12-05 15:05:10 +07:00
Dmitry
d954d042f1 Implement RG_CBasePlayer_DropIdlePlayer hook (#148)
* Implement RG_CBasePlayer_DropIdlePlayer hook
2019-11-04 16:32:52 +07:00
fant1kua
9874820989 Implement RG_CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks (#150)
* Implement RG_CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks
* Implement RG_CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks
* Implement RG_CBasePlayerWeapon_DefaultReload hook
* ImplementRG_ CBasePlayerWeapon_DefaultShotgunReload hook
2019-10-27 21:20:23 +07:00
s1lent
45584b6716
Re-configured publish.gradle 2019-09-06 21:49:20 +07:00
s1lent
31cea91e40
Fix set_pmove/get_pmove natives. Related #119 2019-09-03 20:28:33 +07:00
s1lent
bba0631fbe
Rework hookchain RG_PM_Move 2019-08-30 03:19:50 +07:00
s1lent
6068d4e6ff
Update reapi_gamedll_const.inc: Fixes description about argument ppmove 2019-08-30 02:31:16 +07:00
s1lent
80b9f6f1bc
Update regamedll API sdk
Update cssdk & minor refactoring
Added safe checks CGameRules/CCSEntity version interface (for future safe migrate)
2019-08-30 02:20:31 +07:00
fant1kua
abd47009fb Fix bug with change team if player is die Closes #142 (#143)
* Fix bug with change team if player is die #142
* Add check_win_conditions argument to rg_set_user_team
2019-08-30 02:08:24 +07:00
fant1kua
6988e81d2a Add rg_restart_round native (#145) 2019-08-30 01:57:15 +07:00