Commit Graph

4782 Commits

Author SHA1 Message Date
Arkshine
883c852897 Synchronize AMTL submodule 2015-07-11 14:57:06 +02:00
Vincent Herbet
989034bd41 Attempt to fix mac build 2015-07-11 13:33:30 +02:00
Vincent Herbet
139a2a082c Merge pull request #254 from Arkshine/feature/gameconfig
Implement a game config parser and expose functionnalities to the module/plugin API
2015-07-11 13:19:09 +02:00
Arkshine
f38c726faf Gameconfig: Add game configs natives 2015-07-11 13:16:45 +02:00
Vincent Herbet
b8cc1ac79d Merge pull request #256 from DmitriyS/master
Plugins: Close Array/Trie handles on map end
2015-07-11 00:12:51 +02:00
DmitriyS
e98ab37806 fix memory leaks 2015-07-11 00:39:34 +03:00
Vincent Herbet
846238fe99 Merge pull request #250 from Nextra/enginew
Engine Update
2015-07-02 18:43:35 +02:00
Arkshine
14513e6f70 Gameconfig: Export game config manager to AMXX API 2015-06-29 13:38:34 +02:00
Arkshine
4b2ba10300 Gameconfig: Add game configs parser 2015-06-29 13:38:34 +02:00
Vincent Herbet
f46fc6c4e8 Merge pull request #253 from Arkshine/fix/set_amxstring_utf8-inconsistency
Fix set_amxstring_utf8 insconsistency
2015-06-29 13:23:02 +02:00
Arkshine
8633337bbd Fix set_amxstring_utf8 insconsistency 2015-06-29 12:42:57 +02:00
Vincent Herbet
f68a53e46a Fix mac compilation 2015-06-27 16:26:39 +02:00
Vincent Herbet
30a97db735 Merge pull request #249 from Arkshine/fix/override-error-clang56
Fix a clang-3.6 compilation issue
2015-06-27 15:46:46 +02:00
Vincent Herbet
28448c0fe1 Merge pull request #251 from WPMGPRoSToTeMa/authconsoleprintfixes
Replace console_print by engclient_print to support connecting players (bug 6372)
2015-06-15 20:03:23 +02:00
WPMGPRoSToTeMa
391991bfce https://bugs.alliedmods.net/show_bug.cgi?id=6372 bugfix 2015-06-15 18:54:29 +03:00
Valentin Grünbacher
7059f5b3b9 Engine: Detour LightStyle to catch all calls, restores set_lights() functionality 2015-06-11 20:49:00 +02:00
Vincent Herbet
3792e7dc20 Merge pull request #248 from Arkshine/fix/update-compiler3
Update compiler - 3
2015-06-01 21:45:04 +02:00
Arkshine
934e0208bf Fix a clang-3.6 compilation issue 2015-06-01 20:19:10 +02:00
Vincent Herbet
26d0f3f2de Merge pull request #247 from ShootingKing-AM/master
Correcting years in MSVS project solutions.
2015-05-19 17:31:58 +02:00
Shooting King
4a58365b2c Correcting SolutionFileFormat version as well 2015-05-19 18:31:19 +05:30
Arkshine
41dfdc7f59 Compiler: Prevent declaring arrays that the compiler is too buggy to handle
AM Bug 7977: https://bugs.alliedmods.net/show_bug.cgi?id=4977
2015-05-19 00:01:29 +02:00
Arkshine
f710188c86 Compiler: Ability to directly reference another address in a default argument (for arrays only)
SM patch: d8d13f1920
2015-05-19 00:01:29 +02:00
Shooting King
ad23638913 Correcting years in MSVS project solutions. 2015-05-18 21:54:06 +05:30
Vincent Herbet
b364506cbc Merge pull request #241 from luxxxoor/patch-2
Update cmdmenu.sma
2015-05-17 20:10:22 +02:00
luxxxoor
b77c8e253b Update cmdmenu.sma
Changed format with formatex where needed, removed many hardcoded contents in plugin and added semicolons.
2015-05-17 19:50:42 +03:00
Vincent Herbet
ffa12bfe54 Merge pull request #244 from Arkshine/fix/fakemeta-changelevel
Fix EngFunc_ChangeLevel
2015-05-15 21:29:25 +02:00
Arkshine
e305009e9a Fix EngFunc_ChangeLevel 2015-05-15 19:14:34 +02:00
Vincent Herbet
af7a6e3c87 Merge pull request #243 from Arkshine/fix/namehashset-add-return
Correct NameHashSet::add() return type
2015-05-15 13:27:54 +02:00
Arkshine
6620aa97a8 Correct NameHashSet::add() return type 2015-05-15 10:45:08 +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
ee0bcc39f1 Engine: Clarify difference between the engine module trace handle and the "real" global trace 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
c5f6e26802 Merge pull request #239 from Nextra/inc-doc3
Update include documentation #3 (mostly engine.inc)
2015-05-10 17:12:50 +02:00
Valentin Grünbacher
fbcbbd8421 hlsdk_const: Add MoveToOrigin move type constants 2015-05-10 14:37:40 +02:00
Valentin Grünbacher
00f9b62ffb cstrike: Add create_entity() note from engine, rewording 2015-05-10 14:37:39 +02:00
Valentin Grünbacher
59d8d2807f engine_const: Add sections and comments 2015-05-10 14:37:36 +02:00
Valentin Grünbacher
d9f792b712 engine: Add documentation, group similar natives 2015-05-10 14:37:16 +02:00
Vincent Herbet
42d80a666a Merge pull request #242 from Nextra/nullvec
Add NULL_VECTOR and expose null functions to AMXX API
2015-05-06 14:34:01 +02:00
Valentin Grünbacher
abf7f1a41b Expose get_amxstring_null and get_amxvector_null to modules 2015-05-06 12:01:15 +02:00