2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-27 23:25:30 +03:00
Commit Graph

249 Commits

Author SHA1 Message Date
Sergey Shorokhov
3d97cf45b0
Add GitHub Action for Remove old artifacts (#230)
[skip ci]
2021-11-01 15:08:51 +03:00
Sergey Shorokhov
8534224975
Update version.h 2021-10-25 20:14:57 +03:00
Franco Romaniello
dd1fdae53b
Implement Con_Printf() hook (#222)
* Implement Con_Printf hook

* Update REHLDS_API_VERSION_MINOR

* FIX rehlds_api.h

* Update rehlds_api.h

* Update reapi_engine_const.inc

* Update reapi_engine_const.inc

* FIX pointer style

* FIX pointer style

* Update hook_list.cpp

* Update reapi/src/hook_list.h

Co-authored-by: justgo97 <hamdi2050@live.com>

* Apply suggestions from code review

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
Co-authored-by: justgo97 <hamdi2050@live.com>
2021-10-25 20:10:00 +03:00
DarthMan
866295f111
API: Add hooks ED_Alloc() and ED_Free() (#227)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-24 15:27:57 +03:00
Franco Romaniello
81ced333ae
Implement SV_ConnectClient() hook (#220)
* Implement SV_ConnectClient hook

* Add description

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 14:10:35 +03:00
Franco Romaniello
efcc3952b5
Implement rh_get_net_from() native (#221)
* Implement native rh_get_net_from

* Add ws2_32.lib

* Add ws2_32.lib in release

* newline at end of reapi_utils.cpp

* Update reapi_utils.cpp

* fix end of file

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 13:43:28 +03:00
Nord1cWarr1or
3c9e583260
cssdk_const.inc: add ScoreAttrib constants (#214)
* cssdk_const.inc: add ScoreAttrib constants

for https://wiki.alliedmods.net/Half-Life_1_Game_Events#ScoreAttrib

* cssdk_const.inc: rename ScoreAttrib constants

* cdll_dll.h: update SCORE_STATUS_* constants
2021-10-23 13:05:16 +03:00
Sergey Shorokhov
de26345d27
Add pr_dlls.h & fix GetEntityInit() return type (#228)
* Add pr_dlls.h

* fix GetEntityInit hook return type

* add getApiType(ENTITYINIT) type cast

* remove extra cast from callNext()

* indent fix
2021-10-23 12:54:44 +03:00
Franco Romaniello
a16dfd08fa
Implement SV_EmitPings() hook (#212)
* Implement SV_EmitPings hook

* Remove sizebuf_t param and add description

* Change REHLDS_API_VERSION_MINOR

* Update rehlds_api.h

* FIX comment in reapi_engine_const.inc

* virtual SV_EmitPings() order fix

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 11:24:17 +03:00
Sergey Shorokhov
30af88faf5 fix RH_ClientConnected description 2021-10-20 20:09:41 +03:00
Franco Romaniello
3543e90fdf
Implement GetEntityInit hook (#215)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-20 19:51:07 +03:00
Alejo
c5fb2919b4
API members for new CVars sv_enablebunnyhopping and sv_autobunnyhopping (#225)
* API members for `sv_autobunnyhopping` and `sv_enablebunnyhopping`

* Added missing CSPlayer member from ReGameDLL
2021-10-20 19:18:58 +03:00
bionext03
36d6311eaf
Add ClientConnected hook (#223)
Add `ClientConnected()` hook. Called after processing a client connection request.
2021-10-20 19:09:08 +03:00
Sergey Shorokhov
37e7b12ba0 player.h: fix ForEachItem() items iteration 2021-09-13 23:47:59 +03:00
Sergey Shorokhov
b49bf798ec Merge branch 'master' of https://github.com/s1lentq/reapi into upstream-master 2021-09-11 12:20:38 +03:00
Sergey Shorokhov
842d3546ed fix m_rgbTimeBasedDamage description 2021-09-11 10:38:17 +03:00
FEDERICOMB
6798ed9a29
Update reapi_engine_const.inc (#216) 2021-09-07 22:00:33 +03:00
Vaqtincha
a416485bbd
fix desc typo (#213) 2021-09-03 21:46:32 +03:00
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