Commit Graph

54 Commits

Author SHA1 Message Date
Arkshine
aa5c340029 NS: Fix ns_remove_upgrade() native 2015-07-29 20:49:14 +02:00
Arkshine
a35af02494 NS: Refactor some bits 2015-07-29 20:21:09 +02:00
Vincent Herbet
e3489be0c0 Merge pull request #260 from Arkshine/feature/more-amtl-conversion
More AMTL conversion - 🔥 CString and CVector
2015-07-16 12:24:06 +02:00
Arkshine
9223989a01 Fix consistency 2015-07-16 08:11:19 +02:00
Arkshine
662fa61fc7 Cstrike: Fix typos and improve things 2015-07-15 16:40:07 +02:00
Arkshine
86e33d0cb1 Cstrike: cs_set_user_model - Add a param to choose whether modelindex should be updated 2015-07-14 19:44:10 +02:00
Arkshine
5d6f829624 Cstrike: Rename file for consistency 2015-07-14 19:44:09 +02:00
Arkshine
1ed354890b Cstrike: Add CSI_SHIELD for convenience and fix typos 2015-07-14 19:44:08 +02:00
Arkshine
939aad5cb9 Cstrike: cs_set_user_team - Add a param to choose whether TeamInfo message should be sent 2015-07-14 19:44:08 +02:00
Arkshine
8be119aa6a Cstrike: cs_set/reset_user_model/team - Stagger user's info updates across multiple frames (bug 3134) 2015-07-14 19:44:08 +02:00
Arkshine
aedde87f42 Cstrike: cs_set_user_zoom - Use a more event-based approach when mode is 0 2015-07-14 19:44:07 +02:00
Arkshine
63a0910f5b Cstrike: cs_get/set_armoury_type - Add a param to get/set the number of weapons inside an armoury 2015-07-14 19:44:06 +02:00
Arkshine
7842d0160b Cstrike: cs_set_weapon_silen - Add a new value for draw_animation to follow game behavior
- Player's model sequence will be properly played
- Disallow firing while animation is playing
2015-07-14 19:44:06 +02:00
Arkshine
87d740b92a Cstrike: Add CZ support for some hostage natives 2015-07-14 19:44:05 +02:00
Arkshine
d9a9b7a74e Cstrike: Add support for monster_scientist entity (alias of hostage_entity) 2015-07-14 19:44:05 +02:00
Arkshine
27d6a0cc08 Cstrike: cs_get_hostage_id - Fix error check, an hostage can't be a player 2015-07-14 19:44:04 +02:00
Arkshine
b82588f081 Cstrike: cs_set_user_deaths - Add a param to choose whether scoreboard should be updated 2015-07-14 19:44:04 +02:00
Arkshine
71c6ac8c2e Cstrike: cs_set_no_knives - pfnCreateNamedEntity is now hooked only when needed 2015-07-14 19:44:03 +02:00
Arkshine
2de1f9a33b Cstrike: Do some more cleanup 2015-07-14 19:44:03 +02:00
Arkshine
f13461caee Cstrike: Cache GET_USER_MSG_ID calls 2015-07-14 19:44:02 +02:00
Arkshine
84c320d539 Cstrike: Do some cleanup for the sake of consistency and readability 2015-07-14 19:44:02 +02:00
Arkshine
864e0b88eb Cstrike: Move all hardcoded datas to its own gamedata files 2015-07-14 19:44:01 +02:00
Iván Lo Giudice
f3df286985 Fix CS_OnBuyAttempt
If i dont have CS_OnBuy on my plugin, CS_OnBuyAttempt doen't work
2015-07-14 10:40:16 -03:00
Arkshine
c0b9b91a06 Remove MakeFile 2015-07-14 00:13:24 +02:00
Valentin Grünbacher
a68df8de7f Engine: Fix bcompat and consistency for CHECK_ENTITY 2015-07-13 15:38:37 +02:00
Vincent Herbet
846238fe99 Merge pull request #250 from Nextra/enginew
Engine Update
2015-07-02 18:43:35 +02:00
Arkshine
8633337bbd Fix set_amxstring_utf8 insconsistency 2015-06-29 12:42:57 +02:00
Valentin Grünbacher
7059f5b3b9 Engine: Detour LightStyle to catch all calls, restores set_lights() functionality 2015-06-11 20:49:00 +02:00
Shooting King
4a58365b2c Correcting SolutionFileFormat version as well 2015-05-19 18:31:19 +05:30
Shooting King
ad23638913 Correcting years in MSVS project solutions. 2015-05-18 21:54:06 +05:30
Arkshine
e305009e9a Fix EngFunc_ChangeLevel 2015-05-15 19:14:34 +02:00
Valentin Grünbacher
8b6d85eb78 Engine: Add a bunch of missing CHECK_ENTITY() and CHECK_ENTITY_SIMPLE() 2015-05-11 16:15:44 +02:00
Valentin Grünbacher
dc73473394 Engine: Fix CHECK_ENTITY() logic error (0 is not a player) 2015-05-11 16:15:44 +02:00
Valentin Grünbacher
7bf47f90d9 Engine: Use UTF-8 functions where KeyValueData is touched 2015-05-11 16:15:43 +02:00
Valentin Grünbacher
c24fbda302 Engine: Add error path to DispatchKeyValue() based on g_inKeyValue
This was unsafe as g_pkvd is pointed to a stack variable that is only valid while inside of pfn_keyvalue()
2015-05-11 16:15:43 +02:00
Valentin Grünbacher
702f784e44 Engine: Fix get_info_keybuffer() not being able to retrieve local keybuffer 2015-05-11 16:15:43 +02:00
Valentin Grünbacher
679714c8be Engine: Add error path for remove_entity() and unsafe entity ids 2015-05-11 16:15:43 +02:00
Valentin Grünbacher
ff0ca9ba67 Engine: Remove inconsistent error path from entity_get_int() 2015-05-11 16:15:42 +02:00
Valentin Grünbacher
ebdd015aae Restore traceresult() functionality by writing to g_tr in trace functions 2015-05-11 16:15:42 +02:00
Valentin Grünbacher
3c1022af99 Engine: Add a destination parameter to trace_hull() to make it more useful 2015-05-11 16:15:42 +02:00
Valentin Grünbacher
add4867d21 Engine: Add safe get_global_edict2() and entity_get_edict2() 2015-05-10 23:56:06 +02:00
Valentin Grünbacher
d69fddf8b4 Engine/Core: Move precache_event() to core 2015-05-10 23:45:01 +02:00
Valentin Grünbacher
218fb9c794 Engine: Add unregister_[touch|think|impulse]() 2015-05-10 23:40:22 +02:00
Valentin Grünbacher
c531ad756d Engine: Dynamically hook StartFrame for set_lights() 2015-05-10 23:21:12 +02:00
Vincent Herbet
39cc240a4e Merge pull request #240 from Nextra/kvd
Improve handling of KeyValueData
2015-05-05 12:01:29 +02:00
Valentin Grünbacher
8172519389 Improve handling of KeyValueData in FM and make it compatible with Ham
- KVD_Wrapper compatibility with Ham by making |&kvdw == &kvdw.kvd|
- Replaces g_kvd_hook with a generic g_kvd_ext to support raw KVD from Ham
- Adds create_kvd() and free_kvd() so plugins have something to feed Ham with
2015-04-21 00:18:21 +02:00
Vincent Herbet
cc11191e57 Merge pull request #236 from Arkshine/fix/missing-sqlite-charset
Fix missing SQL_SetCharset native in SQLite
2015-04-20 22:47:16 +02:00
Arkshine
1c1b949648 Fix potential crash using ke::AString and given null string 2015-04-19 19:52:53 +02:00
Arkshine
b88841c6ef Fix missing SQL_SetCharset native in SQLite 2015-04-12 21:08:03 +02:00
Ni3znajomy
92c2c84617 Update copyright year 2015-03-29 20:01:25 +02:00